Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.NET .DLL error with VFP
Message
From
05/02/2015 17:05:58
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COMCodebook
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01614786
Message ID:
01614937
Views:
25
>>
>>but I couldn't use binding way. My service references name is Sorgula, I put Sorgula ;
>>
>>var client = Sorgula(binding, new EndpointAddress("http://www.nameofthewebsitehere.com"));
>>
>>gives error: 'TCKimlik.Sorgula' is a 'namespace' but is used like a 'variable'
>
>You're missing the "new" in front of it.
>
>
>var client = new Sorgula(binding, new EndpointAddress("http://www.nameofthewebsitehere.com"));
>
>
>Just be aware that the class name might not match what you're currently using; I usually just type: var client = new S - then wait for the intellisense to pop up, then I'll go through the list of class names that sound like what I want and have the constructor parameters I want to pass. So don't be surprised if you have to do something like var client = new SorgulaClient(binding, new EndpointAddress("http://address.com"); or some other variant.

I'll try this, in the other case myexe.app.config worked for me. I today learned export dataset to xml string and send to VFP. Seem dataset objects can't read at VFP directly. Tomorrow I'll try find out how get tables from datasets have more than one table. I pushed .net from me since years, but beginning not so bad for now... :)
Previous
Reply
Map
View

Click here to load this message in the networking platform