Can't Access Enums
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
4 posts
Page 1 of 1
I have a DLL file with this code
Why?
Code: Select all
I made a program and referenced the DLL but sometimes when i try to access that Public Enum in the DLL file i get File Not Found Error (MyApp\Bin\MyLibrary.dll)Public Class Class1
Public Enum Hello
One
Two
Three
End Enum
End Class
Why?
You can find me on Facebook or on Skype mihai_92b
i think for that very short code, its better to use a MODULE instead of making DLL, where-in module can be accessed easily and no need for reference. ...
THAT'S ONLY MY IDEA TO MAKE CODING FASTER AND REDUCE HEADACHES, YOU GONNA HAVE TO FIND A WAY TO MAKE A SOLUTION BEFORE YOUR MIND ALMOST EXPLODE FROM TOO MUCH THINKING..
THAT'S ONLY MY IDEA TO MAKE CODING FASTER AND REDUCE HEADACHES, YOU GONNA HAVE TO FIND A WAY TO MAKE A SOLUTION BEFORE YOUR MIND ALMOST EXPLODE FROM TOO MUCH THINKING..
If you acces Public Enum you should state Public Enum Hello since that is the full name of the Enum?
Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
The application will normally look in the same folder for that DLL file reference.
If you put it in the same folder as the application do you still get the error?
If you put it in the same folder as the application do you still get the error?
4 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023