
08-23-2006, 11:53 AM
|
|
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());
}
|