Solved

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

Posted on 1997-05-01
6
205 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now