Link to home
Start Free TrialLog in
Avatar of RIAS
RIASFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Vb. Net application freezes

Hello,
I amvb. net windows application with reference to word in it. It freezes after 20 minutes if left idle.
Any suggestions?
Regards
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Does the PC start any power saving / screen saving actions after 20 minutes ?  If yes then what happens if that setting is altered?
Avatar of RIAS

ASKER

Hi Andy,
Need to check that.. excellent point .
Will get back.
Avatar of RIAS

ASKER

I have thread. Start process on form load. Does it cause freezing?
ASKER CERTIFIED SOLUTION
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RIAS

ASKER

Ok, will tryand brb
Avatar of RIAS

ASKER

Andy,
I think the issue is resolved by commenting the thread code.
Cheers
Surprised but if it cures the issue it makes me wonder just what the thread was doing.  (No need for you to supply details)
Avatar of RIAS

ASKER

The thread was creating a object for excel and word
I guess it also interacted with your form (GUI elements, main thread of app) otherwise your app shouldn't freeze even if the thread is hung.  An even wilder guess is something is getting garbage collected that shouldn't be.