Quick C# .net 2.0 request

Soldato
Joined
18 Oct 2002
Posts
5,600
Location
Surrey
hi all, i need to open a browser from a windows forms application. the recomendation fomr the massed internet knoledge base is to use the System.Diagnostics.Process.Start() method but this throws a security exception in our deployed enviroment :(

does anyone know any other ways to get a browser window to start with a url?

cheers

Paul
 
Soldato
OP
Joined
18 Oct 2002
Posts
5,600
Location
Surrey
thank's for the thought, it's not a go-er at all unfortunately due to the restrictions on the target platform.

I have tried the embedded WebBrowser component in a form but this still calls some unsafe native methods inside the component (Web browser .net component is a this wrapper around the ie6 com component it sould appear).

I also tried some other tricks but they all eventually call the same unsafe native methods that need full trust so we are scuppered. Anyway we've abandoned it as a plan now I think but thanks for your help....

Paul
 
Soldato
OP
Joined
18 Oct 2002
Posts
5,600
Location
Surrey
unfortunately the .net configuration available on the platform is not controlled by us. No code running on these machines has full trust sue to the enterprise configuration....

Don't worry about it guys, I'm not ;)

Paul
 
Back
Top Bottom