Results 1 to 4 of 4

Thread: exe with param

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2003
    Posts
    599

    exe with param

    Guys,


    can i developed a form based application (exe) that can accept parameter passed in???

    i hope to create a exe and then call it during asp coding include passing of certain data for processing????

    This is general but i couldn't find any help here
    Thank You

  2. #2
    Member
    Join Date
    Sep 2001
    Posts
    42
    Hi!!

    U can try to use Win32 API to get the parameters to the exe but probably VB also has its own function to get the parameters passed to the exe.

    Regards
    Shaunak

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    yes, you can use command line parameters - just use the constant "command".


    if you compiled a program (to c:\project1.exe) with just the following code:

    Msgbox "Parameter: " & Command


    then in start-> run typed this: c:\project1.exe testing
    you would get this message:

    Parameter: testing

  4. #4
    Fanatic Member eimroda's Avatar
    Join Date
    Jul 2000
    Location
    Philippines
    Posts
    642

    AT LAST!!!!

    si_the_geek, I HAVE BEEN LOOKING FOR THIS FOR QUITE A LONG TIME NOW! COOL MAN!!!!!!!!!!!!
    On Error GoTo Hell

    Hell:
    Kill Me


    Food For Thought:

    - Do not judge a book... if you're not a judge!


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