citect compile via vbs

zankorel

Member
Join Date
Dec 2008
Location
Hunter Valley
Posts
173
Hi All,

I am trying to automate the rolling out of citect projects and have found how to compile a project through Visual Basic (ie using graphics builder automation interface) in Excel. My problem now is I am trying to convert this to VBScript so i can just run it from windows command line. From my reading this should be a pretty easy thing to do, but it bombs out and i cant figure it.

Has anyone tried this?
 
well, after experimenting, i got it working
Code:
dim graphicsbuilder

set graphicsbuilder = CREATEOBJECT("GraphicsBuilder.Application.6.1")

With graphicsbuilder
    .Visible = True
    .ProjectSelect "PLS_Master"
    .ProjectCompile
    .Visible = False
End With

Set graphicsbuilder = Nothing
 

Similar Topics

Hi everyone, I'm new to Vijeo Citect. I have to upgrade an existing project which i only have to add a few DPM in existing pages. I managed to...
Replies
2
Views
3,098
Hi there, I have a project I am making a few mods in cicode in Citect 7.1 +SP2. The problem is even if I remove all the calls to the functions or...
Replies
10
Views
2,678
I'm currently trying to upgrade a Citect 5.5 project to 7.3. The conversion process seems to work just fine, but I'm getting a few compiling...
Replies
9
Views
7,356
Back
Top Bottom