VS 2010 Detect Global Activity In An Form And All Their Controls?

Sep 3, 2010

there is any event or way to detect activity in an form or project?in the form and all the child controls.

mainly mouse clicks (not mousemove) and key press.

for example, if the form have not activity in the lasts 10 minutes, do something.

View 7 Replies


ADVERTISEMENT

VS 2010 Allow No "activity" Outside Of A Form?

Jun 16, 2011

I was wondering how you would go about making it so that, whenever you have a form open, or showing, that it won't allow any other clicks outside of the form content. Kind of like when a critical windows error shows up, and you can't do anything on your computer, until you press the "Ok" button to get rid of that popup message first.

How would you do that with a form?

Let's call it Form 1 and form 2 for example. I have form 1 as a default for when the application starts, but when I want form 2 to show, I want the user to have to deal with that form first before they can do anything else on their computer.

View 12 Replies

VS 2010 Detect Shift + Arrow Key In Form Keydown Event In BLANK Form

Mar 27, 2011

I need to detect shift + arrow key in blank form. But it's not working. I also tried overriding IsInputKey method but it only detects single key press (like arrow key) but when multiple key are pressed it simply doesn't work.

View 5 Replies

Display NIC Activity In A Form?

Jul 22, 2009

I'm in the process of creating a tool that allows users to download stuff from a LAN server. The progress of the download is now being shown as a progress bar that performs a step each time a file is downloaded.

But if the file is a large file (Let's say a 2 GB file) it'll take a while before the progressbar performs a step and the user might think the tool froze up and close it. Now i'm wondering if there's a way to show the activity on the NICs installed. Something like when you open up task manager and go to the "Networking" tab. Showing it as a graph would be awesome or just a percentage is good aswell I have NO idea where I should start looking..

View 3 Replies

Monitoring Directory For File Activity In 2010

Jan 17, 2011

I'm trying to write a simple program to monitor a folder for new files in VB.NET 2010, and am having some trouble. Here's a simplified version of what my program looks like:

[Code]...

View 1 Replies

VS 2010 Detect When Form Has Stopped Being Moved

Jan 4, 2012

I know you have to use WM_EXITSIZEMOVE or whatever it is, but I'm just not really sure how to use messages properly...I've read a few things online but just can't get it to work properly.

I'm looking into making child forms dockable inside my parent form and want to know when to hide my dock labels again (after the child form has stopped being moved).

View 1 Replies

Winforms - Making A Form Halt Other Program Activity Like A Messagebox

Feb 29, 2012

I want to create a custom form (in visual basic .NET) that will stop other process responsiveness until the form is acknowledged. It would be a nice bonus if I can add a beep when trying to access the main program UI while this form is displayed as well (like how a messagebox does).

[Code]...

View 1 Replies

VS 2010 Display Pdf File Inside A Form That Gets Some Values From Form Controls?

Sep 27, 2010

Inside a form, I would like to display a pdf file which is already available in my resources (template file "untitled"). In this pdf file, I have some fields which get their values from some texboxes in another form. My aim is, when the user triggers the button to call this form, it should insert the values inside the pdf file and display the output pdf inside the form.I have written the code to an extend but could not finish it myself after my many trials... Now here are the two things I cannot manage:I can use a directory to read the template pdf "untitled1.pdf". But my aim is to use the file inside my resources. can save the output file in a directory but this is not I want to do. I want to display the output pdf.

View 1 Replies

VS 2010 - How To Resize Controls On Form

May 29, 2012

Is it possible to resize my controls on my form when I run it? The problem I have is that I have created a windows application which has a maximize state on all forms but on some machines my controls go missing (mostly on widescreen laptops). Ideally some way of resizing my controls would probably be best? So is that possible?

View 10 Replies

VS 2010 All Controls Not Working In One Form?

May 10, 2012

I've run in to a very annoying situation. At the moment I have a program with 4 forms. 3 of these forms work fine, but the fourth seems to be a dud. After clicking any one of the buttons or controls on this form it works. But if I try to click anything again, it doesn't work. I can't use my back buttons, I can't even use the minimize, maximize and exit buttons in the top right corner which are automatically built in to the program. I fear I have accidentally changed a setting, or accidentally deleted some very crucial code for this

View 8 Replies

VS 2010 DLL's For Changing Form Controls?

Aug 17, 2010

What I am trying to do is have a Form which can dynamically change the controls which are on it and their properties; this allows my main GUI to be more fluid and not have tons of groups and controls on it which I must hide and show when needed. To make this as extensible and reusable as possible, however, I want all the control additions/subtractions/edits to occur through a separate DLL which I write. The problem is, I can't seem to instantiate any controls in the Class Library because I cannot import 'System.Windows' or any of its children ('Forms').

View 9 Replies

VS 2010 Looping Through Form Controls?

Feb 7, 2010

I did a quick net search and found this which works great for looping through all the buttons to disable them. These buttons are located right on the form.

For Each ctlControl In Form_BLAH.Controls
Select Case TypeName(ctlControl)
Case "Button"
ctlControl.Enabled = False
End Select
Next ctlControl

However...when I tried it on a form where the buttons are contained within a Table Layout Panel it does not work.

View 2 Replies

VS 2010 - Form Resize And Resizing Controls

Mar 20, 2011

Where is the best place to resize a control on a form when a form is resized?....I'm currently using the Form1_SizeChanged event and seems to work ok. Also is there any need to check in the forms resize event if the form is in a minimized state before resizing controls?.,.. in VB6 if you try to resize a control when the form is minimized you get an error, but I don't see that happening in BV10 Form1_SizeChanged event, does VB10 automatically ignore resizing controls when a form is minimized or something?

View 2 Replies

VS 2010 : Resizing Controls On Windows Form?

May 6, 2012

I have developed a windows application on a size of 1366,768. When i have opened the application on another pc, the location of the controls are not the same anymore. Part of the application can't be displayed as well. How can I handle that in vb?

View 1 Replies

VS 2010 Expanding/ Hiding Controls On Form

Jan 19, 2012

I'd like to design a Winform with expanding controls if that 's overly complicated. The idea is that I would have rows of information, each with an "Expand" button. On pressing the button, the rows underneath the selected row would move down and the controls that are associated with the selected row (some textboxes/ dropdowns etc) would appear. Vice versa when you click the "Hide" button.

View 2 Replies

VS 2010 Form Appears With White Controls?

Dec 4, 2010

I'm trying to make an autoupdater, so I've made it search for updates in the beginning and that works fine. But now when the update form is supposed to open, it goes a while and then it says "File Download Complete". So that means the form must have been executed, but it does just not appear. But when I click ok on the dialog, the updater form appears, but with all controls white. Here's my updater.vb: [URL]

I'm using Kleinma's WebFileDownloader class.

I suspect that the problem might be that the updater's form doesn't get it's events handled or doesn't get redrawn.

View 8 Replies

VS 2010 Multiple Layers Of Controls On Form?

Oct 1, 2010

How would I go about doing multiple layers on a form?Say the first layer contains a command button that when its click, it changes to the second layer hiding the command button and showing the controls on the second layer?

View 6 Replies

Detect Children Controls Under Mouse In WPF?

Apr 17, 2012

I have a WPF ParentUserControl and some ChildUserControlA ChildUserControlB etc. (also WPF controls)

The ChildUserControls are controls containing on them some other basic elements (textboxes, labels, etc)

In the main form's status bar I need to display the name of the currenlty mouse overed ChildUserControl.[code]...

View 2 Replies

VS 2010 Pre-Draw/Pre-Rendering Controls On A Form Before It Appears?

Nov 18, 2011

How would I Pre-Draw/Pre-Rendering Controls on a form before it appears? Is this possible??

View 10 Replies

VS 2010 Removed Controls From Form Still Showing In Properties?

Sep 17, 2010

I've removed a few controls from my form, but they're still in the properties. I've looked in the Document Outline, but nothing. How can I remove them (save)?

View 6 Replies

VS 2010 : Dropdown In Property Grid Listing Other Controls In The Form Or Container?

May 16, 2010

I have a custom control of type MyListControl with a Property called NotifiedList. I would like that when selecting that property in the Property Grid at runtime, that a dropdown list is populated with all the instances of type MyListControl that shared the same container as the original control.

View 3 Replies

Changing The Object Declarations To Global Using The 'global' Keyword Evertime?

Mar 15, 2012

evrytime i add new controls to a form in vb.net the designer regenerates code and asks me to make corrections, so i have to keep on changing the object declarations to global using the 'global' keyword evertime it regenarates code,especialy dataset objects.how can i prevent this?

View 1 Replies

VS 2008 Webbrowser Controls Shows An Error Msg When It Detect Errors In The Page Navigated?

Oct 28, 2009

my webbrowser controls shows an error msg when it detect errors in the page navigated, but i want it to be silent, i don't want to see any warnings.

View 6 Replies

Use Global X As String In Vb6 In A Module To Declare It With Global Privelages?

May 1, 2009

i could use Global x as string in vb6 in a module to declare it with global privelages, how can i do this in vb2008? how to declare a global variable in vb2008? so that i could use it anywhere i want. i know global variables are not recommended in programming but i need one.

View 4 Replies

How To Make A DataView Global To A Particular Form

Jun 21, 2010

I would like to know how to make a DataView global to a particular form.The DataView is currently created and returned from a function within a public class residing in another .vb module.[code]I would like to make objDataView global so I can use the RowFilter instead of doing a new DataSet every time the user clicks on this RadioButton.

View 7 Replies

Declare Global Varibles In VB 2010

Dec 25, 2010

How do I declare a global variable in VB - these variable need to be accessible from all the vb forms. I know how to declare public variable for a specific form. but how do I do this for all the forms in my project.

View 4 Replies

Upgrade From 2k5 To 2010 Global Keyword?

Dec 23, 2009

I want a custom menu when I right click. Like, you know when you right click on your desktop, and you see a bunch of menus, like properties and whatnot. How do I do that with VB.Net? Also, how to add custom?

View 3 Replies

VS 2010 - Global Key Hook Not Working?

Jul 3, 2010

I have a program that u record your clicks then you press a button (Ctrl + E) then it plays them back. What I want is for Ctrl+E to stop them, It would work but it seems like its being overpowered by the mousemoving and clicking. The keyhook did already work before I started on the playback part.

Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
If m.Msg = WM_HOTKEY Then
If m.WParam = 2 Then
If started2 = True Then
started2 = False
ElseIf started2 = False Then
[Code] .....

View 2 Replies

VS 2010 Global Volume Mute?

Mar 4, 2011

I need help declaring and executing the necessary commands to mute the volume on my computer (globally, ie. will effect all programs using sound, not just the application itself).

View 3 Replies

VS 2010 Pass Global Variable In DLL?

Aug 16, 2011

How can I pass the global variable to .dll from windows application (.exe)

Test.dll 1. FunTest1 (Parameter Required)
------- 2. FunTest2 (Parameter Required)

Within 'FunTest2' it call 'FunTest1'.

And in .Exe I call 'FunTest2' and want to pass the parameter for 'FunTest1' also.

View 1 Replies







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