Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Pleeeaasse... ASAP

Pleeeaasse... ASAP

Scheduled Pinned Locked Moved Web Development
htmlhelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    The_Server
    wrote on last edited by
    #1

    Hi all... I have an .html file that should run an .exe file that is located where the .html file is located. I tried in PerlScript like this:

    sub MyButton1_onClick
    {
    system("MyFile.exe arg1 arg2");
    }

    And my Internet Explorer gets stuck...

    Please
    ASAP

    L 1 Reply Last reply
    0
    • T The_Server

      Hi all... I have an .html file that should run an .exe file that is located where the .html file is located. I tried in PerlScript like this:

      sub MyButton1_onClick
      {
      system("MyFile.exe arg1 arg2");
      }

      And my Internet Explorer gets stuck...

      Please
      ASAP

      L Offline
      L Offline
      l a u r e n
      wrote on last edited by
      #2

      what does the .exe do?


      "there is no spoon"
      biz stuff   about me

      T 1 Reply Last reply
      0
      • L l a u r e n

        what does the .exe do?


        "there is no spoon"
        biz stuff   about me

        T Offline
        T Offline
        The_Server
        wrote on last edited by
        #3

        The .exe file is a cosole application that does nothing exept of a print screen... but i tried to run "notepad.exe" and it works. do you have any idea on how to run a console application ?? BTW: I know 2 commands to run an .exe in perl: system() and exec(); --- the system() returns the application exit code, so it needs that the application will exit [there for, the PerlScript waits for the system() tio finisih]; the other one (exec()), it runs the application in another thread, there for, do not return the exit code. there for, the PErlScript continues. ************* Still needs help

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups