Re: Access VB6 Module's Methods in C#
From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 05/07/04
- Next message: Angel: "updating datatable with datagrid changes"
- Previous message: Jimbo: "string literal with sql"
- In reply to: me: "Access VB6 Module's Methods in C#"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 7 May 2004 10:23:40 -0400
me,
You can not do this. As a matter of fact, methods in a module are only
accessible to the project that the module is included in, nowhere else.
In order to expose these, you will have to create a COM component that
exposes the methods that you want to expose, and then access that through
COM interop.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
"me" <itorres@techie.com> wrote in message
news:9d9a01c43439$19b885c0$a301280a@phx.gbl...
> hi,
>
> i just want to ask how to access VB6 Module's methods
> in c#. i already converted the dll into interop assembly
> but i cannot invoke Module's methods thru reflection.
> thanks.
>
- Next message: Angel: "updating datatable with datagrid changes"
- Previous message: Jimbo: "string literal with sql"
- In reply to: me: "Access VB6 Module's Methods in C#"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|