Opening a windows form from an ASP page

T

Tedy Pranolo

I'm trying to create an ASP page which creates a windows form and be
able to manipulate it. The windows form contains a webbrowser control,
which apparently has to be created and manipulated in a Single Threaded
Apartment thread. I tried creating a new STA thread and creating the
form in it, but the windows form show for a split second and then close
itself again. And the thread is closed. I couldn't find a way to keep
the STA thread running. Multi-threading is not really my forte.
What was I doing wrong? Or is there a simpler way to achieve this?
(preferably without involving multi threading)
 

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

Members online

No members online now.

Forum statistics

Threads
474,433
Messages
2,571,683
Members
48,796
Latest member
Greg L.

Latest Threads

Top