Solved

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

Posted on 2014-03-04
3
355 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
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Sammy earned 300 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Sorry - I misread your message .... I did exactly as you suggested and it worked.  Thanks!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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.
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now