Question Locked

Calling a function in VB.Net exe through Visual Basic 5

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I want to call a private function (We can make the function public.) in VB.Net (The project type is windows application) from visual basic 5. VB.Net application is set up as an exe.

I appreciate your early response.

Rgds,
Rains

4 replies

by tony hopkinson

Add a command line parameter to the .net exe.

-f.....

based on that run the private function within the application.

Bear in mind potrntial issues with .net frameworks, and the cost of loading up the CLR.

Another option would be to break out teh functionality you need to expose and then do a COM wrapper for it.

This discussion is closed to new replies.