472,982 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,982 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 906

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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.