Solved

What would it take?

Posted on 2002-06-06
2
158 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 100 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now