Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / February 2007

Tip: Looking for answers? Try searching our database.

Using DDE to go to a specific line

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ksierens@msn.com - 08 Feb 2007 14:14 GMT
We are using DDE to open a file in VisStudio2005, but is there a way
to have it also go to a specific line in that file?
Carlos J. Quintero [VB MVP] - 09 Feb 2007 09:21 GMT
Not using DDE, you need to use automation:

HOWTO: Automating Visual Studio .NET from outside the IDE.
http://www.mztools.com/resources_vsnet_addins.htm

Once you have a DTE instance the easiest way is to call
DTE.ExecuteCommand("Edit.GoTo", linenumber)

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

> We are using DDE to open a file in VisStudio2005, but is there a way
> to have it also go to a specific line in that file?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.