469,889 Members | 1,164 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,889 developers. It's quick & easy.

interactive macro with windows forms

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

Apr 5 '07 #1
3 1195
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
Apr 5 '07 #2
On Apr 5, 10:29 am, Peter Macej <p...@helixoft.comwrote:
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()

Apr 6 '07 #3

/ interuser :
On Apr 5, 10:29 am, Peter Macej <p...@helixoft.comwrote:
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()
Well, any ideas as to how to get openfolderdialog working ?

Apr 8 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

699 posts views Thread by mike420 | last post: by
1 post views Thread by Brian Henry | last post: by
3 posts views Thread by Lubomir | last post: by
reply views Thread by Simon Eves | last post: by
3 posts views Thread by interuser | last post: by
8 posts views Thread by raphfrk | last post: by
8 posts views Thread by james.kirin39 | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.