Results 1 to 1 of 1

Thread: Passing data to activex control on webpage

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 1999
    Posts
    17

    Passing data to activex control on webpage

    I'm writing an activex control that reads a csv file of my pc's temps, voltages, and fan rmp over time to graph them (MBM5 log file).

    The csv file is on my IIS server and can be accessed over the internet. My control needs to be able to open this file to graph the data. I can't figure out how to get it to open the csv file on my site remotely since I can' t just do OPEN "C:\...." in the control cause its not running on my server.
    I've tried to use the Microsoft Internet Transfer Control that comes with VB6, and I can get it to work fine on my computer (same network as IIS server), but it does not work when I try to get to it from the outside. I'm guessing that the MITC can't be distributed, and thats why its not working.
    I've also tried to take out the file reading part out of the control, and it works fine that way. So I know that I'm doing the HTML/ActiveX part correctly.
    I've tried to mess with creating control properties so I can add the data to the HTML file via the PARAM tags, but I could not figure it out. I kept getting OUT OF STACK SPACE error when I try to set a value to the property. Besides, I have about 1000 lines of data (13 data elements per line) which could make loading the page a bit slower than I would like. I'd have to use a server-side vb script in the ASP page to read the file and output the huge html code which could get messy.

    So basically, I need help with getting my control to open the csv file remotely, via http or any other method.

    Any help or ideas would be greatly appreciated.

    P.S. I'm very new to ActiveX programming, and this is my 1st ActiveX project.

    Thanks,
    Joe
    Last edited by JoeH; Mar 6th, 2002 at 11:35 PM.
    Joe Handal
    Workstation Engineer
    [email protected]

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