Solved

Trying to implement What's This Help for a VB 4 (16-bit) MDI application

Posted on 1997-05-01
6
208 Views
Last Modified: 2006-11-17
I have not been able to implement the What's This help functionality in my VB application.  The app is a MDI application with approx 115 child forms, and the MDI has menu items and a toolbar which are used to navigate through the system.

The controls on the child forms have their WhatsThisHelpID and HelpContextID properties set to the correct values for use of the help file.  The context sensitive help is invoked as required by pressing the F1 key when a control has focus.  However the WhatsThisHelpID  does not work at all.  I have searched the Technet CD (dec 96) and also the MS knowledge base web page, and also applied the various conceps desbribed in the VB help files.  None of these work at all, they do nothing at all.  I have also spoken to MS tech support, and they have been unable to help, but are investigating.  Has anyone ever got this to work.

I had a reply to this question today, but I had already tried that, and it didn't work.  Nothing happens when I try WhatsThisMode.  When I set the WhatsThisButton property for the form, the question mark button doesn't even appear.  The ShowWhatsThis method does nothing.  Although it doesn't say anywhere in any articles, am I supposed to do any type of operation which initializes the Win95 help system for use ??

I need to get this working asap as we are delivering the system in 2 weeks time, and also if anyone does have a solution, I would be grateful if they could email me the code to try on my machine (just in case this is a configuration issue with my setup, although I dont think it is).  My email is arif.jaffer@usa.net.  Thanks.
0
Comment
Question by:arifjaffer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 7

Expert Comment

by:tward
ID: 1425904
As I also said in my answer yesterday make sure you have the whatsthishelp property set to true.  Then when the user clicks on the toolbar button or menu option for the whatsthishelp simply do the WhatsThisMode and it should work fine...  I have used it several times here without a problem.
0
 

Author Comment

by:arifjaffer
ID: 1425905
Dear tward,

I have tried that aswell, and cant understand why this is not working. As I said, I have tried everything that is written in VB help, the examples in Technet and MS knowledge base, but it doesn't seem to be as simple as this.  Can you send me some example code.  I have also spoken to Microsoft and they are having the same problem, si I would be interested to see how you have made this woek.  Thanks.
0
 
LVL 7

Expert Comment

by:tward
ID: 1425906
Is this running on a Windows 95 or NT Machine?

If it is not then it will not work.....
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 7

Expert Comment

by:kamall
ID: 1425907
Hi
There is another way. I am not sure if it will solve your problem. You can implement Help Tips when an object captures the mouse by using the mouse move event.
I hope this may help if you are in a hurry.

Best regards

0
 
LVL 1

Accepted Solution

by:
bitz earned 200 total points
ID: 1425908
I don't know if this will help, but most VB apps use an OCX called Microsoft Windows Common Controls.  This contains a contol  called ToolBar.  You can use this and it automatically shows what's this help.  It also can be put on an MDI form because of it's align property.  I use this control for most of my toolbars.
0
 
LVL 2

Expert Comment

by:vorlon
ID: 1425909
I haven't worked with help systems on Win32 much (only 16 bit) therefore I might not be qualified to say this. However, do you know for a fact that creating a 16-application help system using 32-bit techniques will work? What if you compiled your app in 32-bit mode just for a test?

Just a thought. Hope if helps.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Macro: print each sheet to pdf using ExportAsFixedFormat 11 71
Using "ScreenUpdating" 6 88
VB 6 error 5 in windows 10 but not in XP 7 73
transition to visual .net from vb6 5 81
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question