473,507 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating software along with database

13 New Member
Hi,

I am developing a software for Hospital Management. I want to develop it's exe file along with it's database so that it can be used for demonstration. How to create it. Please help me.

Thanks in avance
Mar 23 '11 #1
5 2069
vivek kapile
17 New Member
Hi Toshi

Which developing software are you using.
If you are using VB6.0 then goto File menu->Click on Make Exe and you can give a demonstrate.

Or

If you are using Visual studio.
You created the standar webapplication1 using VS and have just the standard webform1.aspx.

Copy webform1.aspx, web.config, global.asax into the virtual directory on the new server.
Copy the bin folder and paste it into the virtual directory on the new server.
Open IIS (start->run->inetmgr) on the new server
right click on the new virtual directory and hit properties.
In the application section hit the button that says create.
Then click on the documents tab and make sure your start page (default.aspx or whatever you called is listed in that box.
Hit ok and close out of IIS.

Or

You have the .exe for Windows Based Application either from C# or VB.Net.

When ever you build your project it will create the .exe in debug or release folder. So create Project and build that project, you will get that Exe in debug folder where you are saving your project.
Mar 23 '11 #2
Toshi Trivedi
13 New Member
Thanks Vivek. I created the .exe file in the same way as i am developing software in c# but when i am executing the exe file on another system it is neither finding the database nor the path of the server. How to include database in it so that when it is run on another system the user can add, remove and update records to check the software.
Please guide me as i am fresher for this developing software.
Thanks once again
Mar 23 '11 #3
vivek kapile
17 New Member
Hi Toshi

If You are using ASP.net add a connection string in web.config file and if you are using windows application add a connection string in App.config file.

<connectionStrings>
<add name="Name"
providerName="System.Data.ProviderName"
connectionString="Valid Connection String;" />
</connectionStrings>

Add .cs file

static void GetConnectionStrings()
{
ConnectionStringSettingsCollection settings =
ConfigurationManager.ConnectionStrings;

if (settings != null)
{
foreach(ConnectionStringSettings cs in settings)
{
Console.WriteLine(cs.Name);
Console.WriteLine(cs.ProviderName);
Console.WriteLine(cs.ConnectionString);
}
}
}
Definitely it will work
Mar 24 '11 #4
Antony Nadan
5 New Member
Hi Toshi Trivedi,

I know what you are trying to do. Even i was wondering when i was a fresher. Use sdf Local database,this can be added to your project file by just a right click and add new item .Define the table you want in your application in the sdf file. And while moving to another system, make sure u copy the entire bin folder, coz the exe uses the dll which are present in bin folder. Hope this ll work.

Regards,
Antony Nadan
Mar 29 '11 #5
Antony Nadan
5 New Member
Hi Trivedi,

If u didnt understand please Get back to me.

Regards,
Antony Nadan
Mar 29 '11 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1764
by: cocoalearner | last post by:
I am serving a website using apache. All the php and mysql code I have written works, except for one thing. When I try to create a database named M#2 using the following call, no database is...
1
1304
by: Marcus | last post by:
Hi, I'm using the odbc driver to connect to MySQL and would like to be able to add a new database & tables using my ASP.NET application. Is there a simple procedure I need to follow? Marcus
2
1931
by: j. shepherd | last post by:
I am looking for a filing software for the office. I need to get all of the files in the office entered into some type of software or database, that I can pull up scanned documents, location of...
5
6488
by: Peter Schoots | last post by:
I am an amateur programmer and trying to move from VB6 to VB.net. I can't figure out how to create a ADO.NET database in code. I know how to create a dataset and wonder whether there is a way to...
14
3166
by: John Salerno | last post by:
Since the connect method of mysqldb requires a database name, it seems like you can't use it without having a database already created. So is there a way to connect to your mysql server (without a...
4
2394
by: RSH | last post by:
Hi, I have a situation where I have created a little application that makes an Access database from a SQL Database for reporting purposes. it does the job well, but it seems a bit slow. Is...
3
2242
by: Robinson | last post by:
Hi, Using SMO (VB.NET), I'm creating a new database as shown below. I would like to change the growth size of the database (to 10%, it's defaulting to 1mb at the moment) and also to set the...
24
2623
by: Kosmos | last post by:
Hey guys I'm a newbie and in fact I'm not even a programmer but decided to take up the task of learning access and creating a database. And I've gotten pretty far in terms of importing from excel and...
10
2932
by: C# Beginner | last post by:
Hi there, I'm currently trying to create a MS access file at runtime, but I stumble into some problems. 1. When I use Datatype adUnsignedInt I get an error (invalid type). 2. Which datatype...
6
5627
by: mpmason14 | last post by:
I found a vbscript on vbskrypt.com that allows me to inventory the software installed on my computer and puts it in an Access database. problem: the script only finds those programs installed...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7111
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7319
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7031
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7485
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5042
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1542
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.