I want to use shell to open a picture in MS PANIT but can’t make the following work
Dim s As Shell
s = New Shell
#If TargetWin32 Then
str__PathToProgramWanted = “%windir%\system32\mspaint.exe”
str__AbsoultePathToPicture = “C:/000__My_Bible_Things/Pictures/TheSpiritWorld.png”
’
s.Execute(str__PathToProgramWanted, str__AbsoultePathToPicture)
#Elseif TargetMacOS Or TargetLinux Then
s.Execute(“ls -la”) 'not used by me as it’s not a windows operation
#Endif
any help will be apricated.
I finally got it to work sorry for making this post
Dave
Dim s As Shell
s = New Shell
s.Execute("%windir%\system32\mspaint.exe",str__AbsoultePathToPicture)