473,785 Members | 2,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Database access?

Can VB connect to, and send SQL commands to an Access database sitting on a
remote machine, via the internet?

I don't want to just make an internet-viewable [non-secure] share.
Adrian
Jul 17 '05 #1
8 3240
ASP is one of the many ways (since you post in VB group)

"Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
news:kv******** ***********@new s20.bellglobal. com...
Can VB connect to, and send SQL commands to an Access database sitting on a remote machine, via the internet?

I don't want to just make an internet-viewable [non-secure] share.
Adrian

Jul 17 '05 #2

"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:5kL3c.7617 65$X%5.239518@p d7tw2no...
ASP is one of the many ways (since you post in VB group)
How would that work?

Right now I have a VB stand alone client. I want it to connect to an MDB
file, as to add/delete/update records, which is on a separate machine.

Would ASP sit on the same computer as the MDB file, and capture connections
from the VB program and then send SQL commands to the MDB?

Can VB not connect directly to the remote MDB?
Adrian


"Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
news:kv******** ***********@new s20.bellglobal. com...
Can VB connect to, and send SQL commands to an Access database sitting
on a
remote machine, via the internet?

I don't want to just make an internet-viewable [non-secure] share.
Adrian


Jul 17 '05 #3
According to your original post, you want retrieve/save/update data from the
Internet access, so yo have to learn some basic concept of web application.

A website on the NET is usually publicly accessible. Theoretically, you can
put your db on a regular website and allow anyone read/write to the db file,
but I am sure the db file would be gone/damaged right away: who want to
expose his data that way?

So, comes web app, where user send request (retrieving/updating data) from
web browser to web server, web server makes access to database on user's
behalf...

Web app can be wirten in many different ways, and ASP probably is easiest if
you already know VB. Grab a book on ASP (there should be a lot of them in
discounted price, 'cause ASP.NET is currently hot ones, which is different
from ASP), you may be able to do it in just a few days.

"Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
news:PP******** ***********@new s20.bellglobal. com...

"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:5kL3c.7617 65$X%5.239518@p d7tw2no...
ASP is one of the many ways (since you post in VB group)
How would that work?

Right now I have a VB stand alone client. I want it to connect to an MDB
file, as to add/delete/update records, which is on a separate machine.

Would ASP sit on the same computer as the MDB file, and capture

connections from the VB program and then send SQL commands to the MDB?

Can VB not connect directly to the remote MDB?
Adrian


"Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
news:kv******** ***********@new s20.bellglobal. com...
Can VB connect to, and send SQL commands to an Access database sitting

on
a
remote machine, via the internet?

I don't want to just make an internet-viewable [non-secure] share.
Adrian



Jul 17 '05 #4

"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:HlT3c.1980 0$Up2.6723@pd7t w1no...
According to your original post, you want retrieve/save/update data from the Internet access, so yo have to learn some basic concept of web application.

So Access cannot act as a server, like other Database suites can?

Example: I install MySQL on machine A which is on the internet. Machine B,
somewhere else in the world, can connect to that database using machine A's
IP address.

A website on the NET is usually publicly accessible.
There is no website involved.

Theoretically, you can
put your db on a regular website and allow anyone read/write to the db file, but I am sure the db file would be gone/damaged right away: who want to
expose his data that way?

So, comes web app, where user send request (retrieving/updating data) from
web browser to web server, web server makes access to database on user's
behalf...
With other database applications, a piece of software can connect to the
remote database more or less directly.

Web app can be wirten in many different ways, and ASP probably is easiest if you already know VB.
I'd sooner user PERL or PHP. .NET stuff is not portable, and at least two
of my machines are not Windows-based.

Adrian

Grab a book on ASP (there should be a lot of them in
discounted price, 'cause ASP.NET is currently hot ones, which is different
from ASP), you may be able to do it in just a few days.

"Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
news:PP******** ***********@new s20.bellglobal. com...

"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:5kL3c.7617 65$X%5.239518@p d7tw2no...
ASP is one of the many ways (since you post in VB group)


How would that work?

Right now I have a VB stand alone client. I want it to connect to an MDB file, as to add/delete/update records, which is on a separate machine.

Would ASP sit on the same computer as the MDB file, and capture

connections
from the VB program and then send SQL commands to the MDB?

Can VB not connect directly to the remote MDB?
Adrian


"Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
news:kv******** ***********@new s20.bellglobal. com...
> Can VB connect to, and send SQL commands to an Access database
sitting on
a
> remote machine, via the internet?
>
> I don't want to just make an internet-viewable [non-secure] share.
>
>
> Adrian
>
>



Jul 17 '05 #5
*.mdb is file based database, user must have read/write permission to access
data in it.

"Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
news:XA******** ***********@new s20.bellglobal. com...

"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:HlT3c.1980 0$Up2.6723@pd7t w1no...
According to your original post, you want retrieve/save/update data from the
Internet access, so yo have to learn some basic concept of web

application.

So Access cannot act as a server, like other Database suites can?

Example: I install MySQL on machine A which is on the internet. Machine

B, somewhere else in the world, can connect to that database using machine A's IP address.

A website on the NET is usually publicly accessible.
There is no website involved.

Theoretically, you can
put your db on a regular website and allow anyone read/write to the db

file,
but I am sure the db file would be gone/damaged right away: who want to
expose his data that way?

So, comes web app, where user send request (retrieving/updating data) from
web browser to web server, web server makes access to database on user's
behalf...


With other database applications, a piece of software can connect to the
remote database more or less directly.

Web app can be wirten in many different ways, and ASP probably is easiest if
you already know VB.


I'd sooner user PERL or PHP. .NET stuff is not portable, and at least two
of my machines are not Windows-based.

Adrian

Grab a book on ASP (there should be a lot of them in
discounted price, 'cause ASP.NET is currently hot ones, which is

different from ASP), you may be able to do it in just a few days.

"Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
news:PP******** ***********@new s20.bellglobal. com...

"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:5kL3c.7617 65$X%5.239518@p d7tw2no...
> ASP is one of the many ways (since you post in VB group)

How would that work?

Right now I have a VB stand alone client. I want it to connect to an

MDB file, as to add/delete/update records, which is on a separate machine.

Would ASP sit on the same computer as the MDB file, and capture

connections
from the VB program and then send SQL commands to the MDB?

Can VB not connect directly to the remote MDB?
Adrian
>
> "Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
> news:kv******** ***********@new s20.bellglobal. com...
> > Can VB connect to, and send SQL commands to an Access database sitting on
> a
> > remote machine, via the internet?
> >
> > I don't want to just make an internet-viewable [non-secure] share.
> >
> >
> > Adrian
> >
> >
>
>



Jul 17 '05 #6

"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:EF44c.7778 88$ts4.210915@p d7tw3no...
*.mdb is file based database, user must have read/write permission to access data in it.
And I'm asking if there is an existing program that will sit on a given
port, listen for connections, and then pass those connections to the
database.


"Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
news:XA******** ***********@new s20.bellglobal. com...

"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:HlT3c.1980 0$Up2.6723@pd7t w1no...
According to your original post, you want retrieve/save/update data from
the
Internet access, so yo have to learn some basic concept of web application.

So Access cannot act as a server, like other Database suites can?

Example: I install MySQL on machine A which is on the internet. Machine B,
somewhere else in the world, can connect to that database using machine

A's
IP address.

A website on the NET is usually publicly accessible.


There is no website involved.

Theoretically, you can
put your db on a regular website and allow anyone read/write to the db

file,
but I am sure the db file would be gone/damaged right away: who want
to expose his data that way?

So, comes web app, where user send request (retrieving/updating data)

from web browser to web server, web server makes access to database on user's behalf...


With other database applications, a piece of software can connect to the
remote database more or less directly.

Web app can be wirten in many different ways, and ASP probably is easiest
if
you already know VB.


I'd sooner user PERL or PHP. .NET stuff is not portable, and at least

two of my machines are not Windows-based.

Adrian

Grab a book on ASP (there should be a lot of them in
discounted price, 'cause ASP.NET is currently hot ones, which is different from ASP), you may be able to do it in just a few days.

"Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message
news:PP******** ***********@new s20.bellglobal. com...
>
> "Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
> news:5kL3c.7617 65$X%5.239518@p d7tw2no...
> > ASP is one of the many ways (since you post in VB group)
>
> How would that work?
>
> Right now I have a VB stand alone client. I want it to connect to an MDB
> file, as to add/delete/update records, which is on a separate

machine. >
> Would ASP sit on the same computer as the MDB file, and capture
connections
> from the VB program and then send SQL commands to the MDB?
>
> Can VB not connect directly to the remote MDB?
>
>
> Adrian
>
>
> >
> > "Adrian Parker" <ad***********@ NOSPAMsympatico .ca> wrote in message > > news:kv******** ***********@new s20.bellglobal. com...
> > > Can VB connect to, and send SQL commands to an Access database

sitting
> on
> > a
> > > remote machine, via the internet?
> > >
> > > I don't want to just make an internet-viewable [non-secure] share. > > >
> > >
> > > Adrian
> > >
> > >
> >
> >
>
>



Jul 17 '05 #7
Adrian Parker wrote:
"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:EF44c.7778 88$ts4.210915@p d7tw3no...
*.mdb is file based database, user must have read/write permission to


access
data in it.

And I'm asking if there is an existing program that will sit on a given
port, listen for connections, and then pass those connections to the
database.


No. You can't. Access does not/can not act as a server. You need a DB
Server. MySQL works great, and there are tools availible that can
convert a .mdb file to SQL statments for import into MySQL. MS SQL
*might* allow you to interact with an .mdb file, but, my guess is not.
It would have to be imported first; but, I no nothing of MS SQL, so, I
could be wrong on that

g
z
Jul 17 '05 #8

"Gemini" <sp**@nospam.or g> wrote in message
news:ae******** *************** ****@dcanet.all thenewsgroups.c om...
Adrian Parker wrote:
"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:EF44c.7778 88$ts4.210915@p d7tw3no...
*.mdb is file based database, user must have read/write permission to


access
data in it.

And I'm asking if there is an existing program that will sit on a given
port, listen for connections, and then pass those connections to the
database.


No. You can't. Access does not/can not act as a server. You need a DB
Server. MySQL works great, and there are tools availible that can
convert a .mdb file to SQL statments for import into MySQL. MS SQL
*might* allow you to interact with an .mdb file, but, my guess is not.
It would have to be imported first; but, I no nothing of MS SQL, so, I
could be wrong on that


Ok, thank you.
Adrian
Jul 17 '05 #9

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

Similar topics

6
3136
by: Sarah Tanembaum | last post by:
I was wondering if it is possible to create a secure database system using RDBMS(MySQL, Oracle, SQL*Server, PostgreSQL etc) and web scripting/programming language(Perl, PHP, Ruby, Java, ASP, etc) combination? I have the following in mind: I wanted to store all my( and my brothers and sisters) important document information such as birth certificate, SSN, passport number, travel documents, insurance(car, home, etc) document, and other...
3
3354
by: cooldv | last post by:
i am running a website on Windows 2000 server with ASP 3 webpages and Access 2000 database. (with a hosting company) traffic is slow at this time but expect to grow. lately i have been reading about sql database and sql server, specially this article: http://www.aspfaq.com/show.asp?id=2195 will someone help me understand: 1. with *SQL Server*, do i keep my current Access 2000 database and ASP pages?
10
6047
by: MHenry | last post by:
Hi, We were going merrily along for 6 years using this database to record all client checks that came into our office, including information about what the checks were for. Suddenly, network computers cannot access the database. The message is...
5
3699
by: premmehrotra | last post by:
I currently have a multi-user access database which is put on a shared drive L: on a Windows Servers. Entire database is one file premdb.mdb. Users access this database from their laptops. Following problems occur: 1. Access is way too slow in WAN environment. Server is located in New Jersey and users are in California and Puerto Rico. 2. Database often becomes corrupt 3. When one user updates some data in the database, other users...
8
3151
by: John Baker | last post by:
Hi: I am URGENTLY in need of some book or web site OR tool that will help me integrate a relatively simple access application into a web page or pages. This is a time recording system (by project), and I would be more than wiling to pull the updated database down from the Host using FTP on a monthly basis. Its just that I need to understand how to set it up on the web site itself. The Host supports SQL. Any direction you can give would...
1
1854
by: Claus Haslauer | last post by:
Hi, firstly, I am new to access03 and server03 Originally, I had written an access 2002 database. Then, we transferred (for another reason) to server 2003. Then, we got access 2003. Then I wanted to setup the system in the following way: The database (now in access2003) sits in a shared folder on the server2003 machine. Anybody else who has access to that server and the folder can open the database form that folder, add data, write
15
2562
by: philip | last post by:
On a form, I have a datagridview. This datagridview is constructed on a dataset filled by a tableadapter. The table adapter do very well what it must do when filling dataset. Insertions, modifications and deletions functions very well in the dataset. But impossible to transmit modifications in ACCESS database. Impossible to WRITE in database. Here is the code for data transmission from tableadapter to Access database :
7
2916
by: Allison | last post by:
Hi -- we are a small manufacturing looking for a multi-user database to take customer orders (nothing too complicated, with 3 users total). We think we should be using Access, but are wondering what alternatives there are. It has been recommended to us to use ASP.net and SQL instead, with the reasoning that: 1) Access is likely to go obsolete at some point 2) It will be more stable Does anybody have any thoughts on this?
18
9152
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft page "How to: Connect to Data in an Access Database"
21
4121
by: nihad.nasim | last post by:
Hi there, I have a database in Access that I need on the web. The web page should connect to the database and write records for certain tables and view records for others. I want to know a reliable way of connecting Access to a server. I am willing to switch to any version of Access which might solve the problem. Which server would you recommend and what are the advanatages and disadvantatges of the server you propose? Please also inlcude...
0
9646
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
9484
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10157
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10097
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8983
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7505
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
6742
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5386
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...
3
2887
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.