Geeks With Blogs

Lance's TextBox Visual Studio There are 17 entries for the tag Visual Studio
VS2010 Find In Solution Explorer Hotkey/Toolbar Button
First I found this blog post – which worked but only after some tinkering. There is a comment there that describes a better (simpler) solution, IMO. Step 1: Create the following macro, which simply toggles (twice) the existing TrackActivityinSolutionExpl... command – this is the same command that happens if you turn on solution explorer tracking in Visual Studio options, except here we’re turning it on and then immediately off: Public Sub SelectCurrentItemInSolution... DTE.ExecuteCommand("View.Tr... ......

Posted On Wednesday, August 31, 2011 10:29 AM

Visual Studio 2010 Find and Replace With Regular Expressions
Here is a quick notes about using regular expressions in the VS2010 Find Replace dialog. 1. To create a backreference, use curly braces (“{“ and “}” ) instead of regular parentheses. 2. To use the captured backreference, use \1\2 etc, where \1 is the first captured value, \2 is the second captured value, etc. Example: I want to find*: info.setFieldValue(param1, param2); and replace it with: SetFieldValue(info, param1, param2); To do this, I can use the following find/replace values: Find what: {[a-zA-Z0-9]+}.setFieldValu... ......

Posted On Thursday, March 10, 2011 5:07 PM

How do I rollback a TFS check-in?
I can never remember how to rollback a check-in, and there all kinds of mess in search results about this (change between different versions of TFS etc), so I thought I’d just put this here so I won’t forget anymore. :) Thanks to @manningj, TFS genius. Just drop to the command line and use tf.exe. Example: tf rollback /changeset:12345 For more on the tf.exe commands: tf help Technorati Tags: Visual Studio,Team Foundation,Rollback ......

Posted On Tuesday, December 21, 2010 11:24 AM

Listing SPQuery FieldNameRefs
It took me a while to figure out how to get a list of all the available fields for a particular type of list in SharePoint (for performing custom queries in SPQuery). I was looking for a published list of these fields, which as far as I know does not exist. Instead, you just use the GetList method of the Lists SOAP service. Here’s an example SOAP request: <?xml version="1.0" encoding="utf-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://sche... SOAP-ENV:encodingStyle="htt... ......

Posted On Monday, December 7, 2009 4:24 AM

How to embed Excel in a .NET WinForms App
Download and install owc11. Run AxImp on OWC11.dll, which will have been installed in the microsoft shared\web components directory (ie C:\Program Files\Common Files\microsoft shared\Web Components\11\). AxImp.exe can be found in the Windows SDK (ie, C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\AxIm... In Visual Studio project, drag OWC11.dll to a toolbox tab and drop the Excel component on form. Voila. When it comes deployment time, you’ll need the AxInterop.OWC11.dll. Some sample code: ......

Posted On Thursday, September 17, 2009 9:19 AM

SlickEdit 2009 Evaluation
I was asked to evaluate SlickEdit 2009, so I dropped Ultra-Edit for about three weeks and used only SlickEdit 2009. Here is a little “log” of my thoughts on the switch: - SE setup asked to add to my system path – I don’t like having to add stuff to my path. What is the benefit of adding this? [SE Staff:] Many of our customers are heavy keyboard and command line users. Adding SlickEdit to the path allows you to invoke it and its related utilities using the command line. - The first thing I went to ......

Posted On Thursday, September 17, 2009 7:00 AM

Automatically Email SharePoint List and Library Items
Tutorial - Automatically Email SharePoint List and Library Items By Lance Robinson, /n software, Requirements: /n software SharePoint Workflow Extensions Contents Introduction Default Actions Workflow Configuration Customizing Actions Introduction SharePoint administrators who manage lists and document libraries may wish to configure specific lists or libraries to automatically send out emails when items are added or updated. Administrators can quickly and easily configure a workflow to handle this ......

Posted On Thursday, April 9, 2009 4:18 PM

SlickEdit 2008 - My Evaluation
I got a free version of SlickEdit in return for blogging about the experience. So here is my feedback, good and bad. Good: First thing I noticed when I installed it: this is not your ordinary text editor. I've been using UltraEdit for several years now, and I like it. UltraEdit has some developer-centric capabilities, but they are not integrated tightly into the product as is the case with SlickEdit. For example, SlickEdit will automatically expand if and for statements, and try blocks, although ......

Posted On Friday, June 20, 2008 4:48 PM

IJabber Instant Messaging Client
Download Here Email me IJabber The IJabber XMPP IM Client, built with IP*Works! Features SSL Support (implicit or explicit SSL connections). Works with Google Talk, Wildfire/Openfire, eJabberd, etc. Multi-User Conferencing. Source code provided (requires license of IPWorks and IPWorks SSL in order to recompile). Requirements Windows 2000, XP, or later. Microsoft .Net Framework v1.1. Origin This project was started as a simple demo for the IPWorks XMPP component. Over the years it has morphed to provide ......

Posted On Tuesday, September 11, 2007 4:45 PM

Adding support for credit card/paypal to your website/application
In the latest installment of MSDN Magazine "Toolbox", Scott Mitchell wrote a few paragraphs about how a developer can add to his applications/websites the ability to accept online credit card payments. The process does seem complex and a bit intimidating at first, but with the right tools it can be pretty easy. Scott points his readers to Authorize.Net (Internet payment gateway through which one can process the charges), and also mentions the availability of some third-party shopping cart products ......

Posted On Friday, May 11, 2007 12:55 PM

How to get your own Zune NOW
Here's a project for those of you who dislike functionality love iPods want a Zune, but are cursed with PocketPC ownership. You can convert your Pocket PC into an iPod a Zune in just a few simple steps. I am going to walk you through it. Introduction: Convenience, mobility, and function. Nice, but unnecessary. You know, there are times when you just don't need bluetooth. There are times when you don't need wifi. There are times when you don't need a phone. After all, these features are really just ......

Posted On Monday, July 24, 2006 7:25 AM

Jabber Chat Demo - upgraded to VS2005
Greg asked me to upgrade the VB.Net source project to Visual Studio 2005.  Here it is (source and binary).  Read more about the project here.

Posted On Wednesday, May 10, 2006 6:46 AM

Convert your Pocket PC into an iPod in seven easy steps

Here's a project for those of you who love iPods, but are cursed with PocketPC ownership. You can convert your Pocket PC into an iPod in just a few simple steps. I am going to walk you through it.

Posted On Tuesday, January 24, 2006 7:52 AM

Borland Developer Studio 2006
After being forced to install .Net 1.1 SP1 (ok), .Net Framework SDK v1.1 (fine), and even J# .Net 1.1 redistributable (no!), MSXML v4.0 SP2 (uh...)... I was finally able to begin installation of BDS2006. This includes support for Borland Delphi for .Net, Delphi for Win32, C# Builder, and a C++ Builder "preview". Also included are lots of extras, like components, an obfuscator, db tools, a UML designer, etc. Update: So far I'm very impressed. This seems to be much faster than BDS2005, although it ......

Posted On Monday, December 12, 2005 6:55 AM

WM5.0 Emulator Networking
Using networking in the device emulators in VS2005 is not as nice as it should be. The first time you try to use the network in the emulator you'll probably get this error: "Failed to open the VPC Network Driver. Verify that the driver is installed, or install the driver from the Web download location at Or if the first time you try to use the network is with the IP*Works! .Net CF Edition components, you'll get an even uglier error saying: "A socket ......

Posted On Friday, November 11, 2005 6:08 AM

Google Talk and IP*Works! - updated
I've updated the Jabber demo that was the result of this Create Your Own Jabber Client With IP*Works! tutorial, so that it now uses SSL so that it is compatible with Google Talk and other Jabber servers that support SSL and SASL/Plain authentication. Here is the updated demo. If Microsoft supported Jabber on Messenger, I would not have to ask all my MSN contacts to move to Google Talk. Same for AIM. Oh well. See ya MSN. See ya AIM. No more multi-IM client on my machines! Technorati tag: jabber Update: ......

Posted On Monday, October 3, 2005 1:26 PM

Visual Studio Team System - mstest.exe
For those of you who haven't been following the betas, Visual Studio 2005 contains a new project template for testers - the Test Project template. This project type allows you to create unit tests, web tests, and load tests (which can include unit and web tests side by side). The test project will compile into a dll. VSTS has an excellent user interface for managing and running the tests, however I need a way to run the tests easily and on a regular basis from outside of the IDE: mstest.exe is the ......

Posted On Wednesday, June 15, 2005 9:33 PM

Copyright © Lance Robinson | Powered by: