Bob/RedTock8, Thanks for your replies. Bob what you suggest sounds like the kind of root I would like to take, however ASP is new to me and therefore I don't really know where to start. Also, I've created ActiveX controls but not ActiveX dll's, so there's a few new areas to explore here. I don't suppose by any chance you have or know of a sample application I could disect (in order to understand) do you? Generally, can you tell me if what you suggest is particularly difficult or not? I've got MS FrontPage 2002, should I use this to build the ASP page? Sorry, I need a bit more detail if you don't mind. Regards, Darren ----- Original Message ----- From: "Bob Japundza" To: Sent: Wednesday, April 28, 2004 11:20 PM Subject: Re: [OT] Interactive web page > Darren, I would approach it in this way, it would probably be the easiest for you. > > 1. Create an ActiveX dll in VB6, have one class which contains one public method which returns a temperature value. Inside that method cut/paste your vb code from your form, but modify it so the method returns a string instead of populating a form element. > 2. Compile your dll, copy it to your webserver and register it (regsvr32.dll). > 3. Create a simple asp page that creates your object, calls your getTemp method or whatever you want to call it, and does a response.write of whatever the method returns. > 4. Once you are comfortable doing this, create a new method that changes alarm points. This method would be invoked thru a form on a web page. > > Hope this helps. > > Regards, > Bob > > > Darren Logan wrote .. > > Hi all, > > > > I have a temperature measurement device with an RS232 interface. > > > > I have written a VB6 application to read/write to the device (change alarm > > points, read temperature etc.). > > > > Now what i'd like to do is to be able to read/write from/to the device > > from a web page running on a remote computer. > > > > Can someone explain to me what the simplest method to achieve this is please? > > > > Thanks. > > > > Regards, > > Darren > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.