SyntaxFix
Write A Post
Hire A Developer
Questions
Your Button2Click and Button3Click functions pass klad.xls and smimime.txt. These files most likely aren't actual executables indeed.
Button2Click
Button3Click
klad.xls
smimime.txt
In order to open arbitrary files using the application associated with them, use ShellExecute
ShellExecute