ClickOnce and add params from a VB6 app?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • srussell705@gmail.com

    #1

    ClickOnce and add params from a VB6 app?

    I have defined a ClickOnce published app. I have now been tasked with
    receiving params from a calling app.

    If I were to use a FileServer <no menudelivery of the app how would
    pass in a userID & Phone#.

    These will be comming from a vb6 app but I don't think that it
    matters.

    I also have to set the starting of the app from a unc.

    \\UNC\Path\DN_T est\Deployment suite\CCBatchPr ocessing.applic ation

    Can I just add on myName, 800-123-1234?

    I get an error from the RunCommand dialouge box.

    TIA

    __Stephen

  • Mark S. Milley, MCSD (BinarySwitch)

    #2
    Re: ClickOnce and add params from a VB6 app?

    Hi Steve -

    Make sure that you keep the application's fullpath in quotes when
    adding command line parameters in the run box. Also, I don't think the
    parameters need to be comma-delimited.

    ie "\\UNC\Path\DN_ Test\Deployment suite\CCBatchPr ocessing.applic ation"
    myName "800-123-1234"


    For more on command line arguments:



    Happy Coding,

    -Mark

    Comment

    • Mark S. Milley, MCSD (BinarySwitch)

      #3
      Re: ClickOnce and add params from a VB6 app?

      Hi Stephen -

      After a little googling, I came up with this answer:

      Apparently, you don't pass the command line parameters via the command
      line; you pass them via the querystring...



      Ouch!!! This is another great example of how much a ClickOnce-deployed
      application varies from a traditionally deployed (still my preference)
      application.

      Good Luck,

      -Mark

      Comment

      Working...