Click here to Skip to main content
15,896,526 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow to pass complex structure to api in vb.net Pin
pravinkgarg18-Feb-06 2:38
pravinkgarg18-Feb-06 2:38 
AnswerRe: how to pass complex structure to api in vb.net Pin
progload18-Feb-06 6:47
progload18-Feb-06 6:47 
QuestionZooming mouse pointed area in a frame Pin
peter rankel18-Feb-06 1:25
peter rankel18-Feb-06 1:25 
AnswerRe: Zooming mouse pointed area in a frame Pin
Dave Kreskowiak19-Feb-06 7:22
mveDave Kreskowiak19-Feb-06 7:22 
QuestionAnyone EXPERT on coding picturebox ? Pin
campbells17-Feb-06 21:49
campbells17-Feb-06 21:49 
AnswerRe: Anyone EXPERT on coding picturebox ? Pin
Joshua Quick18-Feb-06 10:45
Joshua Quick18-Feb-06 10:45 
GeneralRe: Anyone EXPERT on coding picturebox ? Pin
campbells18-Feb-06 18:28
campbells18-Feb-06 18:28 
AnswerRe: Anyone EXPERT on coding picturebox ? Pin
Joshua Quick18-Feb-06 21:23
Joshua Quick18-Feb-06 21:23 
I only gave you a small bit of code to give you an idea on how to solve this. You have to do the rest. It's really simple. Just break it down into steps like this...

1) First, create a member variable in form2 that'll hold a reference to form1.

2) Next, you need to be able to pass a form reference to form2. To do that, you need to create a method or property in your form2 class that'll take that reference.

3) Next, when you create form2 from form1, you need to pass form1's reference via "Me" to form2. This will use the method or property that you created in step 2. Something like the code I gave you.

4) Next, you need to add a public method to form1 that'll allow form2 to change form1's PictureBox.
GeneralRe: Anyone EXPERT on coding picturebox ? Pin
campbells19-Feb-06 4:14
campbells19-Feb-06 4:14 
AnswerRe: Anyone EXPERT on coding picturebox ? Pin
Joshua Quick19-Feb-06 11:17
Joshua Quick19-Feb-06 11:17 
GeneralRe: Anyone EXPERT on coding picturebox ? Pin
campbells19-Feb-06 16:18
campbells19-Feb-06 16:18 
AnswerRe: Anyone EXPERT on coding picturebox ? Pin
Dave Kreskowiak19-Feb-06 7:15
mveDave Kreskowiak19-Feb-06 7:15 
GeneralRe: Anyone EXPERT on coding picturebox ? Pin
campbells19-Feb-06 16:39
campbells19-Feb-06 16:39 
QuestionPasssing a reference parameter of structure type to a fucntion in dll Pin
pravinkgarg17-Feb-06 16:56
pravinkgarg17-Feb-06 16:56 
AnswerRe: Passsing a reference parameter of structure type to a fucntion in dll Pin
alien viper17-Feb-06 19:22
alien viper17-Feb-06 19:22 
GeneralRe: Passsing a reference parameter of structure type to a fucntion in dll Pin
pravinkgarg18-Feb-06 2:35
pravinkgarg18-Feb-06 2:35 
AnswerRe: Passsing a reference parameter of structure type to a fucntion in dll Pin
[Marc]18-Feb-06 4:57
[Marc]18-Feb-06 4:57 
Questionexecutereader inquiry Pin
maytel17-Feb-06 15:34
maytel17-Feb-06 15:34 
AnswerRe: executereader inquiry Pin
Dave Kreskowiak17-Feb-06 16:21
mveDave Kreskowiak17-Feb-06 16:21 
GeneralRe: executereader inquiry Pin
maytel17-Feb-06 21:02
maytel17-Feb-06 21:02 
GeneralRe: executereader inquiry Pin
Dave Kreskowiak18-Feb-06 3:41
mveDave Kreskowiak18-Feb-06 3:41 
GeneralRe: executereader inquiry Pin
maytel19-Feb-06 14:34
maytel19-Feb-06 14:34 
GeneralRe: executereader inquiry Pin
Dave Kreskowiak19-Feb-06 14:55
mveDave Kreskowiak19-Feb-06 14:55 
GeneralRe: executereader inquiry Pin
maytel19-Feb-06 20:51
maytel19-Feb-06 20:51 
GeneralRe: executereader inquiry Pin
Dave Kreskowiak20-Feb-06 4:25
mveDave Kreskowiak20-Feb-06 4:25 

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.