OVH Cloud OVH Cloud

How to Embed an xml file in a vb.net executable

1 réponse
Avatar
Zadi Friedrich
Hi Everyone,
I am finishing working on a database project. Vb.net is used to create the
interface that connects to a backend in SQL server 2000. I want to know how
to do two things:
1- I need to embed in the vb.net exe file a configuration file that will
allow the person installing the program to indicate the following information
to connect to sql server:a) the name of the sql server b) the name he wants
to give to the database c) the user name d) the password. The installation
program will then use those information to connect to the server.

2- Once the installation program connects to the server, I need it to use a
sql scripts (install.sql) that contains all the code to create the database
and all the database objects and encrypt the database so that the database
objects are not visible.

How can I achieve those two goals?
Thanks for sharing your thoughts

1 réponse

Avatar
Joël Chaudy [MS]
Hi Zadi Friedrich,



Welcome to the French public newsgroup for SQL Server.

In our opinion, the message you posted on this newsgroup should be posted in
an English speaking newsgroups like microsoft.public.sqlserver . It would be
more and better answered over there.



We would like to make you aware of the removal of your message in the next
24h.

Thanks in advance for your comprehension.



Regards,



Joël Chaudy

In charge of the relation with the technical Communities

Microsoft France



PS. To reply me, remove « online. » from the email address used to post this
message.







"Zadi Friedrich" a écrit dans le
message de news:


Hi Everyone,
I am finishing working on a database project. Vb.net is used to create the
interface that connects to a backend in SQL server 2000. I want to know
how
to do two things:
1- I need to embed in the vb.net exe file a configuration file that will
allow the person installing the program to indicate the following
information
to connect to sql server:a) the name of the sql server b) the name he
wants
to give to the database c) the user name d) the password. The installation
program will then use those information to connect to the server.

2- Once the installation program connects to the server, I need it to use
a
sql scripts (install.sql) that contains all the code to create the
database
and all the database objects and encrypt the database so that the database
objects are not visible.

How can I achieve those two goals?
Thanks for sharing your thoughts