Hi group,

(Pardon my English)
This mail is long but detailed so please look at it!
I'm going crazy. I'm creating an ocx for the internet. On the ocx i've got a treeview and a couple of RichTextBoxes that show information about the selected item in the treeview.

The treeview is loaded with data from an access 2000 database.

THE PROBLEM is that I do not know how to 'fill' the connectstring so that when the OCX is opened via the internet that the access database can be reached.

Here is my current connectstring:
gstrConnect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\MyServer\softlib\VBCodeLibraryVBCodeLib.mdb;Persist Security Info=False"
(LOOK AT THE \\MyServer\Softlib PART)
When I test this in my Project it works fine. Because I have a connection to the server MyServer.

When I try:
gstrConnect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=H:\VBCodeLibraryVBCodeLib.mdb;Persist Security Info=False"
(LOOK AT THE H:\ PART)
It also works for ME because my PC has a mapped network drive.

When I try:
gstrConnect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:\VBCodeLibraryVBCodeLib.mdb;Persist Security Info=False"
(LOOK AT THE G:\ PART)
This doesn't work for me because G:\ is just another drive for me BUT IT'S THE PHISYCAL DRIVE ON THE SERVER WHERE THE OCX RESIDES.


THE QUESTION:
WICH PATH SHOULD I USE FOR MY OCX??? SO THAT IT CAN BE REACHED VIA THE INTERNET?????

This is the ASP code:
<HTML>
<HEAD>
<TITLE>Eindhoven</TITLE>
</HEAD>

<BODY bottomMargin=0 leftMargin=0 topMargin=0 rightMargin=0 bgColor=#ecefff align="center">

<OBJECT
id=ui_Kennis
style="COLOR: palegreen"
codeBase=http://MyServer/pecehv/kennisbibliotheek/VB_App/ui_Kennis.ocx
height=470 width=1000
classid=CLSID:175666F7-1301-4C60-A33D-A2E2D009787A
VIEWASTEXT>

<PARAM NAME="_ExtentX" VALUE="26458">
<PARAM NAME="_ExtentY" VALUE="12435">

</OBJECT>

</BODY>
</HTML>

regards,
Sander