|
-
Jul 14th, 2005, 10:55 AM
#1
Thread Starter
Hyperactive Member
HelpProvider Question in VB.Net
This is the situation.
I have many forms that I used and I dont use a MDI form to organize that.
(Dont ask why MDI was not used. Am not the boss )
Just a main form and the rest are pop up modal forms.
Just like to ask if is it possible to create a HelpProvider which is global that all the forms can used it whenever user press F1 for help.
Because right now, on every form I just added a HelpProvider object and set its HelpNameSpace property.
Thanks in advance.
-Yince
-
Jul 14th, 2005, 12:32 PM
#2
Sleep mode
Re: HelpProvider Question in VB.Net
Can't you just create one instance and put it public in a module or class file !! I believe you can .
-
Jul 14th, 2005, 12:37 PM
#3
Hyperactive Member
Re: HelpProvider Question in VB.Net
In a public module somewhere, add the following line:
VB Code:
Dim GlobalHelp As HelpProvider
Then in another sub that is called at startup, perhaps even the Sub Main(), add this:
VB Code:
GlobalHelp = New HelpProvider()
With GlobalHelp
.HelpNamespace = ...
End With
You'll have to fill in the blanks
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
|