Hi
I have a problem when running executable code under Windows XP.
Sometimes i get an 'invalid procedure call or Argument' Error 5, when I try to set the focus to a control.
Im my code I check to see if the control is enabled and only then do I try to set the focus to it - but sometimes I still get the error.
Is this a problem with Windows XP - Im confident my code is correct. I have read else where that a doevents might solve the porblem. However I do not really want to use the DoEvents.
has anyone else come up with this problem and if so was there a resolution to it.
Thank you in advance
Paul
I have a problem when running executable code under Windows XP.
Sometimes i get an 'invalid procedure call or Argument' Error 5, when I try to set the focus to a control.
Im my code I check to see if the control is enabled and only then do I try to set the focus to it - but sometimes I still get the error.
Is this a problem with Windows XP - Im confident my code is correct. I have read else where that a doevents might solve the porblem. However I do not really want to use the DoEvents.
has anyone else come up with this problem and if so was there a resolution to it.
Thank you in advance
Paul