william okwemba
william okwemba

Reputation: 21

run exe file on the internet

have developed vb6 project and my client want it to run on the internet in a week's time. taking this project to web will take me almost five month to clear.is there a way that i can install dlls on the server and run exe file on the web/internet? please help me if it's possible

Upvotes: 0

Views: 1913

Answers (3)

dooburt
dooburt

Reputation: 3060

This depends how you have written the program. If it's a standard windows form application the answer is no, you can't 'transplant' it. If however it's a class that performs particular logic, you can do so. You will need to look at COM visibility because of your use of VB6. Can you give us more information about your project?

Edit: You'll need to load your COM object into IIS and then call it. Without more information, I don't think we can help. There are alternatives, like creating a .NET wrapper which can call and handle the object - but without an idea of what you have and final objective, this is tricky. Sorry I can't be more help, please feel free to edit your first question if you have more information.

Upvotes: 0

awe
awe

Reputation: 22442

If your dll is com dll that only runs on the server (not on client) it is possible to add it as a reference in a .net web application that use functionality from your dll.

Visual Studio automatically creates the wrappers needed to use it in .net when you add reference to your com dll.

In this scenario, you need to convert/rewrite the GUI from your exe to .NET web forms.

I think this will be the best compromise for your situation. If you have a lot of business code in you exe project, it might be a good idea to take that out in a VB6 dll project, stripping out all the GUI-part of the code, to minimize the work needed to convert code to .NET (so that you have only the GUI part in the .NET web application).

This approach will require NO extra work in your dlls unless they rely on GUI components.

Upvotes: 0

Alois Cochard
Alois Cochard

Reputation: 9862

Only secure and fast solution is to use remote desktop connection to the application server.

But it's way better if you make your client spend more times to really upgrade the application for web usage.

Upvotes: 2

Related Questions