Results 1 to 5 of 5

Thread: vb client app calling internet DLL

  1. #1
    scobiej
    Guest

    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

  2. #2
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769
    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?

  3. #3
    scobiej
    Guest

    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

  4. #4
    scobiej
    Guest

    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

  5. #5
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769
    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
  •  



Click Here to Expand Forum to Full Width