Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 398
  • Last Modified:

Visual Studios 2005 - Setting Debug->Start External Program Field

Hi,

I have a DLL I build 4 years ago that now need changing :(.  This DLL is called from an Excel workbook.  

I need to debug my code and many years ago I remember setting the Debug->Start External Program field to open up the workbook that calls it.  

I can't remember the syntax/path I need to supply in this field.  

Assume my spreadsheet is saved to C:\test\happy.xls and that Excel.exe is under C:\Programs Files\Office12\Excel.exe

Thanks in advance
0
rescapacctgit
Asked:
rescapacctgit
  • 2
1 Solution
 
Sammy AgeilCommented:
Right click on the project, go to properties
Under debug select Start External Program (click on ellipse to start finding excel.exe
in command line arguments type the path of your excel document (C:\test\happy.xls)
0
 
rescapacctgitAuthor Commented:
I tried that ..... but it says I can only debug an executable.  

I vaguely remember having to do something like:  C:\Programs Files\Office12\Excel.exe
 'C;\test\happy.xls'

that doesn't work ..... either my memory fails me and I am not even close OR my syntax just has to be tweaked.
0
 
rescapacctgitAuthor Commented:
Sorry - I misread your message .... I did exactly as you suggested and it worked.  Thanks!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now