Click here to Skip to main content
15,914,413 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalwin registry Pin
Anonymous15-Jun-04 21:02
Anonymous15-Jun-04 21:02 
GeneralRe: win registry Pin
Dave Kreskowiak16-Jun-04 2:35
mveDave Kreskowiak16-Jun-04 2:35 
GeneralADODB Pin
Ph4ntomas15-Jun-04 16:28
Ph4ntomas15-Jun-04 16:28 
GeneralRe: ADODB Pin
Dave Kreskowiak16-Jun-04 2:28
mveDave Kreskowiak16-Jun-04 2:28 
GeneralBrowser like User Interface in Windows Forms (Web Style Design) Pin
Paras Shah15-Jun-04 10:42
Paras Shah15-Jun-04 10:42 
GeneralRe: Browser like User Interface in Windows Forms (Web Style Design) Pin
Paras Shah15-Jun-04 11:03
Paras Shah15-Jun-04 11:03 
QuestionRun Two forms? Pin
ymohd_22215-Jun-04 5:41
ymohd_22215-Jun-04 5:41 
AnswerRe: Run Two forms? Pin
Dave Kreskowiak15-Jun-04 6:53
mveDave Kreskowiak15-Jun-04 6:53 
This is the fourth time you've asked this question!

You've already got your answer in your previous posts. You simply add a Public class variable to your second form and set that variable from your main form.

Now, to show a second form with the data you want to pass:
' Code in Form1
Dim form2 As New Form2
 
form2.myClassVariable = "something"
form2.Show()
 
 
' Code in Form2
Public Class Form2
    Public myClassVariable As String
    .
    .
    .
End Class

You might want to TRY this and if it fails, post a couple of code snippets so we can tell you want your doing wrong.


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

Generalundisplayed icon in a button Pin
tranminhsang15-Jun-04 5:24
tranminhsang15-Jun-04 5:24 
QuestionSmart Tags in Visual Studio Editor?? Pin
Boniolopez15-Jun-04 4:17
Boniolopez15-Jun-04 4:17 
AnswerRe: Smart Tags in Visual Studio Editor?? Pin
Dave Kreskowiak15-Jun-04 5:38
mveDave Kreskowiak15-Jun-04 5:38 
GeneralRe: Smart Tags in Visual Studio Editor?? Pin
Boniolopez15-Jun-04 6:12
Boniolopez15-Jun-04 6:12 
GeneralRe: Smart Tags in Visual Studio Editor?? Pin
Dave Kreskowiak15-Jun-04 6:47
mveDave Kreskowiak15-Jun-04 6:47 
GeneralRe: Smart Tags in Visual Studio Editor?? Pin
Boniolopez15-Jun-04 8:56
Boniolopez15-Jun-04 8:56 
GeneralRe: Smart Tags in Visual Studio Editor?? Pin
Dave Kreskowiak15-Jun-04 14:51
mveDave Kreskowiak15-Jun-04 14:51 
GeneralRe: Smart Tags in Visual Studio Editor?? Pin
Boniolopez16-Jun-04 10:28
Boniolopez16-Jun-04 10:28 
GeneralRe: Smart Tags in Visual Studio Editor?? Pin
Dave Kreskowiak17-Jun-04 11:50
mveDave Kreskowiak17-Jun-04 11:50 
GeneralReturning a unique value Pin
Vicetta15-Jun-04 4:01
Vicetta15-Jun-04 4:01 
GeneralRe: Returning a unique value Pin
VenkatFor.NET15-Jun-04 4:18
VenkatFor.NET15-Jun-04 4:18 
GeneralRe: Returning a unique value Pin
Vicetta15-Jun-04 22:43
Vicetta15-Jun-04 22:43 
GeneralRe: Returning a unique value Pin
Robert M Greene18-Jun-04 11:09
Robert M Greene18-Jun-04 11:09 
QuestionHow to ...? Pin
Cheng Zhong15-Jun-04 2:42
Cheng Zhong15-Jun-04 2:42 
QuestionHow to shutdown computer in WinXP? Pin
Cheng Zhong15-Jun-04 2:27
Cheng Zhong15-Jun-04 2:27 
AnswerRe: How to shutdown computer in WinXP? Pin
Dave Kreskowiak15-Jun-04 6:14
mveDave Kreskowiak15-Jun-04 6:14 
GeneralRe: How to shutdown computer in WinXP? Pin
Cheng Zhong15-Jun-04 17:05
Cheng Zhong15-Jun-04 17:05 

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.