How do you create a DLL from a WindowsApplication project?

UCM

Well-known member
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 cant create class libraries (dlls).
 
There is a command named Aximp, distributed with framework.
I think it uses assembly language to translate the dlls
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 dont know if it works with all the dlls, but it may be help you.
Let me know
 
That wont help with what hes trying to do. Thats to help with using COM DLLs from .NET.
 
Got something Simular To Work...

I created a user control ( first time tinkering withem ) 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, didnt 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 Im 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 cant create dlls. You could always experiment with the command-line compiler.
 
*sigh* I wish it would but owell...

Next time, Ill just have to get the whole vs package ;)

But for now, Ill use user controls to sorta get what im going for, thanx guys...
 
Back
Top