473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Beginner- 2 Forms & Events

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
May 8 '06 #1
2 1028
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

--
-iwdu15
May 8 '06 #2
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
"iwdu15" <jmmgoalsteratyahoodotcom> wrote in message
news:D7**********************************@microsof t.com...
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

--
-iwdu15

May 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Richard B. Kreckel | last post by:
Hi! I was recently asked what book to recommend for a beginner in C++. I am convinced that you needn't study C in depth before learning C++ (though it helps), but cannot find any beginner's...
8
by: Grrrbau | last post by:
I'm a beginner. I'm looking for a good C++ book. Someone told me about Lafore's "Object-Oriented Programming in C++". What do you think? Grrrbau
7
by: Rensjuh | last post by:
Hello, does someone have / know a good C++ tutorial for beginnners? I would prefer Dutch, but English is also fine. Hoi, heeft / kent iemand nog een goede C++ tutorial voor beginners? Het liefste...
27
by: MHoffman | last post by:
I am just learning to program, and hoping someone can help me with the following: for a simple calculator, a string is entered into a text box ... how do I prevent the user from entering a text...
18
by: mitchellpal | last post by:
Hi guys, am learning c as a beginner language and am finding it rough especially with pointers and data files. What do you think, am i being too pessimistic or thats how it happens for a beginner?...
20
by: weight gain 2000 | last post by:
Hello all! I'm looking for a very good book for an absolute beginner on VB.net or VB 2005 with emphasis on databases. What would you reccommend? Thanks!
5
by: macca | last post by:
Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendations please? Thanks Paul
10
by: Roman Zeilinger | last post by:
Hi I have a beginner question concerning fscanf. First I had a text file which just contained some hex numbers: 0C100012 0C100012 ....
10
by: hamza612 | last post by:
I want to start learning how to program. But I dont know where to start. From what I've heard so far c++ is not a good lang. to learn as a beginner because its very complicated compared to others...
22
by: ddg_linux | last post by:
I have been reading about and doing a lot of php code examples from books but now I find myself wanting to do something practical with some of the skills that I have learned. I am a beginner php...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.