|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SCC API implementationIs there an implementation of the SCC API in VB6? Something that I
should be able to check out/in files from either Visual Source Safe or Vault or any other SCC compliant source code repository provider. Thanks "Frank Rizzo" <n***@none.com> wrote in message Yes and no.news:eEIQjjQ1FHA.3568@TK2MSFTNGP15.phx.gbl... > Is there an implementation of the SCC API in VB6? Something that I > should be able to check out/in files from either Visual Source Safe or > Vault or any other SCC compliant source code repository provider. > > Thanks Yes, there is a "SCC" interface to the VB6 IDE. No, I will go out on a limb and report that very few 3rd party SCCSs have ever been very successful in utilizing it. {Now the minute I say that a zillion other products will be offered, but IMHO and experience, every one of them eventually proved more trouble than they were worth - you might as well use VSS warts and all.} Vault is an excellent upgrade for VSS. Too bad it matured so late in the process. Repeating myself - The real problem with replacing VSS within VB6 IDE is that VSS is so tailored for VB and they get alone so well, you have to add a lot of features to make it worth it. If you need a different storage, say something more suitable enterprise-wide, I believe you will find it easier to allow VB development to continue using VSS on a daily basis, and do your checkins and checkouts to the alternate SCCS from VSS store using command line utilities. But that is only my opinion, and I am often wrong. <g> -ralph No, I don't want something that integrates into VB6. I am writing an
app that must integrate into VSS or whatever is the default source repository provider on the system. Thus I am looking for an implementation of SCC API written in VB6. Thanks. Ralph wrote: Show quoteHide quote > "Frank Rizzo" <n***@none.com> wrote in message > news:eEIQjjQ1FHA.3568@TK2MSFTNGP15.phx.gbl... > >>Is there an implementation of the SCC API in VB6? Something that I >>should be able to check out/in files from either Visual Source Safe or >>Vault or any other SCC compliant source code repository provider. >> >>Thanks > > > Yes and no. > > Yes, there is a "SCC" interface to the VB6 IDE. > > No, I will go out on a limb and report that very few 3rd party SCCSs have > ever been very successful in utilizing it. > {Now the minute I say that a zillion other products will be offered, but > IMHO and experience, every one of them eventually proved more trouble than > they were worth - you might as well use VSS warts and all.} > > Vault is an excellent upgrade for VSS. Too bad it matured so late in the > process. > > Repeating myself - The real problem with replacing VSS within VB6 IDE is > that VSS is so tailored for VB and they get alone so well, you have to add a > lot of features to make it worth it. > > If you need a different storage, say something more suitable > enterprise-wide, I believe you will find it easier to allow VB development > to continue using VSS on a daily basis, and do your checkins and checkouts > to the alternate SCCS from VSS store using command line utilities. > > But that is only my opinion, and I am often wrong. > > <g> > -ralph > > >
Show quote
Hide quote
"Frank Rizzo" <nospam@nospam.com> wrote in message
news:u7XuN%23T1FHA.3504@TK2MSFTNGP10.phx.gbl... > No, I don't want something that integrates into VB6. I am writing an > app that must integrate into VSS or whatever is the default source > repository provider on the system. Thus I am looking for an > implementation of SCC API written in VB6. > > Thanks. > > Ralph wrote: > > "Frank Rizzo" <n***@none.com> wrote in message > > news:eEIQjjQ1FHA.3568@TK2MSFTNGP15.phx.gbl... > > > >>Is there an implementation of the SCC API in VB6? Something that I > >>should be able to check out/in files from either Visual Source Safe or > >>Vault or any other SCC compliant source code repository provider. > >> > >>Thanks > > > > > > Yes and no. > > > > Yes, there is a "SCC" interface to the VB6 IDE. > > > > No, I will go out on a limb and report that very few 3rd party SCCSs have > > ever been very successful in utilizing it. > > {Now the minute I say that a zillion other products will be offered, but > > IMHO and experience, every one of them eventually proved more trouble than > > they were worth - you might as well use VSS warts and all.} > > > > Vault is an excellent upgrade for VSS. Too bad it matured so late in the > > process. > > > > Repeating myself - The real problem with replacing VSS within VB6 IDE is > > that VSS is so tailored for VB and they get alone so well, you have to add a > > lot of features to make it worth it. > > > > If you need a different storage, say something more suitable > > enterprise-wide, I believe you will find it easier to allow VB development > > to continue using VSS on a daily basis, and do your checkins and checkouts > > to the alternate SCCS from VSS store using command line utilities. > > > > But that is only my opinion, and I am often wrong. > > > > <g> > > -ralph > > > > > >
Show quote
Hide quote
"Frank Rizzo" <nospam@nospam.com> wrote in message Then the answer is no.news:u7XuN%23T1FHA.3504@TK2MSFTNGP10.phx.gbl... > No, I don't want something that integrates into VB6. I am writing an > app that must integrate into VSS or whatever is the default source > repository provider on the system. Thus I am looking for an > implementation of SCC API written in VB6. > > Thanks. > > Ralph wrote: > > "Frank Rizzo" <n***@none.com> wrote in message > > news:eEIQjjQ1FHA.3568@TK2MSFTNGP15.phx.gbl... > > > >>Is there an implementation of the SCC API in VB6? Something that I > >>should be able to check out/in files from either Visual Source Safe or > >>Vault or any other SCC compliant source code repository provider. > >> > >>Thanks > > > > > > Yes and no. > > > > Yes, there is a "SCC" interface to the VB6 IDE. > > > > No, I will go out on a limb and report that very few 3rd party SCCSs have > > ever been very successful in utilizing it. > > {Now the minute I say that a zillion other products will be offered, but > > IMHO and experience, every one of them eventually proved more trouble than > > they were worth - you might as well use VSS warts and all.} > > > > Vault is an excellent upgrade for VSS. Too bad it matured so late in the > > process. > > > > Repeating myself - The real problem with replacing VSS within VB6 IDE is > > that VSS is so tailored for VB and they get alone so well, you have to add a > > lot of features to make it worth it. > > > > If you need a different storage, say something more suitable > > enterprise-wide, I believe you will find it easier to allow VB development > > to continue using VSS on a daily basis, and do your checkins and checkouts > > to the alternate SCCS from VSS store using command line utilities. > > > > But that is only my opinion, and I am often wrong. > > > > <g> > > -ralph > > There is a SCC API provided by the VB IDE. There is an automation interface exposed for VSS. Various SCCS also support automation interfaces. All SCCS support some form of command line controls. There is AFAIK no universal SCCS API for Windows, ie, no 'default' storage. There is a "Windows Repository" which can be automated. Unless I misunderstood you again. You will have to write both the frontend API and the backend API to whatever specific SCCS you want to work with. -ralph Then the answer is no.
>There is a SCC API provided by the VB IDE. I really don't think that's the case. Vault easily integrates into VB6 >There is an automation interface exposed for VSS. >Various SCCS also support automation interfaces. >All SCCS support some form of command line controls. >There is AFAIK no universal SCCS API for Windows, ie, no 'default' storage. >There is a "Windows Repository" which can be automated. > >Unless I misunderstood you again. You will have to write both the frontend >API and the backend API to whatever specific SCCS you want to work with. > > with no problems, so there must be a common SCC interface that client apps (such as VB6 or .NET IDE) calls into. Show quoteHide quote >-ralph > > > > > >
Show quote
Hide quote
"Frank Rizzo" <n***@none.com> wrote in message I think we are talking in circles here.news:%232GuEwZ1FHA.980@TK2MSFTNGP14.phx.gbl... > Then the answer is no. > > >There is a SCC API provided by the VB IDE. > >There is an automation interface exposed for VSS. > >Various SCCS also support automation interfaces. > >All SCCS support some form of command line controls. > >There is AFAIK no universal SCCS API for Windows, ie, no 'default' storage. > >There is a "Windows Repository" which can be automated. > > > >Unless I misunderstood you again. You will have to write both the frontend > >API and the backend API to whatever specific SCCS you want to work with. > > > > > I really don't think that's the case. Vault easily integrates into VB6 > with no problems, so there must be a common SCC interface that client > apps (such as VB6 or .NET IDE) calls into. > > >-ralph > > Vault works because it can be invoked from the IDEs which provide a 'connectable SCC' interface. ie, the IDE provides a 'plug' which will accept different SCCS products. Vault in return supplies a number of methods that will fit into these sockets. Similar to the scenario where an editor might accept different spellcheckers. Which is what I apparently poorly communicated in my original reply. You said you didn't want that, you wanted a universal API for any default storage. There isn't one. Just like a 'spellchecker' 'snap-in' there are certain functions that one might consider 'universal' - ie, "find this word", "provide a list of alternatives", etc. So one might conceive of a de facto 'standard'. In fact there isn't one - each IDE provides its own. Each SCCS must provide the methods. You will find that it is relatively difficult to utilize the limited VB6 'scc connection', which explains my rant concerning attempts to utilize alternative SCCSs from within the VB6 IDE. You will find it easier to swap out various SCCS with the VC6 IDE. You will find it to be a snap to do so with VS.Net. (pun intended). hth -ralph You are right, we are talking in circles. I do not need VB6's SCC
connectivity. I'd like to implement something similar to what is implemented by Apex SQL Edit (don't know if you are familiar with it). They have a tree that connects to the default SCC provider on the system. If it is Vault - it automatically connects to that. If it is VSS, then it is VSS. I want to do the same. Ralph wrote: Show quoteHide quote >"Frank Rizzo" <n***@none.com> wrote in message >news:%232GuEwZ1FHA.980@TK2MSFTNGP14.phx.gbl... > > >>Then the answer is no. >> >> >> >>>There is a SCC API provided by the VB IDE. >>>There is an automation interface exposed for VSS. >>>Various SCCS also support automation interfaces. >>>All SCCS support some form of command line controls. >>>There is AFAIK no universal SCCS API for Windows, ie, no 'default' >>> >>> >storage. > > >>>There is a "Windows Repository" which can be automated. >>> >>>Unless I misunderstood you again. You will have to write both the >>> >>> >frontend > > >>>API and the backend API to whatever specific SCCS you want to work with. >>> >>> >>> >>> >>I really don't think that's the case. Vault easily integrates into VB6 >>with no problems, so there must be a common SCC interface that client >>apps (such as VB6 or .NET IDE) calls into. >> >> >> >>>-ralph >>> >>> >>> > >I think we are talking in circles here. > >Vault works because it can be invoked from the IDEs which provide a >'connectable SCC' interface. ie, the IDE provides a 'plug' which will accept >different SCCS products. Vault in return supplies a number of methods that >will fit into these sockets. Similar to the scenario where an editor might >accept different spellcheckers. Which is what I apparently poorly >communicated in my original reply. > >You said you didn't want that, you wanted a universal API for any default >storage. There isn't one. Just like a 'spellchecker' 'snap-in' there are >certain functions that one might consider 'universal' - ie, "find this >word", "provide a list of alternatives", etc. So one might conceive of a de >facto 'standard'. In fact there isn't one - each IDE provides its own. Each >SCCS must provide the methods. > >You will find that it is relatively difficult to utilize the limited VB6 >'scc connection', which explains my rant concerning attempts to utilize >alternative SCCSs from within the VB6 IDE. >You will find it easier to swap out various SCCS with the VC6 IDE. >You will find it to be a snap to do so with VS.Net. (pun intended). > >hth >-ralph > > > > > > VSS has a COM API that is readily programmed from VB6. The paper "Visual
SourceSafe 6.0 Automtation" from the MS web site (http://msdn.microsoft.com/vstudio/previous/ssafe/using/articles/) provides both a specification and VB6 sample code. There are also other articles on the same web page that you'll want to check out. I have not tested what happens if you replace VSS with another provider, but would expect the COM client API to work, as it's actually an SCC interface. The VSS extension API won't work, of course. (We have successfully integrated VSS into our application; it's not hard but you do need to understand the API). Show quoteHide quote "Frank Rizzo" <nospam@nospam.com> wrote in message news:u7XuN%23T1FHA.3504@TK2MSFTNGP10.phx.gbl... > No, I don't want something that integrates into VB6. I am writing an app > that must integrate into VSS or whatever is the default source repository > provider on the system. Thus I am looking for an implementation of SCC > API written in VB6. > > Thanks. > > Ralph wrote: >> "Frank Rizzo" <n***@none.com> wrote in message >> news:eEIQjjQ1FHA.3568@TK2MSFTNGP15.phx.gbl... >> >>>Is there an implementation of the SCC API in VB6? Something that I >>>should be able to check out/in files from either Visual Source Safe or >>>Vault or any other SCC compliant source code repository provider. >>> >>>Thanks >> >> >> Yes and no. >> >> Yes, there is a "SCC" interface to the VB6 IDE. >> >> No, I will go out on a limb and report that very few 3rd party SCCSs have >> ever been very successful in utilizing it. >> {Now the minute I say that a zillion other products will be offered, but >> IMHO and experience, every one of them eventually proved more trouble >> than >> they were worth - you might as well use VSS warts and all.} >> >> Vault is an excellent upgrade for VSS. Too bad it matured so late in the >> process. >> >> Repeating myself - The real problem with replacing VSS within VB6 IDE is >> that VSS is so tailored for VB and they get alone so well, you have to >> add a >> lot of features to make it worth it. >> >> If you need a different storage, say something more suitable >> enterprise-wide, I believe you will find it easier to allow VB >> development >> to continue using VSS on a daily basis, and do your checkins and >> checkouts >> to the alternate SCCS from VSS store using command line utilities. >> >> But that is only my opinion, and I am often wrong. >> >> <g> >> -ralph >> >>
Using shell command to map drive can't get redirect result to file
Modal form stops code in another form INSERT INTO how to split numeric part from letters in string Shrink Wrap Iterative GetObject get list of file names in a directory Is any device connected to COM1 port InStr search counter Printing Blank lines for Top margin |
|||||||||||||||||||||||