• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

References not working? urgent

OK I am just messing around in visual basic looking at all the possible .dll files I can reference and I find some interesting ones...ok I can add the reference and I can declare the refrences but I always get an error saying the it failed...I added a link of a video you can watch of what I am doing..can someone tell me why this isnt working or what I am doing wrong and maybe tell me how to do it the right way??


'This is the link to the video you can watch me in real time...

http://www.members.lycos.co.uk/optonline/vbhelp/ref.wmv

Thanks!
0
nffvrxqgrcfqvvc
Asked:
nffvrxqgrcfqvvc
  • 4
  • 3
1 Solution
 
nffvrxqgrcfqvvcAuthor Commented:
0
 
Shiju SasidharanCommented:
hi
try to add Media Player Control to ur form
and try
0
 
PaulHewsCommented:
Probably AOL just adds a check to see what program is using the control and raises an error if it isn't their client program.  It isn't unusual for businesses to add restrictions to active x components to ensure that they only run in the context they want them to run in.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
nffvrxqgrcfqvvcAuthor Commented:
So there no way I can use these references?
I even tried declaring as Objects but it dont work
0
 
PaulHewsCommented:
I notice you're adding a reference to a type library.  You might try adding other references or components to the project and experimenting with them.  But I'm betting AOL has coded them so that they do not work in your VB client.
0
 
nffvrxqgrcfqvvcAuthor Commented:
Its not just AOL library's im trying to reference..i tried yahoo references for the messenger I tried alot of program references but I get the same error and in some cases I get Active X cant create object..i suppose i need specific rights to access these DLL files. just curious if i was doing something wrong..
0
 
nffvrxqgrcfqvvcAuthor Commented:
Paul Hews..almost always the reference without Type library work sometimes..and sometimes they cant be referenced at all? what is the difference betweeen a type library and the other references?
0
 
PaulHewsCommented:
A type library describes what objects can be created from a specific COM library.  It is primarily descriptive, but it allows early binding to exposed COM types.  These are not always needed as some COM components contain the descriptive information within the compiled component, like an Active X DLL.  When you've got an undocumented component or type library, the only way to find out if you can use it is to try it.  All too often you will find that you cannot use it, as the developers have placed restrictions on its use.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now