Archive: is this possible (kinda windows forms)


is this possible (kinda windows forms)
  I posted a while ago about getting a list of sql servers that are available for connection. This is kinda on the same subject, but i think it warrants a different thread.

I've got a dll that at the moment I call from a Vb app, and it displays a form/dialog listing the servers and returns the server when the user clicks ok.

If (cp.ShowDialog(Me) = DialogResult.OK) Then

MessageBox.Show(Me, cp.SelectedComputerName)
End If
The me in the code is the parent application. So my question is "can I call this dll so it will display the form and return the answer to nsis?" and how do i pass "Me" or replace it in my source code. Or is there a simpler way to do this that i'm totally missing?!?

Many thanks,
Chris

PS: dll file attached for your convenience, thanks to the people at the code project for the tutorial on doing this :)

Does anybody know how to do this?
Is it even do-able? Or is that why noone is replying?

Please help me,
Thanks, chris


I think it will be easier to use InstallOptions. See <nsis dir>Contrib\InstallOptions.