trapping error 339 in VB RunTime 
Author Message
 trapping error 339 in VB RunTime

Hi to all
I need to help from all people about a strong problem that I have.

I did a VB program that may work with a third party ocx control
I need to install my program  with or without ocx following the customer
request.
Of course when I try to run my program without ocx, program generates
run-time error 339 that I can't manage.
I can't registry the ocx module when my customer dosen't want to buy it
because ocx needs to license.

How can I trap the error and continue my application?

Thanks to all
Erik



Tue, 28 Aug 2001 03:00:00 GMT  
 trapping error 339 in VB RunTime
Lets see...

You should never open a form with the control on it if the control is not
registsered... and you should never in any function that can be called when
the control is not there use any types or constants from the OCX type
library.

VB is not very tolerant of using forms or functions that contain things from
references that do not exist.

Michael

Quote:

> Hi to all
> I need to help from all people about a strong problem that I have.

> I did a VB program that may work with a third party ocx control
> I need to install my program  with or without ocx following the customer
> request.
> Of course when I try to run my program without ocx, program generates
> run-time error 339 that I can't manage.
> I can't registry the ocx module when my customer dosen't want to buy it
> because ocx needs to license.

> How can I trap the error and continue my application?

> Thanks to all
> Erik




Tue, 28 Aug 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. trapping error 339 in VB RunTime

2. runtime error 339 - ocx not correctly registered

3. Runtime error 339 with msflxgrd.ocx

4. *** HELP! Runtime Error 339 ***

5. Runtime error 339, after exiting the program!!!

6. Runtime-Error 339 MSFLXGRD.OCX

7. Runtime Error '339'

8. Crystal Reports 6 & VB5 - runtime error 339

9. runtime error 339 with user defined ocx

10. Runtime error 339, after exiting the program!!!

11. Run Time Error '339'?

12. Server Components Not Correctly Registered (Error 339)

 

 
Powered by phpBB® Forum Software