Visual Basic .NET Forums  
Click here to advertise with us

Go Back   Visual Basic .NET Forums > Visual Studio .NET > Testing, Quality Control, Debugging

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-06-2009, 10:14 PM
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Jul 2009
Posts: 2
Reputation: 0
technonewbie is on a distinguished programming path ahead
Default Debugging COM interop with Visual Studio 2005

Hello Everyone,

I am out of ideas, and I would like to see if you could guide me.

It happends that I need to create a Visual Basic.NET GUI for a VB6 application. I already registered the COM DLL and reference it properly. However, when I debug the application, it is giving me an OutofMemory handling error in one of the methods of my COM object.

Until now, it has been really difficult to know what is triggering the error since I can not step into the COM method where the error is been triggered. By chance, do you know if it is possible to use the Visual Studio 2005 debugger to step into the COM interop?

Any help or new ideas will be appreciated.

Thanks

PS just as a note, the VB6 application has already been tested with a VB6 interface and is working correctly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-08-2009, 4:36 PM
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Jul 2009
Posts: 2
Reputation: 0
technonewbie is on a distinguished programming path ahead
Default OutOfMemoryException when loading Form of COM component

Hello everyone,

I am creating a .NET GUI interface for a COM application, and I have already registered and referenced correctly the COM files.

The program has to load a Form from the COM files; however, it triggers an OutOfMemoryException when it tries to open the form. The same COM application loads perfectly the form using a user interface designed with VB6, so I do not think is a memory issue the one that is triggering the error.

Do you have any ideas why the error is happening?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
com interop, debugging, unmanaged code


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 12:16 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


For advertising opportunities click here.