Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 16th, 2004, 03:15 PM
Authorized User
 
Join Date: Jun 2003
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default Visual Source Safe "Replace Writable Files"

Hi.

In Visual Source Safe Version 6.0, in Tools, Options, Local Files, I have "Replace Writable Files" set to "Ask". However, whenever I "Get Latest Version", it immediately overwrites the local file without asking me what I want to do.

It's rather frustrating as I always have to copy the local file that I may have already made the change to, to a backup file etc. etc.

Any ideas?

Rita
 
Old August 16th, 2004, 03:34 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When you say you "Get Latest Version", is this manually or is this happening when you open the project file?
 
Old August 16th, 2004, 03:37 PM
Authorized User
 
Join Date: Jun 2003
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's manual. I open up Source Safe, locate the file that I need, right click on it and select "Get latest version".
 
Old August 16th, 2004, 03:47 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I do get a prompt when I do so. In the VB IDE Goto Tools -> SourceSafe -> Options and click on the advanced button of the screen that pops up. Select the Local Files tab and make sure you have the following settings:

Use read only flag checked
Copy Keyword checked
Compare Files = CheckSum
Replace Writable Files = Ask
Set Date/Time on Local Files = Current

Click OK and OK on the previous screen. Close the VB IDE and reopen it. See if this helps.

Yehuda
 
Old August 16th, 2004, 04:22 PM
Authorized User
 
Join Date: Jun 2003
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yehuda,

I did what you suggested, then opened up VSS through VB and I got the form asking me what I wanted to do. I then closed out VSS, closed out the VB project and opened up VSS from Start, Programs etc. This time the form also popped up.

Thanks so much for your help.

Rita
 
Old August 16th, 2004, 04:59 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No problem. My pleasure.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Source Code re Ivor Hortons Visual C++ 6.0 gavin_murray Visual C++ 5 September 27th, 2007 09:05 PM
Making a text object writable sureshbabu Crystal Reports 0 December 16th, 2004 01:29 AM
Are you using Visual Source Safe? xgbnow Pro VB 6 9 February 9th, 2004 06:31 PM
Source code for the book "Visual C++.net: a primer Julie Lin .NET Web Services 0 September 29th, 2003 02:40 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.