Yes you can. See
http://west-wind.com/presentations/VfpDotNetInterop/DotNetFromVFP.asp.
I played with it and it works as long as no error conditions occurs during execution because there's no error handling included in the code. For example, it just hangs up if there's no blank CD in the CD-Writer.
>Hi all!
>
>During the last month I been surfing the internet for a DLL that allow me burn Cd in the XP operating System. I found a Dll in the microsoft download area that was writen for .net. I try to register the dll and got a common error like did not find the initial entry.
>
>The same component came with a C# code and project.
>
>Anybody know if I can compile this c# project and create a Dll that can be register and be exposed for VFP.
--sb--