Click here to Skip to main content
16,012,468 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to pass values between 2 mdi childs?(without new form) Pin
DaveAuld5-Sep-11 3:23
professionalDaveAuld5-Sep-11 3:23 
QuestionRe: How to pass values between 2 mdi childs?(without new form) Pin
DeDelva5-Sep-11 6:27
DeDelva5-Sep-11 6:27 
AnswerRe: How to pass values between 2 mdi childs?(without new form) Pin
DaveAuld5-Sep-11 7:20
professionalDaveAuld5-Sep-11 7:20 
JokeRe: How to pass values between 2 mdi childs?(without new form) Pin
DeDelva5-Sep-11 9:31
DeDelva5-Sep-11 9:31 
QuestionRe: How to pass values between 2 mdi childs?(without new form) Pin
DeDelva26-Sep-11 5:03
DeDelva26-Sep-11 5:03 
AnswerRe: How to pass values between 2 mdi childs?(without new form) Pin
DaveAuld26-Sep-11 5:33
professionalDaveAuld26-Sep-11 5:33 
QuestionRe: How to pass values between 2 mdi childs?(without new form) Pin
DeDelva26-Sep-11 7:01
DeDelva26-Sep-11 7:01 
AnswerRe: How to pass values between 2 mdi childs?(without new form) Pin
DaveyM697-Sep-11 1:31
professionalDaveyM697-Sep-11 1:31 
There are two ways of looking at this situation:
1. mdiChildA creates the instance of mdiChildB so it can hold a reference to it.
2. mdiParent holds the children so it has a reference to all of them.

I prefer number 2 and when creating mdiChildB I would make mdiChildA raise an event that mdiParent responds to and creates mdiChildB.

All communication from the children I do by events to the mdiParent. The parent can then call methods/set properties in any other children that need to respond to events raised by others.
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



QuestionShell Function Gives Error 53 File Not Found in Windows 7 Pin
emrtnz2-Sep-11 17:50
emrtnz2-Sep-11 17:50 
AnswerRe: Shell Function Gives Error 53 File Not Found in Windows 7 Pin
DaveAuld2-Sep-11 23:52
professionalDaveAuld2-Sep-11 23:52 
AnswerRe: Shell Function Gives Error 53 File Not Found in Windows 7 Pin
emrtnz9-Sep-11 7:10
emrtnz9-Sep-11 7:10 
GeneralRe: Shell Function Gives Error 53 File Not Found in Windows 7 Pin
DaveAuld9-Sep-11 7:13
professionalDaveAuld9-Sep-11 7:13 
Questionhow to coonect mysql database with my vb6.0 project Pin
UD(IA)1-Sep-11 23:24
UD(IA)1-Sep-11 23:24 
AnswerRe: how to coonect mysql database with my vb6.0 project Pin
Wayne Gaylard2-Sep-11 1:15
professionalWayne Gaylard2-Sep-11 1:15 
GeneralRe: how to coonect mysql database with my vb6.0 project Pin
Nagy Vilmos2-Sep-11 2:45
professionalNagy Vilmos2-Sep-11 2:45 
AnswerRe: how to coonect mysql database with my vb6.0 project Pin
Nagy Vilmos2-Sep-11 2:50
professionalNagy Vilmos2-Sep-11 2:50 
AnswerRe: how to coonect mysql database with my vb6.0 project Pin
Bert Mitton2-Sep-11 7:50
professionalBert Mitton2-Sep-11 7:50 
Questiondispose on entity framework Pin
dcode251-Sep-11 5:27
dcode251-Sep-11 5:27 
AnswerRe: dispose on entity framework Pin
Dave Kreskowiak1-Sep-11 7:45
mveDave Kreskowiak1-Sep-11 7:45 
GeneralRe: dispose on entity framework Pin
dcode251-Sep-11 13:17
dcode251-Sep-11 13:17 
GeneralRe: dispose on entity framework Pin
Dave Kreskowiak1-Sep-11 16:48
mveDave Kreskowiak1-Sep-11 16:48 
GeneralRe: dispose on entity framework Pin
dcode252-Sep-11 7:30
dcode252-Sep-11 7:30 
GeneralRe: dispose on entity framework Pin
Dave Kreskowiak2-Sep-11 11:18
mveDave Kreskowiak2-Sep-11 11:18 
GeneralRe: dispose on entity framework Pin
dcode252-Sep-11 11:55
dcode252-Sep-11 11:55 
GeneralRe: dispose on entity framework Pin
Dave Kreskowiak2-Sep-11 15:45
mveDave Kreskowiak2-Sep-11 15:45 

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.