Click here to Skip to main content
15,880,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everybody!
- I want to make my project form portable application.How do I do ?
- And I want to run my portable application and will create folder in where contain my application
How do I do?
please, help me!!
thanks
regards
Posted
Comments
joshrduncan2012 17-May-13 9:26am    
Help you with what? We haven't seen any effort on your part yet. Have you attempted this first?
[no name] 17-May-13 9:28am    
You would really need to explain what it is that you mean by "make my project form portable application".
sergio090588 17-May-13 9:30am    
I had project
I want to setup it become portable application, no install application
joshrduncan2012 17-May-13 9:48am    
What do you mean by "portable application"? Please clarify that.
sergio090588 17-May-13 9:56am    
portable application can run that no need to setup wizard

There's nothing special you have to do. You can copy your application .EXE and any .DLL's it needs to anywhere you want (including a USB drive) and it'll run from there, PROVIDED 2 CONDITIONS ARE SATISFIED:

1) The machine you run this on must already have .NET 2.0, 3.0, or 3.5 installed. Otherwise, you MUST install the .NET Framework for your app to even launch.

2) Your code does NOT depend on COM-registered components that are not already installed on the system. Otherwise, you will have to install these before your app can run.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 17-May-13 18:50pm    
It's all correct, but a really portable application will also work on Mono, many OS, without recompilations. Please see my answer. I personally worked on Windows, Linux and Mac OS X.
—SA
Dave Kreskowiak 17-May-13 21:19pm    
True, but i don't think he's going that far. He never clearly defined what he meant so we can only guess.
Sergey Alexandrovich Kryukov 17-May-13 21:20pm    
No matter, that's the part of the answer about "portability"...
—SA
You can make your Forms application and you develop and test it on Mono:
http://en.wikipedia.org/wiki/Mono_%28software%29[^],
http://www.mono-project.com/[^].

I would advise to start development on Windows and test it on Mono for Windows. You will need to keep your programming strictly in standards. Even though System.Window.Forms is not a standardized library, it is ported to Mono reasonably well. If you pass Mono for Window tests, most likely, it will work reasonably well on Linux, Max OS X, iOS (Apple platforms are most hostile to "foreigners" though), BSD and other platforms.

Good luck,
—SA
 
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