you can't actually use that class in you rbscript. You can only use
the methods of your instance in your rb script.
AC
On 18-May-06, at 1:08 PM, Rafael Vallejo wrote:
Hello,
Now I can compile my aplication, but when I try to run my script
but I got an error 6 when I try to run my RBScript
63 that corresponds to "There is no class with this name"
That is for that line on my RBScript
On my Realbasic Application I added this line scriptrun is a
subclass of RBScript:
scriptrun.Context= new REALSQLDatabase
My RealBasic script give me an error on this line
Dim datos as REALSQLDatabase
Any help will be apreciated
Alexander Cohen escribió:
you should probably use:
rbscript1.Context = new REALSQLDatabase
or something like that. It needs and instance, not the class.
AC
On 17-May-06, at 11:14 AM, Rafael Vallejo wrote:
Yes I read that on the manual but it seems not to work check the
following line I put on a buton on my test project:
RbScript1.Context REALSQLDatabase
The comiler gives me the following error:
Code Window1.Action, line 00001 This is not an array but
you are using it as one.
I had this problem every time I tryed to use RBscript, by the
way RBScript1 is an object I droped on the window I'm using for
testing it.
Rafael
Alexander Cohen escribió:
You can pass one of those objects as the context of the
rbscript. All of the methods will be globals methods in the
script. Im pretty sure thats how you'd do it.
AC
On 17-May-06, at 10:41 AM, Rafael Vallejo wrote:
Does any body know how to use Databases TCP Sockets and other
classes from a Real Basic Script.
Regards
Rafael
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>