Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DSN -- How is TCP/IP vs. Named Pipes defined
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00473411
Message ID:
00473505
Views:
19
Kevin,
That may be true. I try to stay away from DSN entries. Do you need to create one? Do other programs use the DSN entry you create? If not, you may be able to use DSN-less.

>"Network=dbmssocn;"
>
>Larry,
>
>I added that line to my program to create the DSN and if you go to the Client Configuration options, the Network library is changed to Other and the File name is now dbmssocn.
>
>Maybe this is only for dsn-less connections?
>
>Kevin
>
>************************
>cDSN="DSN="+alltrim(thisform.cDSN)
>cDescription="Description="+alltrim(thisform.cDescription)
>cServer="Server="+alltrim(thisform.cServer)
>cDatabase="Database="+alltrim(thisform.cDatabase)
>settings= cDSN+chr(0)+cDescription+chr(0)+cServer+chr(0)+cDatabase
>If Thisform.NetworkType="TCP/IP" && leave alone for Named Pipes
> settings = settings +chr(0) + "Network=dbmssocn"
>Endif
>********************************************
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform