I needed to make some changes to some old tools, so I put the entire directory
in SourceSafe. This makes all the files read-only. Access and Excel, of course,
work by modifying their own files, so I immediately check them out again.
However, there was a Word file with VBA that only modifies other files, so I left it
checked in. VBA halted with an "object undefined" on the command to reactivate
the tool's window.
In this case, the line was "playing safe" but wasn't really needed. Not sure what you would do if you actually needed to put focus back in that window.
I think I'll convert this tool to .Net only because it's a really simple thing that I can get some practice on.
--
Wes Groleau
in SourceSafe. This makes all the files read-only. Access and Excel, of course,
work by modifying their own files, so I immediately check them out again.
However, there was a Word file with VBA that only modifies other files, so I left it
checked in. VBA halted with an "object undefined" on the command to reactivate
the tool's window.
Code:
' Windows(this_doc_name).Activate
I think I'll convert this tool to .Net only because it's a really simple thing that I can get some practice on.
--
Wes Groleau