Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2004
    Posts
    27

    Cool when I click the open button nothing happens

    I have placed a customers web site on a cd but when I click the open button
    nothing happend the action code I used is "
    File.Open("AutoPlay\\Docs\\index.html", "", SW_SHOWNORMAL);

    and to exit I use :
    Application.Exit();
    The exit one works OK

    The only thing I can think of is the path to the index.html
    On the Cd there ate 3 files :
    Auto Play
    autorun.exe and
    autorun.inf

    The index.html file is not visavle in the Autoplay as I placed all the working files in the
    root folder. does this mean I should place all working files in the Autoplay\Docs folder to match the existing path for the index.html.?

    badger

  2. #2
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    Yes, place all the web site files in the Autoplay\Docs folder and keep the file structure of the website to keep from breaking relative links. Speaking of relative links, the links in the web site html must be relative.

  3. #3
    Join Date
    Jul 2004
    Posts
    27

    Thanks JimS

    Thanks for responding jimS

    Badger

  4. #4
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    Let me know if you run into any problems

  5. #5
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    Have you tried File.OpenURL as well? Or open the file in a web object using Web.Load?

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  6. #6
    Join Date
    Jul 2004
    Posts
    27

    Thanks

    Thanks guys I have it doing what its suposed to do now.
    Badger

  7. #7
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    Glad you got it going!
    Add-ons for AMS. Toolbar Buttons Galore, System Animations, the Window Construction Kit, and more.
    Visit Acme-Tek

Similar Threads

  1. Adobe Acrobat Reader Check on Button Click
    By manwai in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 07-19-2004, 06:37 AM
  2. Example: Creating an on/off button to toggle background audio
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 07-10-2004, 02:54 PM
  3. Link Button to Open URL?
    By ph48242 in forum AutoPlay Media Studio 4.0
    Replies: 7
    Last Post: 05-17-2004, 09:28 AM
  4. Button Hiding Blues
    By Tezcatlipoca in forum AutoPlay Media Studio 4.0
    Replies: 5
    Last Post: 04-11-2003, 04:57 PM
  5. Click On Menu Button Have .JPG Appear in Video Window
    By Midilink in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 12-06-2002, 05:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts