LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing VSS Programmatically

Hi!

 

I want to check out/ check in/ Get latest version the certain folders/ documents/ vis from Microsoft VSS- using LabVIEW program. I am using automation Open function to open session on VSS server. But it is throwing the error message as Error- 2147221164 class not registered.

 

Which Class (.dll) do I need to register?

 

Attaching my vi to this message. Is there a better way to do this?

 

Thanks!

 

 

0 Kudos
Message 1 of 12
(4,475 Views)

Hi Muks,

Thanks for the link. But which .dll/ .tlb/ .ocx file(s) do I need to register in this case? Where can I locate it?

0 Kudos
Message 3 of 12
(4,456 Views)

ITA wrote: 

Attaching my vi to this message. Is there a better way to do this?


Yes. Why don't you just use the Source Control VIs?

0 Kudos
Message 4 of 12
(4,444 Views)

Hi Smercurio,

 

I don't have LabVIEW PDS version. I have only FDS version available. Source control VIs work with PDS versions.

 

0 Kudos
Message 5 of 12
(4,426 Views)

Use the following ActiveX class: SourceSafeTypeLib.IVSSDatabase

 

Ton

Message Edited by TCPlomp on 30-12-2009 07:57 AM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 6 of 12
(4,418 Views)

No!.!!...!!!

It returns the same error Smiley Sad

 

 

0 Kudos
Message 7 of 12
(4,399 Views)

Do you have the ActiveX interface installed (I believe it's an option when installing SourceSafe)

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 8 of 12
(4,377 Views)

In your example you use a control, try to use a constant (like my snippet)?

 

Ton

 

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 9 of 12
(4,374 Views)

Hi Ton,

 

I am not sure whether the ActiveX interface is installed at VSS server. Is there a way to check this and in case it was not selected during installation, can I do some thing now?

 

I am wondering, why control shouldn't be working where as constant can work!

 

--ITA

0 Kudos
Message 10 of 12
(4,363 Views)