A
Aaron Stibich
I would like my server on computer A to serve up a System.Windows.Forms.Form
object to a client application on computer B. Is that possible?
I tried the following test. I implemented the following interface on my
server
public interface IMyInterface
{
void CreateNewForm( out Form newForm );
}
The server implementation looks like this
public void CreateNewForm( out Form newForm )
{
newForm = new MyForm();
}
Then in the remote client I wrote
Form fp;
theserver->CreateNewForm( out fp );
fp.ShowDialog();
Alas, the dialog displays on the server's computer.
Having the server serve up GUI objects (not just HTML) is a holy grail of
mine. It would allow us to completely control the UI from the server layer,
making our application just a vessel for displaying windows forms - about as
thin as it gets.
object to a client application on computer B. Is that possible?
I tried the following test. I implemented the following interface on my
server
public interface IMyInterface
{
void CreateNewForm( out Form newForm );
}
The server implementation looks like this
public void CreateNewForm( out Form newForm )
{
newForm = new MyForm();
}
Then in the remote client I wrote
Form fp;
theserver->CreateNewForm( out fp );
fp.ShowDialog();
Alas, the dialog displays on the server's computer.
Having the server serve up GUI objects (not just HTML) is a holy grail of
mine. It would allow us to completely control the UI from the server layer,
making our application just a vessel for displaying windows forms - about as
thin as it gets.