473,466 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Network connection

1 New Member
Dear Sirs,
I have made vb6 prog. and running well, I want to connect into two or three computers. I have named dbfile folder exampl : c:\Mydbfile\filename.mdb. How to connect the dbfile into other computers and can enter the datas by users... when i am connecting its telling me dbfile not found to run the prog. Any body can help me.... Thanks
Ah
Aug 13 '11 #1
1 1293
Guido Geurs
767 Recognized Expert Contributor
just enter the path to the file like this:
Expand|Select|Wrap|Line Numbers
  1.      mobjConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" _
  2.                               & "Data Source=" _
  3.                               & "\\Rode_kruis\D-C on test\xfer\Cust.mdb"
where:
\\Rode_kruis = name of the PC
\D-C on test = name of the shared drive
\xfer = name of the folder
\Cust.mdb = name file

you can also obtain the path by opening Explorer and showing the properties (Location:) of the file.

Remark: the users must have permissions to change the DB file if you want write to the file!
Aug 14 '11 #2

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

Similar topics

2
by: Dicky Cheng | last post by:
Hi, I am using .net remoting technology. I set up a .net remoting client and server in IIS. When the client calls the server, the server will run a long duration method (30-60seconds). I have a...
3
by: dotNetDave | last post by:
I just discovered that this: Dim searcher As New Management.ManagementObjectSearcher("SELECT NetConnectionStatus FROM Win32_NetworkAdapter") For Each networkAdapter As...
1
by: TJRobertsJob | last post by:
Was wondering if someone could help. Over the last month I've been developing a small database application, using Access 2000, for use in a friends shop. Everything was going well until about a...
4
by: cvopicka | last post by:
i have found many refrences to access being slow over a netowrk but my boss and i just found this and i was hoping to get some help. on the local machine we have the Access 2000 format database...
1
by: JJ | last post by:
Hey All, I need to test a network connection to local lan using a PDA with wireless capabilities. I am using c# as app language. How can I test for connection? Thanks, JJ
3
by: Scott Leonard | last post by:
Hello - I'm writing an application that will be used on "sometimes connected" devices (laptops, tablets). In C#, what is the best way to detect whether a network connection is present? I'd...
8
by: BobRoyAce | last post by:
I have an ASP.NET application set up on my local hard drive with all pages, dlls, and SQL server on local machine. However, I have discovered that if I reboot my machine without a network cable...
2
by: Brent Burkart | last post by:
I have a utility that I want to only run when a network connection is present. I want to plan for the situation when someone unplugs their laptop from the network and takes it into another...
1
by: Papa.Coen | last post by:
Hi, I have a problem with my website (aspx/c#); I get a 'Server Application Unavailable' when the host (127.0.0.1/localhost) does not have an network connection (tcp cable unplugged, on purpose ) ...
5
by: Jonas | last post by:
I want to remove a remote access connection when a user logs out. The connection is a dial up isdn adapter. I can access the adapter via WMI namespace \root\microsoft\homenet, but i don´t find...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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
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,...
0
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
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.