473,320 Members | 1,982 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,320 software developers and data experts.

Problem with client side active X accessing acces database on web server

Hi All,

Hope you can help / point me in the right direction with a little problem.

I have a VB6 created active X dll which is downloaded to the client using
<object> </object> so that I can control / use MS Word to create letters
using data extracted from an Access database which resides on a webserver.

The problem I am having is that I cannot connect to the access database on
the web server.

In the active x I have added a reference to a DLL (also written in VB6 which
my ASP pages use to get data with no problems) but the Active X fails as it
cannot find the database as it is looking for an "E
drive\folder\folder\database." which is hardcoded as part of the connection
string in the DLL and isn't a valid path on the client PC but is on the web
server.

So my question is this - how can I get a client side active x to look at an
access database sat on a web server or am I going about this in completely
the wrong way?

I am using classic ASP and VB6.

Any pointers / code examples would be appreciated.

Thanks

Roger

Feb 12 '06 #1
1 1477
As the DB is on the webserver, the "local" path needs to be changed to a
remote (http://) path.

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Roger Hembury" <ro***********@btinternet.com> wrote in message
news:ds**********@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com...
Hi All,

Hope you can help / point me in the right direction with a little problem.

I have a VB6 created active X dll which is downloaded to the client using
<object> </object> so that I can control / use MS Word to create letters
using data extracted from an Access database which resides on a webserver.

The problem I am having is that I cannot connect to the access database on
the web server.

In the active x I have added a reference to a DLL (also written in VB6 which my ASP pages use to get data with no problems) but the Active X fails as it cannot find the database as it is looking for an "E
drive\folder\folder\database." which is hardcoded as part of the connection string in the DLL and isn't a valid path on the client PC but is on the web server.

So my question is this - how can I get a client side active x to look at an access database sat on a web server or am I going about this in completely
the wrong way?

I am using classic ASP and VB6.

Any pointers / code examples would be appreciated.

Thanks

Roger

Feb 12 '06 #2

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

Similar topics

13
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....
18
by: cjl | last post by:
Hey all: I know that it is silly in the age of Google to 'lose' something on the internet, but I recently checked out a project that had implemented a database with a subset of SQL in pure...
6
by: Ken Allen | last post by:
I am relatively new to .Net and C#, but I hav ebeen programing in other languages and done some COM work for a number of years. I am attempting to understand how to map an older program...
15
by: Ron L | last post by:
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying...
1
by: noor | last post by:
Hi, I'm trying to connect to my Oracle 10g Database i m facing the problem of connection string, following code is that i use, please tell me how to use the connection string for accessing the...
1
by: noor | last post by:
Hi, I'm trying to connect to my Oracle 10g Database i m facing the problem of connection string, following code is that i use, please tell me how to use the connection string for accessing the...
3
by: Nathan Sokalski | last post by:
I have a validator that I wrote by inheriting from BaseValidator. At certain points in the code, I need to access other controls on the page containing the validator. I have the IDs of these...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
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...
0
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...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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.