Calling COM+ object from HTML button or image

M

Marley

Is it possible to call a VB6 COM+ object on the click of a button or
image in classic ASP without submitting the form to the server?

An example: I have a form with a person's name and address all filled
out. I want the user to click a 'Save' image (or button) which
instantiates a COM+ object and passes the form data to the COM+ object
which writes it to the database, all without submitting the form to the
server.

Possible?
 
B

Bob Barrows [MVP]

Marley said:
Is it possible to call a VB6 COM+ object on the click of a button or
image in classic ASP without submitting the form to the server?

ASP is server-side code which cannot run without either requesting an asp
page from a server or submitting a form to an asp page on a server. So, by
definition, the answer to your question is "No".
An example: I have a form with a person's name and address all filled
out. I want the user to click a 'Save' image (or button) which
instantiates a COM+ object and passes the form data to the COM+ object
which writes it to the database, all without submitting the form to
the server.

However, you can use either remote scripting, or the XMLHTTP object to
accomplish your task. Post your question in a client-side scripting
newsgroup such as m.p.scripting.jscript.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top