Jump to content
Xtreme .Net Talk

How do you create a DLL from a WindowsApplication project?


Recommended Posts

Posted

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?

UCM

>-)

Posted
in the project properties, output type, I only have windows application and console application listed....I tried console application and same issue...

UCM

>-)

Posted

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

What I don't know keeps me excited...
  • 2 weeks later...
Posted

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?

UCM

>-)

Posted

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...

Howzit??
Posted

I don't have that listed in either the new project or new item lists :(

 

 

I only have vb.net standard...

UCM

>-)

Posted

*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...

UCM

>-)

Posted

Sweeeeet!!! and just when I was giving up too...

 

I'm gonna have to have a look around the tutors corner...

 

Thanx!!

UCM

>-)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...