473,657 Members | 2,540 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 IOleCommandTarg etArgument 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.germa n.entwickler.do tnet.csharp earlier w/o any reply
Jun 27 '08 #1
0 926

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

Similar topics

2
1850
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 is configured to use a proxy server for the local server" In IE, there is nothing that I can see referencing any proxy and I don't connect to the internet with a proxy. The machine is brand new, so i know it's not some old registry setting or...
11
2968
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 several times), I am using Visual C++ 6.0 to develop applications - *instead* of .Net. I am using the MFC to create my GUI components. I am particularly interested in doing the ff with my GUI:
0
1049
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 Extensions, along with WebDAV. I have a entry in hosts with music -> 192.168.0.152 (server). When I try to create a new C# web project using file share in the root web, I get a message box with the message "Error writing project file. The network...
1
1434
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 with Visual Basic .NET (Visual Basic .NET) The statement says ... Note The COM objects you generate with Visual Studio .NET cannot be used by other Visual Studio .NET applications. Attempts to add references to such COM objects raise an error.
0
942
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 framework 1.1 / reinstall uninstall vs2003 / reinstall aspnet_regiis.exe -i No success It says "creating web application" and then you can see the animation with
3
1584
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 own type of barcode and not use any excisting types. Can anyone recommend and libs, SDKs or COMs ? thanx
2
1702
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 code behind file. I made the following function in the code behind file public string GetFlower(){TEST.Flower myFlower = new TEST.Flower(); return myFlower.get_GetFlower(2);}
2
1499
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 it possible to use all three of them without interfering one to another ? How to install them ?
0
1076
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 the set group id function is active- that is, a file in this directory will belong to the same group id as the directory itself." If the parent directory has the set group id set, the child will as well. i.e.
0
8425
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8743
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8522
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7355
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4333
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1973
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1736
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.