Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call VFP function from .NET C# code?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01612997
Message ID:
01613031
Views:
57
>>The function is cipher() which was created by Sergey Berezniker. I use this function in my VFP application to encrypt the password field. To make this field compatible with ASP.NET app I need to have this function. It is probably possible to write this function in C# but I don't have enough knowledge of C# to do it. This is why I thought that if I could create DLL or EXE with VFP (that has this function) I could then call it from ASP.NET.
>>
>>>What function is it? Surely it can be duplicated in C#.
>>>
>>>
>>>>If I want to use a VFP function in my ASP.NET program (using C#), how can I call it (if possible)?
>>>>
>>>>TIA
>
>This is for an ASP.NET application? Why not just use built in Forms Authentication capabilities?

As I mentioned the fields I need to access from ASP.NET are encrypted with VFP cipher function (created by Sergey B.). And did find my conversion of the VFP code into the C# code. I simply forgot that I already did it some months ago.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform