Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 X Corel Phot-Paint

Status
Not open for further replies.

MarcCama

IS-IT--Management
Mar 14, 2003
62
BR
I made an application in VB6 that uses Corel Photo-Paint version 8, through the function "CreateObject".
After some executions of the object, Photo-Paint finishes abnormal and the Windows show the message: "Exception Information".
Does anybody know why occurs this error?

Thanks,
 
By "some executions of the object" do you mean running it several times? If so, it may not be getting closed properly when it finishes. Use Ctrl-Alt-Del to go into TaskManager and look for it under Processes (not applications). You will likely find multiple instances open which may be leading to the problem you describe.

Good luck! BlackburnKL
 
When I said that after some executions of the object the program finishes abnormal, I want to say that this happens in the same execution of the program.
In the beginning of the application the object is created through the command:
Set Controle_PhotoPaint = CreateObject (CorelPhotoPaint.Automation.8 ")
And the program doesn't close the object during the execution.
Therefore, the object is loaded in the memory.

Thanks.
 
Hmmm.... I'm not sure what the problem would be then. Any other ideas out there? BlackburnKL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top