FairCom Corporation
 
FairCom Start PageFairCom ProductsDownloadsDeveloper SupportSales InformationFairCom CustomersFairCom Company InformationContact FairCom

Homebulletgrey.gifeNewsletterbulletgrey.gifVolume 26bulletgrey.gifVisual Studio Tips and Tricks


Microsoft Visual Studio Tips and Tricks!

Microsoft Visual Studio 2005 contains hundreds of productivity enhancing features. Perhaps you didn't know you could do these. Perhaps you’ve used some of these before and have just forgotten. Here is a short list of quick tips to keep you moving along in Visual Studio.

You can find many, many more in these printable charts from Microsoft found at the following links:

Visual C++ 2005 Keyboard Shortcuts

Visual C# 2005 Keyboard Shortcuts

Visual Basic 2005 Keyboard Shortcuts

Editor’s Favorites

  • CTRL-SHIFT-B or F7 to build your solution
  • CTRL-] to jump between matching braces!

The IntelliSense Suggestion Box

  • If you press and hold Ctrl then press "k" and "p," it re-opens the suggestion box. For instance, if you type:

    Microsoft.Xna.Framework.Graphics(

    after the first parenthesis, a bubble pops up suggesting what to write next. If you accidently exit from there, you can easily re-open it by pressing the above keys.

  • CTRL-J shows only members in the IntelliSense completion list.

Format your Code

  • CTRL-K-D to auto-format your code
  • CTRL-K-C to Comment a block of code
  • CTRL-K-U to Uncomment a block of code or CTRL-e-d and CTRL-e-c and CTRL-e-u
  • CTRL-M and CTRL-L will collapse/expand all outlining.
  • CTRL-M-O and CTRL-M-P to open and close all regions of code.
  • CTRL-K, CTRL-C/CTRL-U to comment/uncomment a selection.
  • Type three slashes above any method prototype to comment your methods, and the information is displayed in a drop down box.

The Powerful Command Window

  • Type prop and tab and it will insert a code snippet to assist with property and backing fields for variables.
  • Type threads in the command window to display the Threads window.

Debugging

  • F10, F11 Step Over, Step Into a statement
  • CTRL-ALT-H display the Thread List window.
  • CTRL-ALT-M,1 display the Memory window.
  • CTRL-ALT-C or ALT-7 display the call stack window.
  • ALT-3 display the Watch window

Customize Your Own Shortcuts!

You can create your own custom shortcuts! Simply click Tools > Options... > Environment > Keyboard. You can save different versions of shortcuts in settings files by exporting them. Choose Tools > Import and Export Settings. . . to start the import/export wizard.

RadioGrupo (RG) is a group of seven radio stations located in Aguascalientes, a city in the center of México with a population of one million. Founded in 1936, RG has an estimated 70% market share according to one recent survey. Microsistemas de Aguascalientes provides technology consulting services to a number of industries including radio broadcasting, government, and commerce.

RG needed to provide its radio stations a new level of control and sophistication to handle creating the contracts, scheduling the commercials as stipulated in the contracts, controlling the invoice generation for transmitted spots, collecting the invoices, reporting comprehensive information, and forecasting for the future. Because RG had no technical staff, they turned to a local consultant, José Luis Gómez Serrano from Microsistemas de Aguascalientes, to develop this new system. Given the requirements of this project, Microsistemas de Aguascalientes proposed to use FairCom technology. Mr. Gómez had used c-tree Plus and the c-tree Servers on several other projects with excellent results. He believed that this new project was perfectly suited to this technology.

As the team from Microsistemas de Aguascalientes worked on the traffic engine, they were pleased by the performance they achieved with FairCom's technology: a one-year contract (about 15 spots a day) could be programmed in a snap, at a rate of 170 scheduled spots per second. For each spot in a contract, the system must find a suitable location on the schedule, ensuring that the specific contract constraints are met.

The entire project was based on a three-tiered model: a graphical interface using Borland's VCL model, the business rules based heavily on the C++ object paradigm, and the server interaction using the c-tree Server. This strategy worked well, particularly when developing the finer elements of the system such as the assignment of the spots on the schedule. The ample c-tree Plus API gives the programmer an assortment of functions that make it easy, powerful, and efficient to manage a database in a complex situation.

Read More... (630KB PDF)

FairCom Start PageSite MapContact FairComThe FairCom Privacy Policy Your Location: USA | Europe | Brazil | Japan
Copyright 2012 FairCom Corporation. All rights reserved.