I have a COM Class in Vb.Net the code is like this _ Public Class Class1 #Region "COM GUIDs" ' These GUIDs provide the COM identity for this class ' and its COM interfaces. If you change them, existing ' clients will no longer be able to access the class. Public Const ClassId As String = "74eb4206-6063-4ea1-b499-bfdd9f49f4bf" Public Const InterfaceId As String = "ff2cdb8a-e1f9-464b-bb6f-ead5812d3630" Public Const EventsId As String = "a8880b84-9a33-41f2-90f6-c6141835ee61" #End Region ' A creatable COM class must have a Public Sub New() ' with no parameters, otherwise, the class will not be ' registered in the COM registry and cannot be created ' via CreateObject. Public Sub New() MyBase.New() End Sub Public Function MergeFiles(ByVal arrFiles() As String, ByVal strOutputFile As String) As String End Function End Class When imported in VC++ (6.0) we are not able to get the function out. Any suggestions
S
Shrikanth Saripella
@Shrikanth Saripella
Posts
-
creating COM Class in .net having function with string array as input pramenter -
Preserve visibility of DIVHi Chetan Ranpariya, Check this peace of code function CallMe() { var obj = document.getElementById("hndDisplayValue") if (obj.value !="") { DivShow.style.display=obj.value } else { DivShow.style.display=""; } } function ShowMe() { var StrValue ="none"; if( DivShow.style.display !="") { StrValue =""; } obj = document.getElementById("hndDisplayValue") obj.value = StrValue; DivShow.style.display = StrValue; }
This