Click here to Skip to main content
15,920,633 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: dynamically setting pictures for a picbox Pin
Ray Cassick14-Mar-05 14:36
Ray Cassick14-Mar-05 14:36 
GeneralRe: dynamically setting pictures for a picbox Pin
JMS7614-Mar-05 15:35
JMS7614-Mar-05 15:35 
QuestionImage buttons? Pin
oswaldoh14-Mar-05 6:02
oswaldoh14-Mar-05 6:02 
GeneralRecent Files Menu Management Pin
rswipe14-Mar-05 4:33
rswipe14-Mar-05 4:33 
QuestionHow can I access controls on parent-form Pin
MaWeRic14-Mar-05 4:26
MaWeRic14-Mar-05 4:26 
AnswerRe: How can I access controls on parent-form Pin
Dave Kreskowiak14-Mar-05 6:27
mveDave Kreskowiak14-Mar-05 6:27 
GeneralRe: How can I access controls on parent-form Pin
MaWeRic14-Mar-05 7:19
MaWeRic14-Mar-05 7:19 
GeneralRe: How can I access controls on parent-form Pin
Dave Kreskowiak14-Mar-05 10:28
mveDave Kreskowiak14-Mar-05 10:28 
There's a couple of ways of doing this.

One is to expose a public sub on Form1 that makes the changes you need. In order for Form2 to call this, you'd have to pass a reference to Form1 on to Form2 using a public sub on Form2. This sub would store the reference somewhere at the class level so all the code in Form2 could use it.

The second way is to add a couple of events to Form2 and fire them off when the data changes. The event handlers on Form1 would have to take any data passed in the event to make the necessary changes in Form1.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: How can I access controls on parent-form Pin
Omar Mallat15-Mar-05 3:20
professionalOmar Mallat15-Mar-05 3:20 
GeneralRe: How can I access controls on parent-form Pin
Dave Kreskowiak15-Mar-05 16:21
mveDave Kreskowiak15-Mar-05 16:21 
GeneralHTA and External VB Script Pin
pn199514-Mar-05 4:25
pn199514-Mar-05 4:25 
GeneralRe: HTA and External VB Script Pin
Dave Kreskowiak14-Mar-05 6:21
mveDave Kreskowiak14-Mar-05 6:21 
GeneralHiding the Title Bar Pin
Thirumalaraj14-Mar-05 4:14
Thirumalaraj14-Mar-05 4:14 
GeneralRe: Hiding the Title Bar Pin
Dave Kreskowiak14-Mar-05 6:06
mveDave Kreskowiak14-Mar-05 6:06 
GeneralRe: Hiding the Title Bar Pin
Bad Sector15-Mar-05 20:29
Bad Sector15-Mar-05 20:29 
GeneralRe: Hiding the Title Bar Pin
Dave Kreskowiak16-Mar-05 0:59
mveDave Kreskowiak16-Mar-05 0:59 
GeneralDeserialization Troubles Part 2: GAC and adding assemblies Pin
Dahoolio14-Mar-05 3:16
Dahoolio14-Mar-05 3:16 
QuestionHow I access messege? Pin
sam_pune14-Mar-05 2:50
sam_pune14-Mar-05 2:50 
AnswerRe: How I access messege? Pin
Dahoolio14-Mar-05 3:09
Dahoolio14-Mar-05 3:09 
AnswerRe: How I access messege? Pin
scottgp14-Mar-05 5:15
professionalscottgp14-Mar-05 5:15 
QuestionHow to search through the database from vb.net? Pin
ADY00714-Mar-05 1:46
ADY00714-Mar-05 1:46 
AnswerRe: How to search through the database from vb.net? Pin
Christian Graus14-Mar-05 14:34
protectorChristian Graus14-Mar-05 14:34 
Generalcustomized drawing a curve Pin
mats_mathai13-Mar-05 23:59
mats_mathai13-Mar-05 23:59 
GeneralWebbrowser control again Pin
mecracked13-Mar-05 23:11
sussmecracked13-Mar-05 23:11 
GeneralDeserialization Troubles Pin
Dahoolio13-Mar-05 22:25
Dahoolio13-Mar-05 22: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.