- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 08-19-2021 10:53 AM
(968 views)
Greetings, I have used the following code with VB6 to call SAS program in background, on local machine. Now I am using VB.Net / Visual studio 2019 and it is not working anymore (method is pretty simple below that worked in past - kindly let me know how to tweak/adjust it to make it work. Thanks in advance
Set SASObj = CreateObject("SAS.Application.940")
SASObj.submit ("%include 'c:\Program.sas ';run;")
SASObj.Visible = False
SASObj.Wait = True
SASObj.Quit
Set SASObj = Nothing
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This documentation talks about the difference between VB6 and .NET:
Programming in the .NET Environment
https://go.documentation.sas.com/doc/en/itechcdc/9.4/itechwcdg/p1t48e0y92v4jqn1csygma6z7178.htm
Programming in the .NET Environment
https://go.documentation.sas.com/doc/en/itechcdc/9.4/itechwcdg/p1t48e0y92v4jqn1csygma6z7178.htm
--
Greg Wootton | Principal Systems Technical Support Engineer
Greg Wootton | Principal Systems Technical Support Engineer