|
-
Oct 31st, 2001, 10:35 AM
#1
vb client app calling internet DLL
I am a ASP/COM/SQL-Server developer. I'm unfamilliar with having to call a method on a web server (over the internet) to get data from a database.
The client app is VB6. I'm conversant with server based ASP to COM etc but what about a vb client app.
Does anyone have sample code. The sort of thing i'm expecting is...
set obj = server.createobject(...httpstuff...,class etc
many thanks
j
-
Oct 31st, 2001, 01:29 PM
#2
Fanatic Member
Hi J,
I'm not quite sure how you are planning to implement this.
Are you wanting to access the COM component directly, or do you just want the data to be received via http, keeping the object inaccessable?
-
Nov 1st, 2001, 04:51 AM
#3
my reply
thanks for answering..
I'm wanting to call the server COM dll as if I was calling it from the server itself, i.e. from an ASP page.
So, I could call a method called get news that returns a recordset to the VB client app
cheers
john
-
Nov 5th, 2001, 06:21 AM
#4
directly
I guess you could say that I want to access the component (on web server) as if it were local sitting on my PC.
Sending in parameters to a method and getting results back.
In theory I think it should work - I will be trying it this week. Just wondered if anyone else has done this?
cheers
-
Nov 5th, 2001, 07:35 AM
#5
Fanatic Member
This works 100% as long as you are using some sort of server side script to manage the .dll.
For example, if your component selects * from a table, you could send the table name to the asp page as an input parameter, and this could be used when retrieving the data from the .dll.
That is basically an IIS application.
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
|