Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-17-2006, 01:14 PM
realtytrac realtytrac is online now
Registered User
 
Join Date: 04-17-2006
Posts: 16
questions using the object model

I am writing a .NET application to interface with Visual Build using its API. I have been looking through the object model reference and it has been slightly helpful. If there is a place that has more details, please let me know.

one issue that i am currently having is that the object model reference says that the Project object has a Steps object. But when i reference the VisBuildSvr library in my .NET app, when i come to the Application.Project object, a Steps object does not exist. All the other objects (such as Scripts) exist, but that doesn't. Any reason why?

Application x = new ApplicationClass();
x.Project.Load(@"C:\Working\RealtyTrac\Visual Build Scripts\SEOFactory-Build.bld");
x.Project.Steps[x.Project.FindStep("Get Latest SEOFactory",StepTypeEnum.vbldStepMain,-1)] //This line won't compile.


Another issue i am having is building the project. I try the following code, but nothing happens:

Application x = new ApplicationClass();
BuilderClass builder = new BuilderClass();
x.Project.Load(@"C:\Working\RealtyTrac\Visual Build Scripts\SEOFactory-Build.bld");
builder.Initialize(x);
builder.Start(StepTypeEnum.vbldStepMain,1,0);
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:15 PM.


Copyright © 1999-2023 Kinook Software, Inc.