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

Creating COMs from vs2003 vs. 2008

Hi, everybody
I got a problem producing C# COM projects with vs2008.
COM project created and compiled with VS2003 works fine with all kinds of
early and late binding in Office2002, vbscript (only late of course) etc.

Compiling exactly the same project with VS2008 (checkboxes for register and
make visible COM both checked) will apparently install the project properly
(comparing reg entries). The methods of the project can subsequently called
via vbscript w/o any problem. However, calling then via VBA (late and early
binding) will lead always to automation error (-2147024894). Note: the
object browser of the Office apps shows the COM project and its methods
alright!
When compiling the project in VS2008 I get several warnings like (translated
from German) "Interface IOleCommandTargetArgument is marked as [dual] but
not derived from IDispatch.It will be converted to an IUnknown derived
interface."

I tried all kinds of mods to the code and setup w/o any success.

Maybe somebody has an idea how to solve this or has stumbled over the same
problem.

Many thanks for yor help

PS: Have tried to get an answer to this problem via the group
ms.pub.de.german.entwickler.dotnet.csharp earlier w/o any reply
Jun 27 '08 #1
0 918

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

Similar topics

2
by: William Ryan | last post by:
I just loaded VS2003 on a new machine and when I try to create a ASP.NET app or Web Service, I get the following error: "Visual Studio could not create or open application because your browser...
11
by: Paul Tremblay | last post by:
Hi, I can't seem to locate the visual C++ (pre .NET) ng. This may be slight off topic here - please point me to the correct ng if it is. Without going into much detail (and repeating myself...
0
by: Richard | last post by:
Hi All, I'm having some difficulties with vs2003 and w2k3. The w2k3 Web Edition install is totally new in a VMWare box. I have added ASP.NET v1.1.4322 to the config and allowed it in Web Service...
1
by: Al | last post by:
Anyone know why MS says you can't create a COM class with VB.NET to use in other VB.NET projects? (reference the statement at the bottom of the MSDN article ... Walkthrough: Creating COM Objects...
0
by: Ludovic Launer | last post by:
Just received a new computer. VS2003 works fine with my application, but when trying to create a new asp.net web application ti jsut crahsed without any error message ! I tried to: uninstall...
3
by: John Devlon | last post by:
Hi, I would like to create a small application that creates a new PDF-File, using an excisting PDF-file as background template, adding some text and a unique barcode. I would like to create my...
2
by: NvrBst | last post by:
Hello. I posted this problem in the microsoft.public.dotnet.languages.csharp origionally but moving it here since I think it probably belongs here now. I have a blank ASP.NET/C# page with a...
2
by: PawelSokolowski | last post by:
Hi all., For quite some time I have been using VC 6.0 and VS2003 on the same computer. I have read somewhere, that VC 6.0 should be installed as a second. Now I have to use also VS2008. Is...
0
by: david wright | last post by:
--- On Fri, 9/5/08, srinivasan srinivas <sri_annauni@yahoo.co.inwrote: this appears to be working, what where you expecting? "An upper case "S" means there is no executable permission, but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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.