TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kevin Davis
NA
52
51.1k
Help with converting from a Windows App to a .dll???
Aug 13 2011 1:42 PM
Hello everyone,
I have created a little test project in a windows form app. It consists of 1 form (form1) and a class file (cities.vb)
It works perfectly fine as a Windows app, but when I try to convert it to a .dll, it states an error in my cities class file as "Error 1 Reference to a non-shared member requires an object reference." Ok. That's fine and dandy, I add the typical "dim form as new form1" in the cities class file, and it compiles to a .dll just fine. When I add the .dll to another project, and call the .dll, it doesn't perform the actions I need it to, and what works perfectly fine as a windows app, doesn't function as a .dll.
I have attached both the working and non-working files for your review. What am I missing? I just know it's something little. Or what am I doing wrong? Or what could be done better? Thanks for any help.
Kevin
Attachment:
vbfiles.zip
Reply
Answers (
2
)
Using Canny to draw edge of Image
Sound comparison in C#