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

Visual Basic

 
QuestionSQL compare date problem on VB Pin
campbells20-Jul-06 22:19
campbells20-Jul-06 22:19 
AnswerRe: SQL compare date problem on VB Pin
Paddy Boyd20-Jul-06 23:11
Paddy Boyd20-Jul-06 23:11 
GeneralRe: SQL compare date problem on VB Pin
campbells20-Jul-06 23:13
campbells20-Jul-06 23:13 
GeneralRe: SQL compare date problem on VB Pin
ChandraRam25-Jul-06 19:14
ChandraRam25-Jul-06 19:14 
GeneralRe: SQL compare date problem on VB Pin
ChandraRam25-Jul-06 19:15
ChandraRam25-Jul-06 19:15 
QuestionProblem with display of unicode characters with Crystal report Pin
Sithy20-Jul-06 22:00
Sithy20-Jul-06 22:00 
QuestionQuestion about notification among controls Pin
jgyie220-Jul-06 22:00
jgyie220-Jul-06 22:00 
AnswerRe: Question about notification among controls Pin
Rizwan Bashir21-Jul-06 5:30
Rizwan Bashir21-Jul-06 5:30 
Your requirement is little unique so the solution would be unique too. I have one suggestion there might be many from others. well do the following

1. Build One Function on every Form with these parameters
public Function ControlAlert(FormName,Controlname,Value,any other parameter if required)
''' do here what you want to do if any other control has changed value
end function

2. on change of all the controls lying on all the forms. call one function which you will be created in your Global Module say
public sub ControlValuechanged(FormName,ControlName,ControlText)
' Over here you will get the reference of all the forms by using MDIForm Child loop and will pass the parameters to those forms in function
ControlAlert which you created on Step 1 like this

Dim frm As Object
For Each frm In MDIMain.MdiChildren
frm.ControlAlert(parameters)
Next

end sub



Rizwan Bashir
GeneralRe: Thanks. Does Observer design pattern or others support that? Pin
jgyie221-Jul-06 6:29
jgyie221-Jul-06 6:29 
Questionanyone...thanks Pin
@$+r020-Jul-06 21:33
@$+r020-Jul-06 21:33 
AnswerRe: anyone...thanks Pin
Robert Rohde21-Jul-06 0:00
Robert Rohde21-Jul-06 0:00 
Questioncustom controls Pin
Dobromir Dimitrov20-Jul-06 20:59
Dobromir Dimitrov20-Jul-06 20:59 
AnswerRe: custom controls Pin
Dave Sexton20-Jul-06 21:30
Dave Sexton20-Jul-06 21:30 
GeneralRe: custom controls Pin
Dobromir Dimitrov20-Jul-06 21:35
Dobromir Dimitrov20-Jul-06 21:35 
QuestionHow to create buttons in Direct3D [MDX] Pin
Hoover8520-Jul-06 20:47
Hoover8520-Jul-06 20:47 
QuestionExtraction of attached files in PDF Pin
SuBaj20-Jul-06 17:22
SuBaj20-Jul-06 17:22 
AnswerRe: combo change not working? Pin
Rizwan Bashir20-Jul-06 22:55
Rizwan Bashir20-Jul-06 22:55 
GeneralRe: combo change not working? Pin
Rizwan Bashir21-Jul-06 5:33
Rizwan Bashir21-Jul-06 5:33 
GeneralRe: combo change not working? Pin
ChandraRam25-Jul-06 19:18
ChandraRam25-Jul-06 19:18 
QuestionPrinting the whole content of a child form, not just the visible part Pin
incognito7920-Jul-06 14:27
incognito7920-Jul-06 14:27 
AnswerRe: Printing the whole content of a child form, not just the visible part Pin
ChandraRam25-Jul-06 19:22
ChandraRam25-Jul-06 19:22 
AnswerRe: Adding LOTS of data to a database table Pin
Paul Conrad20-Jul-06 13:34
professionalPaul Conrad20-Jul-06 13:34 
GeneralRe: Adding LOTS of data to a database table Pin
incognito7920-Jul-06 23:36
incognito7920-Jul-06 23:36 
QuestionAccessing emails from exchange server Pin
ggpptt20-Jul-06 8:39
ggpptt20-Jul-06 8:39 
Questionerror programmatically accessing mapped drive Pin
mzak042020-Jul-06 8:18
mzak042020-Jul-06 8:18 

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.