How can I "Unbuild" a COM class?
Basically, I used the "Build" command to register to COM Class. But I want
to remove/unregister it.
Thanks, Mark 6 2109
Do you mean: regsvr32 -u
To unregister the COM object from the register?
"Mark" <Ma**@discussions.microsoft.com> wrote in message
news:F3**********************************@microsof t.com... How can I "Unbuild" a COM class?
Basically, I used the "Build" command to register to COM Class. But I
want to remove/unregister it.
Thanks, Mark
well you must do this with the regasm utility not with regsvr
see this info on how to use it http://msdn.microsoft.com/library/de...lregasmexe.asp
you should always unregister com classes before you remove them as it will
otherwise polute your registry
hth
Michel Posseth
"Mark" <Ma**@discussions.microsoft.com> wrote in message
news:F3**********************************@microsof t.com... How can I "Unbuild" a COM class?
Basically, I used the "Build" command to register to COM Class. But I want to remove/unregister it.
Thanks, Mark
It couldn't locate the dll.
I typed "regasm myCOMLib.dll /u" at the command prompt and it said it
couldn't find the dll.
Again, I compiled and registered the COM class via VB.Net, maybe I'm using
the wrong name? I don't know, this whole process is very frustrating.
Thanks, Mark
"m.posseth" wrote: well you must do this with the regasm utility not with regsvr
see this info on how to use it http://msdn.microsoft.com/library/de...lregasmexe.asp
you should always unregister com classes before you remove them as it will otherwise polute your registry
hth
Michel Posseth
"Mark" <Ma**@discussions.microsoft.com> wrote in message news:F3**********************************@microsof t.com... How can I "Unbuild" a COM class?
Basically, I used the "Build" command to register to COM Class. But I want to remove/unregister it.
Thanks, Mark
well you must include the hole path of the dll or just copy Regasm to the
assembly path
"Mark" <Ma**@discussions.microsoft.com> wrote in message
news:E4**********************************@microsof t.com... It couldn't locate the dll.
I typed "regasm myCOMLib.dll /u" at the command prompt and it said it couldn't find the dll.
Again, I compiled and registered the COM class via VB.Net, maybe I'm using the wrong name? I don't know, this whole process is very frustrating.
Thanks, Mark
"m.posseth" wrote:
well you must do this with the regasm utility not with regsvr
see this info on how to use it http://msdn.microsoft.com/library/de...lregasmexe.asp
you should always unregister com classes before you remove them as it will otherwise polute your registry
hth
Michel Posseth
"Mark" <Ma**@discussions.microsoft.com> wrote in message news:F3**********************************@microsof t.com... > How can I "Unbuild" a COM class? > > Basically, I used the "Build" command to register to COM Class. But I > want > to remove/unregister it. > > Thanks, Mark
I'll try it.
Thanks, Mark
You know I love programming, but sometimes I feel blind. You just can't
give up! For us one guy shops, these forums are the only way to work thru
issues, but they can take time!
"m.posseth" wrote: well you must include the hole path of the dll or just copy Regasm to the assembly path "Mark" <Ma**@discussions.microsoft.com> wrote in message news:E4**********************************@microsof t.com... It couldn't locate the dll.
I typed "regasm myCOMLib.dll /u" at the command prompt and it said it couldn't find the dll.
Again, I compiled and registered the COM class via VB.Net, maybe I'm using the wrong name? I don't know, this whole process is very frustrating.
Thanks, Mark
"m.posseth" wrote:
well you must do this with the regasm utility not with regsvr
see this info on how to use it http://msdn.microsoft.com/library/de...lregasmexe.asp
you should always unregister com classes before you remove them as it will otherwise polute your registry
hth
Michel Posseth
"Mark" <Ma**@discussions.microsoft.com> wrote in message news:F3**********************************@microsof t.com... > How can I "Unbuild" a COM class? > > Basically, I used the "Build" command to register to COM Class. But I > want > to remove/unregister it. > > Thanks, Mark
Okay it seems to work.
Interesting. The unregistered COM Class still shows up in the VBA
References list. When it is checked and an instance is attempted (i.e., Dim
uclass as myCOMClass
Set uclass = new myCOMClass) an error message appears saying it can't be
created. Which I assume is due to the "unregistering" of the class.
Question. How do you remove the COM Class from the References list in VBA
(Access) and more generally from the Registry (the class (defanged)
myCOMClass still shows up in the Registry under HKEY_CLASSES_ROOT,
HKEY_LOCAL_MACHINE, etc.)?
Thank you,
Mark
"m.posseth" wrote: well you must include the hole path of the dll or just copy Regasm to the assembly path "Mark" <Ma**@discussions.microsoft.com> wrote in message news:E4**********************************@microsof t.com... It couldn't locate the dll.
I typed "regasm myCOMLib.dll /u" at the command prompt and it said it couldn't find the dll.
Again, I compiled and registered the COM class via VB.Net, maybe I'm using the wrong name? I don't know, this whole process is very frustrating.
Thanks, Mark
"m.posseth" wrote:
well you must do this with the regasm utility not with regsvr
see this info on how to use it http://msdn.microsoft.com/library/de...lregasmexe.asp
you should always unregister com classes before you remove them as it will otherwise polute your registry
hth
Michel Posseth
"Mark" <Ma**@discussions.microsoft.com> wrote in message news:F3**********************************@microsof t.com... > How can I "Unbuild" a COM class? > > Basically, I used the "Build" command to register to COM Class. But I > want > to remove/unregister it. > > Thanks, Mark This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tony Johansson |
last post by:
Hello!
I have some problem with STL function remove
I have two classes called Handle which is a template class and Integer which
is not a template class. The Integer class is just a wrapper...
|
by: Arne Claus |
last post by:
Hi
If've just read, that remove() on a list does not actually remove the
elements, but places them at the end of the list (according to TC++STL
by Josuttis). It also says, that remove returns a...
|
by: Craig Buchanan |
last post by:
what is the fastest way to remove a value from a string array? something
like:
dim x as string() = {"A","B","C","D"}
'remove C
x.Clear(x, x.IndexOf(x, "C"), 1)
Questions:
|
by: Charles Law |
last post by:
I have a form on which user controls are placed at runtime. When a control
is added to the form a handler is added for an event that a high-level
object raises, which must be handled by the new...
|
by: Charles Law |
last post by:
Is there a way to dynamically remove an event handler from an event without
knowing the name of the handler?
For example, how can ClassB remove the handler without knowing the name, or
how many...
|
by: tshad |
last post by:
Is there a reason to use session.remove over session.contents.remove?
Don't they both remove the key and data from the contents collection?
I assume that session(x) = nothing does essentially...
|
by: Armin Gajda |
last post by:
Hi,
I have the following problem:
An input field get a border assigned by a style class (e.g. 2px solid red).
When the field gets the focus, we set the border to green.
element.style.border...
|
by: whatnameisnottaken |
last post by:
right now i have gotten all the classes to print out using helpdbg. Now i want to remove the duplicate class names out of an array so i can just print one of each.
This is the output i have.
...
|
by: FullBandwidth |
last post by:
I have been perusing various blogs and MSDN pages discussing the use
of event properties and the EventHandlerList class. I don't believe
there's anything special about the EventHandlerList class in...
|
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: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |