Questions tagged [comvisible]
50 questions
0
votes
1 answer
Register for COM Interop and ComVisible(true)
I have the common library which will be used by multiple projects. I have Signed it with Strong name in order to manage the multiple versions across the project. In this library, I have couple of classes with [ComVisble(true)] property. However, I…

Saqwes
- 325
- 3
- 12
-1
votes
1 answer
Export a method alias of COM visible .NET class
I have a construct of a .NET implementation of some utility and a .WSC script that instantiates the .NET object. The goal is to eliminate the WSCscript and to instantiate and call the .NET implementation directly. But this discovered a naming…

harper
- 13,345
- 8
- 56
- 105
-1
votes
1 answer
Expose .NET class functions without wrapping them
I have a COMVisible class MyAPI that my clients are going to use as the root object for all API access.
I have my APIs in another assembly OtherAPI that has Document and Window API classes (not COM visible).
I want to expose Document and Window…

A9S6
- 6,575
- 10
- 50
- 82
-1
votes
1 answer
"Invalid procedure call or argument" when calling a sub without parenthesing one parameter
I wrote a COM-Visible DLL with this piece of code (VB.NET)
' .NET Class with implementing an interface to make it visible
Public Class VisibleClass
Public Sub callableSub(ByVal names As ACustomCollection, _
Optional…

Amessihel
- 5,891
- 3
- 16
- 40
-1
votes
1 answer
COMVisible class in VS 2010 assembly still not visible through com
I created a VS 2010 class library. Marked the assembly for Com Visibility. Signed the assembly with a strong key. Created my class, have my entry point method available.
The library works fine from a test project in C#.
I regasm the class…

user1161137
- 1,067
- 1
- 11
- 31