|
|
|
|
|
| | Total Hits: 5 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  Starting in Visual Studio 2008 Service Pack 1 (SP1), you can create an application-level smart tag that you can use in every open document. The smart tag recognizes tablespoon measurements in a Microsoft Office Word 2007 document, and provides an action that converts the amount to ounces. It adds the equivalent ounce amount in parentheses after the tablespoon amount.... |
| | Total Hits: 8 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  When you extend a Microsoft Office application by creating a Visual Studio Tools for Office add-in, you write code directly against the ThisAddIn class in your project. You can use this class to perform tasks such as accessing the object model of the Microsoft Office host application, customizing the user interface (UI) of the application, and exposing objects in your add-in to other Office solutions.... |
| | Total Hits: 10 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  This walkthrough shows you how to create an application-level add-in for Microsoft Office Project. The features that you create in this kind of solution are available to the application itself, regardless of which projects are open. For more information, see Office Solutions Development Overview.
This walkthrough illustrates the following tasks:
*
Creating a Project add-in project for Project 2003 or Project 2007. *
Writing code that uses the ob... |
| | Total Hits: 4 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  This introductory walkthrough shows you how to create an application-level add-in for Microsoft Office Word. The features that you create in this kind of solution are available to the application itself, regardless of which documents are open.
This walkthrough illustrates the following tasks:
*
Creating a Word add-in project for Word 2003 or Word 2007. *
Writing code that uses the object model of Word to add text to a document when it is saved.<... |
| | Total Hits: 2 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  You can add code to the host application that dynamically modifies the object model of an add-in project that is open in the Visual Studio Tools for Applications IDE. The host application can raise an event when a developer creates an instance of an item in the host application, for example, a document or a form, or an object, such as page or a control. Your code can handle the event and add a corresponding host item or host object to the open add-in project. When you add a host item or host obj... |
| | Total Hits: 57 | Today: 0 | Author: Thoths | Rating:  |
| |  This article can be a template for writing your own add-ins for Visual Studio .NET 2003. I�ve explained here with an example which helps to copy a bunch of code lines into a new function. This add-in is built with a GUI where you need to input function name, access type and data type.... |
| | Total Hits: 110 | Today: 0 | Author: Mike Knuckey | Rating:  |
| |  After many many years away from software development I decided to take the leap and rekindle my interest. Wow and have things changed! Having purchased a copy of Visual Studio and electing to go with C# my simple application grew and grew which screamed for a level of documentation due to my "put down pick up" approach. I initially used the bundled "Build Comment Web Pages" add-in which I liked but found it very verbose generating a multitude of pages and hence the presented lean and mean code d... |
| | Total Hits: 23 | Today: 0 | Author: Yanier Castellanos | Rating:  |
| |  I'm just a beginner in programming stuff. Every time I need a specific collection, I have to write an entire class (it is always the same), and I'm a little tired of that, so I wrote a Visual Studio Add-In that does the work for me.... |
| | Total Hits: 90 | Today: 0 | Author: Doug Doedens | Rating:  |
| |  With XML and XSLT transformations becoming a large part of many business applications it would be beneficial to have this functionality in the Visual Studio .NET IDE. Following are the instructions for adding XSLT transformations and Intellisense to XSLT documents to the Visual Studio .NET IDE. This additional functionality is achieved by implementing a macro written in VB.NET and a schema that depicts the hierarchical relationship of the XSLT syntax. The first section gives instructions on how ... |
| | Total Hits: 68 | Today: 0 | Author: Phillip H. Blanton | Rating:  |
| |  At ComponentScience, we heartily embrace the use of regions to logically separate our code into meaningful blocks. After doing it manually for a couple of years, I decided to write myself a little macro to make my life easier. After a little research, I found a couple of examples of how to manipulate Visual Studio's code editor. The result is the following macro that I use to regionify my code.... |
| | Total Hits: 74 | Today: 0 | Author: Pavel Sokolov, Pierre Arnaud | Rating:  |
| |  A simple macro that allows you to quickly switch between the associated header and implementation files. This is a modification for Visual Studio .NET of the macro by Nooruddin Kapasi.
This macro simply switches between a *.h file and a *.cpp file, without any errors (if the *.h or the *.cpp file does not exist).... |
| | Total Hits: 76 | Today: 0 | Author: Corneliu Tusnea | Rating:  |
| |  RSS feeds are more and more popular and as any site that respects itself, CodeProject also provides a nice RSS feed with information about the latest articles.
As Steven Hicks just noticed in the Lounge http://www.codeproject.com/lounge.asp#xx761109xx CodeProject RSS link is not so easy to notice. If you are a real CPA (CodeProjectAdict) you do want to see "What's new on CP" at any moment. And the best place to see it is of course in you VS.Net environment where you spend most of you time... |
| | Total Hits: 40 | Today: 0 | Author: Austin Bain | Rating:  |
| |  Visual Studio .NET (VS.NET) is a great development environment. However, no development environment is perfect. I always find things that are missing or could be improved. For instance, when programming in ASP.NET, I am always switching between the .aspx or .ascx and the associated Code Behind file. I found that there is no feature to toggle between these two files, however, all was not lost because the VS.NET team knew that they could not provide features for all users, so they opened up the VS... |
| | Total Hits: 70 | Today: 0 | Author: Kevin McFarlane | Rating:  |
| |  These macros insert C# code constructs into your document at the insertion point. To use, open Macro Explorer and copy and paste into an existing or new macro project. To run a macro place the cursor at the required insertion point in your document and double-click the name of the macro in Macro Explorer. You may wish to define more convenient keyboard shortcuts for each macro via the Tools->Customize menu.... |
| | Total Hits: 61 | Today: 0 | Author: James Coleman | Rating:  |
| |  Sure, I have heard macros are great and save you a lot of time in development, but to be honest I never had the time to develop any because I was too busy developing. Well today I was met with a rare development lull and decided to invest in learning how to create macros in Visual Studio .NET and save some time in the future. The macro that we are going to create is one that will automatically create our member variables as well as their corresponding public properties. To demonstrate how a macr... |
| | Total Hits: 72 | Today: 0 | Author: Charles Windhausen | Rating:  |
| |  If you work with files in both Visual Studio and DreamWeaver, then you may have run into a VS anomaly that will quickly drive you to the nut house. DreamWeaver templates work by using special HTML comments carefully placed in the source file. These comments are used to perform updates to the file when a template is re-applied. Move or modify these comments just a little and DreamWeaver can no longer update the source file. In the worse case, it can't even display the file properly within its edi... |
| | Total Hits: 53 | Today: 0 | Author: Gustavo Bonansea | Rating:  |
| |  This article show you how to write a macro that refreshes all the references of a solution. This is useful when you have a lot of projects with interrelated DLL references between them. So when you have DLL versions problems, you refresh all the references of the solution an solve it.... |
| | Total Hits: 84 | Today: 0 | Author: That Asian Guy | Rating:  |
| |  Recently, I've noticed many people looking for a build number incrementor that works with Visual Studio 2008. I was also one of those people. Hence, I dug up an old macro I used in VS 2005 (written by Bellerephon here) and started to debug it. What I figured out was actually quite simplistic.... |
| | Total Hits: 107 | Today: 0 | Author: John C | Rating:  |
| |  I find this useful and couldn't find anything like it before I wrote it, hence this article.
This is a simple little macro I came up with to alleviate the tedium of reversing assignments in source code. This is something I come across quite frequently when working with business objects and in ASP.NET forms where you initially set a series of objects with a value, then later want to reverse the assignment.... |
| | Total Hits: 76 | Today: 0 | Author: Wooseok Seo | Rating:  |
| |  As you know there isn't a function like WBGoToNext and WBGoToPrevious in Visual Studio .NET. So this macro will help you when you want to quickly move between function headers in your code.... |
|
|
|
|
|
|
|
|
|
|
|
|
|