|
-
Aug 5th, 2003, 11:32 PM
#1
Thread Starter
Frenzied Member
How to generate a public object within a sub?
Normally, in declarations youd put something like
Private WithEvents MainIE As New SHDocVw.InternetExplorer()
and this MainIE could be accessed from anywhere in the app.
but what if you wanted to create this object within a sub like form_load? How can you do it? (and allow it to be accessible from anywhere in Form1, not just in Form_load)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|