Solved

Issues with application being minimized for 10 + minutes - Can errors occur upon maximization?

Posted on 2008-10-01
4
227 Views
Last Modified: 2012-05-05
I have a VB.NET 2005 application using SQL Express.

I have ONE customer who has a 2.9gh P4 PC w/512K memory.  He maintains about 4 applications which includes PCMiler, Outlook 2003 and a couple of web pages with Internet Explorer 6.

If he is in mal or surfing for any length of time and then maximizes my application, it seems slow to refresh te maximization and after he performs 2-3 functions quickly where he pulls up a record and then updates it, he gets an error regarding a [field_?? not found].  This occurs on several different fields but the code for save works flawlessly otherwise.  And, besides, the field in question is not the first field in the update stored procedure or refresh of the text fields after update.

Is anyone aware of a problem with this or has experiences something like this??

Thanks!
Phil
0
Comment
Question by:TSFLLC
  • 2
  • 2
4 Comments
 
LVL 11

Expert Comment

by:melmers
ID: 22621549
I can only think that it is a connection timeout thing. so on your code do you check the connection status every time before you make db operation ? can you reproduce the problem on your development machine ?
0
 

Author Comment

by:TSFLLC
ID: 22641735
melmers,

No I don't check the connection state.  I've never had an issue with connectivity....yet.

can you reproduce the problem on your development machine ?  >>  That's my #1 problem.  I can't seem to reproduce.  Yesterday while at their location and using my laptop I was able to reproduce it.  I was able to narrow it down but not exactly identify.

Brought their database home with me, restored it, began to make the same changes....and cannot reproduce the error once again.  But I have a strong idea about where the problem is and I think I need to rethink the setup of my code and make some modifications to it.

Thanks!
Phil
0
 
LVL 11

Expert Comment

by:melmers
ID: 22642147
look at a timout in your connection when you use odbc or something else. do you use connection pooling ?
0
 

Accepted Solution

by:
TSFLLC earned 0 total points
ID: 22788017
Sorry for the delay melmers.  I made some minor code modifications to two Windows Forms and appear to have resolved the issue.  It appeared to be a conflict with a global variable setting where a dataset was getting stepped on by the previously generated dataset without a .dispose and/or .clear.

I appreciate the effort though.  I'm going to have this posting removed.

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now