

In the config string I had "ODBC 5.2w" it worked ok, then I try on another computer so I downloaded ODBC connector again and installed, It didnt worked until I manually check the registry and realized that the installed drivers where "ODBC 5.2 ANSI" I input that and it worked fine, then same thing on another computer and you might not belive this but again the same problem, this time I had to input "ODBC 5.2a" and so far I know that there is "ODBC 5.2" and also "ODBC 5.2 Unicode". No, its just that I make a test program (just starting with NBDBPro) and so I connect to a MySql Database hosted on Justhost. ListBoxAddItem "DriversListBox" "0" "Driver - Version: "
LISTBOX NBDBPRO NEOBOOK DRIVER
And, in this case, add the Driver name/version into a ListBox object Read the value who contain the driver version NpRegOpenKey "" "SOFTWARE\ODBC\ODBCINST.INI\" "False" "" Open the individual ODBC driver registry key Iterate over all the retrieved installed drivers Get all the installed drivers, which are saved as subkeys NpRegOpenKey "" "SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers" "False" "" Open the ODBC Drivers key (we omit in this sample the errors comprobation) because LOCAL_MACHINE cannot be open in write mode if we are You can continue using the variable as usual and even use the both methods at the same time.We need to open the Registry only to read (this is needed Below you can view a sample of this subroutine code:ĪlertBox "NeoPlugin Error" "Error in plugin: "Īlso note that the use of this NeoPlugins error handling subroutine is completelly optional. Note that this error handling subroutine are shared for all the NeoPlugins, so you no need to specify a subroutine for every plugin you use in your publication because the same subroutine are recognized and automagically used by every NeoPlugin. Store the plugin name which cause the error.You can define a subroutine named OnNeoPluginActionError in order to be executed when some action error are found and you can use this variables inside: ListBoxAddItem "SizesList" "0" "]"Īll the NeoPlugins deal with errors in the same way that NeoBook does: when the plugin found an action error the variable store information about the error, so you can take care about this variable when execute an action.īut all the NeoPlugins also incorporate an advanced way to deal with possible action errors. In WebCamsList we have the name of a Webcam deviceĪlertBox "Warning" "Select a Webcam from the list first"
LISTBOX NBDBPRO NEOBOOK HOW TO
Take a look at the below code, which show how to use this action: Note that before you call this action you must to call npCamsVideoStart action, in order to retrieve the video resolutions supported by the started Webcam device. Use this action in order to get the supported Webcam video resolution, in order to use the npCamsSetVideoSize action to change the video resolution. Get the supported video sizes list from the specified Cam object. This plugin are imposible without the aid of this people: Then you can specify a Webcam and one of their supported resolution to begin to play the Webcam video into a NeoBook rectangle. The plugin offer to you a list of the available Webcams and their supported resolutions.

You can play the Webcam video in a NeoBook rectangle, pause, resume, stop and get images captures from the video. This plugin allow you to control up to two Webcams at same time from your NeoBook publications.
