Joe
2006-04-04 20:33:32 UTC
The following VB6 code using a '%' in the file name works fine on 6.0c
(Build 9447) , but fails with an "Invalid SourceSafe syntax" on 6.0d (Build
9848):
+++++
Sub main()
Dim db As VSSDatabase
Set db = CreateObject("SourceSafe")
db.Open "<<your path to srcsafe.ini here>>", "guest"
Dim item As VSSItem
Set item = db.VSSItem("$/FileWith_1%InName.txt")
MsgBox item.Spec
End Sub
------
Please forgive the VB6 we are actually scripting from a different language
through the automation interface.
Anyone seen anything like this? Hotfixes? Workarounds? (Anything besides
reverting to 6.0c)
Thanks, Joe
(Build 9447) , but fails with an "Invalid SourceSafe syntax" on 6.0d (Build
9848):
+++++
Sub main()
Dim db As VSSDatabase
Set db = CreateObject("SourceSafe")
db.Open "<<your path to srcsafe.ini here>>", "guest"
Dim item As VSSItem
Set item = db.VSSItem("$/FileWith_1%InName.txt")
MsgBox item.Spec
End Sub
------
Please forgive the VB6 we are actually scripting from a different language
through the automation interface.
Anyone seen anything like this? Hotfixes? Workarounds? (Anything besides
reverting to 6.0c)
Thanks, Joe