?
Solved

What would it take?

Posted on 2002-06-06
2
Medium Priority
?
171 Views
Last Modified: 2010-07-27
Hi All,
I have Delphi 4.
Here is what I want to do:

I want people to fill in their information once. Then, use the HTML control to go to my site and fill in the form with the information they previously filled in.

I was thinking parsing the form out of the HTML code and regenerating the form and submitting that.

OR

Have a control frame and use javascript to post to the "form" frame.

Any ideas? I just want theories really.. maybe a bit of code to illustrate?
0
Comment
Question by:maxb
2 Comments
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 400 total points
ID: 7060995
if you have small amount of fields then you could make smth like :
an ISAPI dll for the server or a cgi app ..
so y0u simply call your url with params like:

const base = 'http://url.com/isapi/parseuser.dll/parse?';
var query: string;
begin
  query:=Format('user=%s&password=%s', [Username, Password]);
  WholeURL:=Format('%s%s', [base, query]);
  Browser.Navigate(StringToOleStr(WholeURL));
end;

that would navigate to a page passing the user and password params
in the isapi dll you check for those params
or whatever the server handler is
the syntax is the same for all (I think)
if you need info about isapi dlls then you can check out my example :
http://lee.nover.has.his.evilside.org/isapi/pas2html.dll/pas2html?File=/delphi/MiscFiles/pas2html_isapi_dll.pas
0
 

Author Comment

by:maxb
ID: 7061019
Wow, Im a web developer and that completely skipped my mind. Thank you.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question