Click here to Skip to main content
16,004,927 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: System.DateTime.Now to MS Access Pin
SilentBob10127-Dec-06 7:32
SilentBob10127-Dec-06 7:32 
AnswerRe: System.DateTime.Now to MS Access Pin
SilentBob10128-Dec-06 8:12
SilentBob10128-Dec-06 8:12 
QuestionDocumnet Parser Pin
alexfromto26-Dec-06 9:27
alexfromto26-Dec-06 9:27 
AnswerRe: Documnet Parser Pin
Paul Conrad26-Dec-06 17:51
professionalPaul Conrad26-Dec-06 17:51 
GeneralRe: Documnet Parser Pin
alexfromto27-Dec-06 2:49
alexfromto27-Dec-06 2:49 
GeneralRe: Documnet Parser Pin
Paul Conrad27-Dec-06 7:22
professionalPaul Conrad27-Dec-06 7:22 
QuestionPreventing automatic vars changes in Multiple Child Forms Pin
NigeLost26-Dec-06 8:34
NigeLost26-Dec-06 8:34 
AnswerRe: Preventing automatic vars changes in Multiple Child Forms Pin
Dave Kreskowiak26-Dec-06 8:47
mveDave Kreskowiak26-Dec-06 8:47 
NigeLost wrote:
although it looks like someone has erased it on the board


It didn't get erased. You're seeing the effects of a childish egomaniac who has nothing better to than to screw with websites and insult people.


NigeLost wrote:
What your note says makes sense but how do I get a copy of the global variables into the Child form if I don't get this from the global variables themselves?

Interestingly, the TitleBar gets the correct info each time using

Me.Text = MAIN.wsName

which refers to the Public variable held in the top of the MAIN Form.


You're using global variables when you shouldn't be. The title bar sticks because each child form is using it's own copy of the text. You're not associating the Me.Text to the variable MAIN.wsName. It's getting a copy of the contents of that variable every time that code is run.

The solution is simple. In each of your child forms, expose properties that you can set so each child maintains it's own copy of the data it needs to redraw itself.


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: Preventing automatic vars changes in Multiple Child Forms Pin
NigeLost26-Dec-06 9:09
NigeLost26-Dec-06 9:09 
GeneralRe: Preventing automatic vars changes in Multiple Child Forms Pin
Dave Kreskowiak26-Dec-06 10:51
mveDave Kreskowiak26-Dec-06 10:51 
GeneralRe: Preventing automatic vars changes in Multiple Child Forms Pin
NigeLost26-Dec-06 11:25
NigeLost26-Dec-06 11:25 
QuestionGetting information from the database Pin
Aigini26-Dec-06 4:34
Aigini26-Dec-06 4:34 
AnswerRe: Getting information from the database Pin
Agus Budianto26-Dec-06 17:28
Agus Budianto26-Dec-06 17:28 
Questionmaking the column readonly Pin
RAJWANTMISHRA26-Dec-06 4:30
RAJWANTMISHRA26-Dec-06 4:30 
AnswerRe: making the column readonly Pin
Janani Divya27-Dec-06 1:20
Janani Divya27-Dec-06 1:20 
GeneralRe: making the column readonly Pin
RAJWANTMISHRA27-Dec-06 5:19
RAJWANTMISHRA27-Dec-06 5:19 
QuestionPreventing automatic variable changes in Multiple Child Forms Pin
NigeLost26-Dec-06 3:52
NigeLost26-Dec-06 3:52 
AnswerRe: Preventing automatic variable changes in Multiple Child Forms Pin
Dave Kreskowiak26-Dec-06 6:36
mveDave Kreskowiak26-Dec-06 6:36 
QuestionUrgent Pin
vin107025-Dec-06 23:12
vin107025-Dec-06 23:12 
AnswerRe: Urgent Pin
Colin Angus Mackay26-Dec-06 0:09
Colin Angus Mackay26-Dec-06 0:09 
AnswerRe: Urgent Pin
Dave Kreskowiak26-Dec-06 2:38
mveDave Kreskowiak26-Dec-06 2:38 
GeneralRe: Urgent Pin
Paul Conrad26-Dec-06 16:07
professionalPaul Conrad26-Dec-06 16:07 
QuestionRemoting Pin
nitin_ion25-Dec-06 22:55
nitin_ion25-Dec-06 22:55 
AnswerRe: Remoting Pin
Dave Kreskowiak26-Dec-06 2:39
mveDave Kreskowiak26-Dec-06 2:39 
GeneralRe: Remoting Pin
nitin_ion26-Dec-06 17:09
nitin_ion26-Dec-06 17:09 

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.