Many of us have "housekeepers".
Mine is:
set proc to
SQLDISCONNECT(0)
clear all
CLOSE ALL
CLEAR
rele all
deactivate menu
on error
on key
cancel
I some other developers who name theirs' "X.PRG". When I want to clear the environment, I type "RS" in the command window!
>Thanks Wayne. That seemed to solve the problem. I still don't understand how this issue suddenly came about.
>
>Mike
>
>>Try doing a CLEAR ALL and CLOSE ALL before rebuilding. Or get out of vfp and start a fresh session before trying to build.
>>
>>
>>>I have been using a VCX for several months now without any problems. Today, after making some changes, I can't build an exe (or rebuild the project) without the following error:
>>>
>>>"File c:\MyVFPstuff\libs\mybase.vcx is in use and cannot be recompiled"
>>>
>>>My only choices are to Cancel or Ignore neither of which is desirable. What gives?
>>>
>>>I cannot see mybase used in any datasession. I've tried to close all open class libs before building the exe and same problem. The only way for me to get around this is to copy the library files to another folder, delete the library from the project, delete the original VCX and VCT files, copy the latter two back to c:\MyVFPstuff\libs and rebuild the exe.
>>>
>>>Any help is very much appreciated.
>>>
>>>TIA
>>>
>>>Regards,
>>>
>>>Mike
Imagination is more important than knowledge