Table of Contents
VProject Class: Construction Methods
VProject.VProject()
Declaration:
VProject( inProjectLocation as Location )
Parameters:
- inProjectLocation - The location of a Valentina project file “*.vsp”.
Description:
Constructs a new instance of VProject class. You need to provide the disk location of a “*.vsp” file that contains the description of one or more Reports.
Example:
dim pAllReports as VProject my_project = new VProject( "MyProject.vsp" ) // Now you can use methods of VProject class to: // * investigate how many reports are inside of this container. // * get their names to display in e.g. menu // * extract single reports creating VReport class instance.
VProject.VProject()
Declaration:
VProject( inConnection as VConnection, inProjectName as String )
Parameters:
- inConnection - A connection to a Valentina Server.
- inProjectName - The name of a VProject hosted by that VServer.
Description:
Constructs a new instance of VProject class to handle projects hosted on a Valentina Server. You need to provide a connection object and a project name known to the Valentina Server.
Example:
dim pAllReports as VProject my_project = new VProject( connectionToMyServer, "MyProject.vsp" ) // Now you can use methods of VProject class to: // * investigate how many reports are inside of this container. // * get their names to display in e.g. menu // * extract single reports creating VReport class instance.