Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show and AutoFIll an HTML webpage

Status
Not open for further replies.

msdawy2

Programmer
Jan 8, 2004
10
EG
Hello,
I am having some serious problem here.
I am trying to write my own program to show HTML pages. I need also to add a button to autofill the text fields in this webpage.

1. I don't know how to show an HTML page given the URL. What component should I use to show this HTML page?

2. How to access the edit boxes inside the HTML page to fill them with the values?

Thank you very much in advance..
 
Hi msdawy2:
1.- There are at least 2 ways to show a HTML web page on your App.
The first one and easier is using:
Code:
   ShellExecute(Handle,"open","[URL unfurl="true"]http://www.tek-tips.com",[/URL] NULL, NULL, SW_SHOW );
//The problem here is that you cannot control what users is doing
The second way is using the TCppWebBrowser component. I have never used the component in a real app (just for testings and experiments)

2.- For doing that I think you should try with jsp's, ASP, PHP or something like that using the cookies.


--- LastCyborg ---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top