I have an application that will run fine for about 15 minutes then will just randomly stop and give me a 'Run time error 5' message. this is very annoying because this program is supposed to run for extended pieriods of time.

Sorry, and in addition, when i restart the program there is always red picture box in the uper left corner of form1. i can just delet it but it is kinda wierd and annoying.

Sorry, can't picture out your problem...

How about put your code here?

There is way too much code to pase it to the web, but i can go into more detail. i just found out that when i run the program my 'Page file' goes up at a constant rate. when it reaches the peak, thats when i get the error message. Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.