473,569 Members | 2,555 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 2072
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.

<connectionStri ngs>
<add name="Name"
providerName="S ystem.Data.Prov iderName"
connectionStrin g="Valid Connection String;" />
</connectionStrin gs>

Add .cs file

static void GetConnectionSt rings()
{
ConnectionStrin gSettingsCollec tion settings =
ConfigurationMa nager.Connectio nStrings;

if (settings != null)
{
foreach(Connect ionStringSettin gs cs in settings)
{
Console.WriteLi ne(cs.Name);
Console.WriteLi ne(cs.ProviderN ame);
Console.WriteLi ne(cs.Connectio nString);
}
}
}
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
1766
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 created. $db = 'M#2'; $query = "create database '$db'"; $result = @mysql_query($query); I am able to create a database just fine using this...
1
1313
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
1939
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 file folder in the filing cabinet, contents, etc. Because we are a small town government I also would need it to have retention dates. I don’t know...
5
6492
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 "export" it into a new empty database. Since I am at it: How do you programmatically store a query into an ADO database? I am using ADOX to...
14
3181
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 specified database) in order to create a new database (i.e., the CREATE DATABASE query)? Thanks.
4
2402
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 there anything that i can do to speed the app up a bit? namespace SQLToAccessBackup
3
2246
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 maximum size I will allow it to grow to, to 10mb (for testing purposes). How can I do this on the SMO interface? Thanks for any tips,
24
2632
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 taking serial numbers such as AXT209939300LT and just stripping them down to the number of 209939300 for example. So here's where I am confused...and...
10
2945
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 must I use to create an autonumbering field? 3. Which datatype must I use to create an OLE-object field? I'm currently using Microsoft ActiveX Data...
6
5631
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 by Windows Installer - nothing else. objective: i want to expand the quality of the script to be able to find ALL programs as they are listed in...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8130
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7677
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
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 we have to send another system
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.