Click here to Skip to main content
15,921,174 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: combine two custom controls Pin
Tom Deketelaere15-Jul-09 23:53
professionalTom Deketelaere15-Jul-09 23:53 
GeneralRe: combine two custom controls Pin
MA Awan16-Jul-09 7:32
MA Awan16-Jul-09 7:32 
GeneralRe: combine two custom controls Pin
Tom Deketelaere16-Jul-09 7:51
professionalTom Deketelaere16-Jul-09 7:51 
GeneralRe: combine two custom controls Pin
MA Awan20-Jul-09 23:14
MA Awan20-Jul-09 23:14 
Questionmake a quary in dataset Pin
en.Mahdi15-Jul-09 22:00
en.Mahdi15-Jul-09 22:00 
AnswerRe: make a quary in dataset Pin
DaveAuld15-Jul-09 22:37
professionalDaveAuld15-Jul-09 22:37 
QuestionDropdown checklist control Pin
mistryshailesh15-Jul-09 21:32
mistryshailesh15-Jul-09 21:32 
QuestionCrystal report slow display Pin
mistryshailesh15-Jul-09 21:29
mistryshailesh15-Jul-09 21:29 
AnswerRe: Crystal report slow display Pin
Tom Deketelaere16-Jul-09 3:50
professionalTom Deketelaere16-Jul-09 3:50 
QuestionDatagridview refresh with adhoc data added Pin
Phenneger15-Jul-09 11:40
Phenneger15-Jul-09 11:40 
AnswerRe: Datagridview refresh with adhoc data added Pin
Mycroft Holmes15-Jul-09 19:36
professionalMycroft Holmes15-Jul-09 19:36 
GeneralRe: Datagridview refresh with adhoc data added Pin
Phenneger27-Jul-09 6:39
Phenneger27-Jul-09 6:39 
Questionhow to loop through the data in excel Pin
veon cheng15-Jul-09 5:31
veon cheng15-Jul-09 5:31 
AnswerRe: how to loop through the data in excel Pin
David Mujica15-Jul-09 7:06
David Mujica15-Jul-09 7:06 
GeneralRe: how to loop through the data in excel Pin
veon cheng15-Jul-09 17:16
veon cheng15-Jul-09 17:16 
GeneralRe: how to loop through the data in excel Pin
helelark12315-Jul-09 19:02
helelark12315-Jul-09 19:02 
GeneralCreate new Workbook Pin
David Mujica16-Jul-09 2:59
David Mujica16-Jul-09 2:59 
GeneralRe: Create new Workbook Pin
veon cheng16-Jul-09 15:59
veon cheng16-Jul-09 15:59 
GeneralRe: Create new Worksheet Pin
David Mujica17-Jul-09 2:47
David Mujica17-Jul-09 2:47 
Questionvery faster method instead of getpixel and setpixel method Pin
Mortezai15-Jul-09 2:08
Mortezai15-Jul-09 2:08 
please tel me how i can make four image with x,y resolution , from the input pic of x*2,y*2 image resolution , so if we consider the input image in four pixel squares (two pixel width and two pixe height) the first of output use the first left pixel of four pixel in the square and the second picture use the right top pixel , third use the bottom right, and the fourth use the left bottom ,

i use the setpixel and getpixel method for it, but it is too slow , i think if i use method of changing the image to array it will be very faster, please tel me ho i use the array method.

this is my code in vb.net but too slow :

For y = 0 To picy.Height - 1 Step 2
j = Int(y / 2)
For x = 0 To picy.Width - 1 Step 2
i = Int(x / 2)
pic(0).SetPixel(i, j, picy.GetPixel(x, y))
pic(1).SetPixel(i, j, picy.GetPixel(x + 1, y))
pic(2).SetPixel(i, j, picy.GetPixel(x + 1, y + 1))
pic(3).SetPixel(i, j, picy.GetPixel(x, y + 1))
Next x
Next y

best regards
AnswerRe: very faster method instead of getpixel and setpixel method Pin
Christian Graus15-Jul-09 2:35
protectorChristian Graus15-Jul-09 2:35 
AnswerRe: very faster method instead of getpixel and setpixel method Pin
Luc Pattyn15-Jul-09 3:46
sitebuilderLuc Pattyn15-Jul-09 3:46 
GeneralRe: very faster method instead of getpixel and setpixel method Pin
Christian Graus15-Jul-09 3:51
protectorChristian Graus15-Jul-09 3:51 
GeneralRe: very faster method instead of getpixel and setpixel method Pin
Luc Pattyn15-Jul-09 4:13
sitebuilderLuc Pattyn15-Jul-09 4:13 
GeneralRe: very faster method instead of getpixel and setpixel method Pin
Mortezai21-Aug-09 7:53
Mortezai21-Aug-09 7:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.