Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using VB with PPES or PPADMTOOL?

Status
Not open for further replies.

mjcotter

Programmer
Jul 9, 2001
66
0
0
US
Is there a way to use VB to write a program to:

(1) add a cube to PPES
(2) publish that cube to the web

?

I think there might be a way to do it in a DOS batch file using the PPADMTOOL. However, I would like to use VB instead.

Has anyone done this before? Maybe have some sample code? I asked Cognos Support but they weren't any help, saying VB was outside the scope of the program.

Thanks!!!
 
Can't you construct a txt file of the command and info required in VB and then call a static .bat file from your VB script?
The bat file would be
Code:
"C:\Program Files\Cognos\cer4\bin\ppadmtool.exe" < D:\Folder\BAT\Action.txt
and the txt file would be like
Code:
connect <server>:<port> user <user> password <pwd>
Kill Sales
exit

Would seem a shame to ignore the power of the PPAdmin tool if there's no obvious alternative.

soi la, soi carré
 
There is no OLE automation interface for PPES. This is why you need to use the PPADMTOOL via batch, or via batch through VB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top