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