Remember Me
forgot your password?

Double Text - Starting the Program From Within Visual Studio

Double Text is a repeat text writer that works with virtually any scripting and programming language. I use the program extensively to store, document and repeat code snippets for all of the programming languages in which I work. I find that it is to my advantage, therefore, to have this repeat text writer readily available to me regardless of where I am working in the Microsoft Visual Studio software development environment. With the program on the Visual Studio Tools menu, I do not have to bother with the Windows Start menu, or with getting back to my desktop to start the program.

Adding The Program To The Tools Menu

Here are the steps for adding Double Text, or any other programming tool you use, to the Visual Studio Tools menu. In Visual Studio, click on the Tools menu and then the External Tools command. This will open the External Tools dialog box. Follow these steps in the dialog box.

1. Click the Add button. This will add a new Title to the Tools menu at the end of the existing titles.

2. In the Title textbox, change the new Title to "Double Text."

3. Click on the browse button to the right of the Command textbox. Browse to the folder where the program is installed. (If the installation path was not changed during installation, the program will be on the C: drive. Drill down through the Program Files and 2 Good Software folders to the Double Text folder.) In the installation folder, select the dbltext.exe file and then click the Open button.

4. To change the position of the program within the other tools listed on the Tools menu, use the Move Up and Move Down buttons to change the order of the menu contents.

5. Click the OK button.

Starting And Exiting The Program

Double Text will now be listed on the Visual Studio Tools menu. Whenever you are working in Visual Studio, you can start the program by clicking on the Tools menu and then the Double Text command. Unfortunately, when you exit Visual Studio, the repeat text writer will not also be closed. The program must be closed separately.

Using The Program

Repeating code snippets is the process of using Double Text to place a copy of code stored in source libraries on the Windows clipboard. Code that is to be repeated is set up once in a source file using the built in text editor. After a source file has been created, whenever a new copy of the code is needed it is placed on the clipboard with one mouse click. After a new copy has been placed on the clipboard, the repeated code can be pasted where needed in Visual Studio.

For repeat code that requires changes in every new copy, markers are placed in the source file where each change is needed. Markers can also be used to segment the source file into selectable sections thereby letting you pick and choose the code that is included in each new copy. Whenever a source file is repeated, you are prompted which code to include and for 'fill in the blanks' information. The source file stays the same while each newly repeated copy of the code can be very different.

As an example, I have a library of source files that I use to create new collections for data objects in Visual Basic. There are separate libraries for building collections for objects store in text files and in Access databases. Using these collection libraries I can generate the object and collection classes, more than 300 lines of fully commented code, in a few seconds.

In addition to saving me valuable coding time, the source code that I generate from my source libraries using a repeat text writer is bug free. That alone puts the program at the top of my coding toolkit.

George Gilbert

George Gilbert writes software for personal computers. One of his popular titles is Double Text, a repeat text writer. Find out more about this innovative program at 2goodsoftware.com.

Rate this Article: 5 / 5 stars - 1 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Programming Articles
  • More from George Gilbert

Outsourcing of iPhone Application Development Offers Profits for Developers as Well as Users

By: Arun Kumar | 30/12/2009
Being a 3G phone, it offers users the advantage of thrilling web access which helps them being on top of all online activities even on the move. Also, there are several additional applications available for download for the device. Thanks to the efforts of the outsource iPhone application development firms which have helped iPhone users get more with their devices using the apps developed by their expert developers.

Pass4side 000-135 practice test

By: Adela1987 | 30/12/2009
Pass4side 000-135 Details: Pass4side is your source for the IT Exam 000-135 exam. With our 000-135 Exam Resources, you can be rest assured that you will Pass your 000-135 Exam on Your First Try. Our Exams are written and formatted by Top senior IT Professionals working in today is prospering companies and data centers. All of our practice exams including the IBM 000-135 exam guarantee you success on your First Try. 000-135 is a challenging exam,with our 000-135 study guide,you can feel safe wit

Open Source Development

By: Digisha Modi | 30/12/2009
Open Source Software are free applications released under special licensing terms where the core coding is viewable and able to be edited to suit the needs of the user. Open Source applications cover a myriad of uses - from entertainment to enterprise ecommerce. Open source software like Joomla, magento and osCommerce are very popular and widely used. They are content management system and it maintains track of every piece of content including music, videos, text, widgets, images and documents.

Cakephp PhpBB Integration

By: Digisha Modi | 29/12/2009
PhpBB Forum is a popular bulletin board script written in the server side scripting language PHP. Installable on most web servers, it is free open source Framework available under the GNU public license. The software allows website and forum administrators to set up unlimited number of forums and categories. It is also possible to create users, moderators and user groups with varying degrees of permissions.

Cakephp Amazon API Integration

By: Digisha Modi | 29/12/2009
The Amazon Web Service lets your cakephp web applications make queries to the huge database of products at Amazon and extract as much information as you need. The information you get in your application is exactly the same that is available on the Amazon website at that instant. The Amazon Web Service returns data in real-time, and updates automatically.

Easy way to set up global API hooks

By: Apriorit Inc. | 28/12/2009
This article describes an easy way to set up system-wide global API hooks. It uses AppInit_DLLs registry key for DLL injection and Mhook library for API hooking. To illustrate this technique we will show how to easily hide calc.exe from the list of running processes.

Ruby Development Philosophy Today

By: Inessa Bokhan | 28/12/2009
After taking a decision to launch a Web 2.0 project, independent software vendors (ISVs) can get overwhelmed with hundreds of thoughts, concerning the future project and its performance. However, the idea of choosing between various Web technologies available at the moment may bring in some confusion. What would be more beneficial, Adobe Flex, Silverlight, JavaFX, Ruby development, or whatever?

Usages of camcorder bags among users

By: John Kendrick | 28/12/2009
Consumers should know the importance of camcorder bags among electronic devices in many coun tries. Consumers can use these camcorder bags for outstation journeys throughout the world. These camcorder bags provides safety while travelling in any part of the world.

Myown10-key - How to Balance your Checking Account Without First Entering All of your Transactions

By: George Gilbert | 24/08/2007 | Finance
Balancing your checking account with the aid of your computer does have to mean first entering all of your account transactions into a program.

Repeatable Code - a Step Up From Reusable Code

By: George Gilbert | 19/08/2007 | Programming
Reusable code is a category of code that few managers or developers seem to pay much attention to until they need it. Maybe they would pay more attention to repeatable code.

Double Text - Starting the Program From Within Visual Studio

By: George Gilbert | 13/08/2007 | Programming
Make Double Text readily available whenever you are working on any language in Visual Studio.

Writing Articles - Starting New Articles With a Repeatable Skeleton

By: George Gilbert | 13/08/2007 | Article Marketing
Articles written for distribution on the Internet have common requirements. Having a repeatable skeleton to start each new article saves me time and helps keep the formats of my articles consistent. Starting a new article, with the exception of the text I write, is reduced to point and click.

Personal Finances - K.i.s.s.ing your Checking and Credit Card Accounts

By: George Gilbert | 13/08/2007 | Finance
Successfully managing your personal finances requires making some lifestyle choices. Whether you have done so consciously, or unconsciously, you have already made your choices. Are they the right ones?

Personal Finances - Getting Off the Paycheck to Paycheck Roller Coaster

By: George Gilbert | 13/08/2007 | Finance
Budgeting, accumulating spending history and living from paycheck to paycheck are the three traditional methods of managing personal finances. None of these methods work for most people. There is a new approach.

Tape Adding Machines – a Very Expensive, Unnecessary Addiction

By: George Gilbert | 13/08/2007 | Corporate
The mechanical paper tape adding machines setting on corporate desks next to high priced personal computers are not normally thought of as an inordinate expense. In fact, it is my experience that those mechanical machines are considered by companies to be a necessity. Nothing, in my opinion, could be further from the truth on either count.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.65, 1, w3)