473,624 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HelpProvider

I want help from u regarding providing information about form and controls
which are presented on the form.
when ever user presses f1 if the form has focus then it has to provide
information about the form( eg.what it does etc)
When the control has focus , if the user presses f1 key then it has to
provide info regatding that control i.e what the control is meant for.
Like that i want to provide help information to the end user to make him
know how to use the application.

For eg in my application there is one form and it is having 2 text box
controls and i've placed HelpProvider control.

For form i 've set the properties like this

show help on helpProvider1 = true
HelpString on helpProvider1= Drugs Entry Form

For First textbox i set the following properties

show help on helpProvider1 = true
HelpString on helpProvider1= Enter Drug name

For Second textbox i set the following properties

show help on helpProvider1 = true
HelpString on helpProvider1= Enter Dosage level

After running the application so the form is having the focus and when i
press f1 it is displaying the message dugs entry form

, when select 1st textbox and press f1 then it is displaying Enter Drug
name and
when select 2nd textbox and press f1 then it is displaying enter dosage
level.

Again when am selecting form and pressing f1 then it is displaying the
message Enter dosage level.( it is displaying the message of the control
which i 've selected previously before selecting the form.
So instaed of providing message using helpstring i've used one htmel page.
In this i 've written some text. and i 've included this file into
application using the property
HelpNamespace of HelpProvider control.

When am running the application and pressing f1 key then it is displaying
the information into Browser i dont want to display the info into browser
but want to display in seperate document .
Plz tell me how to do this one.
Thanx in advance
Yoshitha
Nov 21 '05 #1
2 6100
Hi Yoshitha,

Here's how a help system inside .net works: add a helpprovider control which
adds numerous properties to all of the controls on a given form; you simply
set the .htm or the .chm you wish to go to with

HelpProvider1.H elpNamespace = "f:\myhelp\tpca l.htm"

Then you set the control's help navigate on <controlname> to 'find' etc to
open either the file or an index of the file or search of the file or table
of contents, etc; of course, if it's a simple .htm which may link to other
..htm's, just use 'find'; if you make navigate on 'keywordindex' and enter
the keyword (without quotes) in the 'help keyword on' property, the .chm
will automatically go directly to that keyword in the index.

Also, if you set

Me.HelpProvider 1.HelpNamespace = "f:\myhelp\tpca l_h.chm"

in the load event and then enter, say, 'inventory processing' (an index key)
in 'help keyword on' and set nagivate to keywordindex, it goes directly to
that page; the other approach simply opens an htm in the explorer window,
which isn't as good as doing this.

HTH,

Bernie Yaeger

"Yoshitha" <gu**********@r ediffmail.com> wrote in message
news:ey******** ******@tk2msftn gp13.phx.gbl...
I want help from u regarding providing information about form and controls
which are presented on the form.
when ever user presses f1 if the form has focus then it has to provide
information about the form( eg.what it does etc)
When the control has focus , if the user presses f1 key then it has to
provide info regatding that control i.e what the control is meant for.
Like that i want to provide help information to the end user to make him
know how to use the application.

For eg in my application there is one form and it is having 2 text box
controls and i've placed HelpProvider control.

For form i 've set the properties like this

show help on helpProvider1 = true
HelpString on helpProvider1= Drugs Entry Form

For First textbox i set the following properties

show help on helpProvider1 = true
HelpString on helpProvider1= Enter Drug name

For Second textbox i set the following properties

show help on helpProvider1 = true
HelpString on helpProvider1= Enter Dosage level

After running the application so the form is having the focus and when i
press f1 it is displaying the message dugs entry form

, when select 1st textbox and press f1 then it is displaying Enter Drug
name and
when select 2nd textbox and press f1 then it is displaying enter dosage
level.

Again when am selecting form and pressing f1 then it is displaying the
message Enter dosage level.( it is displaying the message of the control
which i 've selected previously before selecting the form.
So instaed of providing message using helpstring i've used one htmel page.
In this i 've written some text. and i 've included this file into
application using the property
HelpNamespace of HelpProvider control.

When am running the application and pressing f1 key then it is displaying
the information into Browser i dont want to display the info into browser
but want to display in seperate document .
Plz tell me how to do this one.
Thanx in advance
Yoshitha

Nov 21 '05 #2
Hello Yoshita,
I want help from u regarding providing information about form and controls
which are presented on the form.
when ever user presses f1 if the form has focus then it has to provide
information about the form( eg.what it does etc)
When the control has focus , if the user presses f1 key then it has to
provide info regatding that control i.e what the control is meant for.
Like that i want to provide help information to the end user to make him
know how to use the application.

For eg in my application there is one form and it is having 2 text box
controls and i've placed HelpProvider control.

For form i 've set the properties like this

show help on helpProvider1 = true
HelpString on helpProvider1= Drugs Entry Form

For First textbox i set the following properties

show help on helpProvider1 = true
HelpString on helpProvider1= Enter Drug name

For Second textbox i set the following properties

show help on helpProvider1 = true
HelpString on helpProvider1= Enter Dosage level

After running the application so the form is having the focus and when i
press f1 it is displaying the message dugs entry form

, when select 1st textbox and press f1 then it is displaying Enter Drug
name and
when select 2nd textbox and press f1 then it is displaying enter dosage
level.

Again when am selecting form and pressing f1 then it is displaying the
message Enter dosage level.( it is displaying the message of the control
which i 've selected previously before selecting the form.
So instaed of providing message using helpstring i've used one htmel page.
In this i 've written some text. and i 've included this file into
application using the property
HelpNamespace of HelpProvider control.

When am running the application and pressing f1 key then it is displaying
the information into Browser i dont want to display the info into browser
but want to display in seperate document .
Plz tell me how to do this one.


it is not quite clear for me what is meant with "seperate document". You only
can show a HTML topic in a browser window or a CHM file topic by HTMLHelp
viewer.

Have a look at my examples at:
http://www.help-info.de/en/Visual_Basic_net/vbnet.htm

HTH

Best regards
Ulrich Kulle
*************** *************** *********
http://www.help-info.de
*************** *************** *********
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1296
by: Rob Oeffner | last post by:
Hi, This is not a solution in search of a problem but I think I found if not a bug then at least a serious deficiency in the HelpProvider class. I use it on a form in VB where I have assigned its HelpNamespace property to a chm file. The form has a questionmark button. Controls on the form have their helpnavigator-on-helpprovider property assigned to various topics. If I run the program with the HelpNamespace property mistakenly refering...
0
1669
by: Yoshitha | last post by:
Hi, I want help regarding providing information about form and controls which are presented on the form. when ever user presses f1 if the form has focus then it has to provide information about the form( eg.what it does etc) When the control has focus , if the user presses f1 key then it has to provide info regatding that control i.e what the control is meant for. Like that i want to provide help information to the end user to make him...
0
1335
by: trialproduct2004 | last post by:
Hi all I am having application with is using class helpprovider. This class is used for opening help file. I have chm file which i am displaying using helpprovider class. My problem is when i minimize my application and help file both are getting minimized into same window and in task bar only minimized application is getting displayed. I want help file and application to be minimized seperately. Does any one is having any idea about it....
2
5362
by: Dennis C. Drumm | last post by:
How do we set the HelpNamespace property of the HelpProvider class, so that when the application is deployed the path will be correct, since the path cannot be known for sure ahead of time? This is assuming the user installs to a different folder than is the default. Thanks, Dennis
2
4295
by: Marcel Brekelmans | last post by:
Hello, So far I have my .CHM file working with my application through a HelpProvider. But, I would like to display certain locations on a page immediately. For instance, I have a page 'DataEntry.htm' in my helpfile 'DataEntry.chm' with a paragraph about a subject called "Supplementary Data". I have marked that paragraph with an anchor tag <a name="#SupplementaryData">. In a web browser, going to that location works just fine: the...
0
1314
by: Paul Remblance | last post by:
Example: Private Sub F1Requested(ByVal sender As Object, ByVal hlpevent As System.Windows.Forms.HelpEventArgs) Handles txtProdCode.HelpRequested If sender.GetType Is GetType(TextBox) Then Dim t As TextBox = CType(sender, TextBox) Dim F1Key As String = t.Tag HelpProvider1.SetHelpString(t, F1Key) End If
0
1866
by: PromisedOyster | last post by:
I am experiencing some difficulties using the HelpProvider class. If I have the following code in the constructor of my form then the help string "Help Text" gets shown when I click the question mark button on the dialog and then click the cEdit control helpProvider.SetShowHelp(cEdit,true); helpProvider.SetHelpString(cEdit,"Help Text");
2
4645
by: lgbjr | last post by:
hi All, I'm building the help system for a VB.Net 2005 winform application (some tooltips and a HelpProvider, etc.). For the HelpProvider, there are controls that I would like to have "What's This" support by using the ? button in the form header, but..... I don't want to give up the Min and Max buttons. So, If I create my own ? button on the form somewhere, what do I put in the Click Event? I never used VB6, but in all of my...
2
5458
by: aasif | last post by:
Hello, need some help with "HelpProvider" in vb2005. I have made a .chm file, and have a topic in there with TopicID called "Login". I have tried for sometime to get (on f1) to launch the .chm file and show that topic The HelpNavigator enumeration is slightly confusing, I have used most of the values in the enum alongside HelpKeyword value of "Login" but always the topic doesnt show on f1. Also I have searched google and the docs, they...
0
8238
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8174
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8680
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8624
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8336
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6111
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
1786
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1485
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.