>Trying to clarify my understanding :
>
>I have a function in VB .net (checks to see the current status of a printer) Receives a param of type string, returns an integer. I would like to create a DLL that I can call from VFP to get that integer after passing it the string.
>
>Do I just put the function in a module, compile it as a DLL, register it, and the do a oprinterchecker=creatobject('Printerchecker')
>lnstatus=oprinterchecker.PrintStatus("\\server\LaserPrinter")
>
>or is there something else I need to be thinking about?
>
>TIA
Looks like Tracy is on the same page as you
Accessing a C# .NET com interop dll from VFP Thread #
1324166 Message #
1324166
If it's not broken, fix it until it is.
My Blog