Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access any Server Database
Message
From
18/05/2004 16:04:53
 
 
To
18/05/2004 15:42:53
General information
Forum:
Visual Basic
Category:
VBScript
Miscellaneous
Thread ID:
00904990
Message ID:
00905084
Views:
21
I am in a LAN but i get the message invalid path.

If i use a local DBC it works.

This is the code
<% @LANGUAGE="JScript"   
<!--METADATA TYPE="typelib" uuid="00000205-0000-0010-8000-00AA006D2EA4" -->

<html>
 
<head>
    <title>Example of ADO using JScript</title>        	        
</head>
 
<body>			
    <script LANGUAGE="JScript" RUNAT="server">		
 
    var con = Server.CreateObject("ADODB.Connection.2.80");
     
    var sConString = "Provider=VFPOLEDB.1;Data Source=\\\\MyServer\\SharedFolder\\Folder\\Data\\Data.dbc";
	    	    
    con.Open(sConString);
    
    con.Close(  );
    con = null;
 
</script>
 
</body>
</html>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform