VS 2008 2 Comboboxe's Disable 1 If Other One Is In Use?

Sep 8, 2009

I have 2 comboboxes and what I want is if user is using lets say combobox1 then combobox2 becomes unavailable and same the other way around.

View 14 Replies


ADVERTISEMENT

Disable A Timer - Will Finish The Process And Then Disable Or Will It Immediately Disable Without Completing Process?

Dec 22, 2011

I am confused what will happen, when I disable a timer. Will it finish the process and then disable or will it immediately disable without completing process? for example

[Code]....

I want to run getMessage from somewhere else, so I need to disable timer during that time to be asured not to override anything and also before timer disable it should complete that function code.

View 3 Replies

Disable Right Click And To Disable The Start Button And Task Bar?

May 16, 2009

to disable right click and to disable the start button and task bar?

View 4 Replies

Disable Right Clicking In .net 2008?

Dec 19, 2009

how i can disable right clicking in vb.net 2008?i have a form with a webbrowser control in it if the user right clicks they can do things like view source and i dont want that so how could i stop them?

View 1 Replies

VS 2008 - How To Disable Monitors

Oct 4, 2009

What im trying to do, is have my program run full screen on the primary screen, and diable all other screens. I have it 'full screen' and constantly on top of everything with this

Dim b As Boolean = _
SetWindowPos( _
Me.Handle, _

[code]....

It is in a timer, so its always on top. how do i turn off, or disable all other monitors, besides the primary screen. (How do i check if they have other monitors, and if they do, how many, and disable them all, with exception to the primary screen.)

View 19 Replies

VS 2008 Disable The Highlighting?

Oct 4, 2010

In my project I have a DataGridView with only one row. See here:

But I have to change something. When the datagridview appears, the first cell is highlighted what I dont want, because, in this case, this is confusing. Is there any possibility to disable this highlight?

View 7 Replies

VS 2008 How To Disable Error Pop-ups

Jun 24, 2010

When I use anything that connects to the internet I keep on getting "An error has occurred on the scripts in this page". How do I disable those? It happens for some reason when the web browser loads up a page it detects small errors that normal browser wouldn't. IT'S EXTREMELY ANNOYING and I can't publish my web browser until I find out how to disable this.

View 1 Replies

VS 2008 - Any Way To Disable Dates On DateTimePicker?

May 2, 2011

I am working VB.NET 08 Access Database. I have Two "DateTimePicker" controls one is "StartDate" and one is "Enddate". Now I am selecting Startdate like May 1st OK. Now when I select Enddate control this calender shows only Equal or Greater than dates should be Enable. EndDate should be Always Greater than Equal Date. That's why when ever user selects the Enddate Before May 1st dates should be disable..

View 2 Replies

VS 2008 - Disable Everything On The Form Except For ONE Button?

Mar 29, 2010

I have a form thats got a lot of buttons and functionality on it. I want some users to be able to view the form, but not have any of the functionality.

[Code]....

View 3 Replies

VS 2008 : Disable Key Press Procedure?

Jul 6, 2009

I have some code that executes in several keydown procedures.Trouble is, how do I keep these procedures from running?

Private Sub Form1_KeyUp1(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp
If e.KeyCode = Keys.D1 Then
PictureBox1.Visible = False

[code]....

When I'm elsewhere in the program (it has different "modes" when operating), I DON'T want lowbit0 true.How do I ignore these subs in code? Also -- from what I've seen, you can only use the key events from within a procedure?Like If KEYX.event = true then do this?

View 5 Replies

VS 2008 : Disable The Sound In A WebBrowser?

Mar 28, 2010

How do I disable the sound in a WebBrowser?

View 1 Replies

VS 2008 Disable Button After First Click

Jun 8, 2009

how i can Disable button after first click

View 14 Replies

VS 2008 Disable Dragging A Form?

Feb 4, 2010

How can i disable a user from dragging a form , with using form border style (None). I want to use a fixed singl border style.

View 3 Replies

VS 2008 Disable Editing A Combobox?

Mar 20, 2009

Is it possible to disable editing a combobox. With a textbox you have the option readonly. Is there something like that for the combobox?

View 7 Replies

VS 2008 Disable Mouse Move?

Nov 12, 2010

i would like to write a function that when i click a button, the monitor will go in to standby mode, and then when i press the keyboard, it will wake up, but i do not the mouse wake up my monitor, how can i prevent my mouse wake up my monitor or how can i disable the mouse move?

View 2 Replies

VS 2008 Disable Proxy In Web Browser

Mar 30, 2010

I'm currently using the following code to set a proxy:

Public Structure Struct_PROXY
Public dwAccessType As Integer
Public proxy As IntPtr

[Code]....

View 3 Replies

VS 2008 Disable Shadow On ToolTip?

Dec 6, 2011

I want to disable the shadow underneath the standard tool tip ... is this possible?

I want to do this as i want to owner draw it ... and not have it square (as the shadow is ... even when owner drawing )

View 6 Replies

VS 2008 Disable Some Javascript In A Webbrowser?

Feb 8, 2011

Is it possible to disable some scripts in a webbrowser, but not all?

View 2 Replies

VS 2008 How To Disable Background Form

Jun 30, 2009

I have two forms -form1 and -form2When from the form1 window, i call to open the form2 window, i want the form1 window to lose its focus-not to be accessible.

View 2 Replies

[2008] How To Disable A Button On Form

Feb 27, 2009

i tried: Me.Button1.disable=trueit doesn't work..

View 4 Replies

VS 2008 Disable Active Scripting In A Web Browser?

Nov 8, 2011

What VB code do you use to disable active scripting in a web browser? I've been getting web browser errors that been halting my script. When I disable the active scripting in IE8, everything works fine. I'd like to do this using a VB code and not using IE8.

View 9 Replies

VS 2008 Disable Border When Clicking A Button?

Jun 26, 2011

Version: Visual Basics 2008

How do I disable the border when clicking a button?

When the form is opened:

[URL]

When a button is pressed:

[URL]

View 7 Replies

VS 2008 Disable Keyboard & Mouse - Windows 7?

May 13, 2010

I have done some reasearch on disabling the mouse and keyboard both on Google and on the forum and what ever i find can not get to work. What I'm trying to do is on a click of a button it will disable the mouse and keyboard. It must work in W

View 4 Replies

VS 2008 Disable User From Dragging A Form?

Jun 28, 2010

Is there a way to disable a user from dragging a form other than setting the form border style to "None" ?

View 8 Replies

VS 2008 Enable /disable The Timer With A Button?

Mar 28, 2010

how to enable /disable the timer with a button and how enable /disable the timer with a checkbox? and the opposite how to enable /disable a button with a timer and how to enable /disable a checkbox with a timer

View 5 Replies

VS 2008 Enable/Disable A Control With TabIndex?

Jan 31, 2010

Is there a way to set the enabled property of a combo box using the tab index?

In my program I have two combo boxes next to eachother. When a certain option is selected in the first combo box, I want the second to enable itself. Obviously this is easy to do by using combobox2.enabled = true but I have 10 rows of boxes that need to do this and I want to put all the functionality into one sub. It's possible to read the tabindex into a variable by using VAR = sender.tabindex and then add 10 to that variable (The box that needs to be enabled will always have a tab index of sender + 10) but I can't figure out how I'd use the tab index to enable it. If only I could just type sender.tabindex(+10).enabled = true

View 3 Replies

VS 2008 RichTextBox - Disable Mouse Scaling?

Apr 17, 2011

Finishing off my control, but I now found a nasty problem. When the user holds the 'Ctrl' key and scrolls the mouse scrollwheel, the control is scaled. I do not want that, since it would make the Font size fail.

I previously made it reset the scale on Control up, but that is just not a very elegant way:

Me.ZoomFactor = 1 I do not want the text scaled at any time, not even while the user is scrolling and it resets afterwards. I got to overriding the 'ProcessCmdKey' but no idea how to catch a scroll or zoom event.

Any way of disabling the RichTextBox scaling (or zooming) so it does not even occur? I have a control that inherits from the RichTextBox.

View 2 Replies

Disable Checkbox Selections In 2008 Winform Listview?

May 6, 2009

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

View 3 Replies

VS 2008 - Temporarily Disable A Radio Buttons CheckChanged Sub?

Jun 27, 2009

Can 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?

View 4 Replies

VS 2008 - User Control - Disable First Grid And Enable 2nd

Apr 21, 2009

I have a usercontrol that contains a datagridview and a toolstrip. When creating a windows form that contains 2 of the mentioned usercontrol i gate for example c1 and c2 where both contains for sure the datagridview and the toolstrip hving the same control name for example G and t. in my case i want to apply the security on each form, i do this by reading the access of each control inside the windows form and if the control on the form was a user control then i dont consider it as one entity instead but as a grid alone and a toolstrip alone in order to be able to apply its security accordingly. but in ma case, if i want to disable the first grid and enable the 2nd i wont be able to do so since both grids have the same name. is there any solution for the above.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved