How to make portable a C# winform application - c#

I have developed an application in Microsoft Visual Studio 2013. With
.Net framework 4.5
sql server 2012 express
Crystal report 13
I want to make my application portable, i meant that i should need to copy the folder of application to deploy it. Just like Tally accounting software or VLC Media player.
Please suggest me how can i do.
If this is not possible in described technology then please suggest in which plate-from it can be possible.
My application needs a DBMS to store data and a printing solution for print documents.
This question is unique as per condition that i have used 2 tools, i want to make portable my application with sql server express and crystal report. If it is not possible then please suggest portable replacement of both tools

Related

How to create application for Motorola mc70 device?

i am new bee in this field. i have a motorola mc70 device.i want to create an application for it in which device scans barcode and than put data of barcode into my sql server database. i have worked in visual studio 2010. now i have a motorola scanner sdk and user guide. but i don't know how to create application for these types of devices.
i have worked in c# so i am familiar with it and i am using sql server database for it.
i don't know where to start?? should i make console application or other type of application.
Can anyone help to sort this out and provide procedure to create application for this device...
Thanks in Advance...
If you're gonna to use .net then you have to get Visual Studio 2008 and download the Windows Mobile SDK. They removed the support for creating Windows Mobile applications in VS 2010 and up.
In Visual Studio 2008 you will find smart device project etc.. And there is also a Emulator for it.
There is other options to create applications for these devices. Like RhoMobile Suite. With it you code HTML5 / CSS3/ Javascript / Ruby etcc. But it is not free.
Developing applications in RhoMobile is free but when deploying it and uses some features will cost.

Can I use Visual Studio Express to develop code that will run in MS Windows Server 2003 and MS Access 2003?

I have a database in MS Access 2003 that is residing in my server running MS Windows Server 2003. I would like to develop C# code to manipulate data in my database. Can I use the free Visual Studio Express to develop the code to run in the previously mentioned environment?
When you download Visual Studio 2012 Express it will include very limited functionality. However, it will accommodate all the standard and basic Developer goals. Any functionality that you do not have, can either be added by downloading additional components. The other option would be to purchase a more advanced version.
By default yes it will work with your environments you asked about.
All the variations can be found here:
Hopefully that helps.

include sql enterprise in setup project?

include sql enterprise in setup project?
how to include sql enterprise when it's not appear in prerequisites of the setup project
and if it's not possible do i have install the full enterprise edition on the client machine?
i use visual studio 2010 and sql enterprise 2008.
i'm a database beginner and i always used to use sql express edition but now data base getting grow fast and the limitations of the sql express for 4gb make a big problem so any help i will be grateful
Microsoft SQL Enterprise edition follows and uses it's own License, you need to install it through the Web or offline Setup only.
It's a paid licence product, witch Express and Compact Editions are not, and this last two editions are the ones that you can pack with your application as their licenses allow you to do so.
You can always use a file that can run on a database to populate with records, or use, for example, Windows SQL Azure to have a centered database and Export / Import your schema with data.

Embedded SQL server setup up with Visual Studio Express 2010 (or even 2008)?

Would anyone mind explaining (or pointing me to a tutorial) how to setup an SQL embedded server with Visual Studio Express edition?
I'm not concerned with getting the Designer tab working, but I'm trying to achieve a few basic things:
Access the database via file path
read/write to database file
password to connect to database (not too big of an issue)
The solution I've been pointed to was SQLite to do so, and have seen ADO.Net and Entity Framework to connect the file to the project. So I guess a few important aspects would be that once I set the database up with the project can I
send the projects back and forth to multiple developers?
who are on different computers who have not installed any SQL
related anything?
And is SQLite a viable solution for this?
I've been trying to get a working solution for about 7 hours now.
I suggest you, use SqlCompact 4.0 instead of Sqlite.
You can download SqlCompact 4.0 from Microsoft download center. Also you can easily transfer database between machines. Read about Private Deployment here. And finally an awesome toolbox for using SqlCompact 4.0 stand alone or addons for Visual Studio

How to make software developed in WinForms .NET 3.5 with SQL Express portable

i found that its really pain to create setup and deployment packages for windows xp/vista/7
so my question is can i make my application portable with any third party tool such as thin app ?
my application requires dot net 3.5 framework and sql express 05 installed i want to put it on usb drive and user can execute it directly from usb drive without any setup and deployment, if there any other ways to achieve portability for software please let me know?
thanks !
In order to check if .Net 3.5 and sql express is installed you can check if they are registred in the registry.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion - CurrentVersion
But you cannot check this with your 3.5 compiled assembly, so you need a non-dotnet application to do it, like a setup program.
Either you have to create a launcher in something like c++, or you could create a vb script launcher which checks the prerequisites before launching your .net app.
Neither SQL Express nor the .NET Framework will not run without being installed on the local hard disk.
Source for SQL Express: http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/fc729d31-8a0b-4156-ab75-4fec652a438b.
#Mikael already told the trick for .NET detection which you should take a look at.
I just want to add that for portable applications, you should use SQL Server Compact edition instead of Express,
Link

Categories

Resources