To where is the data returned?
Internally to your .NET program? To the command line? To a text file?
If it is internal to your application then one way would be to:
1. Create a public variable (better yet a property) in your form class.
2. Create an instance of the form and display it.
3. Set the value of the public variable in your newly created form.
4. Capture the value of the variable before the form is closed.
pseudo-code:
frmMyForm ofrm = new frmMyForm();
ofrm.Show();
string myListForLISP = ofrm.myNewListVariable;
ofrm.Close();
end of pseudo-code:
Just make sure that the form doesn't "Close" until you close it from the calling procedure. You can "Hide" it until you get your string.
Message was edited by: Mark Johnston
He went further out onto the limb.
CAD Programming Solutions