Disable Speech With Checkbox / Radio Button?
Apr 28, 2008I need to be able to let a user decide to disable or enable the speech capabilities in my application using a checkbox or radio button.
View 12 RepliesI need to be able to let a user decide to disable or enable the speech capabilities in my application using a checkbox or radio button.
View 12 Repliesi like the way radio buttons look as compared to checkboxes. is there anyway to make radio buttons behave like checkboxes ,ie able to check or uncheck all radio buttons it seems i can only have one radio button checked ,when i check another the previous radio button unckecks ,i really dont want to use checkboxes as i like the look of radio buttons or perhaps there's a way to make checkboxes look like radio buttons?? in vb.net 2008?
View 22 RepliesI have just made a simple application with a questionnaire. The questionnaire has all 40 questions in the same page (that was one of the specifications) which makes for quite a long form. On top of that, each question has its own group box and each group box has 4 radio buttons for the possible answers (in total 160 radio buttons).
I want the user to be able to scroll down using the up/down arrow keys. However, if he has just selected an answer, pressing the down key will only change the selected radio button (as is the expected behavior of a radio button).
How do I disable the selection of a radio button through the up/down arrows?
i have an if statement that neds to check if the control passed is a checkbox or a radio button
If TypeOf (Control) Is CheckBox Then
If count = 1 Then
text += Me.GetCheckBoxValueJQuerySyntax(Control.ClientID) & " + '~' + "[code]......
This fails as the checkbox and redio button derive from the same class, so how woudld i check if the control is a checkbox or a radio button.
I have a project in which I have to display a picture box based on:
Which radio box is checked
and
if a checkbox to make the picture box visible is checked. As someone who values clean, good code this is my code and it horrifies me. My question, is there some way to condense the following using cases or some other construct I don't know in VB.net?
If CheckBox1.Checked = False Then
BooksPictureBox.Visible = False
MusicPictureBox.Visible = False
[Code]....
Note- all the images stack on one another, and all of them start without being visible.
i'm trying to design a program where I can take all the software that i have and just put it on an external Hard drive open this program at a customers house select what software I want to install and than let the install run through everything. I'm running into a problem with my winrar installation since I have a x86 installation and an x64 installation I want to be able to select the checkbox for winrar and than choose either the x86 or x64 and than it will install. I figured out how to set everything up it disables the two radio buttons until the checkbox is checked but I can't go through and uncheck the checkbox (say if I accidently checked it or something)[code]
View 2 Repliesi m doing project in vb and database is microsoft accessin my form i have 3 radiobuttons and 3 combobox when i select radio button then respective combobox enable and remainig disable i load all the data in combobox through data reader the problem is user can select different radio button so as query also changes to fetch the data from databse whenever i select 1 rasio buttons its work whenever select it not work
[code]...
creating an install button. The button must be able to find a file from a folder and be able to place it in another folder. But the install button must also disable a checkbox when it itself is checked.
View 9 RepliesI have one radio button and one listbox .i want code for display listbox depends on the radio button check true and false.
View 3 Repliesi have problem that i know once someone answers, i will kick myself, but here goes. i need to move the text next to the radio button to the left of the radio button, that part is easy just make sure the the "right to left" is maked yes, got it. but, the problem is i am making a seating chart and the seats are labeled 10-a, 10-b etc.... when the right to left is set to yes my text reverses and becomes a-10 and i can't seem to figure out what is set in the properties the is causing the alpha to be placed before the numeric.
View 2 Repliestrying to write a simple form for calculating professor's salaries depending on their degree and position.my problem is that the when i select a check box, the value is not being updated until i select a different radio button. it probably doesn't make much sense here,
Public Class frmMain
Private Sub optLecturer_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles optLecturer.CheckedChanged[code]....
the values being assigned to my salary label are correct, but are not being updated until i select a new radio button. im not entirely sure how to get around this so that the value is updated as soon as i select the check box.here's when the program looks like:
I have a question regarding the Vista Speech API. I have written a program using the Vista SAPI to recognize commands with the inprocRecoContext in VB.NET. Everything works well so far - the speech recognition is trained for more than one voice and it works really perfect! The problem is that after a while the speech recognition engine trains itself to a specific user or even to background noise such as the tv and the recognition doesn't work anymore. When I copy back the original trained profile it works again for a day or so.So my question is: Is it possible to turn off the automatic learning of the speech recognition engine?
View 5 RepliesSo i'm working on this web application which is pizza order application form in which user selects size of the pizza and toppings.I've 4 sizes pizza but I can check more than one radio buttons at a time.and the other problem is that I've like 6 choices of toppings which worth 99C each. But If I select more than one checkbox, then total adds up 99C only once.[code]
View 3 RepliesCan you temporarily disable a radio buttons CheckChanged Sub? I have a set of radio buttons in a groupbox and when the user selects one, I need to check if it's a valid selection. If not, I need to reset it to the previous button that was pressed. Below is an example of my
Private Sub rbGame_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbGame.CheckedChanged
t_indextype = m_indextype
m_indextype = "1"
[CODE]..................
In the above example, ResetButtons() changes the checked value of the radiio button selected to false and changes the checked value of the previous radio button to true. The problem is that when radio button rbGame gets changed, it causes the CheckChanged sub above to run again from the top. Is there a way to temporarily disable it from running while I make my changes and then re-enable it?
I have a group of radio buttons inside a groupbox and I don't want the user to be able to move the focus away from a button by using the arrow keys. I've tried the following keydown event, but it never gets fired:
Private Sub rbCode_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles rbCode.KeyDown
' If an arrow key is pressed, maintain focus on this radio button
If e.KeyCode = Keys.Left Or e.KeyCode = Keys.Right Or e.KeyCode = Keys.Up Or e.KeyCode = Keys.Down Then
[code]....
to disable right click and to disable the start button and task bar?
View 4 Repliesif i have 24 PCs then i read it from the database which i have stored each details for each PC in the MS Access. Then each PC there is a checkbox. If the first user checked the , example PC14's checkbox, The second user which log in can't see the availiability of PC14 and the PC14's checkbox must be disabled. But the problem is, i used hard-coding for only 1 PC. Even if the first user check or uncheck the box, the box is still disabled. Why ? Another thing, how do I disabled any of the PC range from PC1 to PC24 if the first user pick and the second user who log in can see that the PC the first user chose is being disabled ?
Below what i attached is part of my hard-coding in VB.NET 2005 for the availiability and enable:
Do While myreader.Read() = True
PCNO = myreader.Item(0)
Availability = Val(myreader.Item(1))
[Code]....
I am working on an application that has a lot of checkboxes that start off unchecked, and each one has an associated textbox which is disabled until the checkbox is checked.I am going through and currently one by one doing an "if checked, enable, if uncheced, disable" - however it is taking forever!Is there a quicker way / method I should be using that will speed up this process?
View 7 RepliesWhen I check the Checkbox in datagridview and click Save button I want that the Checkbox in that cell would become disabled to uncheck or check again or invisible at all. Is that possible, what could you advise ?
I guess it should be smth like this (my datagridview shows only checked checkboxes),but it doesn't help, I still can uncheck boxes...
[Code]...
how to auto disable asp.net checkbox1 on page_load event ?
View 2 RepliesI am trying to enable/disable a checkbox depending on whether or not a match is found on the checkbox name and a list of controls. When I step through the code and pass the line "ChkBox.Enabled = pbEnable", the Enabled value does not change. In this case the state before the change is False. pbEnable is True.[code]
View 2 RepliesI want to print a fully decorated form having radio buttons,combo box,checkbox and so many other controls with vb 2008 in a A4 sheet, I dont want to use print form utility given in power pack since the print resolution are very low.
View 3 Repliesi want to make checkbox as readonly not enable/disable.
View 1 RepliesIn my project I would like to call an exe so that exe pop up will come with a Login Screen with 2 buttons Login and Cancel.In those 2 buttons, login button is focussed default. Now my application should invoke the Login button automatically. Means there won't be Pressing ENTER KEY or Mouse Button Etc. Just after the Login Screen, there is a 2nd Screen that has 5 different Radio buttons, the 1st Radio button is always the default. So I also want to click this radio button automatically without using the keyboard or the mouse. y intention is that, the application should do that automatically.
I have tried with getting the handle of the focused Button by GetFocus method and tried to send that handle to the application by SendMessage and PostMessage. But it's not working.So can any body give some suggestion regarding this?
How do you disable additional checkbox selections/deselections without sacrificing the functionality of the ListView? I know you can call: ListView.Enabled = False, but that also disables any scrolling within it.
For example: I have a timer that starts a backup based on the Listview items that are checked. After a certain time, I don't want the end-user to be able to click on any of the checkboxes within the listview (so I have a set number of items to backup), but I do want them to be able to scroll the list while the backup is being performed. I tried this[code]...
How to disable registered user account in asp.net membership using checkbox ?
View 1 Repliesrecommended alternatives for speech recognition other than Microsoft Speech libraries?
View 2 RepliesI'm trying to create a Speech Recognition support for my program. I want to make it so that if I say something in my microphone, the program just writes what I said in Label1. I looked for Speech Recognition codes in MSDN and Google, but I didn't find anything useful. I found a code, but it was for VB.net, I tried but it didn't work in VB 2010.
View 1 RepliesUser will use a button1.click to open a filedialog to locate the file they needed. after which, the name of the file will appear on a textbox. Button2 is an OK button to write the filename into a txt file. Button2.click will work with the 3 radio buttons - meaning when Radio Button 1 is true and Button2.click is clicked, the filename will be saved asFile1.txt.if Radio Button 2 is true and Button2.click is clicked, the filename will be saved as File2.txt. Likewise to Radio Button 3
View 1 RepliesI am using WPF in VB. My window contains radio buttons and combo boxes. I am wondering how can I save those in textfiles?
View 2 Replies