Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2008 > Visual Basic 2008 Essentials
| Search | Today's Posts | Mark Forums Read
Visual Basic 2008 Essentials If you are new to Visual Basic programming with version 2008, this is the place to start your questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Essentials section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 12th, 2008, 05:19 AM
Registered User
 
Join Date: Apr 2007
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Form crashing to taskbar when left minimize , help

Hi, i am writing whats turning into quite a large (little) program that displays thumbnails (1 - 200) in a a form which also has a timer which activates a backgroundworker process which updates a listbox with info.
It all works fine until i leave it minimized for an hour or so then the form is only visible in the taskbar (its icon) .
Its as if its minimized but clicking it activates (the taskbar icon changes colour etc with focus) but it wont maximise.
If i use the taskmanager it says the program is 'Running' and by right clicking and selecting 'Maximise' the window will appear maximised but all the controls on the form arent displaying the images or listboxes, its as if the application has crashed. I need to 'end task' to exit the program the menus and close (x) icon dont respond.

Like i said the application runs fine if i interact with it, it appears to only 'crash to taskbar' if i leave it unattended for an hour or so.

Any ideas where i might start looking to resolve this?

Thanks
 
Old September 27th, 2008, 09:24 AM
Registered User
 
Join Date: Sep 2008
Location: charlotte, nc, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Right off, it sounds like memory problems. Check to make sure that your timer is not creating objects that never get released and things like that. Since I don't have your code, all I can do is just guess, I just remember similar problems that I have had over the years with different development scenarios. A lot of times these types of issues can be fixed with just one line of code somewhere, the problem is figuring out WHERE the problem is first! Good Luck.




Similar Threads
Thread Thread Starter Forum Replies Last Post
VS2008 Crashing? BigTallCampbell Visual Studio 2008 2 May 13th, 2008 10:05 PM
Form Localization crashing software! Help! greggorob64 Visual Studio 2005 0 August 15th, 2007 10:01 AM
When I minimize my form and then maximize it again ehsemsar Crystal Reports 0 January 3rd, 2007 08:39 AM
How to make a Form dock onto the taskbar dinosaur_uk VB.NET 2002/2003 Basics 1 September 24th, 2004 10:14 AM
left join form issues?! jdtokenring Access 1 August 2nd, 2004 01:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.