Click here to Skip to main content
15,913,722 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Password expire Pin
Gavin Jeffrey17-Feb-05 10:44
Gavin Jeffrey17-Feb-05 10:44 
GeneralRe: Password expire Pin
Anonymous17-Feb-05 10:52
Anonymous17-Feb-05 10:52 
GeneralRe: Password expire Pin
Dave Kreskowiak17-Feb-05 11:24
mveDave Kreskowiak17-Feb-05 11:24 
GeneralmenuItem mouseOver event Pin
Anonymous17-Feb-05 9:58
Anonymous17-Feb-05 9:58 
GeneralRe: menuItem mouseOver event Pin
Anonymous17-Feb-05 10:03
Anonymous17-Feb-05 10:03 
GeneralFreeze column in a datagrid scroll Pin
Ron317-Feb-05 7:19
Ron317-Feb-05 7:19 
Generalexposing nested classes via webservices Pin
detroitboy17-Feb-05 5:18
detroitboy17-Feb-05 5:18 
Generalreferencing windows form in a variable Pin
Anonymous17-Feb-05 4:42
Anonymous17-Feb-05 4:42 
I have a small application, doesn't do much, but I have the main screen that pops up with name mainScreen. When I click on a menu button to show another form, in the click event i have

Dim f as New Upload <--(Upload is the name of the form I'm showing)
f.Owner = Me
Me.Enabled = False
f.Show


Now, when I hit the ok button on the Upload form, I want it to hide, and then manipulate some controls back on the mainScreen form. However, I don't know how to reference it. I can't just say mainScreen.control blah blah, and I can't use Me.Owner to get to the controls either. I tried saying Dim f as New MainScreen blah blah but that doesn't work because that won't reference the mainScreen object that's already open, it creates a new one. How do I do this? I know it's simple but I just can't seem to find the syntax to do it
GeneralRe: referencing windows form in a variable Pin
Colin Angus Mackay17-Feb-05 5:04
Colin Angus Mackay17-Feb-05 5:04 
GeneralRe: referencing windows form in a variable Pin
Anonymous17-Feb-05 7:22
Anonymous17-Feb-05 7:22 
GeneralRe: referencing windows form in a variable Pin
Anonymous17-Feb-05 8:09
Anonymous17-Feb-05 8:09 
GeneralRe: referencing windows form in a variable Pin
Colin Angus Mackay17-Feb-05 8:25
Colin Angus Mackay17-Feb-05 8:25 
GeneralRe: referencing windows form in a variable Pin
Anonymous17-Feb-05 8:34
Anonymous17-Feb-05 8:34 
Generalproblem with writing into a struct Pin
Dahoolio17-Feb-05 2:49
Dahoolio17-Feb-05 2:49 
GeneralRe: problem with writing into a struct Pin
Dahoolio17-Feb-05 23:09
Dahoolio17-Feb-05 23:09 
GeneralRe: problem with writing into a struct Pin
Dahoolio17-Feb-05 23:30
Dahoolio17-Feb-05 23:30 
GeneralPeer to peer Pin
manasrahfantom17-Feb-05 0:30
manasrahfantom17-Feb-05 0:30 
QuestionHow to use com port Pin
kamal_8216-Feb-05 23:21
kamal_8216-Feb-05 23:21 
AnswerRe: How to use com port Pin
Just Greeky Creek17-Feb-05 2:05
Just Greeky Creek17-Feb-05 2:05 
GeneralWebBrowser Control Pin
Sumit Domyan16-Feb-05 22:42
Sumit Domyan16-Feb-05 22:42 
GeneralExporting Data Pin
Just Greeky Creek16-Feb-05 21:21
Just Greeky Creek16-Feb-05 21:21 
GeneralFile access on a remote pc Pin
SalieghA16-Feb-05 19:36
SalieghA16-Feb-05 19:36 
GeneralRe: File access on a remote pc Pin
Dave Kreskowiak17-Feb-05 5:03
mveDave Kreskowiak17-Feb-05 5:03 
GeneralError loading type library/DLL. Pin
jatin.mehta@gmail.com16-Feb-05 18:45
jatin.mehta@gmail.com16-Feb-05 18:45 
GeneralRe: Error loading type library/DLL. Pin
Dave Kreskowiak17-Feb-05 4:53
mveDave Kreskowiak17-Feb-05 4:53 

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.