No,I mean GetObject method in VB to get an instance of Com object.
the singnature of GetObject in vb as follow
Public Function GetObject( _
Optional ByVal PathName As String = Nothing, _
Optional ByVal Class As String = Nothing _
) As ObjectI need a method like that in C#"Mohamoss"
<mo************@egdsc.microsoft.com> wrote in message
news:Kd**************@TK2MSFTNGXA01.phx.gbl...
Hi
If you mean the API function GetObject of the Gdi32.lib , then that you
can use with both vb and C# . you can use the DllImport to use it
either in C# or VB.
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC