interactive macro with windows forms

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • interuser

    #1

    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

  • Peter Macej

    #2
    Re: interactive macro with windows forms

    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.



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

    Comment

    • interuser

      #3
      Re: interactive macro with windows forms

      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.
      >

      >
      --
      Peter Macej
      Helixoft -http://www.helixoft.co m
      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 openfolderdialo g, 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.FolderBro wserDialog
      dlgFolder = New System.Windows. Forms.FolderBro wserDialog


      dlgFolder.Descr iption = "Select the folder that contains the
      XML files."
      If dlgFolder.ShowD ialog() = DialogResult.OK Then
      'Console.WriteL ine(dlgFolder.S electedPath)
      End If
      Me.txtDeploymen tLocation.Text = dlgFolder.Selec tedPath()

      Comment

      • interuser

        #4
        Re: interactive macro with windows forms


        Ï/Ç 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.



        --
        Peter Macej
        Helixoft -http://www.helixoft.co m
        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 openfolderdialo g, 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.FolderBro wserDialog
        dlgFolder = New System.Windows. Forms.FolderBro wserDialog
        >
        >
        dlgFolder.Descr iption = "Select the folder that contains the
        XML files."
        If dlgFolder.ShowD ialog() = DialogResult.OK Then
        'Console.WriteL ine(dlgFolder.S electedPath)
        End If
        Me.txtDeploymen tLocation.Text = dlgFolder.Selec tedPath()
        Well, any ideas as to how to get openfolderdialo g working ?

        Comment

        Working...