| | |
Problem with two forms
Thread Solved |
Hi there.
I've got two forms (form1.frm and frmoptions.frm.) The first form contains a variable (multip = 2.) When I click on the first form let's say I want to see that variable in the second form's command button's caption. This doesn't work. All I get is a blank command button (without the variable as the caption.)
I've declared the variable as 'Public' in the General / Declarations section (in the first form.) And I use the code below to see the second form...
Any suggestions? Thanks
I've got two forms (form1.frm and frmoptions.frm.) The first form contains a variable (multip = 2.) When I click on the first form let's say I want to see that variable in the second form's command button's caption. This doesn't work. All I get is a blank command button (without the variable as the caption.)
I've declared the variable as 'Public' in the General / Declarations section (in the first form.) And I use the code below to see the second form...
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
frmoptions.Show frmoptions.SetFocus
![]() |
Similar Threads
- Accessing MS exchange public calendar using PHP (PHP)
- Side-by-side forms? (HTML and CSS)
- Problem with Forms (PHP)
- Problem with forms (PHP)
- navigation within multiple form in VB.NET (VB.NET)
- MDI forms and their Children (Visual Basic 4 / 5 / 6)
- How to use two forms in asp (ASP)
- C# : Client windows in client windows (C#)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: VB6 - Spredsheet - Some line of text in cell not visible when printed
- Next Thread: VB6 - Error: Loop Without a Do
Views: 1011 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex array banned basic beep beginner blackjack bmp box c++ calculator cells.find channel9 click component connection creative data database datareport date delete desktop dissertationtopic edit error excel excelmacro file filename filter flex form hardware header icon ide image installer interaction keypress label list liveperson looping machine mail match microsoft number object open oracle password pause pdf pos print programmer query random range range-objects readfile reading record refresh remotesqlserverdatabase report reports retrieve save search sendbyte sites sort sound spectateswamp sql sql2008 sqlserver struct sum table tags variable vb vb6 vb6.0 vba vista visual visualbasic web windows





