ABOUT VB IAD - very confusing

  • Thread starter Thread starter James
  • Start date Start date
J

James

I m really confused. In MSDN SDK, they show examples of declaration below.
When i try this on vb2003.net at console applications, it does not seems to
work. do i need to impport namespace ? Pls advise

Below is always underline by vb.net 2003

Dim ads As IADs

Dim cls As IADsClass
 
James,

You will not believe it, however not everybody knows what IAD is, I did not
know it as well if I had not searched for it on MSDN. Most newsgroupreaders
will help you, if you create clear questions, so my advice to you is to tell
that next time if you want answers.

You will for sure have to add a reference to the namespace for that USB
class. I don't know what it is so have a look yourself on MSDN for that.

Setting a reference you do by selecting Projects and than Add references.

Than you can set an Import in top of your program, or type it every time
with its full namespace name.

I hope this helps,

Cor
 
is there a USB class ? i can't find when adding a reference from .net. What
is the exact name for reference ?
 
James,

I wrote "that" USB class, I had the idea that I had read that IAD was USB
related.

If it is not, than search for that IAD class or whatever name it has.

Cor
 
i manage to find the answer.

u reference - add com, Active DS Type library

in .net, u "imports activeds"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top