VS 2008 Disallow Clicking On Other Forms?
Aug 21, 2011So when a Form2 is opened you shouldn't be able to touch Form1.
View 2 RepliesSo when a Form2 is opened you shouldn't be able to touch Form1.
View 2 Repliesas the title says; its starting to download with IE download manager, and i want to block it, [and use my own downlaod manager]
View 6 RepliesI want to disallow changes to two comboboxes unless the user first clicks a LOCK symbol on the screen. I pop a Y or N into the tag of the picture box when they click it...I've got this - combobox is called LanguageTo
Private Sub LanguageTo_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LanguageTo.Enter
If Me.languageLock.Tag.ToString = "Y" Then
MessageBox.Show("Click LOCK symbol to allow changes to the Language Pair!", "Language is Locked!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
[code]....
How do I "cancel" the attempt to change that combobox?I don't want to ENABLE=FALSE the combobox - as I don't want it's image to visually change. I want to allow them to attempt the change and then abort it if they didn't unlock first.
i have a monthcalendar control on a form, and about every minute or so, the click event fires. this is wierd, since i look at the call stack and nothing called it.
View 2 RepliesI'm making a program which will work minimized in the system tray.Now, what it have to do is to load a page [URL] and then input a specific string which i have stored, into this element:
HTML Code:
<input name="ctl00$ctl00$JobnetBaseMiddelContent$LoginContentPlaceHolder$txtUsername" type="text" id="ctl00_ctl00_JobnetBaseMiddelContent_LoginContentPlaceHolder_txtUsername" class="text required" style="width:183px;">
and another string into this one:
HTML Code:
<input name="ctl00$ctl00$JobnetBaseMiddelContent$LoginContentPlaceHolder$txtPassword" type="password" id="ctl00_ctl00_JobnetBaseMiddelContent_LoginContentPlaceHolder_txtPassword" class="text required" style="width:183px;">
and then press this button:
HTML Code:
<input type="submit" name="ctl00$ctl00$JobnetBaseMiddelContent$LoginContentPlaceHolder$btnLogon" value="Log ind" id="ctl00_ctl00_JobnetBaseMiddelContent_LoginContentPlaceHolder_btnLogon">
After that, it would login to the website, and would afterwards press on another button.Each week, i have to login to a website, and press a button in order to keep my current economic status. Which is quite meaningless. Therefore, having a program to press it for me, working in the background, would be so much easier, and make me not forget it?
Ps.The elements info's were received using Google Chrome's "View Element Details".
I've created a form that plays some internet radio. The thing is the user wants an extra form for volume control that is docked to the side of the main form. This is no problem, i've made that, but im having some trouble making this form shown at the same time as the main form.In short what i want is that when you set focus on form1, form2 should also get in the foreground. Not focused, it should just follow form1
View 6 Replieshow to stop a ComboBox from displaying blank data?
The query I'm using does not allow nulls but the ComboBox is showing black areas and the user can click in those areas.
The PureComponents ComboBox did not show the blank areas but when I started to use the ComboBox from VS 2008 the blank areas are showing up.
The attachment shows me clicking in a blank area.
I've got a RTB that I use to display some info for a user. Scroll bars on the right to move the data visually up and down.
I don't want to allow the user to alter text in the RTB - it's for display only.
How would I go about that without using ENABLE=FALSE?
My Front end is VB.net 2008.I have a form. In this form, I have a menu control, this menu control has four buttons.On clicking the first three buttons, open the window with Show() event. and the fourth button open the screen with ShowDialog().Now, One by one I am clicking the button , so finally i have now four windows of this application.(Three with Show() and one with ShowDialog())Right?
Now I am minimizing all the windows with the help of Window + D Button.After this, If I use the keyboard(Alt+ Tab) keys. This is opening the showDialog window on top because , Show dialog's TopMost = True.Now I come back to my problem. That's why I cannot use the show/Showdialog overloaded menthod to pass the Me/form-id .Again, I use the keyboard(Alt+ Tab) keys, to minimized all windows. In the taskbar and Startmenu properties ,I have selected the Group Similar Taskbar buttons.This resulted in the heap of my application windows, one on the other.Now i click on one of my application window , and If I click the window other then the Show Dialog opened Window, this is not bringing the show dialog window to topMost.
Note:- There is no parent child window requirement. That's why I can't use the Show/Show Dialog overloaded method to pass the Me/Form-id
I have a vb.net program that allows you to access webpages in my localhost. Now, my problem is that, when I try to list records in mysql by using tables, it remembers history and the previous data that you listed will appear like a ghost even if the data you inputted does not correspond to the data that it is showing. How can I avoid that?
View 1 RepliesI want to update some things on the form when the user clicks a new date (or changes the month, which automatically selects a new date). If I use the DateSelected event, it seems to work as expected when I use the mouse. However if the arrow keys are used, the event does not get triggered. If I use the DateChanged event, it seems to go into an infinite loop. The message box pops up a zillion times when I click the arrow to change the month:
Private Sub MonthCalendar1_DateChanged(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DateRangeEventArgs) Handles MonthCalendar1.DateChanged
MessageBox.Show("DateChanged")[code]....
The only problem with using the DateSelected event is that if the user uses the arrow keys, the event is not fired. I thought I could fix this by disallowing the use of the arrow keys, but I couldn't find anywhere to do that.
The message box shows up, indicating I have selected the enter key, but a return is also aoolied to the rich text box.[code]...
View 5 RepliesI do not want the text in my WebBrowser control to be selectable. How would I do this?
View 4 RepliesRecently I've found how to add a link to an item in Visual Studio so that you can reference common or shared files between projects. Editing the original propagates the changes to the projects where the file is referenced. But you can also edit the reference item and the changes are reflected in the original file, is there a way to prevent this behavior?
View 1 RepliesI have a windows form. I dont want the user to be allowed to maximize or resize the form.
View 5 RepliesI have a webbrowser in the form, ele is a HtmlElement on the page in the browser. now, I want to get ele's value (if it exists). if I turn off option strict, then
If (ele.DomElement.value() IsNot Nothing) Then
val = ele.DomElement.value.ToString.ToLower()
End If
this works. but if I turn on option strict, then it has error for "disallow late binding".
I guess I should use ctype to convert ele.domElement, but what type should I convert it to? htmlelement will not work.
When the user clicks the Exit button it closes the forms and if there was an open file it asks the user is they would like to save. But after the application closes there is still memory being held in Processes by the application. However, when pressing the [X] in the top of the form the application closes again but in this instance it is not held in Processes. How do I write the close for Exit to take into account how the [X] works and close the application cleanly?
Friend Sub CloseAllForms()
CloseHelpForm(True)
CloseDiagForm()[code].....
Someone asked me to add a function when the notifyicon is doublcliked. I figured that'd be easy with the mousedoubleclick event being available. I find out that then both the single and double will then be called. Well that sucks, I want it to only do the one the user requests. So I tried to get it to work:
Private Sub DblClick_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles DblClick.Tick
[Code]...
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 Repliesi'm still a rookie about this vb.net stuff and i want to fix some bugs..and i don't know what's the problem of it..there are pictures been attached here.. it's a math project and i simply used event LEAVE because i dont know if what will be the right code if i just use button key.the clicking should be sequence according to the answers.. if you can suggest on how to button this with just the click of the button the answers will
View 2 RepliesA fairly common problem I imagine but can't find anything relevant.I have a button on a child form. A click opens another form that also has a button in about that position. If the user double clicks, as some are bound to, it acts as a click on the second form's button.
View 18 Repliesi have an external window, which i have his hwid and etc... there is a button named Button4, (class- button, child - aka intance - 4) how do i click it
View 2 RepliesI want to click on an Email link on This Disposable Email Website Lets say the email's title is "Email 1".How would I get my program to click on it?
View 5 RepliesI got an error when I clicked on my button.The error is as below An error occurred creating the form. See Exception.InnerException for details. The error is: Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.MouseEventArgs'.[code]
View 6 RepliesI want it to be able to click another time every time I click, but it wont wont. When I click, it will just keep sending clicks and not stopping until I close the program
If GetAsyncKeyState(1) Then
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0)
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0)
End If
i am on my first project, an application which i want to based on other modules and win32/console applications that i want to put in. the very first issue i m facing is creating a button redirecting to a win32 app..i found this in a recent topic of this forum [code]with this, i get the error BuildOS.exe has stopped working when i click the button as shown in the attchmnt. but that exe runs fine when i open it manually.
View 5 Repliesi have two form 1 is maximize and the other 1 is small type kinda login system..and i dont want the user to click the main form, it will access the main form if he types the correct info on login form..
View 3 RepliesI have context menus on certain nodes of a TreeView that pop up when you right-click those nodes. But how do I get the node that right-clicked? It isn't neccessarily the selected node, so I can't use the .SelectedNode property
View 9 RepliesI'm trying to finish up Visual Basic project for a class to create a playlist of files and to have them played.I have everything working if I single click the item from my list, and then click the play button in the WMP control portion of my form.I then want to add the functionality of double clicking the selection in the list and play with the following code:
[code]...
and nothing seems to happen.Digging into values of the debugger at the time I try to play the file:
[code]...
The sourceURL of the first item in the playlist is correct, but the duration is 0:00 (it should be 0:01). Since it seems there is no duration detected, nothing is played. Any idea what I missed? Again, if I single click the file, which sets the playlist as I want, then click PLAY on the GUI controls, it works fine.Also, is there any way for the program to detect when the song has changed when playing a playlist of multiple songs? I want to have label fields showing "Now Playing" information that would change info as the songs change, and maybe even change the item selected as things are played. I've not yet found a way to detect this change, only when the player starts and stops in general.
i have a.exe (portable program) , i put it in my project resources, how can i launch the .exe by clicking a button on my form ?
View 7 Replies