|
-
Jul 14th, 2011, 04:15 AM
#1
Thread Starter
New Member
lil error i can't figure out.
hello guys! i keep getting this error
"Warning 1 Could not resolve this reference. Could not locate the assembly "Dotnetrix.TabControl". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors."
and i have no idea how to fix it. i need to use the dotnetrix.tabcontrol.dll for what im trying to do, but i can't build the program. i can debug it though. haha i am a complete newbie to visual basic but this seems to be my only problem so far. hope someone can help!
thanks, eddie.
-
Jul 14th, 2011, 04:37 AM
#2
Re: lil error i can't figure out.
You added a reference to an external assembly (.dll file). Once you have added a reference, you can tell it to copy it locally, check here for how or you must ensure it is included in an install of some sort, or is already installed before your app.
-
Jul 14th, 2011, 04:39 PM
#3
Thread Starter
New Member
Re: lil error i can't figure out.
i pretty much did what the link yo gave me told me to do. here are the settings that were already there.

how do i properly install this dll? all i did when i downloaded it was drag and drop the dll file into the toolbox and it appeared as one of my tools. then i just put it into my project. ahah like i said i really don't know what im doing but this seems to be my only problem, this darn dll.
thanks for the help!
-
Jul 14th, 2011, 05:11 PM
#4
Re: lil error i can't figure out.
Maybe you are confusing me with your terms. So far you have described an error you could get while creating your application, but possibly, you are asking us to help you when you distribute your application to another machine?
The copy local, should as the name suggests, copy that .dll file into your output folder. If you want to release your app, this .dll has to go with with it. If you are just copying and pasting the .exe, then just add the .dll as well. If you are using something like oneclick, thats a different set of steps.
-
Jul 14th, 2011, 05:30 PM
#5
Re: lil error i can't figure out.
Try performing a Build on the project and see if the error goes away. That sometimes actually fixes it.
-
Jul 14th, 2011, 06:11 PM
#6
Thread Starter
New Member
Re: lil error i can't figure out.
hmmm. i deleted the project i had been working on since i totally screwed it up. decided to make a test project and see if it would build and it did with no error. i'll try to make the old project over again and see if the error appears again. this time i'll be recording what happends lol. sorry im not good at explaining things im new at but i made the project on my laptop and once was finished i tried to build it and i got that error. thanks for the help guys and i'll post back when i redo my whole project and see if i get the error again
thanks!!!
-
Jul 14th, 2011, 07:21 PM
#7
Thread Starter
New Member
Re: lil error i can't figure out.
ok i didn't get the error this time but i do have 1 last question, is there a way where i can put the custom dll inside of the application so i don't have to have the dll in the same folder in order to run the app? i hope you understand what i'm trying to say.
thanks again
-
Jul 15th, 2011, 03:20 AM
#8
Re: lil error i can't figure out.
Yes, I understand, and no, is the answer. The second you attempt to use the dll file, it needs to be available. If you have declared anything globally, that will be the same second your app starts. I have read that your .dll must be available before the app even starts, but I can not be bothered to check, they need to exist, so why make my life difficult .
-
Jul 15th, 2011, 04:06 AM
#9
Thread Starter
New Member
Re: lil error i can't figure out.
haha you make me smile. thanks for all the help. all of my issues/questions have been resolved.
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
|