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

Removing COM Item from Add References

On a multiboot system, I've got:

1. Office XP installed under an OS installed on drive G.
2. Office 2003 and NS .NET 2003 installed under an OS installed on drive J.

When booted to J, if I try to Add Reference in VB .NET, I see a COM object
for Office 10 Object Library on G and another for the Office 11 Object
Library on J.

How do I get rid of the COM object listed for G?
Not just removed from the project, but removed from the list of COM items.

regsvr32 -u doesn't do the deed.

--
http://www.standards.com/; See Howard Kaikow's web site.
Nov 20 '05 #1
2 1582
Here's some more info.

On my J drive, I have a Win 2000 system that has Office 2003 installed, and
has never had an earlier version of Office installed. I find that the list
of available COM references in VS .NET 2003 includes references for both the
Office 10 object library and the Office 11 object library.

The reference for Office 10 is to G:\Program Files\Common Files\Microsoft
Shared\Office10, which is in an OS on the G drive in this multiboot system.

However, I also note that the system on the J drive has both J:\Program
Files\Common Files\Microsoft Shared\Office10 and
J:\Program Files\Common Files\Microsoft Shared\Office11, each of which has a
different mso.dll.

Looking at the Registry, I see typelib entries for

Microsoft Office 10.0 Object Library in G:\Program Files\Common
Files\Microsoft Shared\Office10\mso.dll
Microsoft Office 11.0 Object Library in J:\Program Files\Common
Files\Microsoft Shared\Office11\mso.dll

My questions include:

1. How did a reference to a never installed version of an Office object
library get included in the registry?
2. What is the purpose of the, apparently, spurious J:\Program Files\Common
Files\Microsoft Shared\Office10?

"Howard Kaikow" <ka****@standards.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
On a multiboot system, I've got:

1. Office XP installed under an OS installed on drive G.
2. Office 2003 and NS .NET 2003 installed under an OS installed on drive J.
When booted to J, if I try to Add Reference in VB .NET, I see a COM object for Office 10 Object Library on G and another for the Office 11 Object
Library on J.

How do I get rid of the COM object listed for G?
Not just removed from the project, but removed from the list of COM items.

regsvr32 -u doesn't do the deed.

--
http://www.standards.com/; See Howard Kaikow's web site.

Nov 20 '05 #2
Here's more info:

1. The WinNT directory on drive J is dated 8/20/2003 10:00, so I guess that
is when I did the clean install of Win 2000 on J.

2. J:\Program Files\Common Files\Microsoft Shared\Office11 is dated
10/24/2003 14:31, which is when I installed Office 2003.

3. J:\Program Files\Common Files\Microsoft Shared\Office10 is dated
8/21/2003 19:14..

4. I installed VS .NET 2003 on K to save space on the J drive. K:\Program
Files\Microsoft Visual Studio .NET 2003 is dated 8/21/2003 19:09, so I
expect that J:\Program Files\Common Files\Microsoft Shared\Office10 was
created during the install of VS .NET 2003. This solves part of the mystery.

However, it does not explain why the COM object reference points to
G:\Program Files\Common Files\Microsoft Shared\Office10 instead of
J:\Program Files\Common Files\Microsoft Shared\Office10.

There is the implication that something searched ALL the drives and
determined that G:\Program Files\Common Files\Microsoft Shared\Office10 was
more up to date than J:\Program Files\Common Files\Microsoft
Shared\Office10. I sure hope not, but that's what it looks like.

I'm wondering what will happen if there is ever an update to VS .NET 2003
that needs to update the files in J:\Program Files\Common Files\Microsoft
Shared\Office10. Will it instead/also update the files in G:\Program
Files\Common Files\Microsoft Shared\Office10? I sure hope not as that might
break the Office XP installation in the OS on G.

--
http://www.standards.com/; See Howard Kaikow's web site.
Nov 20 '05 #3

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

Similar topics

6
by: JohnK | last post by:
ok, ya got me here. I'm trying to removing items from a dictionary inside a loop. Obviously using enumeration does not work as that assumes the dictionary stays unchanged. So how so I iterate...
0
by: sameer mowade via .NET 247 | last post by:
Hello All, I have problem while dynamically removing row from the Datagrid which i have added dynamically as shown in the following code snippet. The problem is that while removing dynamically...
7
by: Visual Systems AB \(Martin Arvidsson\) | last post by:
Hi! I'v been struggeling with removing selected items from a listview. Anyone that can give me a piece of code that does this? I am a newbee to this C# and cant figure it out.... Regards...
66
by: Cor | last post by:
Hi, I start a new thread about a discussion from yesterday (or for some of us this morning). It was a not so nice discussion about dynamically removing controls from a panel or what ever. It...
3
by: diesel | last post by:
Ok, once again I'm at my wits' end with a VB.Net problem. I have a button which opens a wizard that allows the user to enter a new record to a table. I have a datatable called dtItems that...
2
by: Milsnips | last post by:
hi there, i have the following HTML code: -------------------------- <asp:DropDownList id="hddList" runat="server"> <asp:ListItem Value="1">Item 1</asp:ListItem> <asp:ListItem Value="2">Item...
6
by: Niyazi | last post by:
Hi all, What is fastest way removing duplicated value from string array using vb.net? Here is what currently I am doing but the the array contains over 16000 items. And it just do it in 10 or...
7
by: =?Utf-8?B?Sm9lbCBNZXJr?= | last post by:
I have created a custom class with both value type members and reference type members. I then have another custom class which inherits from a generic list of my first class. This custom listneeds...
5
by: Bart Steur | last post by:
Hi, What's the best way to programmaticly select (click) another listview Item after removing the selected/focused one. using VB2005 Express. Thanks Bart
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
0
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: 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.