paramter passing to exe


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 11 of 11

Thread: paramter passing to exe

  1. #1
    Join Date
    Apr 2008
    Posts
    22

    paramter passing to exe

    from commad prompt how to pass paramter to exe ...
    example(c:\ iamge.exe c:\ image1, c:image2,d:image 3)..

    i need to develop vb.6 application and make exe.( to open file or images from a particular folder and dispaly set of image as thumbnail)

    can any 1 send me sample code in vb.6

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Does this help?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Apr 2008
    Posts
    22
    requirement by customer....need to find the way...

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    I posted a link that shows you how.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  5. #5
    Join Date
    Mar 2008
    Location
    Lancashire, UK
    Posts
    156
    Use this...

    Code:
    Dim CommandLine As String
    
    CommandLine = Command$()

  6. #6
    Join Date
    Apr 2008
    Posts
    22
    i cound not download that link do send me once again.....plee

  7. #7
    Join Date
    Apr 2008
    Posts
    22
    a sample example will help..

    in command promet i enter exe name then value.
    .exe + values it should display in text box(values). i am using vb.6..

    Hack and CptNeutral waitng for ur reply.

  8. #8
    Join Date
    Apr 2008
    Posts
    22
    at last i got my code...

    in vb.6 form load event add this code
    Text1.Text = Command

    then make exe of the file

    in dos prompt.
    exe(name) string
    run
    string name will be diplayed in text box.

    here i am passing value from dos promt to textbox.

  9. #9
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Quote Originally Posted by shamsam1
    i cound not download that link do send me once again.....plee
    I had no problem downloading that zip file.

    What problems did you have?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  10. #10
    Join Date
    Apr 2008
    Posts
    22
    today i downloded the link thanks..

    this link helpd me in solving my problem
    http://www.vbforums.com/showthread.php?t=517473

  11. #11
    Join Date
    Mar 2008
    Location
    Lancashire, UK
    Posts
    156
    So you don't need help with anything else?

Similar Threads

  1. ActiveX EXE: RaiseEvent with a form
    By MatD in forum VB Classic
    Replies: 2
    Last Post: 09-04-2002, 02:04 PM
  2. Passing data on EXE call
    By RoyC in forum VB Classic
    Replies: 3
    Last Post: 07-04-2002, 10:39 PM
  3. Using GetObject() with ActiveX EXE
    By Jason in forum VB Classic
    Replies: 3
    Last Post: 06-11-2001, 04:08 PM
  4. 25 users pointing to the same EXE file
    By DAVID king in forum VB Classic
    Replies: 18
    Last Post: 04-17-2001, 10:08 AM
  5. Replies: 0
    Last Post: 03-23-2001, 09:32 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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center