>>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
I know we went back and forth off line on this. Did you get it resolved?
~Joe Johnston USA
"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams