By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,022 Members | 856 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,022 IT Pros & Developers. It's quick & easy.

PAssing Variant datatypes from .net to com

P: 1
Hi

I am using both VB.2005 express and professional and need to access a COM server which requires a variant paramter.

I have referenced the com dll and have seen some examples where a variable can be decalred as a variant in .net which is not supported in the .net framework. If I try and do anything with the com interfaces which require a variant intellisense uses the interop mapping and prompts for an object I have tried importing various .net namespaces.

What references/imports do I need to set to be able to declare a variable as a Variant type in .net.

Alternatively do I need to use a Com Class in my .net app?

Thanks

Tel
May 8 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.