Results 1 to 3 of 3

Thread: [RESOLVED] Working with modules and forms

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    24

    Resolved [RESOLVED] Working with modules and forms

    Hi. First of all i would like to say that i'm not a dev and all i learned in VB was just surfing and not really learn as i should. This way sometimes i have really basic dobuts, like this one.

    The problem is: I have a var defined in Private Sub Form1_Load Main() . Private Sub Button1_Click i want to get it's value . (all in public class form1)

    How can i do it?

    Thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Working with modules and forms

    Something like
    vb.net Code:
    1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.          MessageBox.Show(VarYouDeclared)
    3. End Sub
    Is this a general VB.NET question (which it appears to be) or something uniquely specific to mobile development?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    24

    Re: Working with modules and forms

    Is an app for mobile, however i think it applies also to non mobile.

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width