| Date: | Mon, 9 Nov 1998 23:15:48 -0500 |
| Reply-To: | huntres@ibm.net |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | huntres@IBM.NET |
| Organization: | IBM.NET |
| Subject: | SAS and VB OLE |
| Content-Type: | text/plain; charset=us-ascii |
Hi Everybody,
I'm trying to access the SAS OLE Automation Server using visual
basic. I have been able to create a reference to a sas object with:
set mySAS=createObject("SAS.application")
and then issue commands with:
mySAS.Submit( myCommand )
etc....
everything runs fine, I have created datasets on the fly, run Proc GLM,
etc....but what I really want is access to the output window from VB.
Unfortunately, SAS does not appear to expose many methods or
properties. Is there any way to return the text in the output window
besided saving it to a file on the SAS side and reading it back in on
the VB side?
Thanks,
Gary "SAS Newbie" Huntress
|