Results 1 to 3 of 3

Thread: ActiveXcruciating pain

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Boulder, Colorado
    Posts
    22

    Unhappy

    VB'ers,

    I have an ActiveX control that is embedded in a web page. I am using Personal Web Server for testing purposes. Upon clicking a button on my control, I would like it to open a file for output. The file to be opened resides on the server at location "c:\webshare\wwwroot\mypage.html". When I test the control in a web page, it cannot find the file path. I have tested the ActiveX control with a Standard EXE and it has no problems. Please help!

    Best Regards,

    Charles Rohner
    C-Dog

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    re:

    Try Server.mappath("C:\whatever")

    I think that may work.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Boulder, Colorado
    Posts
    22
    Thanks for the suggestion, but it did not work. There is no Server object in Visual Basic 6.0 (at least not one that I could find).
    C-Dog

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