473,324 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Accessing SQL database, stored in my computer, from other computers using LAN

I have a windows application coded in C# using visual studio 2010 Express. My application accesses an SQL database stored in my computer.

What I want to do is to use my application using different computers in our office but still accessing the same database in my computer using LAN.

Is it possible? If yes, what should I do?

Specifically,

What changes should I make in my C# codes that connects to a database?
How should I set-up the computers in our office such that they can connect to the database in my computer through LAN?
May 18 '15 #1
1 2139
computerfox
276 100+
Normally, I would build an API on the central machine. This makes access to the database much safer and easier for the application.

Other than an API, databases use domain/IP and ports. You can try adding an option to give the domain/IP address of the other machine as well as the database credentials.

What exactly are you doing with the application? Are you simply viewing and updating the data or are you doing something unique? There might already be a Windows application that does what you're trying to do already.

Hope that helps.
May 18 '15 #2

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

Similar topics

5
by: gabbott | last post by:
I've designed a very simple VB.NET project that uses the .NET framework functionality to access registry keys. At the moment it pulls values from a few keys and puts them into a listbox. The...
0
by: Max Mayer | last post by:
Hello everybody, I have implemented a windows form in C# .NET to export data from a listbox to Excel. I work on a Windows XP machine with Office 97 and .NET framework 1.1 SDK installed. I use...
8
by: Vanga Sasidhar | last post by:
I have four computers. One computer - Win XP Two computers - Win 98 One computer - Win ME I designed some pages in my computer having Win XP operating system. I installed dot net...
2
by: gilkal | last post by:
Hi All, I'm trying to set an Issue manager on my computer. When I try to access it from my local machine everything is working ok. However, when I try to access it from other computers in my...
1
by: BryanRS | last post by:
I have a task to write an server application that will log into multiple other computers on the same network. The other computers will be at the startup screen and instead of having to input the...
2
by: mechif | last post by:
Hello all, All of the computers in our company have been updated to Windows XP SP3. Since then, if I compile a dll on my computer (using VS2005 8.0.50727.762) and have another computer run it...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.