Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2009
    Posts
    16

    Grin Help me to run an .exe file in a CD

    Hello

    I'd like to run an .exe file in a cd, by clicking on a button which I created in a page

    how can I do that?

    your appropriate response is highly appreciated

  2. #2
    Join Date
    Aug 2008
    Posts
    29
    Add
    Code:
    Shell.Execute("AutoPlay\\test 01.exe", "open", "", "", SW_SHOWNORMAL, false);
    to the button's " on-click event.

    Change "AutoPlay\\test 01.exe" To point to the .exe file.

    Example .apz included ( Please note the example.exe file included is just a self-extracting rar file containing a blank notepad document. )
    Attached Files

  3. #3
    Join Date
    Jan 2009
    Posts
    16
    Quote Originally Posted by cdlink14 View Post
    Add
    Code:
    Shell.Execute("AutoPlay\\test 01.exe", "open", "", "", SW_SHOWNORMAL, false);
    to the button's " on-click event.

    Change "AutoPlay\\test 01.exe" To point to the .exe file.

    Example .apz included ( Please note the example.exe file included is just a self-extracting rar file containing a blank notepad document. )
    thanks dear friend

    but you know both files destinations are a compact disk

    how can I point the button at an .exe file which is on a compact disk ?

    thanks again
    Last edited by 123qwe123qwe123qwe; 02-12-2009 at 10:10 AM.

  4. #4
    Join Date
    Aug 2008
    Posts
    29
    Quote Originally Posted by 123qwe123qwe123qwe View Post
    thanks dear friend

    but you know both file destinations are a compact disk

    how can I point the button at an .exe file which is on a compact disk ?

    thanks again
    If your project is going to be on a disk as well... Then copy the .exe files into the autoplay directory and use it that way.

    If your app isn't going to be on that same disk. Then you need a way to retrieve the drive letter and then add the directory as a suffix.

    Try something more like this:
    Attached Files

  5. #5
    Join Date
    Jan 2009
    Posts
    16
    Quote Originally Posted by cdlink14 View Post
    If your project is going to be on a disk as well... Then copy the .exe files into the autoplay directory and use it that way.

    If your app isn't going to be on that same disk. Then you need a way to retrieve the drive letter and then add the directory as a suffix.

    Try something more like this:
    Thanks dear cdlink14 to have helped me so far

    May God bless you

    In fact, this is the usual way to copy the .exe file into this directory “AutoPlay\ doc"

    I’m looking for a way that by clicking the button, it runs the app from the compact disk

    In a way that it doesn’t need to have the app in the main directory

  6. #6
    Join Date
    Jan 2009
    Posts
    16
    ......

  7. #7
    Join Date
    Jan 2009
    Posts
    16

Similar Threads

  1. Best way to share custom buttons with the group?
    By mwreyf1 in forum AutoPlay Media Studio 6.0
    Replies: 10
    Last Post: 04-28-2010, 01:29 PM
  2. file opening problem
    By screwed over in forum AutoPlay Media Studio 7.5
    Replies: 8
    Last Post: 02-25-2008, 08:44 AM
  3. Run file after rebooting
    By s8831533 in forum AutoPlay Media Studio 6.0
    Replies: 4
    Last Post: 08-30-2007, 05:21 PM
  4. Error 3038: Could not seek in compressed file
    By Rikard in forum Setup Factory 7.0
    Replies: 2
    Last Post: 05-25-2006, 11:55 AM

Posting Permissions

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