I have 2 problems I think related to same problem
I use VB6 pro edition with SP6
I use thr function RmDir to delete a directory when cancel button is clicked, it works on 98,ME but in XP I get "File Acsess error" message.
I stop the progream in design mode, use Total commander tool, I see the Folder with no marks in the property filed, Not read only nor hidden etc. I try to delete, I get unable to delet "Read Only" directory,(Normally it says IS read only delete anyway, then it deletes it), from the explorer "My computer > etc" and right click the directory, select properties, I see the read Only has a DOT not a mark. I click it, it changes to mark, then next click clears the mark, click apply, then ok, if I re open it I get the same strange Mark again. If I use right click and delete, I get "The file is in use by another application." Error message
I need to close the VB alltogether to delete this folder.
The same with "FileSystenScript". I tried to use ChDir and ChDrive before RmDir All did not help.
I made an application with MsChart in a MDI, the child form has MsChart and RTbox and MsHFlexGrid. User switch those controls with buttons to hide and show controls.
It also works fine in 98 and ME but in XP, clicking to dislay the chart, the program hangs and the computer freezes and it is too difficult to get out of it. Single step through code does NOT cause any error and it is all fine, I tried DoEvents to introduce some delays but no improvement, I think it is the same bad interface between VB6 and XP causes some functions misbehave.
If anybody has help please let me know
Thanks Very much in advance :-|