Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone,

So I just finished my Vb.net program which I also connect with SQL Server and I want now to use it in a different machine. So my question is how can I make that happen ? do I need to follow some steps or do I need to do something special or I just copy the files and paste in different machines and start using it? what are the steps that I need to do? and can I make that when a user starts for the first time the program first to install all the components that need to be installed in order for a program to be fully functional?

What I have tried:

In general, there is some information regarding this topic but they are all vague, can someone please explain to me the steps of doing all this? 


Your help is much appreciated.
Bests
E
Posted
Updated 24-Jul-20 10:53am

1 solution

It depends on how much stuff you have. If you don't use any dlls that are not on the other machine than you can just copy the exe. Or, you may need to create an install package.

And it also depends on where you put the connection string to the sql server, unless the sql sever is staying in the same place.
 
Share this answer
 
Comments
Member 13410460 25-Jul-20 9:53am    
Thank you for your reply, what does this mean " unless the SQL server is staying in the same place " does that mean in one machine?
ZurdoDev 25-Jul-20 10:05am    
The important point is whether or not the code has access to the SQL Server. It can be on any machine as long as the machine the code is running on has access to it.
Member 13410460 25-Jul-20 10:46am    
ASo, than regarding the SQL topic I am clear, What about the installation package, I have seen some tutorials on Youtube which explains how to do it but it does not say what kind of Prerequisites I have to include so it runs perfectly fine in other machines. I do know that I have to include the version of .net that it runs but what else ?
ZurdoDev 25-Jul-20 10:52am    
Visual studio has installation projects. So one option is to add an installation project to your solution. But there are other ways as well so I would just Google for some examples.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900