Jack

Thank you for your reply.  There are a couple of things you mention that 
I will certainly try

Regards

Paul Newton

Jack Skelley wrote:
> Paul:
> I am not familiar with ContourComponents but have used lots of ActiveX 
> components in VFP apps so here is my 2 cents...
> 1. If the control has a license string instead of coding it into the property 
> enter it in the init method of the form 
> e.g.  thisform.container.ocxcontrol.license = "the_license_string"
> 2. I have found that some ocx's do not like the threading of VFP; especially 
> those that work great in VB, C++, etc. I 
> had one activex that would hang every time is was called. I found that 
> triggering it through a timer event that the ocx 
> control now would work as expected.
> 3. Make sure the license string that is entered is correct. I had one not 
> work because it was case sensitive and I made 
> a finger fumble.
> 4. If there is a .dll associated with the .ocx make sure they are in the same 
> folder.
> 5. I have used some ocx's from MS that did not register with the setup 
> function that was in VFP6. So I had to register 
> the ocx manually. I don't know the reason for this...
> 6. Unregister the ocx then sweep the registry looking for any trace of it and 
> remove it maually then re-register. I 
> wrote for fun and app using VFP to play MP3 files using the media player's 
> activex component. When Media Player 9 came 
> out (and later 10) the app stopped working with an error message pointing to 
> media player 8. So every time there us an 
> update to MP 10 I must re-register the ocx for MP 8 which does not effect MP 
> 10.
> I don't know if any of this is applicable to your app but these are some 
> issues I have had *along the way* with ActiveX 
> in VFP apps.
> Regards,
>
> Jack Skelley
>   




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to