Sheena,
Here find the code to launch the SourceSafe application.
Cheers,
-Ned
Dim ReturnValue As Integer
'Open the SourceSafe application from the specified path
If Len(Dir("C:\Microsoft Visual Studio\VSS\win32\SSEXP.EXE")) > 0 Then
ReturnValue = Shell("C:\Microsoft Visual Studio\VSS\win32\SSEXP.EXE", 1)
AppActivate ReturnValue ' Activate the window
End If
Quote:
quote:Originally posted by sheenaacre02
I was wondering how to launch Visual SourceSafe within a VB application? I tried the following code:
Dim VSSApp As Object
Set VSSApp = GetObject("", "SSEXP.application")
SSEXP.exe is the SourceSafe executable, however I am not sure what to call in order to launch it. I included the reference to SourceSafeTypeLib, however this dll does not give me the capability to create the object. I get the error ActiveX component cannot create object. Any help is appreciated.
Thanks,
Sheena :)
|
-Ned