Click here to Skip to main content
15,911,482 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hoW to open a web form and set it texts and hiding on locale server

when we click a window form button
and this web form text and hiding set from button click event

fore example any OS window has a help button
Posted

1 solution

For what I can understand from your question;

You have a windows forms application with a button on it.
When you press the button you want open a Browser.
This browser has to show a text that has been set from your forms application.

If I understand you correct this should be the solution:

In the button click event of the forms application you could create a html-file on your harddisk. Then you open up the browser with:
Process.Start("iexplore.exe", "file:///filename of the file you created");
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900