473,326 Members | 2,048 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,326 software developers and data experts.

Faster method

Hello!

Anybody knows a faster method for adding toolbox items to the IDE
toolbox programatically? At the moment I am using the
ToolBox.ToolBoxItems.Add (...), but since all the componets I need to
add are in the same DLL, I would like to know if there is a way of
adding all controls from assembly in one step, without loading ,
freeing the dll for every added item. SOmethign like AddAllItems(string
DllPath). Is there such thing?
TIA,
Christina Androne

Nov 15 '05 #1
3 1221
Christina,

Unfortunately no, there is not. You might want to try loading the
assembly yourself, and then calling the Add method for each type you want to
add. It might spare some overhead.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Christina Androne" <ac********@home.ro> wrote in message
news:uZ**************@TK2MSFTNGP09.phx.gbl...
Hello!

Anybody knows a faster method for adding toolbox items to the IDE
toolbox programatically? At the moment I am using the
ToolBox.ToolBoxItems.Add (...), but since all the componets I need to
add are in the same DLL, I would like to know if there is a way of
adding all controls from assembly in one step, without loading ,
freeing the dll for every added item. SOmethign like AddAllItems(string
DllPath). Is there such thing?
TIA,
Christina Androne

Nov 15 '05 #2
Thanks a lot for your answer,

Christina Androne
Nov 15 '05 #3
There is a really good book Inside Visual Studio.net that
you may like.

I Added everything the way you did.

"Christina Androne" <ac********@home.ro> wrote in message
news:uZ**************@TK2MSFTNGP09.phx.gbl...
Hello!

Anybody knows a faster method for adding toolbox items to the IDE
toolbox programatically? At the moment I am using the
ToolBox.ToolBoxItems.Add (...), but since all the componets I need to
add are in the same DLL, I would like to know if there is a way of
adding all controls from assembly in one step, without loading ,
freeing the dll for every added item. SOmethign like AddAllItems(string
DllPath). Is there such thing?
TIA,
Christina Androne

Nov 15 '05 #4

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

Similar topics

12
by: Kamilche | last post by:
I was looking for a way to speed up detecting invalid characters in my TCP string, and thought of yet another use for the translate function! If you were to 'translate out' the bad characters, and...
9
by: windandwaves | last post by:
Hi Folk My question is: echo all the time vs echo at the end - what is faster Let me explain I used to write pages like this: echo "<head> ";
65
by: Skybuck Flying | last post by:
Hi, I needed a method to determine if a point was on a line segment in 2D. So I googled for some help and so far I have evaluated two methods. The first method was only a formula, the second...
43
by: Mountain Bikn' Guy | last post by:
I have a situation where an app writes data of various types (primitives and objects) into a single dimensional array of objects. (This array eventually becomes a row in a data table, but that's...
2
by: kids_pro | last post by:
Hi there, When class construct it read content from XML file and store it in ArrayList. In my class I had implement Search method using BinarySearch behind. I want to implement another Method...
12
by: Tim Frawley | last post by:
I have a method for testing variable length strings for all digits: Dim ch As String Dim i As Integer AllDigits = True For i = 1 To Len(txt) ' See if the next character is a non-digit. ch =...
10
by: Extremest | last post by:
I know there are ways to make this a lot faster. Any newsreader does this in seconds. I don't know how they do it and I am very new to c#. If anyone knows a faster way please let me know. All...
11
by: ctman770 | last post by:
Hi Everyone, Is it faster to save the precise location of an html dom node into a variable in js, or to use getElementById everytime you need to access the node? I want to make my application...
12
by: karthikbalaguru | last post by:
Hi, How is 'Int' Faster than 'Char' ? I think , 'Char' is small and so it should be easily & efficiently . Can someone here provide some info regarding this. Thanks and Regards, Karthik...
12
by: brey_maastricht | last post by:
Dear all, I'm trying to rewrite a Java program into C++. The Java programm works fast but I hoped that C++ would even be faster. But that is not the case ! (to be complete: both the Java and...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.