Results 1 to 4 of 4

Thread: Help with modules and scope

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2006
    Posts
    48

    Help with modules and scope

    With VS2005 I have in my main Form1 class

    Public FSInterface As New FSDataClass.

    If I add a module how can I let the module see this FSInterface object please?

    Also in a module, with VS6 I could define 'global test as integer' and all forms etc could see that variable, I cant do that in VS2005. Any variables I put into the module are not seen elsewhere.

    I would like to keep a lot of my variables in a module or similar. Any advice on that please?

    Thanks
    Graham
    Last edited by gjpollitt; Oct 16th, 2006 at 10: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