CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: sub main()

  1. #1
    Join Date
    Aug 2001
    Posts
    1

    sub main()

    does anybody know how to make some code execute only once, when the dll loads, in VB? in VB, main() executes on every thread..

    thanks.



  2. #2
    Join Date
    Jul 2000
    Location
    Hawaii
    Posts
    281

    Re: sub main()

    sounds like you want to put code in the Class Initialize event


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

Featured