This is for a utility that I am writing to update all of our Excel reports.
I currently have a form with a couple list boxes and browse buttons. One
browse button allows the user to add the XLS files they want to update and
inserts the paths into the corresponding list box. The second browse button
allows the user to select the module (BAS, CLS, FRM) files they wish to
insert or update in those Excel files and put them into the other list box.
I would like to have a CheckedListBox that fills with all COM references
available on the current system. This would be filled upon Form_Load.
Basically it's just like the form that's in Excel which allows you to add
references except the list of items is displayed on my form. I don't know of
a Reference Collection that contains all the COM references. If I did I
could use that to fill the CheckedListBox. Does anyone know how I can
accomplish this task?
Any help would be appreciated! Thanks for the help in advanced!
Bryan 3 1562
You have to create this collection yourself using Win32 COM API functions.
You might want to check first topics on com registry entries http://msdn.microsoft.com/library/de...m/reg_9ann.asp
and on LoadTypeLib/LoadTypeLibEx in Platform SDK
HTH
Alex
"Bryan" <bm****@elite-oregon.com> wrote in message
news:up******** ******@TK2MSFTN GP11.phx.gbl... This is for a utility that I am writing to update all of our Excel
reports. I currently have a form with a couple list boxes and browse buttons. One browse button allows the user to add the XLS files they want to update and inserts the paths into the corresponding list box. The second browse
button allows the user to select the module (BAS, CLS, FRM) files they wish to insert or update in those Excel files and put them into the other list
box. I would like to have a CheckedListBox that fills with all COM references available on the current system. This would be filled upon Form_Load. Basically it's just like the form that's in Excel which allows you to add references except the list of items is displayed on my form. I don't know
of a Reference Collection that contains all the COM references. If I did I could use that to fill the CheckedListBox. Does anyone know how I can accomplish this task?
Any help would be appreciated! Thanks for the help in advanced!
Bryan
I have searched and still haven't found a way to get a list of all
References available Could someone give me some sample code that I might
use? Thanks!
Bryan
"AlexS" <sa***********@ SPAMsympaticoPL EASE.ca> wrote in message
news:en******** ******@TK2MSFTN GP11.phx.gbl... You have to create this collection yourself using Win32 COM API functions.
You might want to check first topics on com registry entries http://msdn.microsoft.com/library/de...m/reg_9ann.asp and on LoadTypeLib/LoadTypeLibEx in Platform SDK
HTH Alex
"Bryan" <bm****@elite-oregon.com> wrote in message news:up******** ******@TK2MSFTN GP11.phx.gbl... This is for a utility that I am writing to update all of our Excel reports. I currently have a form with a couple list boxes and browse buttons. One browse button allows the user to add the XLS files they want to update
and inserts the paths into the corresponding list box. The second browse button allows the user to select the module (BAS, CLS, FRM) files they wish to insert or update in those Excel files and put them into the other list box. I would like to have a CheckedListBox that fills with all COM references available on the current system. This would be filled upon Form_Load. Basically it's just like the form that's in Excel which allows you to
add references except the list of items is displayed on my form. I don't
know of a Reference Collection that contains all the COM references. If I did I could use that to fill the CheckedListBox. Does anyone know how I can accomplish this task?
Any help would be appreciated! Thanks for the help in advanced!
Bryan
You will need to loop through all relevant registry entries and try
LoadTypeLibEx on related files.
This is basic idea.
You can get sample code in SharpDevelop sources at www.icsharpcode.net.
HTH
Alex
"Bryan" <bm****@elite-oregon.com> wrote in message
news:%2******** *********@TK2MS FTNGP11.phx.gbl ... I have searched and still haven't found a way to get a list of all References available Could someone give me some sample code that I might use? Thanks!
Bryan
"AlexS" <sa***********@ SPAMsympaticoPL EASE.ca> wrote in message news:en******** ******@TK2MSFTN GP11.phx.gbl... You have to create this collection yourself using Win32 COM API
functions. You might want to check first topics on com registry entries
http://msdn.microsoft.com/library/de...m/reg_9ann.asp and on LoadTypeLib/LoadTypeLibEx in Platform SDK
HTH Alex
"Bryan" <bm****@elite-oregon.com> wrote in message news:up******** ******@TK2MSFTN GP11.phx.gbl... This is for a utility that I am writing to update all of our Excel reports. I currently have a form with a couple list boxes and browse buttons.
One browse button allows the user to add the XLS files they want to update and inserts the paths into the corresponding list box. The second browse
button allows the user to select the module (BAS, CLS, FRM) files they wish
to insert or update in those Excel files and put them into the other list box. I would like to have a CheckedListBox that fills with all COM
references available on the current system. This would be filled upon Form_Load. Basically it's just like the form that's in Excel which allows you to add references except the list of items is displayed on my form. I don't
know of a Reference Collection that contains all the COM references. If I did
I could use that to fill the CheckedListBox. Does anyone know how I can accomplish this task?
Any help would be appreciated! Thanks for the help in advanced!
Bryan
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Fuzzyman |
last post by:
Pythons internal 'pointers' system is certainly causing me a few
headaches..... When I want to copy the contents of a variable I find
it impossible to know whether I've copied the contents *or* just
created a new pointer to the original value....
For example I wanted to initialize a list of empty lists....
a=, , , , ]
I thought there has to be a *really* easy way of doing it - after a
|
by: Boris Ammerlaan |
last post by:
This notice is posted about every week. I'll endeavor to use the same
subject line so that those of you who have seen it can kill-file the
subject; additionally, Supersedes: headers are used to ensure that
only one copy resides on a given news server.
This notice was last updated on September 7th, 2000, and is available
(with a complete revision history) on the World Wide Web at
http://www.stack.nl/~boris/HTML/ciwahfaq.html. Most of it...
|
by: Ankit Aneja |
last post by:
code of my aspx page
<asp:RadioButtonList id="RadioButtonList1"
runat="server"></asp:RadioButtonList>
now i want to bind data from database
Dim rsComm As SqlCommand
Dim rsReader As SqlDataReader
|
by: crazyone |
last post by:
I've got a gaming framework i'm building and i want to save myself the
trouble of reading and writting the complete game data to a custom file
and load/save it to an XML file but i'm getting problem serializing my
stuff to XML when it comes to collections.
I'm currently using .net2 with generic lists to prevent users putting
all sorts of stuff in the arrays (Although im sure i'll be the only
user of the classes but not the game, anyway)....
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |