473,410 Members | 1,857 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,410 software developers and data experts.

Dll basic question

JM
Hi,

I have create several Dll to be used in my programs. Until now each Dll
contains only one class (with several functions inside), my question is:

Is by any means possible to create a Dll with several classes inside?, if
so, How?.
That is: I need something like: "MyDll.MyClass1.MyFunction1" but also
"MyDll.MyClass2.MyFunction5"

Thanks,

Jamie
Aug 5 '06 #1
4 920
Hi Jamie,

create a new project an copy all your classes to it. Compile and be happy.
The way to acccess the classes is fully right.

Greeting, Lars
"JM" <jm**@ya.comschrieb im Newsbeitrag
news:O5**************@TK2MSFTNGP06.phx.gbl...
Hi,

I have create several Dll to be used in my programs. Until now each Dll
contains only one class (with several functions inside), my question is:

Is by any means possible to create a Dll with several classes inside?, if
so, How?.
That is: I need something like: "MyDll.MyClass1.MyFunction1" but also
"MyDll.MyClass2.MyFunction5"

Thanks,

Jamie

Aug 5 '06 #2
"JM" <jm**@ya.comschrieb:
I have create several Dll to be used in my programs. Until now each Dll
contains only one class (with several functions inside), my question is:

Is by any means possible to create a Dll with several classes inside?, if
so, How?.
That is: I need something like: "MyDll.MyClass1.MyFunction1" but also
"MyDll.MyClass2.MyFunction5"
Yes, simply add additional classes to your class library project.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Aug 5 '06 #3
Or, you clould wrap all of the individual classes into one namespace....
(Namespace ... End Namespace)

Then, an end user only has to know the name of the namepsace and can
navigate thru from there....

--
Grumpy Aero Guy

"JM" <jm**@ya.comwrote in message
news:O5**************@TK2MSFTNGP06.phx.gbl...
Hi,

I have create several Dll to be used in my programs. Until now each Dll
contains only one class (with several functions inside), my question is:

Is by any means possible to create a Dll with several classes inside?, if
so, How?.
That is: I need something like: "MyDll.MyClass1.MyFunction1" but also
"MyDll.MyClass2.MyFunction5"

Thanks,

Jamie

Aug 5 '06 #4
Hello Grumpy,

Right, because popping up the Object Browser is too difficult, so instead
the library designer should dis/de-organize their library. Use as many namespaces
as seems logical to organize your classes. If people are too stoopid to
use the tools given them, hell with em.

-Boo
Or, you clould wrap all of the individual classes into one
namespace.... (Namespace ... End Namespace)

Then, an end user only has to know the name of the namepsace and can
navigate thru from there....

"JM" <jm**@ya.comwrote in message
news:O5**************@TK2MSFTNGP06.phx.gbl...
>Hi,

I have create several Dll to be used in my programs. Until now each
Dll contains only one class (with several functions inside), my
question is:

Is by any means possible to create a Dll with several classes
inside?, if
so, How?.
That is: I need something like: "MyDll.MyClass1.MyFunction1" but also
"MyDll.MyClass2.MyFunction5"
Thanks,

Jamie

Aug 6 '06 #5

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

Similar topics

6
by: pauldepstein | last post by:
I am reading Grimshaw and Ortega's "C++ and Numerical Methods." They construct a vector class which contains the variable vec, a float* variable where the length of the array (number of...
6
by: DH | last post by:
I have a VERY basic question about figuring database size. I've inherited a database which is generally similar to this basic one: Item, Red, Blue, Green, Yellow (text), (int),(int),(int),(int)...
9
by: Malcolm | last post by:
After some days' hard work I am now the proud possessor of an ANSI C BASIC interpreter. The question is, how is it most useful? At the moment I have a function int basic(const char *script,...
4
by: Ramesh | last post by:
hi, Let me ask some basic questions. Can anybody explain me about the following questions: 1. When we have to create sn key? Whenever we compiled Component we have to create or it is a one time...
13
by: Pete | last post by:
I'm cross posting from mscom.webservices.general as I have received no answer there: There has been a number of recent posts requesting how to satisfactorily enable BASIC authorization at the...
5
by: Aussie Rules | last post by:
Hi, Having a mental block on this one. Have done it before but can't rack my brain on how... I have an object, with a bunch on property, and I add that object to a combo box. I want the...
4
by: MikeB | last post by:
I've been all over the net with this question, I hope I've finally found a group where I can ask about Visual Basic 2005. I'm at uni and we're working with Visual Basic 2005. I have some books, ...
1
by: frankhanretty | last post by:
Do I have to install Visual basic on the remote terminals as I did on the server? I have an visual basic 5 application running fine on my client's server and he is now networked. He wants to run the...
4
by: Chris Asaipillai | last post by:
Hi there My compay has a number of Visual Basic 6 applications which are front endeed onto either SQL Server or Microsoft Access databases. Now we are in process of planning to re-write these...
3
by: Scott Stark | last post by:
Hello, I'm trying to get a better handle on OOP programming principles in VB.NET. Forgive me if this question is sort of basic, but here's what I want to do. I have a collection of Employee...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.