Click here to Skip to main content
15,878,430 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Guys i have a problem with publishing my project
my needs :
1- run program from a directory eg : C:/Program Files/
currently when i run the file the location is somewhere in AppData ...
2- run the program from other computer in LAN network without installing it
i have some databases and i want everybody to use the same database in my computer & i dont want to use sql server or similar things. i am using oledb databases for my project
3- currently my program type is ClickOnce Application. is there a way to change that ?

and ... i have a question
is there a way to not install the program and use it ?


1 solution

To do #1, you don't even need the installation, unless you have to register data types or use some data prescribed in system Registry (which I would recommend to avoid unless it is absolutely necessary; you can always use application-specific data in the user profile).

To do #2, you need to have proper connection and sharing. And it may or may not be possible without any installation. It depends on number of factors. First of all, you need to have compatible version of .NET on the remote computer (the one to run the application). It may need to have other products installed. Essentially, if your application depends on some assemblies installed on the GAC, having network access to the computer hosting the application won't be enough. In particular, installing the compatible database client and the .NET binding to it should be done on the remote computer as well.

Share this answer

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