Jump to content

Recommended Posts

Posted

I'm having a very strange problem. If I run a command like:

ShellExecute("C:\spreadsheet.xls")
excel will open but not spreadsheet.xls. I can double click any excel file and it opens fine under any other circumstances, it's just shellexecute that has the problem. Any ideas why?

Posted

No, if I were to enter C:\spreadsheet.xls in the windows Run dialog the spreadsheet opens fine. So the association seems to be working as it should.

Posted

From what I can see the verb in the registry is /e which I assume means Edit. Either way it should open with ShellExecute, yes? To add to the confusion, ShellExecuteWait opens the spreadsheet fine! :huh2:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...