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.
Got a Question? Ask.
Ask the community a question about this article:
Frequently Asked Questions
Junior/superior rooms?!?
By: emm08 | 04-08-2008
whats a junior and superior room
What is a mill writer?
By: ]stac | 31-07-2008
what is a mill writer?
July, 2008: My daughter has 2 college majors ...
By: Eileen | 29-07-2008
July, 2008: My daughter has 2 college majors & can complete 4th year of college this Dec 2008. We understand that she will receive only 1 diploma for both majors, if she graduates Dec 2008. However, if she wants 2 separate diplomas (and claim 2 sep. degrees) she would have to continue her studies and do 30 credits, graduating 6 mos later, August 2008. How "important" is it to get 2 separate diplomas to achieve this effect? Does this give a competitive edge? She also wants to go on for her masters too. Tks...rsvp,,,
I need help fast!
By: caccy | 29-07-2008
is it possible to make twin sheets out of double sheets?
If i have scanned pages in my pc how wil i get ...
By: neha | 27-07-2008
if i have scanned pages in my pc how wil i get them in ms word?
Book/Writing Advice
By: cjdaves157 | 24-07-2008
I am writing a book. Below is an excerpt, looking for opinions and advice.
Given A Choice
I have often tried to imagine what my life would have been like if I could have picked my parents and circumstances in advance. If given a choice before birth I am sure I would have chosen a wealthy, high profile, investment banker father with a mother who spent her entire days planning fundraising soirées for the benefit of underprivileged kids.
My childhood would have been filled with lavish vacations, shopping sprees and summers studying abroad. All of my friends would line up for the chance to stay over at my five story one hundred and fifty room mansion located somewhere off the west coast where the sun was always shining and the olympic size pool was always inviting. My nanny, obviously from some foreign country, would take care of all the daily chores that would have helped me to grow into a responsible adult. My teenage bedroom would have been the size of a normal ranch style house with a closet the size of a three car garage. I would have been the envy of every teenage girl and the crush of every teenage and preteen boy.
I imagine I would have sailed through adolescence and breezed through young adulthood without any obstacles to help shape my moral values. I envision me selecting Civil Law as my profession and the standard successful husband and two and a half kids. My children would grow to become successful adults with professions in the medical, legal and political fields.
After spoiling tons of grandchildren and leaving my mark on the world, I would have died somewhere around the age of ninety-five, quietly in my home under the care of a most wonderful and loving Hospice worker. My life?s achievements and my husband?s pension would ensure that my children and their children would be set financially for life. I am sure that I am not alone in my thoughts of what would have made the perfect atmosphere for the perfect childhood. Some may have chosen more exotic locations, more wealth or maybe more high profile, celebutant parents. I envision that just enough for whatever I wanted would have been perfect enough.
Similar to how infertile couples pick out sperm at a sperm bank I use to think it would have been nice to review the details of what I was being born into. Looking back now I know that choice is not always a good thing. Most children born into the scenario I described above end up killing thirty of their peers in a school yard shooting, after which suicide seems to become their only way out. I believe that there is a higher power that does review the blueprints of families and has a keen sense for why you are placed where you are. Still, when I think back to the sperm analogy used above, I see my parents picking ?purple sperm? and I came out ?green?.
Q&A Powered by:
Latest Programming Articles
How to Succeed as a Abap Developer or Sap Abap Development Manager
By: Deepak Mandrekar | 05/10/2008
For anyone working on an SAP implementation project, SAP implementation partners or consulting companies, you very well know that SAP ABAP skills are highly valued within the SAP industry. SAP ABAP developer supports implementation projects with customer specific enhancements, building reports to migrate data from legacy system into the SAP system, build web interfaces using Java Connectors (JCo) or Enterprise Services. Plus if you are creating enterprise services or integrating other third part
E-commerce and Web Portal Development in Vietnam
By: Daniel Jowssey | 03/10/2008
VIETNAM, owing to its superior intellectual capital has emerged as the ultimate destination for low cost e-commerce and web portal development. Companies from all across the globe have found the quality of work delivered by VIETNAMn vendors to be far superior in quality as compared to vendors in their home countries. Another advantage is its location in a different time zone. Vendors based in VIETNAM can respond to the needs of Western clients faster than vendors based in the home country also.
Php Web Development Advantages
By: Rightway Solution | 01/10/2008
PHP (PHP: Hypertext Preprocessor) is a powerful server-side scripting language for creating dynamic and interactive websites. PHP is a popular and widely used programming language used for website development.
Using Comments in Your Programming Source Code by Nicholas Brown
By: Nicholas Brown | 30/09/2008
Save time and money by adding comments to your source code.
Data Transfer Methods of Cnc
By: Gargi Nath | 28/09/2008
A CNC machine cannot function without a program. And a program cannot make its way to the machine without an effective data transfer system. So, what are the methods of data transfer and how effective are they in conveying data from one point to the next?
Software Development Life Cycle Models
By: Paulita C. Lobrin | 27/09/2008
System Development Life Cycle (SDLC) models help in the complete development of a system, right from the conceptual stage to the customer delivery stage. SDLC is very useful if one has a complicated system to build. SDLC is the overall process of developing information systems through a multi-step process, from investigation of initial requirements to analysis, design, implementation and maintenance.
Types of Softwares
By: pntglobal | 27/09/2008
Computer software is a general term used to describe a collection of computer programs, procedures and documentation that perform some task on a computer system. The term includes application software such as word processors which perform productive tasks for users, system software such as operating systems, which interface with hardware to provide the necessary services for application software, and middleware which controls and co-ordinates distributed systems.
Effetive Use of Pointers
By: varadarajan t | 27/09/2008
pointers in c are one of the most striking features of c language. it has several advantages. it can save memory space effectively. using pointers we can handle array of data effectively. this article shows a basic idea of pointers and it usage.
More from George Gilbert
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.
Writing Articles - Starting New Articles With a Repeatable Skeleton
By: George Gilbert | 13/08/2007 | Article Writing
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 - How I Achieved More Money Than Month
By: George Gilbert | 13/08/2007 | Finance
Are you familiar with the phrase "More Month Than Money?" It means running short of money either before the end of the month or before your next payday. It's a condition with which most wage earners are familiar. It was my problem for many years.
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.
Tape Adding Machines – Bad Habit, Addiction or Comfy Loafers?
By: George Gilbert | 13/08/2007 | Corporate
The next time you’re in an office where personal computers are used, look on the desks. Chances are pretty good that you will see a mechanical tape adding machine sitting next to many of the computers. That makes no sense to me whatsoever.