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
ADVERTISEMENT
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
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
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
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
Nov 11, 2011
Does anyone know of a way to detect recent activity in a VB.net windows forms application?
We have a retail store where users share floor computers, the application will be on each machine and require a log in before use. I am trying to find a way to automatically close the application if it has been idle for lets say 10 minutes.
I guess I could do something similar with the current windows log on session - set a gp that logs the user out after 10 minutes of inactivity - but if there is an easy, non memory intensive way to do it in vb.net i would rather use that method
View 4 Replies
Jun 30, 2012
How to watch process activity ?
View 10 Replies
Dec 8, 2011
I am using VB.NET 2005 and am looking for a code example that can pause all Windows applications the same way changing desktop themes does. I want all background applications to fade to black and white while allowing the foreground application to continue normally.
View 4 Replies
Oct 6, 2010
I have an application in wich I have included a timer wich close automatically the application when no activity is detected.My problem is that when I make 'some activity' like accesing something, I do not know how can I reset the timer to 0.
View 10 Replies
Feb 15, 2012
sample code of a user's activity log ..where it records the time of login and logout of the user .. and also records the users deleted, created and updated data..
and should i also create a table in the database for activity log?
View 9 Replies
Jul 9, 2010
i am looking for some .net based library/piece of code to implement task/activity scheduling like microsoft project scheduling in following cases...
Finish to Start
Finish to Finish
Start to Finish
[code]....
View 2 Replies
May 18, 2009
I'm developing a utility that will look through Active Directory and find anyone that hasn't logged in 90, 120, 180, 365 days. Between what I know and researched on here I've pieced together code that works part of the time. When I LDAP a container with approx 2000 or less user objects it will work, but when I LDAP the entire directory it loops through approx 60,000 user objects.Part of the way through it returns the following warning:
ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x4dbc88 to COM context 0x4dbdf8 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.
When I tell it to continue it goes a little further before finally hitting a OutOfMemory Exception:
[Code]...
View 1 Replies
Jan 6, 2010
I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.
View 4 Replies
Jan 6, 2010
I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.
View 1 Replies
Sep 24, 2011
I want to have a VB.Net windows application that monitors the page, and when it detects certain events it triggers some actions based on the data in the page. I've been searching like crazy for some mechanism to "hook" into the browser and hopefully inspect the messages transmitted for the application to know how to react.I've seen the SHDocVw COM object, which comes very close. But when I use the BeforeNavigate2 event, it only seems to fire for GETs, and once I'm on the page where the information is displayed/refreshed the event is not raised.Short of reverse engineering the page, or having to write some kind of proxy...is there a good way to do this in VB.Net?
View 1 Replies
Jan 6, 2010
I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.
View 3 Replies
Dec 22, 2010
I'm wondering if its possible to log who is connecting remotely to my local hard drive and also log what they do if possible?A lot of people access my hard drive and im curious to what they do while there.
View 1 Replies
Oct 5, 2011
I'm using the ASP.Net Membership system but I'm having an issue with the LastActivityDate for the users in the database. For some users, their last activity date is in the future...
View 3 Replies
Nov 18, 2010
I am building a web crawler in .Net which executes approx 500 httpwebrequests at a time. Everything runs fine but the problem arise at some points; Looks like garbage collection thread takes over the whole application pause for a few seconds. Is there anyway that reduce the delay generated by GC.
View 1 Replies
Jan 6, 2010
I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.
View 3 Replies
Jun 15, 2012
I have a winform which allows people to edit data from a database, to simplify things assume there is a Customer table in database with 3 fields - Name, City, Country. Through winform(s) people can Add/Edit/Delete customers.For each of these actions we need to save:
What the field names are (Name,City,Country in this case)What the field values were before they were modified What the field values are after they are modified.If the action is Add or Delete then 2 and 3 will be the same.I have already implemented this using XMLSerialisation (but not using any of the design patterns) and my XML output looks like this.
<?xml version="1.0" encoding="utf-8"?>
<ActivityItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<UserID>26</UserID>
<FormTitle>frmCustomer</FormTitle>
[code]....
The solution can handle different areas of the system with different number of fields (i.e the same thing works when you are modifying Products for instance).is there a well defined design pattern to deal with this kind of behavior?
View 2 Replies
Aug 12, 2009
We have a project for a client that is written in VB.NET. In one of the projects, we have about 100 modules, which are all VERY simple. They're extension methods that convert between object types. Here is a small snippet:
Public Module ScheduleExtensions
<System.Runtime.CompilerServices.Extension()> _
Public Function ToServicesData(ByVal source As Schedule) As ScheduleServicesData
[code].....
View 2 Replies
Oct 20, 2010
Well im getting a error from my antyvirus that my file has been doing suspicuous activity and i dont know how to correct it.
For refrence i have Norton 360 antivirus... 2010
View 8 Replies
Apr 22, 2010
I would like to try and implement a feature wherby once you have logged into an application (straightforward winforms application) and had your credetials verified the application would then force you to log on again if no activity had been detected in the application for a certain number of minutes. In essence I want to provide some extra security for those occasions when users get up and wander away from their machines for prolonged periods.
I have all the logic for logging into the application, it's just the checking for no activity over a given period and then forcing the user to log back in again that I'm not having much luck with.
View 2 Replies
Feb 5, 2006
I have a BindingNavigator and combobox tied to the same BindingSource. I want to allow the user to confirm a delete after hitting the delete button of the navigator. It appears that the row gets marked for deletion after my BindingNavigatorDeleteItem_Click event handler is processed. Is there no way to cancel the delete activity from within the delete click event? If not, then it becomes necessary to store a delete flag and catch another event to RejectChanges.
View 7 Replies
Apr 8, 2011
I want to have my main class for creating activity for 2 different flags.
1) One with relative layout Textview and images for which I am extending my class as[code]...
View 1 Replies
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
Aug 11, 2011
Im doing this project but u have a problem. im trying to make it so that when a timer in the first form(form1) ticks a progress bar in the other form goes up by 1.
View 2 Replies
Mar 22, 2012
What is the best way to resize & move a form using just VB commands? I have a form that I need to set the Height and Top props, problem is that takes two calls and there is a noticable flicker. I tried using SuspendLayout/ResumeLayout, DoubleBuffered, swaping the top and height calls around, etc, but nothing seems to help. The test forms only have one small listview and one or two buttons. [Code]
View 2 Replies
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