Disable Next button in VisualStudio.Net setup project

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

    #1

    Disable Next button in VisualStudio.Net setup project

    Hi,

    I added to my setup project TextBox dialog control which contains two
    textbox.
    I want to add the ability to disable the next button until the user
    enter some text in the textbox (let's say until the length of the two
    textbox greather than zero)

    Any ideas how to do it ?


    Assaf
  • S Gopikrishna

    #2
    Re :Disable Next button in VisualStudio.Ne t setup project

    Hi There

    Write a custom validator which disables the button and
    get invoked onTextChanged event of the Text Box

    -Gopi[color=blue]
    >-----Original Message-----
    >Hi,
    >
    >I added to my setup project TextBox dialog control which[/color]
    contains two[color=blue]
    >textbox.
    >I want to add the ability to disable the next button[/color]
    until the user[color=blue]
    >enter some text in the textbox (let's say until the[/color]
    length of the two[color=blue]
    >textbox greather than zero)
    >
    >Any ideas how to do it ?
    >
    >
    >Assaf
    >.
    >[/color]

    Comment

    • Mike Wade [MSFT]

      #3
      RE: Disable Next button in VisualStudio.Ne t setup project

      It is not possible to do this with setup and depoyment projects. However, such functionality is available through the
      Windows Installer SDK. See the following link for an overview.

      http://msdn.microsoft.com/library/de...s_overview.asp


      --
      Mike Wade, VB Team
      This posting is provided "AS IS" with no warranties, and confers no rights.

      --------------------[color=blue]
      >From: assafj@magen.co m (Assaf)
      >Subject: Disable Next button in VisualStudio.Ne t setup project
      >Date: 16 Nov 2003 01:03:42 -0800
      >
      >Hi,
      >
      >I added to my setup project TextBox dialog control which contains two
      >textbox.
      >I want to add the ability to disable the next button until the user
      >enter some text in the textbox (let's say until the length of the two
      >textbox greather than zero)
      >
      >Any ideas how to do it ?[/color]


      Comment

      Working...