473,394 Members | 1,794 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

generating a form from a .dll

I saw a thread on this a few days ago; can't find it now.

Here's the issue: can you create a form, complete with controls, events,
etc, directly from a .dll. I have used .dll's to reduce code and size in
the main exe, but never a form, because, on the surface, it appeared to be
too involved, but can it be done? What's involved?

Tx for any help.

Bernie Yaeger
Nov 20 '05 #1
4 781
* "Bernie Yaeger" <be*****@cherwellinc.com> scripsit:
Here's the issue: can you create a form, complete with controls, events,
etc, directly from a .dll. I have used .dll's to reduce code and size in
the main exe, but never a form, because, on the surface, it appeared to be
too involved, but can it be done? What's involved?


Should work -- what's the problem?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
You create a library and then add a reference to the library in your project
and create an inherited form.

Regards - OHM
Bernie Yaeger wrote:
I saw a thread on this a few days ago; can't find it now.

Here's the issue: can you create a form, complete with controls,
events, etc, directly from a .dll. I have used .dll's to reduce code
and size in the main exe, but never a form, because, on the surface,
it appeared to be too involved, but can it be done? What's involved?

Tx for any help.

Bernie Yaeger


Regards - OHM# OneHandedMan{at}BTInternet{dot}com
Nov 20 '05 #3
Tx OHM - I'm going to give it a try.

Bernie

"One Handed Man [ OHM# ]" <OneHandedMan{at}BTInternet{dot}com> wrote in
message news:uU****************@TK2MSFTNGP09.phx.gbl...
You create a library and then add a reference to the library in your project and create an inherited form.

Regards - OHM
Bernie Yaeger wrote:
I saw a thread on this a few days ago; can't find it now.

Here's the issue: can you create a form, complete with controls,
events, etc, directly from a .dll. I have used .dll's to reduce code
and size in the main exe, but never a form, because, on the surface,
it appeared to be too involved, but can it be done? What's involved?

Tx for any help.

Bernie Yaeger


Regards - OHM# OneHandedMan{at}BTInternet{dot}com

Nov 20 '05 #4
Hi Herfried,

No problem - I'm just being a coward. I'll try it!

Tx
Bernie
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:um****************@TK2MSFTNGP09.phx.gbl...
* "Bernie Yaeger" <be*****@cherwellinc.com> scripsit:
Here's the issue: can you create a form, complete with controls, events,
etc, directly from a .dll. I have used .dll's to reduce code and size in the main exe, but never a form, because, on the surface, it appeared to be too involved, but can it be done? What's involved?


Should work -- what's the problem?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Xah Lee | last post by:
# -*- coding: utf-8 -*- # Python # David Eppstein of the Geometry Junkyard fame gave this elegant # version for returing all possible pairs from a range of n numbers. def combo2(n): return...
17
by: flupke | last post by:
Hi, i create my GUIs mainly via wxGlade. However when you start of to program and want to do some rearranging to the gui, wxglade overwrites your file and you've got to put your own code back...
4
by: Justin Lebar | last post by:
Sorry about the huge post, but I think this is the amount of information necessary for someone to help me with a good answer. I'm writing a statistical analysis program in ASP.net and MSSQL7 that...
3
by: Le, Thanh-Nhan | last post by:
Hi, I am a beginer in .NET. Is there an assistant or a free tool as in VB6 for generating a complete project frame in VS .NET. Thanks Nhan
7
by: Venus | last post by:
Hello, I am trying to generate a dynamic form at runtime and would like to do it using "<asp: ..." form elements as follows Build up the string that is placed somewhere in the HTML code the...
4
by: Bill J | last post by:
Hi Everyone, Is there a way of generating a keyboard character event and sending it to a control on a form? For example, if I have a menu item called "Delete", I would like to send a DEL...
0
SammyB
by: SammyB | last post by:
These are some "random" thoughts about generating random numbers in Visual Basic. Wikipedia will give a better introduction than I, see http://en.wikipedia.org/wiki/Random_number_generator. ...
3
by: deciacco | last post by:
I'm trying to write a label printing SDI app with a small preview on the main form itself. Every time I run the InvalidatePreview event on the preview control to redraw the preview I get the...
1
by: Krimp | last post by:
I pulled this code from Vbasic.net or generating random passwords. I want to know how I can set up so that each time the page is refreshed a new password is generated without having to fill in the...
1
by: Lelu | last post by:
Hi, My HTML form is generating some blank email responses; does anyone see anything wrong with the scripts?: function isFormVarExcluded(thisForm, strToCheck) { var strExcludeVars =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.