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 / May 2006

Tip: Looking for answers? Try searching our database.

Format Document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martin - 23 May 2006 17:53 GMT
I created a template wizard which creates a standard class. now i want to
execute the command in order the format the document (in order to get the
default tabs and so on).

but i don't know where to look for the method in order to execute the
command. do anybody know a solution?
Carlos J. Quintero [VB MVP] - 24 May 2006 09:52 GMT
Hi Martin,

- You have the "Edit.FormatDocument" adn "Edit.FormatSelection" that you can
execute with DTE.ExecuteCommand(....)

- You have also the EnvDTE.EditPoint.SmartFormat(textPoint) method in the
extensibility model.

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

>I created a template wizard which creates a standard class. now i want to
>execute the command in order the format the document (in order to get the
>default tabs and so on).
>
> but i don't know where to look for the method in order to execute the
> command. do anybody know a solution?
Martin - 31 May 2006 10:34 GMT
thx!

> Hi Martin,
>
[quoted text clipped - 10 lines]
>> but i don't know where to look for the method in order to execute the
>> command. do anybody know a solution?

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.