Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Over the internet
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00602630
Message ID:
00602710
Views:
20
>Is there a way to make a odbc or oledb connection to a table or dbc in another computer through the internet via tcp/ip?

Yes - under NT/Win2K/XP, you can specify a share using an IP address for the servername in a UNC; you essentially have a (relatively slow) file server connection referencing the table by UNC; eg:

I have a server whose IP Address is 64.252.xx.yy, with a sharename called 'MyData'. If I want to open the table MyTable.DBF on that system, I can specify the filename as \\64.252.xx.yy\MyData\MyTable.DBF under these operating systems. Win9x does not permit the direct use of an IP address as a machine name in a UNC; you must resolve that name to a NetBIOS name using the LMHOSTS file to map a machine name to an IP address, and use the machine name rather than the IP address in the UNC. Both ODBC and OLEDB support UNC-based file names
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform