|
-
Oct 7th, 2003, 11:24 PM
#1
Thread Starter
Addicted Member
Code Question
My program keeps getting stuck on this line. it is telling me that app was not declared. ??
VB Code:
App.HelpFile = "Helpfile.chm::/HelpFile_ContextSensitiveHelp.txt"
Thanks!
-
Oct 8th, 2003, 12:14 AM
#2
Did you declare it somewhere? App is not an intrinsic object in .NET like it was in VB6. There is an Application object but it doesn't have the same functionality.
-
Oct 8th, 2003, 12:49 AM
#3
Thread Starter
Addicted Member
I ended up finding something in the msdn documentation that was somewhat helpful.
But it is telling me that the Form has to have a help button enabled in order to display a help File. (so I think)
-
Oct 8th, 2003, 04:22 AM
#4
Frenzied Member
I think Help issue is not well addressed in MSDN, at least in 2002, haven't checked 2003 yet. However if you want to have an external file for help then you don't need that Help button available on your form. That button is needed when you want to show a "What's This?" kind of help. You can have both at the same time, pressing F1 will open your help file at the desired section and using help button shows you the short help in a tooltip like box. Remember that you have to add a HelpProvider to your form, and you have to disable Minimize and Maximize buttons on the form otherwise help button will not be shown.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Oct 8th, 2003, 11:15 AM
#5
Thread Starter
Addicted Member
I guess I don’t like it because I know so little about it, but I’ll say this it is most definitely different now that I have finely figured the help part I’m having problems with the last Form that I have added. I went to Solution Explorer and added a Windows Form then I designed it the way I want it to look but now if I run the project the added form does not show any of the changes that I made,
Why??
Thanks!!
Last edited by Rally; Oct 8th, 2003 at 03:26 PM.
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
|