Re: Localhost by Karen
Karen
Fri Aug 19 14:37:36 CDT 2005
I gotta tell you, I tried that route earlier and wasn't successful. Must
have been a bad day for me, because today it works! And yes, that was my
preferred way to get to the data.
Thanks so much for your help!
"swdev2" <wsanders@dotnetconversions.bob.com> wrote in message
news:esTZYzOpFHA.2504@tk2msftngp13.phx.gbl...
> Yo Karen -
> you want to get to the sql server on that machine?
> try a named system dsn first, in the odbc manager - and test the
> connection.
>
> then - in vfp - you should be able to get to the sql server on that local
> machine (your basic goal, right? screw the SDK for the nonce) via ODBC ,
> try
> to make , just for grins and testing, a
> database container
> with a database connection that points back to
> your sql server .
> then make a
> remote view into a table on the sql server
>
> lemme know how it turns out, ah?
> mondo regards [Bill]
> --
> ===================
> William Sanders / EFG VFP / mySql / MS-SQL
> www.efgroup.net/vfpwebhosting
> www.dotnetconversions.com
> "Karen" <forjunk2go2@hotmail.com> wrote in message
> news:uq#xXWEpFHA.3064@TK2MSFTNGP15.phx.gbl...
>> VFP7 application. Need to connect to web service, which is running
> locally
>> on the same PC. I have some sample code (I think it's .net) that I need
>> help converting to VFP for the objSdk and objError objects.
>>
>> Dim sHandle As String
>> Dim objSdk As New localhost.SmpSdk
>> Dim objError As New localhost.clsSdkError
>> sHandle = objSdk.SdkZLogin (cUser,cPassword, objError)
>> If (sHandle = "")
>> MsgBox ("Invalid Login")
>> Else
>> MsgBox ("Login Success")
>> End if
>>
>> TIA
>>
>>
>
>