Run a VB.NET EXE from a web page?

R

RajW

I have written a small exe program using the "Windows Application"
project type in VB.NET 2003 that I want for users to be able to run
from a web page. When I try to download it and run it from the web
page I get a "Microsoft .NET Framework" error about an application
security policy issue. My web server is IIS 5.

I searched this newsgroup before posting and found that I could make a
change in the .NET Framework Configuration but from what I could tell
it looks like the changes would have to be on the client systems which
is not what I want to do. I can click on the program and save it to
the hard drive and then run it, but I would prefer that my users be
able to run the application directly from the web page.

Any assistance or advice would be appreciated.

Thanks,
/*Raj*/
 
C

Cor Ligthert

Hi RajW,

I don't see if you have recoginized it, but there are some problems with
people who want to distribute virusses using a webpage and a application.

I think that in this case the goods have to suffer from the bads. Where I of
course assume you are with the goods.

Just my thought,

Cor
 
R

RajW

Hi Cor,

I don't see if you have recoginized it, but there are some problems with
people who want to distribute virusses using a webpage and a application.

Yes, I understand. I am doing an Exchange 5.5 (US based) to Exchange
2003 (UK based) migration and I need to copy a users PST file down
from the web server to their local hard drive. The people in the UK
will not allow any of the data to be migrated so I had to archive
everyone's e-mail to PST files from the old server. (sigh)

I'm going to rewrite the simple file copy application in VB6... I
*think* that will at least get me around the .NET Framework issue.
I think that in this case the goods have to suffer from the bads. Where I of
course assume you are with the goods.

Clear something up for me please... If I write an application in
VB.NET 2003, the client computers would have to have the .NET
Framework installed?

What if I make the exe program a "console" application, would that
eliminate the .NET Framework dependency?

Thanks,
/*Raj*/
 
C

Cor Ligthert

Hi RajW,

What if I make the exe program a "console" application, would that
eliminate the .NET Framework dependency?

No as far as I know does even the smallest program function under control of
the Net framework.

(Not a webpage of course)

Cor
 
R

RajW

No as far as I know does even the smallest program function under control of
the Net framework.

Drat... Oh well. I have rewritten the application with VB6 so now I
can have my users run it directly from the web page.

What a pain in the ***.

Thanks,
/*Raj*/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top