please help..i'm new to vb.net

yenwen

New member
Joined
Jan 14, 2005
Messages
4
Programming Experience
Beginner
hi,..i got some questions..i dunno how to make my project into .exe file..can any one help?? n..in vb6, we use to hide the form using " form1.hide ".. wat if in vb.net??..please help me..i'm new to vb.net...
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
in vb.net the projects are always in *.exe form as the compiler is always compiling the project everytime you click the "run app" button. the exe file is always located in the "Bin" folder inside the project folder. just copy that exe file to anyother computer (running the .net framework)

as for the form.hide, yes that does exist in vb.net (also form.close also exists still) you just need to make a reference to the form on your own now (meaning vb doesnt do it for you)

add a code module to the project and add this:

Friend MyMainForm as frmForm1 'substitute frmForm1 with the actual form you are useing

then in the Form_Load event of the form add this:
MyMainForm = Me

this allows you to open other forms from the main form and you can still access everything from your main form with the variable "MyMainForm"
 

yenwen

New member
Joined
Jan 14, 2005
Messages
4
Programming Experience
Beginner
thanks a lot...
i have another question here..about ASP.NET and VB.NET
if i'm going to create a vb program wif web application..
i need to code in vb.net or both vb.net and asp.net??
 
Top Bottom