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...
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"
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??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.