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!
Printable View
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!
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.
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)
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.
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!!