Displaying 2 results from an estimated 2 matches for "my_vb".
Did you mean:
my_db
2005 Feb 02
0
How to run R-script from remote VB program
....Init("R")
dim str
str = "source(" + """" + "c:\a.R" + """" + ")"
RLink.EvaluateNoReturn(str)
I got an error message :
An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred
in MY_VB.exe
Additional information: Object is static; operation
not allowed
"a.R" has codes to load RODBC package and collecting
and running query result to the Oracle DB.
How can I run the R-code script remotely from VB
program ?
I appreciate your help.
Regards,
Tae Sik Han.
2005 Feb 03
0
call RODBC function from DCOM
...DBC);
con = odbcConnect("dsn", uid = "...", pwd="s...");
tlist = sqlQuery(con, "select tname from cols");
------------------Error message --------------------
An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred
in MY_VB.exe
Additional information: Object is static; operation
not allowed
----------------------------------------------------
I need to do more to correctly set up DCOM server for
ODBC ?
Thanks and regards,
Eliot.