run .exe from IE using ASP.NET script

  • Thread starter Thread starter Loane Sharp
  • Start date Start date
L

Loane Sharp

Hi there

I have a module writen in VB.NET compiled using vbc as sync.exe.

If I point IE to http://localhost/sync.exe the Windows Form loads perfectly.

But I don't get the same if, from within ASP.NET code, I run the following ~

Dim ass As Assembly = Assembly.LoadFrom("C:\Inetpub\wwwroot\sync.exe")

The form evidently loads into memory but it doesn't show on screen.

Please help
Best regards
Loane
 
Loane Sharp said:
If I point IE to http://localhost/sync.exe the Windows Form loads
perfectly.

But I don't get the same if, from within ASP.NET code, I run the following
~

Dim ass As Assembly = Assembly.LoadFrom("C:\Inetpub\wwwroot\sync.exe")

The form evidently loads into memory but it doesn't show on screen.

Your code will load the assembly on the /server side/, not on the client
side.
 
Hi Herfried

Thanks very much. If I wanted the windows forms application to load from
within a web page that I browse to, do you know how I would do that?

Best regards
Loane
 
Back
Top