VB.NET 2005: Process.start...?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UGV0ZXI=?=

    #1

    VB.NET 2005: Process.start...?

    Hello,
    we've a third-party software based on Java and i've to start it from a
    vb.net programm where the users select what they want to see by this
    java-prog and we create a commandline with different parameters in vb.net.

    Because it uses Java 1.5 and some PCs habe also 1.6 installed, i make a
    "hard coded" path to the application and the javaws.exe, therefore i need ""
    in the commandline.
    Using this commandline on the winXP-commandline-Prompt ("DOS-Box"), it will
    start without problem, within the vb.net with
    process.start(" c:\bc\bcbin\BcP at\Inovit\remot ecall.exe -app
    ""c:\Programme\ Java\jre1.5.0_0 1\bin\javaws
    c:\bc\bcbin\bcp at\inovit\visio nweb.jnlp"" -accessno 150774")
    it generates file not found error.

    How can i solve it?

    Thanks!
    Peter

  • Cor Ligthert[MVP]

    #2
    Re: VB.NET 2005: Process.start.. .?

    Peter,

    You can use the parameter options.

    See here some samples.



    Did you know that there is a newsgroup which is better for VB language
    questions, although this is a question that applies for all languages.

    news:\\Microsos oft.public.dotn et.languages


    Cor

    Comment

    • =?Utf-8?B?UGV0ZXI=?=

      #3
      Re: VB.NET 2005: Process.start.. .?

      Hi,
      Thanks for the tip, the problem is solved!

      Peter

      "Cor Ligthert[MVP]" wrote:
      Peter,
      >
      You can use the parameter options.
      >
      See here some samples.
      >

      >
      Did you know that there is a newsgroup which is better for VB language
      questions, although this is a question that applies for all languages.
      >
      news:\\Microsos oft.public.dotn et.languages
      >
      >
      Cor
      >

      Comment

      Working...