Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / May 2006

Tip: Looking for answers? Try searching our database.

Beginner- 2 Forms  & Events

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Miro - 08 May 2006 01:42 GMT
I am a pure beginner and reading 3 books at the same time trying to learn
vb.

I have created 2 forms in my "Solution"
No where can I see in any of the books how you load / call one form from the
other.

So how do you:

A)  Load 1 form from the other.
Example:  I have frmForm1 and frmForm2

B)  Load frmForm2 after I call the "close / end" command from frmForm1

C)  And how do i access / all the Events of a Form?
Just like the properties tab - so I can see all the properties a form has /
or any other object like a text box.  How do I / or can see
all the Events for a form?
So far all I know how to access is the "onLoad" because I can double click
on a form.

Im sure there will be more questions but I just cant seem to figure these
out.

Thank you for your help.

Miro
iwdu15 - 08 May 2006 03:08 GMT
hi, great to see a beginner here. calling one form from another is very simple

Dim frm as new frmForm2

then to show the form, you simply write:

frm.Show()

that it! very simple.

to access the other forms events, go to your code window and look at the
top. youl see two menus right above the code window. click these dropdown
menus and find whichever control you want, on the left, then pick which event
you want, on the right.

hope this helps

Signature

-iwdu15

Miro - 08 May 2006 04:27 GMT
Thank you very much.
I was going crazy.  The books talk about
Dim frm as New form() and stuff like that but not how to show another form.

Thank you very much agian.

I will post a question about the events as a new Post.

I hope i can get good enough in vb to return the answers to vb net one day.

Miro

> hi, great to see a beginner here. calling one form from another is very
> simple
[quoted text clipped - 14 lines]
>
> hope this helps

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.