|
-
Mar 20th, 2002, 12:22 AM
#1
Thread Starter
Lively Member
Beginner at ASP, IIS and Component Services in Win2k
I have a simple task I want to implement. I have a SQL 2000 database running on a windows 2000 machine with IIS and Component Services. I have 5 Dll's that I want to put into Component services and call from a client machine through IE via an HTML page and an ASP script.
On index.htm I have 4 text boxes and a submit button. What I want to happen is the user will enter text in the 4 text boxes, click submit... the submit button will call the ASP script on the server, the ASP script will create the objects I want. The objects will talk to the database and return a string back. The string will then need to be displayed back to the user on index.htm
I need an example of how to use the submit button to call the asp script. Also, I need to know how to compile the dll's to work properly in Component services and also any settings that need configuring in order to create the objects from the client machine.
Thanks for your help!!
-
Mar 20th, 2002, 02:54 AM
#2
PowerPoster
hi
An asp script can be excuted by calling the asp page. To call the asp page by clicking on the submit button just give the name of the file in the action attribute of the form tag like this:
Code:
<form name=myform action="MyASPPage.asp" method="post">
<input type=submit name=submit value="Submit">
'all other code
</form>
The dll's need to be registered on the server using regsvr32 command.
Hope this helps u.
-
Mar 20th, 2002, 04:22 AM
#3
Fanatic Member
Jamie, in regards to using the dll's on IIS. check out his article as it is imperative to this right as IIS doesn't handle database connection's through dll's to well
Ian 
http://www.microsoft.com/com/tech/mts.asp
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|