Solved

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

Posted on 2014-03-04
3
359 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 Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

730 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