How do you create a DLL from a WindowsApplication project?

UCM

Centurion
Joined
Jan 1, 2003
Messages
135
Location
Colorado, usa
Basically, I have started work as a regular WindowsApplication ( .exe ) and would like to save it as a DLL so that I can use the completed solution in other applications...

btw, how would I reference this completed solution in other WindowsApplication projects?
 
Go to project properties, and change the output type to Class Library. You can then reference the DLL compiled from other projects.
 
in the project properties, output type, I only have windows application and console application listed....I tried console application and same issue...
 
Do you have VS.NET standard edition? If so, I hear that simply can't create class libraries (dlls).
 
There is a command named Aximp, distributed with framework.
I think it uses assembly language to translate the dll's
Run it from DOS (i.e. aximp C:\agentctl.dll) and it will create some files that will be accessible from Vb Add Reference.
I don't know if it works with all the dll's, but it may be help you.
Let me know
 
Got something Simular To Work...

I created a user control ( first time tinkering with'em ) and added in my code...As soon as I created the control, I noticed at the end under Windows Forms in the toolbox, my control was present and ready to use...

Thought that was pretty nifty, didn't know vs would do that...

Another sweet thing about that is that when I drew the control on a blank form1 and the properties window lists every property that I made 'Public'...

This is basically what I'm going for, however, the ability to export the control in like a dll or an exe would be most invaluable to many of my future projects...

Any idea how Ican do that with the standard vb.net?
 
You can create a new Windows Control Library project.
(Create new project - you will find it under templates)
This is a dll, that can be referenced by other projects...
 
I said already, that the standard edition can't create dlls. You could always experiment with the command-line compiler.
 
*sigh* I wish it would but owell...

Next time, I'll just have to get the whole vs package ;)

But for now, I'll use user controls to sorta get what i'm going for, thanx guys...
 
Back
Top