473,385 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Dynamic HelpString using HelpProvider

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

End Sub

Where F1Key will actually be used to retreive some data off a file. The
problem is the HelpProvider Pop-up message fires before this code is
processed so it is always one behind. You need to press the F1 key twice
before a message appears. Any ideas how I can get this code to run before
the HelpProvider message appears? Thanks, Paul.
Dec 8 '05 #1
0 1303

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

Similar topics

0
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...
0
by: Greg Bacon | last post by:
We have a messaging application that makes seemingly unremarkable use of a HelpProvider component. However, after we've received a message, if we display the help popup (either via F1 or through...
0
by: Chris | last post by:
Hi, I dragged a Helpprovider-control on the form namespace-property is set to a help-file : "myhelp.htm" (I have set an anchor in this file <a name="Form">) then, setting the help-properties...
2
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...
0
by: Phenix Smith | last post by:
In our current product, when a user hits F1 we take the FormClass plus the HelpContext to form a lookup value. We search a XML file for that lookup. This returns a help topic, which we then...
1
by: Aykut | last post by:
Can I change F1 property of HelpProvider class? For example l bring up help file with F12 button. thank u
2
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...
1
by: None | last post by:
I'm trying to mark up an enum in a .h file such that when it is emitted to the .idl file the elements of the enum can be marked up with helpstring attributes. Microsoft has a published sample...
2
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
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...

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.