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

Compiling NET 1.1 on VS 2005

I have a .NET 1.1 project that I'd like to compile on Visual Studio 2005
Pro. In VS2003 I created a form and dragged the WebBrowser control onto
it. This created the following code:

private: AxInterop::SHDocVw::AxWebBrowser * axWebBrowser;

Now, when I compile in VS2005, with the /clr:oldSyntax switch this error
is coming up:

FrmWebBrowser.h(39) : error C2653: 'AxInterop' : is not a class or
namespace name
Is there a simple way to get this working again? I can't convert the
whole project to .NET 2.0 right now because it's used in a production
environment and it's a large project... I just don't have the time to do
it. :(

Thanks!

Gary
Mar 6 '06 #1
1 1217
"Gary Nastrasio" <ga***********@hotmail.com> wrote in message
news:eb**************@tk2msftngp13.phx.gbl...
I have a .NET 1.1 project that I'd like to compile on Visual Studio 2005
Pro. In VS2003 I created a form and dragged the WebBrowser control onto
it. This created the following code:

private: AxInterop::SHDocVw::AxWebBrowser * axWebBrowser;

Now, when I compile in VS2005, with the /clr:oldSyntax switch this error
is coming up:

FrmWebBrowser.h(39) : error C2653: 'AxInterop' : is not a class or
namespace name
Is there a simple way to get this working again? I can't convert the
whole project to .NET 2.0 right now because it's used in a production
environment and it's a large project... I just don't have the time to do
it. :(


Your best bet by far is to (re)-install Visual Studio 2003 - it can coexist
with 2005 with no problems (although I have to add, I've never installed
2003 after 2005, so I wouldn't be shocked if a repair-install of 2005 after
installing 2003 was necessary).

There are some hacks out on the net to target the 1.1 runtime from within
2005, but I have a suspicion that they wouldn't help your particular
problem - I think you need the 2003 compiler (unfortunately, /clr:oldSyntax
is not 100% compatible with 2003 - it should be, but it's not. And please
don't ask for particulars as I don't know them - I just know that a variety
of incompatibilities have come up on the newsgroups in the last 6-12
months).

-cd
Mar 6 '06 #2

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

Similar topics

0
by: Chris Dunaway | last post by:
I successfully installed VS 2005 Professional RTM and am enjoying using it. Occaisionally I have re-compile a solution using VS2003. This solution has a setup project in it. During...
6
by: wooks | last post by:
Sorry if this is very basic. I have bought a Functional Programming book that uses the language Hope. I have managed to locate and extract Ross Pattersons hope interpreter from...
4
by: bryan | last post by:
I'm still using Beta 2 of VS2005. I'd like to be able to precompile my web site (similar to 1.x) so that I don't have to put source files on the deployment server. Is there anyway to do this other...
1
by: tdavisjr | last post by:
I don't know if anyone noticed yet; but compiling websites in VS 2005 is a DOG!! It literally takes me like 1-2 mins to build a website or even start it with debugging. Is anyone else having this...
9
by: jojobar | last post by:
In vs.net 2005 you can build the entire website, entire solution or a single page. The project I am working on has more than 1000 pages spread over 50-60 directories. We work on one or two of the...
1
by: Michel | last post by:
In VC++ from Visual Studio 2005 the following occurs: If I try to compile anyting, even a newly created empty MFC application with 1 empty dialog, I get the following 2 errors: Compiling......
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
2
by: Daniel Knöpfel | last post by:
Hi all I need to adapt an Msbuild script to compile a visual studio 2005 solution (including several projects and a website). The application is written in C# and using .NET 2.0. Due to late...
1
by: drajesh | last post by:
hi all, I had a code which is compiling fine on VC++ 6.0 ..but on compiling same code in VS 2005 i m facing following error. error C2678: binary '!=' : no operator found which takes a left-hand...
2
by: Manikandan | last post by:
Hi, I have a program written in .Net Framework 1.1 using Visual studio enterprise edition 2003. I tried compiling the same program in visual c# express edition 2005. I'm getting following...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
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.