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

Home Posts Topics Members FAQ

Send single record Access DB on remote web server.

Our orders database exists inside our firewall but we have a web site hosted
on an ISP server. If we wanted to give users the ability to query the
status of their order in real time, we could just export a simple subset of
data to our ISP, like customer name, order ID and status.

Anyone ever do this?

For example, if the status changed from REQUEST to QUOTE or from QUOTE to
PRODUCTION, the AfterUpdate event of the Access application running behind
the firewall would need to send that new information to the ISP.

What I'm thinking is that there could be a page at the web site for
processing the data, that would have an address like this ...

http://www.myISP.com/CustData/update...23456&status=9

The ASP page on the remote, ISP server could process this and update the
status for this order, but how can I, from my Access client application
"navigate" to this address? ... that is to say, pass these simple
parameters to the ASP page on the web server that will update my remote
database, keeping it in synch with my master orders database?

As usual, any suggestions appreciated. (Do I need to mention that the
suggestions should be relevant and not along the lines of my getting a hair
cut or losing weight? For that kind of advice, I have a wife.) Thanks
--

Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast


Nov 12 '05 #1
2 3015
OK, here's what I stumbled upon, but I don't completely like it. There is a
library called Microsoft Internet Controls that points to SHDocVw.dll
This library exposes an InternetExplorer object which has a Navigate method.
The following code works, but only if I supply a pause between the Navigate
method and the line that sets the object to nothing.

I'm running this code from a module function in an Access 97 database:

Function Foo()
Dim objDoc As SHDocVw.InternetExplorer
Set objDoc = New SHDocVw.InternetExplorer

Dim sURL As String
sURL = "http://mysite/ProjectList.asp?OrderID=42&status=9"

objDoc.Navigate sURL, , , True

' must pause here
Set objDoc = Nothing
End Function

Has anyone used this method? Are there any dangers to using it? I have
this library, but should I expect that my local network users have it too?
--

Danny J. Lesandrini

"Danny J. Lesandrini" <dl*********@hotmail.com> wrote in message
news:bq*************@ID-82595.news.uni-berlin.de...
Our orders database exists inside our firewall but we have a web site hosted on an ISP server. If we wanted to give users the ability to query the
status of their order in real time, we could just export a simple subset of data to our ISP, like customer name, order ID and status.

Anyone ever do this?

For example, if the status changed from REQUEST to QUOTE or from QUOTE to
PRODUCTION, the AfterUpdate event of the Access application running behind
the firewall would need to send that new information to the ISP.

What I'm thinking is that there could be a page at the web site for
processing the data, that would have an address like this ...

http://www.myISP.com/CustData/update...23456&status=9

The ASP page on the remote, ISP server could process this and update the
status for this order, but how can I, from my Access client application
"navigate" to this address? ... that is to say, pass these simple
parameters to the ASP page on the web server that will update my remote
database, keeping it in synch with my master orders database?

As usual, any suggestions appreciated. (Do I need to mention that the
suggestions should be relevant and not along the lines of my getting a hair cut or losing weight? For that kind of advice, I have a wife.) Thanks
--

Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast

Nov 12 '05 #2
Hi Danny

I have an application that is part ASP-HTML etc, and part ADP.
To ensure that help is consistent, from the ADP I call the ASP-HTML Help
Files by having a Web Control
(OLEClass ="Microsoft Web Browser"
Class ="Shell.Explorer.2"
GUID = Begin
0x0d8ea426b2beae4e8fc7f771a6c349b1
End
)
on a Help Form and setting its navigate as follows:

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyF1 Then
Form_frmHTMLHelp.wbHDSBHelp.navigate
"http://ffdba.com/SomeFolder/SomeSubFolder/SomeFile.htm"
KeyCode = 0
End If
End Sub

The Help Form then runs its own code on open.
Private Sub Form_Open(Cancel As Integer)
Me.wbHDSBHelp.Width = 480
PlaceForm Me
End Sub

I'm not sure if this could be adopted for your needs, but I find it quite
helpful for my purposes.

"Danny J. Lesandrini" <dl*********@hotmail.com> wrote in message
news:bq*************@ID-82595.news.uni-berlin.de...
OK, here's what I stumbled upon, but I don't completely like it. There is a library called Microsoft Internet Controls that points to SHDocVw.dll
This library exposes an InternetExplorer object which has a Navigate method. The following code works, but only if I supply a pause between the Navigate method and the line that sets the object to nothing.

I'm running this code from a module function in an Access 97 database:

Function Foo()
Dim objDoc As SHDocVw.InternetExplorer
Set objDoc = New SHDocVw.InternetExplorer

Dim sURL As String
sURL = "http://mysite/ProjectList.asp?OrderID=42&status=9"

objDoc.Navigate sURL, , , True

' must pause here
Set objDoc = Nothing
End Function

Has anyone used this method? Are there any dangers to using it? I have
this library, but should I expect that my local network users have it too?
--

Danny J. Lesandrini

"Danny J. Lesandrini" <dl*********@hotmail.com> wrote in message
news:bq*************@ID-82595.news.uni-berlin.de...
Our orders database exists inside our firewall but we have a web site

hosted
on an ISP server. If we wanted to give users the ability to query the
status of their order in real time, we could just export a simple subset

of
data to our ISP, like customer name, order ID and status.

Anyone ever do this?

For example, if the status changed from REQUEST to QUOTE or from QUOTE to PRODUCTION, the AfterUpdate event of the Access application running behind the firewall would need to send that new information to the ISP.

What I'm thinking is that there could be a page at the web site for
processing the data, that would have an address like this ...

http://www.myISP.com/CustData/update...23456&status=9

The ASP page on the remote, ISP server could process this and update the
status for this order, but how can I, from my Access client application
"navigate" to this address? ... that is to say, pass these simple
parameters to the ASP page on the web server that will update my remote
database, keeping it in synch with my master orders database?

As usual, any suggestions appreciated. (Do I need to mention that the
suggestions should be relevant and not along the lines of my getting a

hair
cut or losing weight? For that kind of advice, I have a wife.) Thanks
--

Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast


Nov 12 '05 #3

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

Similar topics

2
by: yabba | last post by:
I have admin privileges on a remote server and would like to use a web interface (asp) to manipulate various files. It seems that when I access the remote web pages I only have IWAP and IWAM...
3
by: canigou9 (remove your socks to reply) | last post by:
(cross posted - comp.databases.ms-access, microsoft.public.access) Hello folks - this is my first post here, after a short lurk. I have written an application in Access2002 for a friend's...
24
by: Lauren Wilson | last post by:
OK, I'm confused. SOME folks here seem to be saying it IS possible to link to or otherwise access and manipulate MDB files stored on a web server (from the client) and others seem to be saying...
2
by: pratcp | last post by:
I have a remote server (a shared hosting webserver) where I have few users ftp some flat files. I need to access these files using a windows app/windows service written using c# and run it on a...
1
by: Thom Little | last post by:
I have a simple web service that requires no input and returns a character string. I created the service and FTPd it to a remote server. The .dll to the .bin directory and the single .asmx file...
3
by: AtulTiwari | last post by:
Can Any one help me to Explain how to send a File to Remote server and how to Receive that File. I have Tried a lot of Code but from 1 week but i m unable to find the Right logic and Right Code for...
3
by: gzali | last post by:
salam to all i want to send data on my remote server in the form of xml,my currently process is that i am using a web services on my server and i m calling a method of sendData through client when...
11
by: =?Utf-8?B?U2FsYW1FbGlhcw==?= | last post by:
Has anybody worked with performancecounter object to access counters on remote machine? I managed to write code that retrieves counters categories froma remote machine, when I try another remote...
7
by: mak1084 | last post by:
Hi, I want to make online registration script. To do this I searched google and found that cURL can be used, to send a query to the remote sever and getting the data back. Can you guys help me...
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
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
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: 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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.