P
Paul E Collins
I use Process.Start to open a URL in the user's browser.
When I call the function normally, it works fine. However, when I call it
from a separate thread, I get an error: "The requested section was not
present in the activation context".
The only C# newsgroup thread dealing with this error blames it on a Main
function that is missing the [STAThread] attribute - but my Main function
has this attribute.
What can I do to work around this?
P.
When I call the function normally, it works fine. However, when I call it
from a separate thread, I get an error: "The requested section was not
present in the activation context".
The only C# newsgroup thread dealing with this error blames it on a Main
function that is missing the [STAThread] attribute - but my Main function
has this attribute.
What can I do to work around this?
P.