View Single Post
  #3 (permalink)  
Old 08-23-2006, 11:53 AM
corcoranp corcoranp is offline
Registered User
 
Join Date: Aug 2006
Posts: 0
Revised Statement

OK forget everything I said about the VB COM stuff and just try the below code:



CVSUP.cvsApplicationClass oApp = new CVSUP.cvsApplicationClass();
System.Object oCon = new object();
System.Object oSrv = new object();


if(((CVSUP.cvsApplicationClass)oApp).CreateServer( "userid","","","server",false,"", ref oSrv, ref oCon))
{
if(((CVSCN.cvsConnectionClass)oCon).Login("userid","password","server","ENU","",false))
{
}
}
((CVSCTLG.cvsCatalogClass)((CVSUPSRV.cvsServerClas s)oSrv).Dictionary).ACD = //put in ACD HERE;

foreach(object o in ((CVSCTLG.cvsCatalogClass)((CVSUPSRV.cvsServerClas s)oSrv).Dictionary).Reports)
{
Console.WriteLine(((CVSCTLG.cvsReportInfoClass)o). Key.ToString());
}
Reply With Quote