cancel
Showing results for 
Search instead for 
Did you mean: 

first chance exception occured in myapp.exe

Former Member
0 Kudos

Hi experts,

I'm noob in b1 add on development. Now i'm using B18.8 PL14 on Window 7 Home Premium and also with Visual Studio 2008 PE

When i creat new instance for Company of SAPbobsCOM, i'm facing this exception, A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in myapp.exe. But when i tested in other enviroment, MyApp run smoothly. So what's the problem of this exception.

Regards,

chan

Edited by: channyeinkyaw on Oct 28, 2010 10:33 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Chan,

I think this is an warning and not an error else you program did not build.

You can ignore this warning or setting a try catch arround your instance call.

Search for it on internet: try catch COMException

HTH Regards Teun