Hi,
I would like to kindly ask for an answer if anybody knows.
Do I have to have Visual Studio 2008 installed on somebody's computer if I want to install the C# application that I have made and publish (to install it from the setup file I made for)?
Thank you.
Loading
NelPosted Oct 25, 2011, 6:14 AM
The path i.e. the connection string that I use is:
connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="\\Name of the computer\Users\Public\Kazneni bileti VS\Kazneni bileti.mdb""
raghavendra settyPosted Oct 25, 2011, 5:43 AM
NelPosted Oct 25, 2011, 5:29 AM
I changed the path for the database, and chose it from the local area network, but it didn't work again on the computer where I installed it. It showed that the installation completed successfully, but it doesn't work, doesn't open when I try to run it.
Sam HobbsPosted Oct 21, 2011, 11:00 AM
I think it depends on whether your application uses a database that already exists in the system before installation of your application or if your application creates the database. The solution is different depending on which of those are true. If the database already exists, then your setup program must either find it or prompt the user to tell you where it is. If your setup program creates the database then it is probably possible for the setup to create it and then configure the application to use the database from the location it is created at.
NelPosted Oct 21, 2011, 7:29 AM
And the version I use is .net framework 3.5 sp1.
Sam HobbsPosted Oct 20, 2011, 2:55 PM
Look for articles about what is redistributable, as in the .NET Framework 2.0 Redistributable Package Reference article.
Hemant KumarPosted Oct 20, 2011, 7:51 AM
Install service using InstallUtil.exe
To install or uninstall windows service (which was created using .NET Framework) use utility InstallUtil.exe. This tool can be found in the following path (use appropriate framework version number).
To install .NET service run command similar to this (specify full path to your service).
To uninstall .NET service use the same command with parameter
/u.Install service programmatically
To install service programmatically using C# see the following class ServiceInstaller in c-sharpcorner.com article.