Re: HelpProvider

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ulrich Kulle (infoREMOVE##THIS_at_help-info.de)
Date: 01/03/05


Date: Mon, 3 Jan 2005 21:30:07 +0100

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
***************************************



Relevant Pages

  • HelpProvider Control
    ... if the user presses f1 key then it has to ... provide info regatding that control i.e what the control is meant for. ... HelpString on helpProvider1= Drugs Entry Form ... when select 1st textbox and press f1 then it is displaying Enter Drug ...
    (microsoft.public.dotnet.languages.vb.controls)
  • HelpProvider Control
    ... if the user presses f1 key then it has to ... provide info regatding that control i.e what the control is meant for. ... HelpString on helpProvider1= Drugs Entry Form ... when select 1st textbox and press f1 then it is displaying Enter Drug ...
    (microsoft.public.dotnet.general)
  • HelpProvider Control
    ... if the user presses f1 key then it has to ... provide info regatding that control i.e what the control is meant for. ... HelpString on helpProvider1= Drugs Entry Form ... when select 1st textbox and press f1 then it is displaying Enter Drug ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • HelpProvider
    ... if the user presses f1 key then it has to ... provide info regatding that control i.e what the control is meant for. ... HelpString on helpProvider1= Drugs Entry Form ... when select 1st textbox and press f1 then it is displaying Enter Drug ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Switching from dialog based app to SDI
    ... all communication comes from the document. ... write/read register values of that device ... I'm supposed to write similar programs now to control other devices. ... displaying the received values as bin,hex,dec strings or converting the ...
    (microsoft.public.vc.mfc)