The following line works perfect in the interpreter environment:
ShellExecute Me.hWnd, "open", "7z.exe", " -o" & PNG_Folder & " -y e " & PathFileName2 & Ext & ".gz", "C:\Program Files\7-Zip", vbNormalFocus
When I compile my program and run the .exe, i get the error 10.
Been banging my head trying to figure this one out.
Software environment is Windows 7 32 Bit (needed for an industrial environment).