GC Pauses Full Application Activity For Few Seconds

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


ADVERTISEMENT

Tracking Full Browser Activity

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

Timer Pauses (sort Of) The Display Portion (label) Of The Timer Indeed Pauses?

Oct 27, 2009

My timer pauses (sort of the display portion (label) of the timer indeed pauses, however when the timer is resumed it starts again, but not at the point where it was disabled. As an example. If I pause the timer at 10:00 and wait ten seconds when I hit resume it starts at 09:50, where it should resume at 10:00 or 09:59

Module Helper
Public SessionTime As String
Public Pause As Boolean = False[code].....

View 3 Replies

Stop Application When No Activity?

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

Force A User To Log Back Into To An Application If No Activity Is Detected For X Minutes?

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

PowerPoint Slide Running Through IE Control Pauses Unexpectedly

Aug 30, 2011

I have a strange problem on one machine that my VB.Net (.NET 3.5 - VS2008) app is running on, it runs a custom sized Powerpoint presentation in an IE control within my VB app. However, on one of the machines my app is installed on, the presentation always pauses on slide 2.

This is a kiosk type app, where there is no user interactivity. On all the other machines running this software, there is no problem. So it must be something related to the machine itself.

The PC is an XP Pro machine and was originally running IE6, which displayed the problem, I ugraded it to IE8 to see if this would fix it, but the problem persists. The machine is running Powerpoint 2003 (don't recommend upgrading the machines OS/Software- this is out of the question, as it is a business spec machine - even getting IE8 installed was a battle!)

The presentation itself has no complexity, all 15 slides are basic text and photos, no animation, no video etc. As far as I can tell, the problem is nothing to do with my software, or the Powerpoint slideshow, as this operates fine on similar machines and reinstalls made no difference, it must be a problem with the machine/installation itself. I've tried running the slideshow on the problem machine, in PowerPoint itself, rather than in my app, and it runs fine. I've also tried running it in an IE window, without running it through my app, and again, it seems fine.

View 2 Replies

Use Keydown To Move My Window Around But It Moves, Then Pauses, Then Starts Moving Again?

Sep 8, 2009

I know that keypresses tend to have this behaviour naturally in Windows, but when you first press down a key there's a short pause. I'm trying to use Keydown to move my Window around but it moves, then pauses, then starts moving again. Is there some way to get rid of the pause without disabling it in Windows?

View 1 Replies

Is There Any Application (or Plug In) That Can Test Performance In Seconds

Jul 15, 2011

Currently I'm writing a VB.NET app and it's getting big, resulting in its become very slow.Is there any application (or plug in) that can test the performance in seconds?I mean, when I click a button and it displays a product, I want to know exactly how long it is gonna take.

View 3 Replies

.net - Run A VB Application In Full-screen?

Dec 28, 2011

How do you get an application, using Microsoft Visual Basic 2010 express, to run in full screen mode. You know what I mean, like a game would but an application.

View 2 Replies

Calculate The Hours, Minutes, And Seconds In A Number Of Seconds?

Jun 30, 2011

I want to convert seconds such as 254565443 seconds to hours, minutes, and seconds and thought if I could remove the decimal and the numbers behind it and not change the number in front of the decimal then it would work.

dim seconds = 254565443
dim Hour
dim minute

[Code]....

View 3 Replies

How To Terminate Application Using Full Path

Jan 15, 2012

I want to terminate an application using the full file path via vb.net, so I am using this code snippet.

Public Sub forceCopy()
Try
'Dim strDatabasePath As String = My.Computer.FileSystem.CombinePath(Application.UserAppDataPath, "LIC.mdf")
Dim strdbLogPath As String = My.Computer.FileSystem.CombinePath(Application.UserAppDataPath, "LIC_log.ldf")
[Code] .....

I get an exception "Access Is Denied". I get the error at this line : For Each m As ProcessModule In process.Modules

View 2 Replies

IDE :: Application Run At Full Speed While Stepping With F8

Feb 24, 2012

I am using VS 2010 on Win 7 32 bit.I am debugging a VB application (simple Windows form) by stepping through it with F8; however, for some unknown reason it sporadically runs at full speed after I press the F8 key. This can happen at any given location in code and sometimes not at all.

View 2 Replies

VS 2008 Application Stops Responding For 5-10 Seconds While Image Is Uploading

Dec 12, 2009

I'm uploading an image to url... etc. The trouble is my application stops responding for 5-10 seconds while the image is uploading. I want to use multi-threading to stop it doing that but I'm confused with the whole way to use controls with backgroundworker. [code] I guess its the textbox which is causing the problem.

View 1 Replies

Create An Application In VB That Runs In Full Screen?

Jun 22, 2009

My name is Orens Xhagolli and I am a between Beginner-Intermediate level. I am trying to create a little game with nice-looking and good options in Visual Basic.net. A good game needs to run in full screen. (Because the new directX is not suitable for my age (13) I don't want to use it and beacuse its a bit difficult to use it.) I read a few answers in MSDN forums but the full screen there doesn't take the entire screen ( The taskbar is visible ).

View 10 Replies

Display A Full Barcode Image In Application?

Mar 26, 2009

Ok I am designing an app in VB2005 and I need to now how to display A full barcode image in my app's. So far I have added a few Dll's but each one displays a "demo" pic over a portion of the barcode. Is there anyway to display barcodes in pic boxes or text boxes or a non demo dll somewhere.

View 3 Replies

Converting Seconds To Hours Minutes And Seconds?

Jun 25, 2010

This is my function to goto a specific time in a movie or music, ... check it out..

'GOTO TIME IN MOVIE, or SONG.
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click

[Code]....

View 4 Replies

Added A Full Main Menu To Game And A Full Splash Screen

Apr 29, 2011

I have made quite a nice and tidy little game. Its based around space invaders and works quite well. however because i have finished my college project almost 2 weeks ahead of the assignments release date, my tutor has asked me to tweak my project and make it better.So far i have added a full main menu to the game and a full splash screen. I would like to add in a section for recorded high scores but have no idea how to attempt this at all.

View 3 Replies

Open A Browser In Full Screen In ASP.NET Application Programmatically?

Sep 21, 2011

I am making a web application in ASP.NET 4.0. For some reason I need to open a web site always in full screen. It is a tedious task to open a web site in browser and then toggle to fullscreen.Is there any way to open the browser (preferably IE9 or Google Chrome) in full screen programmatically?Can I put some code in the Page_Load() method of my default page that toggles the browser to full screen?

View 2 Replies

VS 2010 Timer Interfers With Full Screen Application (Like VLC)?

Mar 21, 2012

I have two timers in my application. One that updates some text label every 100 ms, and another one which makes the text scroll to the left. Both timers are working fine, however,if Timer2 is enabled i get some problems while playing fullscreen video in VLC. Usually the mouse dissapears when running full screen and leaving the mouse, but if my program is running (and therefore Timer2 is enabled) the mouse wont dissapear. If i go disable Timer2 theres no problems.. I just dont understand why it is only Timer2 that does this and why timer one doesn't affect VLC? Timer1 and Timer2's code is below

vb.net
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

[code]......

View 8 Replies

VS 2008 - Timer Set To 5000 (5 Seconds) And The Code In The Timer Takes Longer Than 5 Seconds?

Jun 14, 2012

Quick question - if I have a timer set to 5000 (5 seconds) and the code in the timer takes longer than 5 seconds to run because of sql stuff, will the timer wait until the code is done till it fires again?

View 3 Replies

Try...Catch Block "pauses" While Debugging?

Feb 8, 2010

I have a database application with error handling in a separate module.

[Code]...

But while debugging (and "Address" field is left empty), the program breaks and I get an exception at the "Throw New Exception" line even if the error should be trapped by the "Try...Catch" block.
At runtime, everything works well and the correct error is displayed.

View 10 Replies

Determine When App Has Had Any Activity?

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

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

How To Watch Process Activity

Jun 30, 2012

How to watch process activity ?

View 10 Replies

Pause All Windows Activity?

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

User Activity Log In Vs2008?

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

C# - Task/activity Precedences/dependencies?

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

IDE :: Exception Error During Long Activity?

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

Monitor Drive Activity In 2008?

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

Monitor Drive Activity In Vb 2008?

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







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