Calling form2 from form1 with a button !

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am very new about VB.NET. I was an old DOS programmer... I would like to
have a button to switch from form1 to form2 !!!
 
Hi Marcel,

I also started with DOS. Do you miss using EDLIN? :-)

To answer the question, it is very simple (when you know how! :-).....

Within the code page for form1 you need to declare the and instantiate
form2. You then call then show method.

Dim frm2 as New Form2

Sub Button1_Click (ByVal sender as object, e as eventargs) handles
button1.click

frm2.show

End Sub

HTH, Phil
 
Hi Phil,

My god, EDLIN, I was forgotting about this program ! I start in 1983 with
the first version of Basic Compiler. I wrote an income tax software that has
been on the market (in Quebec, Canada) for... 21 years ! I gave up last year
(under Basic Compiler 7.1).

Thank you, I am going to try your solution.

Marcel
 
hi sir... just wana ask ....how can i do mapping from DOS OS to a
WINDOWSXP OS?
is it possible?
by using normal mapping code that i did in vb.net?
sorry for asking tis but since u r used to DOS thg.. i thought u may
help a bit in this problem.. thank you...
currently my programme is doing the mapping between two pc which is
under the WINDOWS XP environment...
but now..
i would like to map between two machine.. one is in windows XP OS with
DOS os so that i would be able to copy some text file from the DOS OS to
my windows..... is it possible to do that ?
any refference for me to learn it?
thanks...
may directly contact me at
(e-mail address removed)


viper ®
 
hi sir... just wana ask ....how can i do mapping from DOS OS to a
WINDOWSXP OS?
is it possible?
by using normal mapping code that i did in vb.net?
sorry for asking tis but since u r used to DOS thg.. i thought u may
help a bit in this problem.. thank you...
currently my programme is doing the mapping between two pc which is
under the WINDOWS XP environment...
but now..
i would like to map between two machine.. one is in windows XP OS with
DOS os so that i would be able to copy some text file from the DOS OS to
my windows..... is it possible to do that ?
any refference for me to learn it?
thanks...
may directly contact me at
(e-mail address removed)


viper ®
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top