|
-
Feb 16th, 2010, 06:08 PM
#1
Thread Starter
Member
Install a VB Lib?
How do you install VB Libs ? the .DLL's ?
-
Feb 16th, 2010, 06:34 PM
#2
Re: Install a VB Lib?
Use the Project dropdown on the menu bar.
Project > Add Reference...
Then go to the Browse tab, navigate to your DLL(s), select it/them and press OK. Now you can reference it with the root namespace name, usually the name of the DLL.
(For example, if I add a reference to MyLib.dll with a class MyClass in it, you can reference it by using MyLib.MyClass.)
-
Feb 16th, 2010, 08:57 PM
#3
Re: Install a VB Lib?
What exactly do you mean by "install"? Are you talking about when you deploy your EXE? If so then you simply deploy the DLLs with it. There are various ways to do that, depending on your needs and wants.
-
Feb 17th, 2010, 03:41 AM
#4
Thread Starter
Member
Re: Install a VB Lib?
I tried to install the MenuSkinner thing here http://dotnetrix.co.uk/controls.htm
but I can't find the 'Icon on MenuSkin1' option.
-
Feb 17th, 2010, 06:15 AM
#5
Re: Install a VB Lib?
There's no actual installation required. If the download has an installer then you can run that and it will handle installation for you but, otherwise, all you have to do is save the DLL file to your machine somewhere. You can then add the component(s) the DLL contains to the Toolbox with a right-click, allowing you to then add an instance to your forms like you do any other WinForms component. Adding an instance to your form will handle adding the reference for you, or else you can add the reference manually as minitech described.
-
Feb 17th, 2010, 07:31 AM
#6
Thread Starter
Member
Re: Install a VB Lib?
I did what you said, and it added it to the toolbox, but in the image I showed earlier, there is still no 'Icon on MenuSkin1' option. No other options as the LIB says. And there is no 'Dynamic Properties' there either. What could I be doing wrong ?
-
Feb 17th, 2010, 08:32 AM
#7
Re: Install a VB Lib?
I just looked closer at that page you linked to and it's showing properties for a MenuItem. That would require you to be using a MainMenu and/or a ContextMenu. While those classes still exist, they have been superseded by the MenuStrip and ContextMenuStrip classes. Which are you using? If you're not using the old classes then you can't use that skinning component.
That said, you don't really need to for those classes. The ability to supply a custom renderer is built into those classes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|