Home All Groups Group Topic Archive Search About

Configuration in published program

Author
11 Sep 2006 10:16 AM
Lucia
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

Author
11 Sep 2006 3:04 PM
jandhondt
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.config. the
files in one of these folders can be copied to a user pc and then you
can modify yourapp.exe.config;


Lucia schreef:

Show quoteHide quote
> 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
Author
11 Sep 2006 3:21 PM
Lucia
Hi,

Thank you for your reply.

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

regards

Lucia
Author
12 Sep 2006 2:04 PM
Claes Bergefall
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


Show quoteHide quote
"Lucia" <cheng_lu***@yahoo.com> wrote in message
news:1157988094.987300.53380@h48g2000cwc.googlegroups.com...
> Hi,
>
> Thank you for your reply.
>
> Do you mean it is not possible in the express edition to change
> configuration?
>
> regards
>
> Lucia
>
Author
12 Sep 2006 3:09 PM
Lucia
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