If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Calling an API in ASP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-10-04, 07:53
donteatthat donteatthat is offline
Registered User
 
Join Date: Feb 2004
Posts: 1
Red face Calling an API in ASP

Hi, Im trying to convert a VB front end to ASP if it is indeed possible, the question being is that I have the API documentation to do so but how do I actually call an API via ASP?

This could well be a stupid question but in my defence I am a novice.
I have looke around the web with little success so far.

Thanks in advance,

Simon.
Reply With Quote
  #2 (permalink)  
Old 02-10-04, 08:44
Apel Apel is offline
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 228
You cannot directly call API functions from ASP (or functions in external DLLs). You can however interface with registered ActiveX Server Components. You could write a wrapper interface for all your api calls you need.
Reply With Quote
  #3 (permalink)  
Old 02-10-04, 08:46
VBKristian VBKristian is offline
Registered User
 
Join Date: Feb 2004
Posts: 1
ASP and API

Hi,

you can try to write the API Functions in ActiveX dll.
If you register this dll on the IIS, you can call the
CreateObject function from your VBS or ASP code.

There must be also another way to do it. This is just the way, I did it once.

VBKristian
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On