borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Setfocus to an external window - Please help)Next Topic (TatukGis in VB.net) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : Newer IN .Net
Poster Message
s.ostwal
Level: Whizz Kid


Registered: 03-08-2006
Posts: 16

icon Newer IN .Net

Hi,

Want a help about vb .net programming, Want the steps, & some samples for programming. I know vb 6 verywell. I m not finding the proper method for load, unload, close application. How to install on machine to use? etc.


Swapnil

14-08-2006 at 08:32 AM
View Profile Send Email to User Show All Posts | Quote Reply
Zakarum
Level: Trainee

Registered: 22-09-2005
Posts: 3
icon Re: Newer IN .Net

Hi, i'm new to .Net too, so i can't answer all but i use this:

Public MyForm as Form1


then

MyForm = New Form1


This way i can use MyForm like i use to do it in VB6.

If you find out more plz post it. I want to learn  

sorry for my english  

14-08-2006 at 09:31 PM
View Profile Send Email to User Show All Posts | Quote Reply
shahidmojid
Level: Professor

Registered: 09-05-2002
Posts: 85
icon Re: Newer IN .Net

Few more tips for you.

1. Add two forms in your project form1 and form2
2. Make startup form = form1 (from project properties)
3. Add one button in form1 and double click and write below codes (only middle three lines)

    Private Sub btn1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn1.Click
        Dim f As New Form2   'to load form
        f.ShowDialog()    'or f.show         to show form
        f = Nothing  'to clear the memory
    End Sub

it will will be a startng only.

to close a form just write

   me.close

If you want more code just goto search and your will find tons of answers from this forum or from Google search.

wish you all the best

ShahidMojid  

07-09-2006 at 05:54 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB.Net : Newer IN .Net
Previous Topic (Setfocus to an external window - Please help)Next Topic (TatukGis in VB.net) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder