Configuration in published program

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lucia

    #1

    Configuration in published program

    Hi, everybody,

    I'm developing one program in Visual Basic 2005 Express Edition. I
    defined some parameters in Settings. Now my problem is that I have no
    idea where to change these parameters in my published program. There is

    a file with the name testprogram.exe .config.deploy. But the program
    doesn't accept the changes in thes file.


    Has anyone an idea?


    best regards


    Lucia

  • jandhondt

    #2
    Re: Configuration in published program

    In the professional edition , when you build a project you have a bin
    folder in the project folder. In this bin folder there are 2 other
    folders 'Debug' and 'Release'
    In one of these you'll find yourapp.exe and yourapp.exe.con fig. the
    files in one of these folders can be copied to a user pc and then you
    can modify yourapp.exe.con fig;


    Lucia schreef:
    Hi, everybody,
    >
    I'm developing one program in Visual Basic 2005 Express Edition. I
    defined some parameters in Settings. Now my problem is that I have no
    idea where to change these parameters in my published program. There is
    >
    a file with the name testprogram.exe .config.deploy. But the program
    doesn't accept the changes in thes file.
    >
    >
    Has anyone an idea?
    >
    >
    best regards
    >
    >
    Lucia

    Comment

    • Lucia

      #3
      Re: Configuration in published program

      Hi,

      Thank you for your reply.

      Do you mean it is not possible in the express edition to change
      configuration?

      regards

      Lucia

      Comment

      • Claes Bergefall

        #4
        Re: Configuration in published program

        Just rename the file to testprogram.exe .config and place it in the same
        folder as the testprogram.exe and it should pick them up
        I haven't used the express edition much, but in the normal editions this
        renaming and copying is done automatically if you include a file called
        app.config in your project (and this file is created and added automatically
        if you add a setting)

        /claes


        "Lucia" <cheng_lucia@ya hoo.comwrote in message
        news:1157988094 .987300.53380@h 48g2000cwc.goog legroups.com...
        Hi,
        >
        Thank you for your reply.
        >
        Do you mean it is not possible in the express edition to change
        configuration?
        >
        regards
        >
        Lucia
        >

        Comment

        • Lucia

          #5
          Re: Configuration in published program

          Hi, Claes,

          thanks a lot.

          I tried with rename and remove. It doesn't work. So I think it lies in
          the express edition.

          regards

          Lucia

          Comment

          Working...