|
-
Dec 8th, 2003, 04:41 AM
#1
Thread Starter
Lively Member
Accessing a Sub Routine from another form.
I have two forms in my solution. One is called frmMain and the other is called frmApplications. frmMain is the first one that starts up and it declares a new object referencing frmApplications. When I want to show frmAppications I use fApps.Show (Note: fApps is a object reference to frmApplications). I can access frmApplications methods by using the fApps object. But the problem is that I can't seem to figure out how to reference frmMain from frmApplications. I want to do this because frmMain has a Sub Routine I want to run on it, and I want to be able to run this sub from frmApplications. I'm not sure how this is done in VB .NET. Does anyone know what I'm doing wrong?
I'm sure it's simple.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|