Subject: | |
From: | |
Reply To: | |
Date: | Wed, 18 Sep 2002 10:16:53 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Using Application instead of Session corrects this problem because
Reflection Basic uses the Reflection object named Application. Session is
the object name that is used with VBA.
Error$(-2300) = "CALL syntax error"
Meaning that RB doesn't recognize the object name, in this case "session".
The same error would occur if the object name as misspelled.
Joe Silagi
WRQ, Inc.
"KENT WALLACE" <[log in to unmask]> wrote in message
news:3d87a63b$7@skycache-news.fidnet.com...
> Thanks Ken, It worked. I do not know why Application worked instead of
Session.
>
> I apperciate this list.
>
> Thanks
> Kent Wallace
>
> >>> "Ken Hirsch" <[log in to unmask]> 09/17/02 02:49PM >>>
> Try using "Application.OpenSettings" instead of "Session.OpenSettings"
>
> seems to work. dunno why
>
> ----- Original Message -----
> From: "KENT WALLACE" <[log in to unmask]>
> To: <[log in to unmask]>
> Sent: Tuesday, September 17, 2002 3:57 PM
> Subject: [HP3000-L] Reflection VB error -2300
>
>
> Called from a COBOL program yields a nice
>
>
> &o1GSub Main .Session.OpenSettings "C:\frogb.rkm", rcKeyMap
> End Sub.&oH
>
>
> !RB!-02300
>
> Anyone got a clue?
>
> Thanks
> Kent Wallace
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|