A Flash Developer Resource Site

Page 7 of 8 FirstFirst ... 345678 LastLast
Results 121 to 140 of 154

Thread: Northcode's Runtime.exe verses Proxy.exe

  1. #121
    flAsh and bones socreative.tv's Avatar
    Join Date
    Mar 2005
    Posts
    143
    i sorted it out ... thanks
    i used msiexec.exe /i install.msi in the batch file

  2. #122
    Junior Member
    Join Date
    Oct 2007
    Location
    Tucson, AZ
    Posts
    1

    Related to the Proxy.exe

    Hi Everyone,

    I run into the same problem i guess with the flash projector and opening files that are on the CD. So far i was using a bit different method for opening the files, basically i was using a simple C++ code and then compiling it using a .bat into a .exe and then i was running the .exe file from flash to open usually .pdf files. I was wondering if there is a way to include the proxy.exe into a single EXE file instead of using a BAT and an EXE file. I am posting the code i was using until now. I guess this is a questions for Northcode.

    It would be great for everybody i think if we can find a solution like this, it would make it a bit simpler, If you need more information let me know.

    Thanks
    Attached Files Attached Files

  3. #123
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    The BAT file could be compiled into an EXE file but the BAT file still has to be extracted so it can be run. The problem with this approach is the path. Since the BAT file won't be in the same folder (not even on the same drive) as the files you want to access how do you specify where to find the files? It could be passed in as a parameter I guess, but then you force people to understand a bit more about BAT files than they want to know, and they already hate all problems related to paths

  4. #124
    Junior Member
    Join Date
    Apr 2008
    Posts
    5

    Video file doesn't open

    Hi, Im using proxy.exe to open some video files in a cd-rom and everything works amazing; but when I open it in Windows Vista the files don't open, only opens the application...

    the .bat file (conferencia1.bat) has this line:
    start conferencia1.wmv

    the proxy file was renamed to conferencia1.exe

    the code in the button is:
    on(release){
    fscommand("exec","conferencia1.exe");
    }
    All the .bat, .exe, and .wmv files are inside the fscommand folder. Can anyone help me?

    Thank's

    What's wrong????

  5. #125
    Member
    Join Date
    Feb 2004
    Location
    St. Louis, MO
    Posts
    65
    That's a problem. If they really pull XP off the shelf in June, then I have alot of CD-ROM's that need some files updated.

  6. #126
    Junior Member
    Join Date
    Apr 2008
    Posts
    5
    Quote Originally Posted by Northcode
    You don't need to use Start with presentation.exe, you can just run the executable directly. If you move presentation.exe into the FScommand folder then you don't even need to use proxy to launch it. The only reason to use proxy would be if presentation.exe needs to load some other files that you want to keep all in the same directory and not in fscommand.

    If word is getting launched then start can read the file name (to know it's a DOC file) but for some reason that's not getting passed to Word.

    Can you try moving the DOC file into the FScommand folder and changing your start command to something like this..

    start file.doc

    The only other thing I can think of is that somehow the registry entry that tells Windows what application to use to open DOC files has been modified so that it doesn't work any more. Can you still double click on DOC files and have them open without errors?
    Hi, I have the same problem with word files. Just have all the files in the fscommand folder with the .bat and the .exe files, but it still opens only the application and not the files. Is there anything wrong?

    the button code is this:
    on(release){
    fscommand("exec","conf1.exe");
    }

    and the .bat file named conf1.bat says:
    start conf1.doc

    I'm working in win XP and the last version of Microsoft Word
    Last edited by julperpub; 05-06-2008 at 12:47 PM.
    If you don't do it with passion, then just don't do it.

  7. #127
    Junior Member
    Join Date
    May 2008
    Posts
    2

    Copy2 - Pathing?

    First off Great thread and great little tools. You Rock!

    Copy2

    I have been working like the dickens to get this to work. I can run the proxy.exe file from the fscommand folder and it works like a champ.

    When I try to run it from the button inside of Flash (as3) it gives me an error:
    "UNC paths are not supported. Defaulting to windows directory.
    The system cannot find the file specified."

    Where am I going wrong?

    here is my .bat file:
    copy2 /f banner.jpg /m file has been saved /c My CD-ROM File Manager

    I have the banner.jpg in the fscommand folder as well as in the next folder up.
    I am about out of hair.

    Anyone have any suggestions.

    Thanks,

    BD72

  8. #128
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    I'm guessing that tou're seeing that error because FSCommand EXEC is Broken in Flash CS3. If you get the latest copy from my blog it should fix your problem. The version number on the latest version of proxy.exe is 3.0.0.0. If your version is older (or doesn't have a version number) then you NEED the new one.

  9. #129
    Junior Member
    Join Date
    May 2008
    Posts
    2

    Problem solved

    Wow that was simple.

    Thanks so much Northcode.

    I spent most of the day yesterday reading and re-reading this thread trying to figure out what was wrong.

    Thanks so much for your response.

    I down loaded the latest version and "presto" everything runs like a champ.
    thanks so much.

    YOU ARE AWESOME!

    BD72

  10. #130
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    BD72 No problem

    julperpub I have seen this issue with Vista, but not with XP. On Vista, when you use the builtin start command works if you launch the BAT file manually, but it fails when you call the BAT file from an EXE file.

    I'm going to update my invoke utility to allow it to be used as a replacement for the start command and see if I can get that working on Vista (and XP). I'll most likely post it as a new tool on my blog instead of here, watch there for updates - email me if you get desperate (it will take longer to write up the post than update the utility).

  11. #131
    Senior Member
    Join Date
    Jan 2006
    Posts
    106

    Hi

    How do I get a flash exe (menu) to run the exe files made by northcode? for some reason it want start them, the screen just blinks and nothing happens.

  12. #132
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    fscommand("exec", "that.exe");

    And "that.exe" has to be in a folder called "fscommand" or Flash won't find it.

  13. #133
    Junior Member
    Join Date
    Apr 2008
    Posts
    5
    julperpub I have seen this issue with Vista, but not with XP. On Vista, when you use the builtin start command works if you launch the BAT file manually, but it fails when you call the BAT file from an EXE file.

    I'm going to update my invoke utility to allow it to be used as a replacement for the start command and see if I can get that working on Vista (and XP). I'll most likely post it as a new tool on my blog instead of here, watch there for updates - email me if you get desperate (it will take longer to write up the post than update the utility).
    Thank's northcode, I kinda solved it temporarly, so there's no rush anymore; but still I'll be waiting for that utility update,
    Last edited by julperpub; 05-29-2008 at 11:21 AM.
    If you don't do it with passion, then just don't do it.

  14. #134
    Junior Member
    Join Date
    Jun 2008
    Posts
    2
    I downloaded the example files for this proxy.exe application but even that doesn't seem to be working. I am on XP though, if this is a problem. So has anyone got this working with CS3 on XP, or is it not possible?

    It doesnt display the black bat file box but simply displays a message saying that the file cant be found, even though its definitely there, I just seem like somethings wrong if all these people have had luck with it!!

    Any help would be appreciated
    Last edited by p0c; 06-06-2008 at 05:47 AM.

  15. #135
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    First, make sure you have the latest version of proxy.exe from here. Then explain how you've set things up (directory structure and files) and I'll see if I can figure out what's going wrong for you.

  16. #136
    Junior Member
    Join Date
    Jun 2008
    Posts
    2
    I managed to get it working in the end. The file was on a network drive it works fine on the local drive. Thanks for that, you saved me a lot of hassle!!

  17. #137
    Junior Member
    Join Date
    Jun 2008
    Posts
    5

    Time limit for batch file commands?

    I am wondering if proxy.exe requires that all of the commands in the batch file it calls be executed within a certain amount of time. I am using it to call a two-line batch file, the first line executes a program App1.exe and the second line executes another program App2.exe. I execute the first program without the START command so that the second line does not execute until the App1.exe process terminates. This works fine when I run the batch file itself - but I get the ugly DOS window.

    So, I tried to execute it using your proxy.exe. However, I have found that the second program App2.exe will only run if the first application App1.exe terminates operation within 2-3 seconds of it starting. Is this the result of how proxy.exe operates?

    Any help would be appreciated because this program is a great solution to my problem, assuming I can get it to execute both lines of my batch file.

  18. #138
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    Yes, proxy kills the BAT file after 5 seconds to avoid problems on some operating systems where the BAT file can hang around (hidden) forever. Since you can't see them you can't easily clean them up. I got your email (at least I think it was you) and I can send you a version of proxy with an extended (or infinite) timeout period.

  19. #139
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    There are two copies of proxy.exe in the attached ZIP file. One uses the "standard" 5 second timeout, the other one has an infinite timeout.

    These are both the latest version (3.0.0.0 at the time I wrote this) so they will work with Flash CS3 and Vista.

    The official home for proxy.exe is still this blog post but you can't get the infinite timeout version there (yet).

  20. #140
    Junior Member
    Join Date
    Jun 2008
    Posts
    5
    Tim, you are da man! The no timeout is just what I needed. Thanks for sharing such a great program.

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

HTML5 Development Center