Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to use functions in VB.NET'S module

0 views
Skip to first unread message

ad

unread,
Mar 18, 2005, 7:09:01 AM3/18/05
to
I had a module of VB.NET.
Now I want to use some of the functions in the module when I develop a c#
project.
How can I do that?


David Anton

unread,
Mar 18, 2005, 11:09:01 AM3/18/05
to
As a module, you can't, but change it to a class with static methods and
you'll be able to call the methods in that assembly from your C# assembly.

Alternatively, you could convert the module to C# with our Instant C# VB to
C# converter (www.instantcsharp.com). A few pastes into our demo (which has a
100 line limit) may be all you need.

Regards,
David Anton
www.tangiblesoftwaresolutions.com
Home of the Instant C# VB.NET to C# converter and the Instant VB C# to
VB.NET converter

0 new messages