interactive macro with windows forms

  • Thread starter Thread starter interuser
  • Start date Start date
I

interuser

Hi
I want to make an interactive macro that will popup a form with
buttons, checkboxes etc.
How can I do that?
Any examples will be appreciated.
Thank you
 
Do you mean Visual Studio macro? If yes, see my macro for multiline
Search&Replace. It shows its own window. There's an explanation how I
did it.

http://www.helixoft.com/blog/archives/15

--
Peter Macej
Helixoft -http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
.NET and ASP .NET code

Thanks.
Excellent!!!
One more question.
I want to call the openfolderdialog, but it comes up empty without the
folders tree in it.
Anyone knows what may be wrong?
here's the code:

Dim dlgFolder As System.Windows.Forms.FolderBrowserDialog
dlgFolder = New System.Windows.Forms.FolderBrowserDialog


dlgFolder.Description = "Select the folder that contains the
XML files."
If dlgFolder.ShowDialog() = DialogResult.OK Then
'Console.WriteLine(dlgFolder.SelectedPath)
End If
Me.txtDeploymentLocation.Text = dlgFolder.SelectedPath()
 
Ï/Ç interuser Ýãñáøå:
Thanks.
Excellent!!!
One more question.
I want to call the openfolderdialog, but it comes up empty without the
folders tree in it.
Anyone knows what may be wrong?
here's the code:

Dim dlgFolder As System.Windows.Forms.FolderBrowserDialog
dlgFolder = New System.Windows.Forms.FolderBrowserDialog


dlgFolder.Description = "Select the folder that contains the
XML files."
If dlgFolder.ShowDialog() = DialogResult.OK Then
'Console.WriteLine(dlgFolder.SelectedPath)
End If
Me.txtDeploymentLocation.Text = dlgFolder.SelectedPath()
Well, any ideas as to how to get openfolderdialog working ?
 
Back
Top