Hello,
I have a macro in version 7.3 of the following form and I run through a bat.
Code:
Sub Main()
ObjPPRep Dim como Objeto
Conjunto objPPRep = CreateObject("CognosPowerPlay.Report")
objPPRep.Open(" c:\documents and settings\escritorio\Informe1.ppx")
objPPRep.visible(FALSE)
objPPRep.SaveAs "c:\documents and settings\escritorio\Informe1", 4
Conjunto objPPRep = Nothing
End Sub
bat:
cd c:\archivos de programa\cognos\cognos7\cer4\bin
START/W RUNMAC32.EXE c:\documents and settings\escritorio\Informe1.mcx
Now I have to migrate or redo it in 8.4 and do not know how.
You can help
Thanks
I have a macro in version 7.3 of the following form and I run through a bat.
Code:
Sub Main()
ObjPPRep Dim como Objeto
Conjunto objPPRep = CreateObject("CognosPowerPlay.Report")
objPPRep.Open(" c:\documents and settings\escritorio\Informe1.ppx")
objPPRep.visible(FALSE)
objPPRep.SaveAs "c:\documents and settings\escritorio\Informe1", 4
Conjunto objPPRep = Nothing
End Sub
bat:
cd c:\archivos de programa\cognos\cognos7\cer4\bin
START/W RUNMAC32.EXE c:\documents and settings\escritorio\Informe1.mcx
Now I have to migrate or redo it in 8.4 and do not know how.
You can help
Thanks