Sunday, July 27, 2008

One of the things I really like about working for ACS Technologies is we create software solutions for almost every OS platform out there. We are mostly a Microsoft shop, which is a perfect fit for me, but because we write solutions for churches and schools many of our products also work with other OS platforms. Really puts me in a great position to see the good and the bad for various solution platforms whether it is Windows Mobile, the iPhone, OS X, ASP .NET, and so on. I love it.

I while back I could resist picking up a used Apple PowerBook off eBay for a deal. I’ve been playing with it off an on since then and it's not all bad. One thing I have been disappointed with is until recently I haven’t been able to figure out how to connect to my laptop remotely from one of my other PC’s. Today I decided I would solve this problem.

Here’s the way I found to allow Remote Desktop Administration of an Apple from a PC:

Apple PC

Go to System Preferences, then open Sharing, in the Internet & Network section.

image

Enable Screen Sharing, and click Computer Settings…, make sure to enable “VNC viewers may control screen with password: ********”, and to assign a strong password. This is what will actually allow you to connect to your Apple PC.

image

Go to System Preferences, then open Network, in the Internet & Network section.

image

Locate your IP Address, probably want to either the Ethernet one or the AirPort one. You’ll use this to find your Apple PC.

image

Windows PC

You’ll need to download a VNC client, I recommend TightVNC, it is free, proven, and I like how it works. After that just run your VNC client, use your Apple PC IP address from above, along with your password from above and your golden.

image


Sunday, July 27, 2008 4:11:00 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
image

Visual Studio allows developers to collapse code into regions, and so on. Sometimes this is helpful, sometimes not so much. But with the power of Visual Studio keyboard shortcuts we can make it less troublesome to manage this feature.

Here’s how:

Toggle Outlining Expansion

Ctrl + M, Ctrl + M

Note: The preceding image will take you to a full size image if you want to see this in more detail.

Feedback:

If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.

PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)


Sunday, July 27, 2008 3:55:00 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Saturday, July 26, 2008

imageIt does take long to have a ton of code on your hands, especially when you need to find something in a hurry. What can we do? Do we have a chance? How can we best find something in all of our solutions files?

Here’s how:

Find in Files

Ctrl + Shift + F

Note: The image above will take you to a full size image if you want to see this in more detail.

Feedback:

If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.

PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)


Saturday, July 26, 2008 4:36:00 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Friday, July 25, 2008

image

So, how long is your task list? Do you have a ton of TODO’s? Did you know you can use Visual Studio to track your TODO’s in a task list? All you have to do is mark each TODO as follows:

// TODO: this is an example of something I really need to do

If you do this you can see your TODO’s in Visual Studio Task List dialog, which you can always pull up with the following keyboard shortcut:

View Task List

Ctrl + \, Ctrl + T

Note: The image above will take you to a full size image if you want to see this in more detail.

Feedback:

If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.

PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)


Friday, July 25, 2008 4:33:00 PM (Eastern Standard Time, UTC-05:00)  #    Comments [2]  |  Trackback
Thursday, July 24, 2008

Have you ever gotten code from someone or somewhere and you were not “thrilled” with how it was formatted. Was it just formatted wrong? Then the “Format Document” keyboard shortcut is for you! It will take the file you have open and format all the code until it is valid. Personally I wish their was a “Format Document for Chris Craft” keyboard shortcut because Visual Studio is a lot more forgiving than I am. But that’s okay it is still a life saver and you will love it one day when it just make the code better, all in one simple keyboard shortcut.

Format Document

Ctrl + K, Ctrl + D

Note: The image above will take you to a full size image if you want to see this in more detail.

Feedback:

If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.

PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)

image


Thursday, July 24, 2008 4:36:00 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Wednesday, July 23, 2008
image

Screen real estate is always in short demand. Give us more monitors, give us bigger monitors. What would you say if you could have more screen real estate for coding with a single keyboard shortcut? You can, it is easy. All you have to do is the following:

Toggle Full Screen Mode

Shift + Alt + Enter

Note: The image above will take you to a full size image if you want to see this in more detail.

Feedback:

If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.

PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)


Wednesday, July 23, 2008 6:17:00 PM (Eastern Standard Time, UTC-05:00)  #    Comments [2]  |  Trackback
Tuesday, July 22, 2008
image

So is the event’s status Status.Cancelled or Status.Canceled? It is very possible one person will ask that it be changed to “Canceled” only to have another person ask to change it back to “Cancelled”. Instead of wrestling with the code or wearing our your “Find and Replace” feature, take advantage of one of Visual Studio’s features: The Rename Refactor. All you have to do is select an object and use its keyboard shortcut:

The Rename Refactor

Ctrl + R, R

Note: The image above will take you to a full size image if you want to see this in more detail.

Feedback:

If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.

PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)


Tuesday, July 22, 2008 4:21:00 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Monday, July 21, 2008
image

How often do you want to move across one of your lines of code? Every day? Every hour? More? I’m sure it is often. And I hope you know and use this shortcut since it will save you lots of effort ever time you use it. Try it today, I bet you’ll love it.

Move Cursor One Word Right

Ctrl + Right Arrow

Move Cursor One Word Left

Ctrl + Left Arrow

Note: The image above will take you to a full size image if you want to see this in more detail.

Feedback:

If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.

PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)


Monday, July 21, 2008 6:38:00 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Sunday, July 20, 2008

image

Let’s say you have a customer class. You know this class is used throughout your solution, but you aren’t sure exactly where it is being used. How can you quickly and easily find out this information?

All you have to do is use “Find All References”, either use the right-click menu item or even better use this keyboard shortcut:

Find All References

Shift + F12

Note: The image above will take you to a full size image if you want to see this in more detail.

Feedback:

If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.

PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)


Sunday, July 20, 2008 12:30:00 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback

Theme design by Jelle Druyts

Pick a theme: