Re: [ADVANCED-DOTNET] Can't use Process.Start from a WinForms app. launched via http??

2002-10-05 Thread John St. Clair
Eh, you have thought about the security implications if a http-launched app *could* launch an arbitrary process? I.e., Process.Start("cmd.exe -k rmdir c:/winnt")? For the issue with full-trust, look back in the archives for items by Chris Sells on "Yahoo". That should provide a pretty good overvi

[ADVANCED-DOTNET] Can't use Process.Start from a WinForms app. launched via http??

2002-10-05 Thread Dave Adair
I have a WinForms .exe. When I click on a LinkLabel to go to a web site (for example, System.Diagnostics.Process.Start("http://www.Microsoft.com";) it works fine if I'm running the app. locally, but when it's launched from http it fails. The site I'm launching it from has "full trust" permission

Re: [ADVANCED-DOTNET] Bug with AssemblyBuilder.SetCustomAttribute ?

2002-10-05 Thread Donal Lafferty
I tried changing to the DefineDynamicModule call to ModuleBuilder dynModule = assmBuilder.DefineDynamicModule("TestAssembly"); In the updated assembly, the manifest displayed by ILDASM contained the following details: .assembly TestAssembly { .custom instance void [mscorlib] System.Reflectio