Results 1 to 6 of 6

Thread: how to share string in all form(s), via module?

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2009
    Posts
    492

    how to share string in all form(s), via module?

    I have problem:

    why not work ?

    please!

    Code:
    'Form1
    Private Sub Command1_Click()
    MsgBox a
    MsgBox b
    End Sub
    
    
    'Module1
    Public a As String
    Public b as string
    a = CStr(Form1.Text1.Text)
    b = App.Path
    Last edited by rpool; Apr 24th, 2010 at 02:49 AM.

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