> >
> > Steve is it Work for u?
> >
> >
> >
> > LOCAL loError,loObject,lFoundError as Logical
> > TRY
> > loObject = CREATEOBJECT("xx.xx")
> >
> > Catch To loError
> > lFoundError = .T.
> >
> > ENDTRY
> > IF lFoundError
> > =MESSAGEBOX("Register the Control First",0+64,"Info")
> > ENDIF
> >
> >
> >
> > Anil
> >
My Blog>
> Thanks Anil, I was saving that as last a resort (shoulda mentioned it). I hate to create an "error state" unless there is no other way to test and since the object is already part of the form I would be calling CREATEOBJ just to either trigger error or throw away object so was hoping for something a little more elegant
>
> Thanks for the pointer in your other message to the DLL register fnctino, I will give them a look see
>
> Steve Dingle
>
http://weblogs.foxite.com/SteveDingle/>
www.dsbusinesssolutions.co.ukSteve thats what u need :)
http://kbalertz.com/191638/Programmatically-Access-Registry-Visual-FoxPro.aspxAnil
My Blog