Search Results - VBForums

Search:

Type: Posts; User: AceInfinity

Search: Search took 0.02 seconds.

  1. Replies
    28
    Views
    13,531

    VS 2010 Re: Run command line without command prompt

    This is the basics of programming :) Although it's also completely preference related. You choose how you want them to input the filepath.

    If your batch file has hardcoded values that would...
  2. Replies
    28
    Views
    13,531

    VS 2010 Re: Run command line without command prompt

    Then you probably need a 64 bit OS, and it reverts to the default 32 bit settings to save memory from being allocated for no reason in the heap, unless otherwise specified by this "-d64" command line...
  3. Replies
    28
    Views
    13,531

    VS 2010 Re: Run command line without command prompt

    I'm no Java programmer, but this could be a Java auth issue then perhaps? (javaw.exe). If it is I can't help lol.. I am by no means a Java programmer, I never enjoyed Java even when I tried learning...
  4. Replies
    28
    Views
    13,531

    VS 2010 Re: Run command line without command prompt

    Why don't you Import the System.Diagnostics namespace at the top to make your life easier?

    (Also, is all of this multi-threaded?)

    Instead of having blank regions in your if statements for...
  5. Replies
    28
    Views
    13,531

    VS 2010 Re: Run command line without command prompt

    You can also use Environment variables for the special directory paths.

    %AppData% is a common Environment location for "...\AppData\Roaming"
    ...
  6. Replies
    28
    Views
    13,531

    VS 2010 Re: Run command line without command prompt

    If you don't have any arguments you can leave that line out, by default it will assume you don't have arguments if you don't specify anything for that property.
  7. Replies
    28
    Views
    13,531

    VS 2010 Re: Run command line without command prompt

    Did you manage to see about the ProcessStartInfo like I mentioned? More specifically, the WindowStyle:

    Dim procInfo As New ProcessStartInfo
    With procInfo
    .FileName = "FileToExecute.exe"...
  8. Replies
    28
    Views
    13,531

    VS 2010 Re: Run command line without command prompt

    Personally, I say if you have a program compiled to call a batch file wouldn't it just be easier to click on the batch file itself and avoid the trouble of creating a program to do it for you? You...
  9. Replies
    28
    Views
    13,531

    VS 2010 Re: Run command line without command prompt

    Look into ProcessStartInfo. Btw, there's no "asdf" in any code above, so you know that this is on your end, and something with the files involved and not the code. :)
  10. Replies
    28
    Views
    13,531

    VS 2010 Re: Run command line without command prompt

    Wrong...

    You only need quotes around a filepath if there is spaces in it, because if there are spaces in a filepath, it will be recognized as not just the filepath as a single argument, but more...
Results 1 to 10 of 10



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.