plc-girl
Member
Hi guys,
I am working on an HMI with WinCC Flexible Advanced 4.3, trying to pop-up an image on button click.
Both these scripts work on WinCC, but not after I download the program on the HMI.
If someone has any ideas as of why and how to fix it, please share.
image_path = "\Storage%20Card%20MMC\Images\Winter.JPG"
Set objWshShell = CreateObject("Wscript.Shell")
objWshShell.Run image_path, 1
This is just to test in case the image path is failing:
Set objWshShell = CreateObject("Wscript.Shell")
objWshShell.Popup("image to go here")
Thanks!
I am working on an HMI with WinCC Flexible Advanced 4.3, trying to pop-up an image on button click.
Both these scripts work on WinCC, but not after I download the program on the HMI.
If someone has any ideas as of why and how to fix it, please share.
image_path = "\Storage%20Card%20MMC\Images\Winter.JPG"
Set objWshShell = CreateObject("Wscript.Shell")
objWshShell.Run image_path, 1
This is just to test in case the image path is failing:
Set objWshShell = CreateObject("Wscript.Shell")
objWshShell.Popup("image to go here")
Thanks!