473,769 Members | 2,331 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ACCESS over TCP/IP

Anyone knows if it is possible to make a database connection over TCP/IP to
an MS ACCESS database? If yes please give me an example or any documentation
please.

Best regards,

Nuno
Nov 20 '05 #1
22 8906
"Nuno Fonseca" <nf******@neosi s.pt> schrieb:
Anyone knows if it is possible to make a database connection
over TCP/IP to an MS ACCESS database? If yes please give me
an example or any documentation please.


MS Access is a desktop database management system. Access and the Jet
drivers do not support to use a port in the network. If you want to access
the database over the intranet or internet, you should use an other database
management system like MS SQL Server or MySQL.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2
Umm, I would say "No". Access is a file based database and does not have
any service or program running at the site of the database, whereas other
programs, such as SQL Server and Oracle do.

You *could* approach it in two ways:
1. Create a program that runs on the Access machine, listens for TCP
connections, accepts queries and returns recordsets or status flags in raw
binary or XML code. This, I suppose can also be accomplished using SOAP or
Remoting.
or
2. Use IIS to simplify it and just create 'post' pages that accept SQL
commands and return recordset in XML, then parse them in your own program.

"Nuno Fonseca" <nf******@neosi s.pt> wrote in message
news:uA******** ******@TK2MSFTN GP09.phx.gbl...
Anyone knows if it is possible to make a database connection over TCP/IP to an MS ACCESS database? If yes please give me an example or any documentation please.

Best regards,

Nuno

Nov 20 '05 #3
Nuno,

Those who tell you that you can not do this have not fully explored the
alternatives, or they simply have not used Jet 4.0 this way. I have three
applications that use Access databases this way. One of them uses wireless
PDA devices to access Jet files. For small applications this is fine. You
have to make sure, though that you are not passing a great deal of data over
the network or it will be slow.
Using an IP address instead of a DNS name such as "\\MyNetCompute r\MyData\"
is actually faster because the DNS name does not need to be resolved. There
are several things you can do.
1. If you have access to the data at the IP address you can use it in your
connection object just as if you had used the DNS name.
2. You can create a VPN tunnel to the data using the IP address if your
operating systems on both ends support them.
3. You can create a Network Place on your system using the IP address.

Assuming you are not trying to pass large datasets over the Internet it
doesn't matter where you are.
"Nuno Fonseca" <nf******@neosi s.pt> wrote in message
news:uA******** ******@TK2MSFTN GP09.phx.gbl...
Anyone knows if it is possible to make a database connection over TCP/IP to an MS ACCESS database? If yes please give me an example or any documentation please.

Best regards,

Nuno

Nov 20 '05 #4
Herfried,

Sorry you are incorrect. I do this everyday. If the client has large
datasets I put him on SQL 2000. IP addresses work to access ANYTHING just
as if I use a DNS name.

Regards

"Herfried K. Wagner [MVP]" <hi*******@m.ac tivevb.de> wrote in message
news:eN******** ******@TK2MSFTN GP09.phx.gbl...
"Nuno Fonseca" <nf******@neosi s.pt> schrieb:
Anyone knows if it is possible to make a database connection
over TCP/IP to an MS ACCESS database? If yes please give me
an example or any documentation please.
MS Access is a desktop database management system. Access and the Jet
drivers do not support to use a port in the network. If you want to

access the database over the intranet or internet, you should use an other database management system like MS SQL Server or MySQL.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet

Nov 20 '05 #5
Nuno,

One thing to watch out for is the security system in Access. When I use
Access over the Internet I require the user to drop all Access security and
use Windows security to establish who can read/write the file. Access
security can get in the way when establishing connections.

"Nuno Fonseca" <nf******@neosi s.pt> wrote in message
news:uA******** ******@TK2MSFTN GP09.phx.gbl...
Anyone knows if it is possible to make a database connection over TCP/IP to an MS ACCESS database? If yes please give me an example or any documentation please.

Best regards,

Nuno

Nov 20 '05 #6
Cor
Herfried,
MS Access is a desktop database management system. Access and the Jet
drivers do not support to use a port in the network. If you want to access the database over the intranet or internet, you should use an other database management system like MS SQL Server or MySQL.

I think the wrong word is access the database, Everybode can access a
textfile over the Internet or a network.
I think you did you mean something as direct access (connection) to the
database?
Just one wrong word in English.
But people love to correct you, be proud.
:-)
Cor
Nov 20 '05 #7
"Cor" <no*@non.com> schrieb:
management system like MS SQL Server or MySQL.
I think the wrong word is access the database, Everybode
can access a textfile over the Internet or a network.
I think you did you mean something as direct access
(connection) to the database?


Yes. That's what I wanted to write.
Just one wrong word in English.
But people love to correct you, be proud.


;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #8
Jet 4.0 connection objects support the use of IP address.
I don't have a public server available right now to show you that you can
Read/Write whatever to a Jet database from anywhere over the Internet, but
if I have time to get my 2003 server installed I will be glad to send you a
VB.NET exe which will connect to it. Give me a few weeks. I used this method
in the infancy stages of a large project for a large corporation so that
they could continue development while waiting for their SQL server.

Regards

Regards

"Cor" <no*@non.com> wrote in message
news:3f******** *************** @reader20.wxs.n l...
Herfried,
MS Access is a desktop database management system. Access and the Jet
drivers do not support to use a port in the network. If you want to

access
the database over the intranet or internet, you should use an other

database
management system like MS SQL Server or MySQL.

I think the wrong word is access the database, Everybode can access a
textfile over the Internet or a network.
I think you did you mean something as direct access (connection) to the
database?
Just one wrong word in English.
But people love to correct you, be proud.
:-)
Cor

Nov 20 '05 #9
"Jerry" <Je*********@ya hoo.com> schrieb:
Jet 4.0 connection objects support the use of IP address.


Thanks for the information. I am not really familiar with databases
(especially Access databases), but I read what I wrote somewhere some time
ago...

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

63
5932
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy in Visual Studio to create reports and labels as it's in Access?` The advantage of VS.net is that not every user needs Access, right? And that would eliminate the Access version problem as well I guess.
13
2952
by: bill | last post by:
I am trying to convince a client that dotNet is preferable to an Access project (ADP/ADE). This client currently has a large, pure Access MDB solution with 30+ users, which needs to be upgraded. I believe a dotNet solution is better, but I'm trying to be as convincing as possible -- and maybe I'm wrong! I would appreciate any input or references which could help me.
1
4344
by: Dave | last post by:
Hello NG, Regarding access-declarations and member using-declarations as used to change the access level of an inherited base member... Two things need to be considered when determining an inherited base member's access level in the derived class: its access level in the base class and the type of inheritance (public, protected, or private). After this determination is made, the following possibilities exist for manually changing the...
13
13357
by: Simon Bailey | last post by:
I am a newcomer to databases and am not sure which DBMS to use. I have a very simplified knowledge of databases overall. I would very much appreciate a (simplifed) message explaining the advantages and disadvantages of both programs. Many Thanks Simon
0
2980
by: Frederick Noronha \(FN\) | last post by:
---------- Forwarded message ---------- Solutions to Everyday User Interface and Programming Problems O'Reilly Releases "Access Cookbook, Second Edition" Sebastopol, CA--Neither reference book nor tutorial, "Access Cookbook, Second Edition" (O'Reilly, US $49.95), by Ken Getz, Paul Litwin, and Andy Baron, delivers hundreds of practical examples, up-to-date suggestions, and handy solutions to real-world problems that Access users and...
20
3347
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to speed. I like books with practical exercises, and also with test questions (like cert books) *2*
64
5260
by: John | last post by:
Hi What future does access have after the release of vs 2005/sql 2005? MS doesn't seem to have done anything major with access lately and presumably hoping that everyone migrates to vs/sql. Any comments? Thanks
1
3347
by: com | last post by:
Extreme Web Reports 2005 - Soft30.com The wizard scans the specified MS Access database and records information such as report names, parameters and subqueries. ... www.soft30.com/download-1-11975.htm - 31k - Cached - Similar pages MDBSecure 1.0.8.0 - Soft30.com Utility which makes it easy to create secure MS Access Databases, ... MS Access 2000/2003 format. 30 day money back guarantee, 30 day trial. ...
17
4416
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting there, but is there a way they can find out if that application was put there from a CD or email or created at work? Hint: It's not on a client/server database, just native jet database mdb created on Access 2003 (default 2000)...
37
5244
by: jasmith | last post by:
How will Access fair in a year? Two years? .... The new version of Access seems to service non programmers as a wizard interface to quickly create databases via a fancy wizard. Furthermore, why would you even continue to use Access as a backend when you have a much superior option in SQL express? What about as a future front-end development tool? Let's get serious. Microsoft continues to publish numerous articles and videos on how you...
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10222
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9866
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7413
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5310
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
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
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.