Results 1 to 2 of 2

Thread: OLE server as NT service

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    1
    Hi,
    I have a weather station that I have written an NT service to monitor. The service watches a data stream at a com port and translates that data into weather data. I have created a class called clsWOBS that has properties for weather data. I would like to be able to access this class as an ActiveX object that I can read from IIS. There will only ever be one instance of the server running and I only want the client to be able to read data. Eventually I would like to create a VB client app that can be run from a network client and retrieve the data.

    Any suggestions on how best to do this? I'm new to ActiveX servers. I've been programming VB since 3.0 and have developed a few commercial apps in VB so I am comfortable with VB just not ActiveX servers.

    Thanks
    Craig Lindstrom

  2. #2
    Hyperactive Member tumblingdown's Avatar
    Join Date
    Mar 2000
    Posts
    362
    Although it is technically possible to make a Service in VB, it is not advisable.

    An aX server is fairly straight forward if it's only having one client etc. Watch out for memory leeks (always clean up after yourself). Where do you want to start (you have an .exe project etc)?


    td.
    "One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig


    [email protected]

    "but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.

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