Valentina for Xojo/REALbasic FAQ
Thank you for your interest in Valentina. Here you will find links to general topics related to all Valentina for V4RB products as well as specific frequently asked questions and answers about Xojo support.
Installation Questions
Error Handling Questions
Q: Is VException class related to Xojo' class Exception?
You can write the following code, which allows you to handle Valentina exceptions separetly from any other exceptions:
SomeFunction()
...
Exception err as VException
MsgBox "Valentina throw exception: " + Str(err.ErrorNumber) + ":" + err.Message
Exception err
MsgBox "Error!"
end
Class VException is child of Exception class of Xojo. This means that you can also write code as in the next example and still catch Valentina exceptions.
SomeFunction()
...
Exception err
MsgBox "Error!"
end
General Questions
Q: How to Hide Serial Numbers?
Ed Kleban suggests:
I'd like to recommend a great little tool I discovered
that you can use to easily hide your Valentina (or any other) serial number
so others can't easily obtain it by scanning your compiled source
code:
http://www.truenorthsoftware.com/Realbasic/Obfuscate.html
Obfuscate (version 1.1)
Obfuscate is a program to render obscure a string of text within Xojo
compiled code. Anyone scanning your code with a hex editor will not be able
to pick out what you are trying to hide in the code without a lot of work.
Use Obfuscate for serial numbers and other key information.
System Requirements:
Mac OS X 10.2 or later
Windows 2000/XP or later
Price: Obfuscate is free. Enjoy!
Q: Why do the two version with array of bound values, ''bind() as string'' and ''bind() as variant'', exist?
1) - It`s historically. There was time when REALbasic did not have Variant. 2) When Variant was added, we have seen it is very slow. x100 times slower than working with strings. So we have left so far both versions.
Field Questions
RBDB API Questions
Deployment Questions