vb.net A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in ms

Posted by prasoon99 on Stack Overflow See other posts from Stack Overflow or by prasoon99
Published on 2010-04-19T04:45:43Z Indexed on 2010/04/19 4:53 UTC
Read the original article Hit count: 632

I just installed Visual Basic 2010 Express.

I created a simple console application:

Module Module1

    Sub Main()
        Dim i As Integer
        i = 0
    End Sub

End Module

I'm getting the following error SIX times before I get to line "i = 0":

A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll

Can anyone help? Why is this happening? Is there something wrong with my configuration?

-Prasoon

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about first-chance-exception