Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > how do i disabled the next button
 

how do i disabled the next button

hi, how do i disable the next button where i have the textboxes?

i'd like do disable them, if they're empty or the values are incorrect

thanks a lot

[]'s

fmartin_cit  Wednesday, May 09, 2007 3:52 PM

There are no hooks in Visual Studio to enable/disable Next buttons during the install based on whether the values are correct or not. There's no support for code during the UI sequence, which is why there is this for validation of serial numbers where Orca is used to add the validation and button enabling.

http://support.microsoft.com/kb/253683/en-us

PhilWilson  Wednesday, May 09, 2007 8:03 PM

I think this should do it ..

btnNext.Enabled = False

tattoo  Wednesday, May 09, 2007 4:45 PM

There are no hooks in Visual Studio to enable/disable Next buttons during the install based on whether the values are correct or not. There's no support for code during the UI sequence, which is why there is this for validation of serial numbers where Orca is used to add the validation and button enabling.

http://support.microsoft.com/kb/253683/en-us

PhilWilson  Wednesday, May 09, 2007 8:03 PM

You can use google to search for other answers

Custom Search

More Threads

• how to restart application after updating version
• .Net 2.0 Install Fails
• How to specify WSE in the prerequisite components?
• Custom dialogs in Setup Project
• AxSHDocVw.AxWebBrowser
• C# ClickOnce web deployment issue: seeing code instead of the proper functionality with the "launch" hyperlink on publish.htm
• Clickonce and Sql Server Express database name issue
• c:\ProgramData\manufacturer\company still created even after move data files to a different custom folder in Setup Project
• publishing and default problem
• suppress reboot