Computing.Net > Forums > Programming > Create windows application in .net

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Create windows application in .net

Reply to Message Icon

Name: jimy1200
Date: September 9, 2006 at 03:22:17 Pacific
OS: XP
CPU/Ram: 512
Product: Pentium IV
Comment:

My company has a web based billing program which was created using .net and MS SQL server. Now they want to create a windows version of the software.
I am a Web programmer and new to windows application. I would like to use .net for this. My question is how do I take care of the database so that the program wouldn't require MS SQL server to be installed on user's computer.

Any help will be much appreciated.

Thank you.



Sponsored Link
Ads by Google

Response Number 1
Name: siteforge (by Greg Apel)
Date: September 9, 2006 at 04:39:23 Pacific
Reply:

Could you describe the program, your company, and your clients - the transactions, the database location, language (VB,C#), and what the client application will be used for?


0

Response Number 2
Name: SN
Date: September 11, 2006 at 13:20:49 Pacific
Reply:

This should be fairly easy to do, providing the ASP.NET version was written properly. Ideally, the data structures, data access, and business logic layers should all be separate from the UI. As such, you should be able to reference those assemblies in a winforms project and use all the same code. If the ASP.NET version is not written properly, you should tell your boss that this project will require some restructuring of the current code. Under NO circumstances should you duplicate any of the data access or business logic code already in the ASP.NET version.

There's no reason for the users to have ms sql installed...They'll all be connecting to a central server somewhere, so they just need the connection information. The .NET framework takes care of everything else for you.

Good luck,
-SN


0

Response Number 3
Name: jimy1200
Date: September 12, 2006 at 04:17:45 Pacific
Reply:

Thank you guys for your reply. My question probably wasn't very not clear.

For example if I want to create an executable windows invoice application how would I do it. What I actually wanted to know is on the web I can store the customer information or transaction on MSSQL database. But how would I store the data on windows application. It could be MSSQL or mysql or a text file but it needs to be one package and the clients will not be required to install any other software or program.
Thank you again.


0

Response Number 4
Name: jimy1200
Date: September 12, 2006 at 19:24:59 Pacific
Reply:

I am very new to windows application. I downloaded some demo software and noticed that it could be run without intalling any other database software.
Do u have any idea how those are done.
Thank you.


0

Response Number 5
Name: SN
Date: September 13, 2006 at 18:24:38 Pacific
Reply:

I'm not sure you're asking the right question here...

It sounds like you actually want to distribute this application and have each person have their own database...ie user a creates an invoice and saves it to the database, but user b has his own database and can't see it. Is that what you're after? I would guess that if you are converting an asp.net app, you would want each user to connect to the same database, so they can share data.

If you really do want each user to have their own database, you would use SQL Server 2005 express, which you can redistribute with your own application without the user having to install or configure it. Check out this article which explains some of your options for deployment. I use ClickOnce, which is very neat and simple.

Good luck,
-SN


0

Related Posts

See More



Response Number 6
Name: jimy1200
Date: September 14, 2006 at 13:32:34 Pacific
Reply:

Thanks SN. You are right.I do want to distribute this application and have each person have their own database and user a creates an invoice and saves it to the database. I do not necessarily have to use MS SQL server.But is that the best choice or is their other ways to store data.

Thanks again.


0

Response Number 7
Name: SN
Date: September 14, 2006 at 16:09:59 Pacific
Reply:

There are lots of ways to store data, but with a .NET application you're best off using SQL Server express...The .NET framework works seamlessly with it, it's free, and easy to deploy.

Good luck,
-SN


0

Response Number 8
Name: jimy1200
Date: September 14, 2006 at 16:16:50 Pacific
Reply:

Thanks a lot SN. I really appreciate your help. Now I can start working on it.



0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Create windows application in .net

executable windows application www.computing.net/answers/programming/executable-windows-application/14704.html

TextOut in .Net www.computing.net/answers/programming/textout-in-net/5415.html

c# and .NET as windows application www.computing.net/answers/programming/c-and-net-as-windows-application/7411.html