HighTechTalks DotNet Forums  

Migrating Com Componets

VB.net Upgrade microsoft.public.dotnet.languages.vb.upgrade


Discuss Migrating Com Componets in the VB.net Upgrade forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Juan Pablo Garza
 
Posts: n/a

Default Migrating Com Componets - 08-23-2006 , 08:17 AM






I have a VB dll which has one class which exposes a collection. Now i want
to use that collection in ASP.Net page. What i did was following.

I converted VB dll to .Net compatible dll with TlbImp utility and then i
referenced that dll into my ASP.Net project. Everything works fine with the
dll except this collection problem. Following is the code

Dim mycol As VBA.CollectionClass
mycol = objQRQuestionInfo.CollQPartInfo()

Where CollQPartInfo function returns a VB collection object.
Now what i see in .Net IDE is objQRQuestionInfo.CollQPartInfo is under lined
and the message i see is "Reference required to assembly VBA containing the
type VBA.Collection". But i have reference set to VBA.
Do i need to do anything extra? Please help
Thanks and regards



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.