Click here to Skip to main content
15,887,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
QuestionStoring and retreiving rich text from MySQL in VB.net Pin
evilson15-Jul-09 1:28
evilson15-Jul-09 1:28 
AnswerRe: Storing and retreiving rich text from MySQL in VB.net Pin
Christian Graus15-Jul-09 1:30
protectorChristian Graus15-Jul-09 1:30 
GeneralRe: Storing and retreiving rich text from MySQL in VB.net Pin
evilson15-Jul-09 1:56
evilson15-Jul-09 1:56 
GeneralRe: Storing and retreiving rich text from MySQL in VB.net Pin
Christian Graus15-Jul-09 2:36
protectorChristian Graus15-Jul-09 2:36 
GeneralMessage Removed Pin
15-Jul-09 2:39
evilson15-Jul-09 2:39 
GeneralRe: Storing and retreiving rich text from MySQL in VB.net Pin
Christian Graus15-Jul-09 2:51
protectorChristian Graus15-Jul-09 2:51 
AnswerRe: Storing and retreiving rich text from MySQL in VB.net Pin
Luc Pattyn15-Jul-09 2:11
sitebuilderLuc Pattyn15-Jul-09 2:11 
GeneralRe: Storing and retreiving rich text from MySQL in VB.net Pin
evilson15-Jul-09 2:19
evilson15-Jul-09 2:19 
GeneralRe: Storing and retreiving rich text from MySQL in VB.net Pin
Luc Pattyn15-Jul-09 2:27
sitebuilderLuc Pattyn15-Jul-09 2:27 
GeneralRe: Storing and retreiving rich text from MySQL in VB.net Pin
Dave Kreskowiak15-Jul-09 5:13
mveDave Kreskowiak15-Jul-09 5:13 
GeneralRe: Storing and retreiving rich text from MySQL in VB.net Pin
evilson15-Jul-09 20:51
evilson15-Jul-09 20:51 
QuestionHow To Store String As ComboBox's ItemData ? Pin
nadeem200315-Jul-09 1:14
nadeem200315-Jul-09 1:14 

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.