Click here to Skip to main content
15,897,315 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: a question regarding the "abilities" of VB Pin
Green Fuze14-May-08 3:09
Green Fuze14-May-08 3:09 
AnswerRe: a question regarding the "abilities" of VB Pin
CPallini14-May-08 2:08
mveCPallini14-May-08 2:08 
GeneralRe: a question regarding the "abilities" of VB Pin
Christian Graus14-May-08 2:38
protectorChristian Graus14-May-08 2:38 
JokeRe: a question regarding the "abilities" of VB Pin
CPallini14-May-08 3:55
mveCPallini14-May-08 3:55 
GeneralRe: a question regarding the "abilities" of VB Pin
MikeMarq14-May-08 8:28
MikeMarq14-May-08 8:28 
GeneralRe: a question regarding the "abilities" of VB Pin
CPallini14-May-08 10:51
mveCPallini14-May-08 10:51 
GeneralRe: a question regarding the "abilities" of VB Pin
Christian Graus14-May-08 12:52
protectorChristian Graus14-May-08 12:52 
GeneralRe: a question regarding the "abilities" of VB Pin
MikeMarq14-May-08 16:32
MikeMarq14-May-08 16:32 
If I am altering an existing file what I do is copy the contents of the file into an array. I do all my reading and writing of pixels in the array. Then I copy the array back into a memory stream and display the memory stream.

Your method with pointers is probably slightly faster since it doesn't require any copying but my method is fast enough that you can create/alter and display an entire image in less than a blink of an eye so the difference doesn't really matter.

I suspect setpixel/getpixel is so slow because it probably repeats the calculation of how many bytes per line every time it is called. In my system this only needs to be done once which saves a huge amount of processing time.
Questionhow to save/open a text file(in menu editor prog) in visual basics 6 Pin
Pulkit joshi14-May-08 1:07
Pulkit joshi14-May-08 1:07 
AnswerRe: how to save/open a text file(in menu editor prog) in visual basics 6 Pin
Guffa14-May-08 7:19
Guffa14-May-08 7:19 
QuestionDifferent Format Document compare [modified] Pin
Member 72965213-May-08 22:06
Member 72965213-May-08 22:06 
AnswerRe: Different Format Document compare Pin
Christian Graus13-May-08 22:31
protectorChristian Graus13-May-08 22:31 
GeneralRe: Different Format Document compare Pin
Oakman14-May-08 5:28
Oakman14-May-08 5:28 
QuestionReturning data from datagrid view Pin
aspireneo13-May-08 21:04
aspireneo13-May-08 21:04 
AnswerRe: Returning data from datagrid view Pin
nishkarsh_k13-May-08 21:15
nishkarsh_k13-May-08 21:15 
AnswerRe: Returning data from datagrid view Pin
Mycroft Holmes14-May-08 14:52
professionalMycroft Holmes14-May-08 14:52 
GeneralRe: Returning data from datagrid view Pin
aspireneo14-May-08 20:02
aspireneo14-May-08 20:02 
GeneralRe: Returning data from datagrid view Pin
Mycroft Holmes14-May-08 20:39
professionalMycroft Holmes14-May-08 20:39 
GeneralRe: Returning data from datagrid view Pin
aspireneo14-May-08 20:58
aspireneo14-May-08 20:58 
QuestionSyntax Pin
John.L.Ponratnam13-May-08 21:03
John.L.Ponratnam13-May-08 21:03 
AnswerRe: Syntax Pin
Ashfield13-May-08 21:18
Ashfield13-May-08 21:18 
AnswerRe: Syntax Pin
Dave Kreskowiak14-May-08 7:11
mveDave Kreskowiak14-May-08 7:11 
AnswerRe: Syntax Pin
Dave Doknjas14-May-08 14:02
Dave Doknjas14-May-08 14:02 
QuestionProblem of Flyout window Pin
please help13-May-08 20:40
please help13-May-08 20:40 
AnswerRe: Problem of Flyout window Pin
Christian Graus13-May-08 20:41
protectorChristian Graus13-May-08 20:41 

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.