PDA

Click to See Complete Forum and Search --> : OLE server as NT service


clindstrom
Nov 29th, 2000, 09:46 AM
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

tumblingdown
Nov 30th, 2000, 02:48 AM
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.