I posted earlier on about getting VB to wait until finished accessing a file. Nobody replied so I've been mucking around. I tried to but this in between the file access and the next command:
Time = Timer
Do Until Timer = Time + 1
Loop
This sometimes seems to work giving enought time for the accessing to finish. However, most of the time it seems to stick in the loop. When this happens I ctrl-break the program and see that VB has added many "Next" commands and moved the "Loop" command somewhere else.
Has my copy of VB become self-aware and now views my poor programming skills as a threat??
Has anyone else ever had a copy of VB capable of self programming?
I'd be amazed if anyone can give me an explanation of this!
elziko
Time = Timer
Do Until Timer = Time + 1
Loop
This sometimes seems to work giving enought time for the accessing to finish. However, most of the time it seems to stick in the loop. When this happens I ctrl-break the program and see that VB has added many "Next" commands and moved the "Loop" command somewhere else.
Has my copy of VB become self-aware and now views my poor programming skills as a threat??
Has anyone else ever had a copy of VB capable of self programming?
I'd be amazed if anyone can give me an explanation of this!
elziko