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

Tool Bar-IE

Hi All,
I am making a COM comonent and i am using WebBrowser class
methods, the project contains a reference to the Microsoft Internet Controls
COM components that are defined in the ShDocVW.dll file.(using namespace
Interop::SHDocVw)

Basically i am making use of the sample given at
http://support.microsoft.com/kb/821793#appliesto
I added a reference to this dll by following the below steps.

1. In Solution Explorer, right-click the project node, and then click Add
Reference.
2. In the Add Reference dialog box, click the COM tab.
3. In the list of COM components, click Microsoft Internet Controls, and
then click Select.
4. Click OK to close the Add Reference dialog box.
But still i am getting the error

error C2653: 'Interop' : is not a class or namespace name
in Visual c++ 2005.

Can anyone let me know how can i fix this?

Thanks,
Senthil
Apr 3 '07 #1
1 1863

"Senthil" <Se*****@discussions.microsoft.comwrote in message
news:D9**********************************@microsof t.com...
Hi All,
I am making a COM comonent and i am using WebBrowser class
methods, the project contains a reference to the Microsoft Internet
Controls
COM components that are defined in the ShDocVW.dll file.(using namespace
Interop::SHDocVw)

Basically i am making use of the sample given at
http://support.microsoft.com/kb/821793#appliesto
I added a reference to this dll by following the below steps.

1. In Solution Explorer, right-click the project node, and then click Add
Reference.
2. In the Add Reference dialog box, click the COM tab.
3. In the list of COM components, click Microsoft Internet Controls, and
then click Select.
4. Click OK to close the Add Reference dialog box.
But still i am getting the error

error C2653: 'Interop' : is not a class or namespace name
Looks to me like the interop namespace is just ::SHDocVw, not
::Interop::SHDocVw

You can use .NET Reflector to inspect the interop assembly.
>
in Visual c++ 2005.

Can anyone let me know how can i fix this?

Thanks,
Senthil

Apr 5 '07 #2

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

Similar topics

3
by: Suresh Kumaran | last post by:
Hi Everyone, Is there any one out there who can help me in VB.NET to show the tooltip description of the TOOLBAR panel in the STATUSBAR. In other words when the mouse hovers over the tool bars...
14
by: Akseli Mäki | last post by:
Hi, Hopefully this is not too much offtopic. I'm working on a FAQ. I want to make two versions of it, plain text and HTML. I'm looking for a tool that will make a plain text doc out of the...
2
by: bobroq | last post by:
I am currently working on writing an application that functions like a desktop tool bar (like aol - when it has its docking feature turned on, Google Dekstop, or even when you right click your tool...
8
by: Peter A. Schott | last post by:
Per subject - I realize I can copy/paste a line at a time into an interactive session when I'm trying to debug, but was wondering if there is any tool out there that allows me to copy sections of...
0
by: Bob | last post by:
In a tool bar click event procedure, how do I access the tag value of a tool bar button to determine which button has been clicked. I know how to access the index value to identify the button but...
0
by: Hank | last post by:
Hello, I am trying to use Visual Web Developer Express to develop a web application. I have an ActiveX component that is a major piece of functionality that I need to use. When I add the...
10
by: Adam Honek | last post by:
Hi all, Controls such as the tree view or list view use image lists hence I can set the quality of icons to 32bit. This way they look their best. Unfortunately both the menu and tool bar strip...
4
by: Anastasios Hatzis | last post by:
I'm looking for a pattern where different client implementations can use the same commands of some fictive tool ("foo") by accessing some kind of API. Actually I have the need for such pattern for...
0
by: sukumaster | last post by:
hello everybody i hv created a tool bar by using macros in ms word 2003. i add some code for it in VB.i want to export that tool bar . because i have to send that tool bar to other sysems having...
1
by: Kolags | last post by:
Hi All, I would like to develop a tool, which is like Tool Bar Window in MS Visual Studio.NET. Could you please help me for that? In the .net tool bar window, we have various categories, like...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
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...

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.