Make sure you register the FoxUtil.dll with REGSVR32.EXE.
To install on deferent PC make sure the VFP Run Time is install.
Use the VFP Setup wizard to create a install Setup.exe.
>>Create a VFP dll using code like the code below.
>
>Joe -
>
>I am trying to do the same thing. I followed your advice and created a VFP dll. I tried to reference the dll but I received an error that "Can't add a reference to the specified file". It will allow me to add a reference to the tlb. That works great except when I create the install it doesn't work on the machine I installed too.
>
>I tried adding:
>
>Private Declare Function lib "c:\foxutil.dll" and that seems ok but when I run the program I get "Can't find the entry point" error.
>
>I'm new at creating dlls and using them in a vb program. Can you give me some direction on what I need to do to get this to work?
>
>Thanks,
>
>Nichole Brelje