Table of Contents
Valentina for Director Example Guide Introduction
Welcome to the Valentina for Director Example Guide! Here you will find code examples that are common to all Valentina products as well as examples that are specific to developing database solutions with Adobe Director in Lingo.
Description of Example Categories
This document contains a list of commented code examples. These include code examples in the following categories:
Common Examples - contains code examples that show features and techniques common between both the Valentina SQL and Valentina API methods.
Valentina SQL Examples - contains examples that show how to work with Valentina databases using SQL.
Valentina API Examples - contains examples that show how to work with Valentina databases using native Valentina API methods.
Adobe Director Specific Examples - contains examples that show how to work with Valentina databases using Adobe Director-specific Valentina API methods.
Local and Client-Server Modes
Please note, that practically all above examples are developed to be able to work in both LOCAL and CLIENT - SERVER Modes.
To switch modes, you should open module ExampleTools in your project, go to method initValentina() and set the variable gClient to be TRUE.
gClient = true
To be able to work in the different modes, the ExampleTools module contains few methods, which do work according to the value of gClient flag.
ATTENTION: Valentina Examples cannot work with Valentina Server that runs using license_emb_dddddd file, because VServer in this case expect connection signature, which Examples do not provide. Please use Examples only with Vserver that runs with license_mac_dddd or license_win_dddd files.