Dinusha Dinusha - 1 year ago 82
C# Question

how to call dll file without using statment in c#

How do I call a DLL written in C#, from my C# main project without using the

using statement

As in
in VB.

Answer Source

The closest methods in the .Net framework equivalent to VB6's CreateObject call are the following:

object calcInstance = Activator.CreateInstance(calcType);
Assembly testAssembly = Assembly.LoadFile(@"c:\Test.dll");

Code taken from http://www.csharp-examples.net/reflection-examples/

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download