Mensaje
General information
Foro:
Visual FoxPro
Category:
Source Safe Control
Miscellaneous
ID de la conversación:
00520266
ID del mensaje:
00525826
Views:
16
Alex,
SS gives you this ability as well. If you right-click on an item and select View, a dialog will come up asking if you want to view the SS copy of check out the file and edit it in your working directory (this dialog may have been configured to only come up if a certain key combination was used so you may or may not see it). If you select View, SS will copy the selected file to the directory specified by the Temp envirment variable (if none then I beleive it copies to the Windows directory) and uses ShellExecute to bring up the program associated with file's extension. In the case of PRGs, VFP is launched.

Unfortunately, the default action for VFP 6 opening a file is to execute it so the PRG will attempt to run. However, you can at this point open the file and view it. VFP 7 simply opens the read-only copy of the file.

This technique really only works with PRGs because that is the only self-contained source file. VCXs/SCXs/MNXs/FRXs all have an associated memo file and this isn't brought down when selecting View.

>Larry -
>
>Well, it's okay, but I've worked with source control packages where you were actually able to view (read-only, of course) any checked-in object without having to worry about having an "older" version, or having to go through the steps of refreshing a local copy. Was very nice to just open a project and view source...
>
>Then again, it is what it is...
>
>Thanks!
>________________
>_____/ Regards,
>____/ al
>___/
>__/
>_/
>/
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Responder
Mapa
Ver