473,386 Members | 2,042 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,386 software developers and data experts.

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 3225
ASP is one of the many ways (since you post in VB group)

"Adrian Parker" <ad***********@NOSPAMsympatico.ca> wrote in message
news:kv*******************@news20.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********@RemoveThis.shaw.ca> wrote in message
news:5kL3c.761765$X%5.239518@pd7tw2no...
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*******************@news20.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*******************@news20.bellglobal.com.. .

"Norman Yuan" <no********@RemoveThis.shaw.ca> wrote in message
news:5kL3c.761765$X%5.239518@pd7tw2no...
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*******************@news20.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********@RemoveThis.shaw.ca> wrote in message
news:HlT3c.19800$Up2.6723@pd7tw1no...
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*******************@news20.bellglobal.com.. .

"Norman Yuan" <no********@RemoveThis.shaw.ca> wrote in message
news:5kL3c.761765$X%5.239518@pd7tw2no...
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*******************@news20.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*******************@news20.bellglobal.com.. .

"Norman Yuan" <no********@RemoveThis.shaw.ca> wrote in message
news:HlT3c.19800$Up2.6723@pd7tw1no...
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*******************@news20.bellglobal.com.. .

"Norman Yuan" <no********@RemoveThis.shaw.ca> wrote in message
news:5kL3c.761765$X%5.239518@pd7tw2no...
> 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*******************@news20.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********@RemoveThis.shaw.ca> wrote in message
news:EF44c.777888$ts4.210915@pd7tw3no...
*.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*******************@news20.bellglobal.com.. .

"Norman Yuan" <no********@RemoveThis.shaw.ca> wrote in message
news:HlT3c.19800$Up2.6723@pd7tw1no...
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*******************@news20.bellglobal.com.. .
>
> "Norman Yuan" <no********@RemoveThis.shaw.ca> wrote in message
> news:5kL3c.761765$X%5.239518@pd7tw2no...
> > 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*******************@news20.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********@RemoveThis.shaw.ca> wrote in message
news:EF44c.777888$ts4.210915@pd7tw3no...
*.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.org> wrote in message
news:ae***************************@dcanet.allthene wsgroups.com...
Adrian Parker wrote:
"Norman Yuan" <no********@RemoveThis.shaw.ca> wrote in message
news:EF44c.777888$ts4.210915@pd7tw3no...
*.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
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)...
3
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...
10
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...
5
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....
8
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...
1
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...
15
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,...
7
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...
18
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...
21
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...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
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...
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...

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.