Solved

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

Posted on 2014-03-04
3
369 Views
Last Modified: 2014-03-05
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
Comment
Question by:rescapacctgit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Sammy earned 300 total points
ID: 39905347
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
 

Author Comment

by:rescapacctgit
ID: 39906458
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
 

Author Comment

by:rescapacctgit
ID: 39906483
Sorry - I misread your message .... I did exactly as you suggested and it worked.  Thanks!
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question