473,385 Members | 1,370 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.

Help file search request

If i have a text box and want to input a text string into it then use my
help files search to look for the inputted text from the application how
would i do that? thanks
Nov 21 '05 #1
5 1117
Hi Brian,

Do you mean a chm help file or a vs.net integrated type of help file?
I am researching the issue, and I will update you with new information ASAP.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #2
Hi Brian,

Now I am still researching the issue, I will update you with new
information ASAP.

Thank you for you patience.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #3
Hi Brian,

I think we can try to use the helpProvider class to do the job.

private void Form1_Load(object sender, System.EventArgs e)
{
this.helpProvider1.HelpNamespace = "c:\\windows\\help\\calc.chm";
}

private void button1_Click(object sender, System.EventArgs e)
{

this.helpProvider1.SetHelpNavigator(this.button1,H elpNavigator.KeywordIndex
);
this.helpProvider1.SetHelpKeyword(this.button1,thi s.textBox1.Text);
this.helpProvider1.SetShowHelp(button1,true);
}

After we run the code and click the button1, the focus will be on the
button, and now if we press F1, the help file will be invoked and search
for the keyword in the help file.
To do this promatically, we may try to sendmessage F1 to do the job.

If you still have any concern, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #4
Peter,

Your code is very easy to translate for non Newbies, however for the last I
think it should be VBNet code, that is good when Newbies are searching for
this problem in this newsgroup.

I point your attention on it, because I think that you did send this message
from an indirect resource and did not notice that.

(I almost translated it myself, however I think that that is not right)

Cor

private void Form1_Load(object sender, System.EventArgs e)
{
this.helpProvider1.HelpNamespace = "c:\\windows\\help\\calc.chm";
}

private void button1_Click(object sender, System.EventArgs e)
{

this.helpProvider1.SetHelpNavigator(this.button1,H elpNavigator.KeywordIndex );
this.helpProvider1.SetHelpKeyword(this.button1,thi s.textBox1.Text);
this.helpProvider1.SetShowHelp(button1,true);
}

After we run the code and click the button1, the focus will be on the
button, and now if we press F1, the help file will be invoked and search
for the keyword in the help file.
To do this promatically, we may try to sendmessage F1 to do the job.

If you still have any concern, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #5
thanks

""Peter Huang"" <v-******@online.microsoft.com> wrote in message
news:kD**************@cpmsftngxa10.phx.gbl...
Hi Brian,

I think we can try to use the helpProvider class to do the job.

private void Form1_Load(object sender, System.EventArgs e)
{
this.helpProvider1.HelpNamespace = "c:\\windows\\help\\calc.chm";
}

private void button1_Click(object sender, System.EventArgs e)
{

this.helpProvider1.SetHelpNavigator(this.button1,H elpNavigator.KeywordIndex
);
this.helpProvider1.SetHelpKeyword(this.button1,thi s.textBox1.Text);
this.helpProvider1.SetShowHelp(button1,true);
}

After we run the code and click the button1, the focus will be on the
button, and now if we press F1, the help file will be invoked and search
for the keyword in the help file.
To do this promatically, we may try to sendmessage F1 to do the job.

If you still have any concern, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.

Nov 21 '05 #6

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

Similar topics

0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
17
by: NeoAlchemy | last post by:
I am starting to find more web pages that are using a query parameters after the JavaScript file. Example can be found at www.opensourcefood.com. Within the source you'll see: <script...
0
by: kang jia | last post by:
hi currently i am doing this search function for car booking website. it can search through either car seats or CarModel. it seems it able to do search function, however i small problem occurs to...
2
by: dmstn | last post by:
Hey! I've got a little problem. I have to make a web site for a university essay. I curently have to create a search engine. Users can enter a hotel name in a search bar and results have to appear in...
8
by: hotflash | last post by:
Hi CroCrew et All, I am working on a project that will allow user to search for their opened projects (means the CompleteDate is NULL) and be able to update their WorkDescription. Once the record...
1
by: vikjohn | last post by:
I have a new perl script sent to me which is a revision of the one I am currently running. The permissions are the same on each, the paths are correct but I am getting the infamous : The specified...
12
by: iahamed | last post by:
Hi Everyone, I got two parts of my advance search to work, I am running out of Logic to connect the third. My mind is in swing! Pleaseeeeeeeee Help me. I have 3 Fiels to search, the First two...
1
by: jrnowlan | last post by:
I have the following VB code that takes form data from a picklist and uses the input values to query an access database. Currently everything works, but it writes the results to the same page when...
3
by: jrnowlan | last post by:
I have the following code that takes form data from a picklist and uses the input values to query an access database. Currently everything works, but it writes the results to the same page when...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.