New Folder Launcher release

by Andrew Jackson 9. November 2007 17:46
FodlerLauncher

Just released is a new version of my Folder Launcher utility.

This basically allows you quick access to obscure UNC paths, sitting in the system tray next to the clock a single click will list all of your pre-defined paths.

This has been entirely re-written in C# and uses per-user settings files.

Available free for download in my Desktop Enhancements area.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Productivity

With Contempt

by Andrew Jackson 1. October 2007 17:05

There's one major gripe I have with the VB language.. the With/End With block.  Although it shortens code lines when setting lots of properties I find it harder to read, error prone when moving code around, and very awkward to debug since you can't just select the property and add a watch.

I never use this syntax in my own code, always preferring to have everything in long form, it doesn't increase typing too much with intellisense and we all have fairly large displays these days so line length is less of an issue as well.

So when using code I find on the net or from colleagues the first thing I do is remove with blocks.  Getting fed up with this time consuming but quite dumb task I've created a Visual Studio macro to do it.

As an example, code with a With statement like the following;

    Public Sub AWithExample()
        With Me
            .Text = "Hello"
            .Tag = "This"

            MessageBox.Show(.Text, "Title " & .Text)

            Dim x As String
            x = .Text
        End With
    End Sub

Becomes;

    Public Sub AWithExample()
        Me.Text = "Hello"
        Me.Tag = "This"

        MessageBox.Show(Me.Text, "Title " & Me.Text)

        Dim x As String
        x = Me.Text
    End Sub

 

The Macro's quite trivial, just create a new macro and add the following code; More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Development | Productivity | VB.net

Speed up your development day

by Andrew Jackson 10. August 2007 18:05

One thing that seems to be a bit hidden to most developers is that opening files within Visual Studio works the same as opening them within a standard file explorer window in that you can specify the default way of opening a file.

This is particularly useful for forms/user controls in that 90% of the time you'll want to dive straight into the code, not go into the form designer even though Visual Studio defaults to opening the form designer which takes an age if you have lots of controls on your form.

To change the default is easy, this example will illustrate changing a VB form from the designer to the code editor.

  • Right click on a form within the Solution Explorer window and select Open With...
  • A dialog appears listing applicable editors within Visual Studio you can use.
  • Select Microsoft Visual Basic Editor
  • Click the Set As Default button.

And that's it, from now on every time you double click on a VB form you'll bring up the code window rather than the designer.

The association is for the whole of Visual Studio, regardless of solution/project loaded.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Development | Productivity | VB.net

New download - Mini Calc

by Andrew Jackson 24. December 2006 21:54

Now available for download is my Mini Calc application.

It just has a simple entry box and a result area. You can always see the exact calculation your performing and go back and edit it if the result isn't what you wanted.

All basic maths operations are supported including bracketed calculations.

The system menu includes options so the calculator is always on top of other applications and also to automatically copy the results of a calculation onto the clipboard.

Due to the cost of hosting this site I'm charging a token amount of just 5 US Dollars to try and get in a little to pay some of the bills so if you like this site and use a calculator please give it a go.  Payment processed via PayPal.

Available from my Desktop Enhancements download area.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Productivity

Visual Studio 2005 - Keyboard shortcuts again

by Andrew Jackson 21. December 2006 21:39

I got to browsing the VS2005 keyboard shortcuts again and found a new little gem I've never ever seen before.

Using Ctrl K H by default does a "Toggle Task List Shortcut" which makes a little blue curving arrow appear on your current code line within the text editor.

All very pretty I thought but what can I do with these blue arrows... it turns out that the Task List tool window adds a new Shortcuts option to the filter combo (which you can only see once you have at least one blue arrow).

Choosing to display Shortcuts in the task list shows you each line of code that is set with a shortcut and allows you to tick them off once you've attended to them, delete them and the usual double click to go to each one.

An interesting alternative to bookmarks as it allows you to quickly see a list of all your shortcuts rather than having to next/previous through them.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Development | Productivity

IE 7 and no Open in new tab context menu

by Andrew Jackson 13. December 2006 20:05

This has been bugging me for ages.. I'm a big right click open in new window fan, and with IE 7 I naturally started using open in new tab, a vast improvement and saved cluttering up the task bar (yes, I know firefox users are saying about time but I'm an IE person).

All was well on my lovely laptop, but my desktop pc just wouldn't show open in new tab.. after a bit of obscure googling it turns out it's to do with rogue add-ins.. in this case an out of date Google toolbar.  Update the toolbar and all is fine.

So.. if your having problems as well, just go and update your add-ins and see if that fixes it!

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Productivity

Carlos Quintero is Blogging

by Andrew Jackson 25. November 2006 21:40

I'm sure most Visual Studio users have heard of Carlos, he's the man behind MZTools, one of the most useful Visual Studio AddIns around.  I've been working with it since the vb6 days and have converted most of my colleagues to using it as well.

If your into Visual Studio extensibility then this blog is worth a read - as are his regular forum posts, I've certainly learnt a lot from him in the small amount of work I've done in this area.

The blogs available here as html and the rss is here

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Productivity | VB.net

New Laptop, Hibernation Woes

by Andrew Jackson 4. June 2006 17:22

I've been looking for a portable solution every since the company I work for stopped letting us use laptops forcing us to go into the office and just work from there so I've been bored on the train with nothing but my iPod for company.  I needed something to keep myself occupied and since I no longer could work on company projects I thought I'd like to develop the many project I've had on my mind for ages and hopefully actually finish some of them.

I finally took the plunge last week whilst I was off work and scoured Tottenham Court road for the best deal on an ASUS W5, got it in black as the white ones looked a bit grubby even in the shops and I'm just not that cool to have a white one.  I'd looked around at all sorts of things, the UMPC's that are just coming out, the Apple MacBook, but they were either too expensive, too limited or in the case of the Apple, were very tempting but I just have too much dependence on Microsoft.  I knew I could dual boot but I just don't think I'd every boot into OS X so didn't see the point.

The Asus is very nice, big enough to be able to type on and see the screen yet small and light enough to fit in my bag and not stand out as a mugging opportunity or do my back in!

I'm a big fan of hibernation, finding it the best bet when pulling into Liverpool Street to be able to quickly save what I'm doing, and get back to it when I need to without waiting for a full re-boot.  The trouble was, I was getting an occasional message about "Insufficent System Resources Exist to Complete the API" and hibernation not working, requiring a rushed shut down or standby to get me off the train.  A bit of googling later and I find it's a common bug identified by Microsoft for pc's with more than a gig of ram in them.  There is a hot fix patch available but you have to phone Microsoft to request it.  I did the dutifull thing and tried ringing, got a "only in office hours" message, so then I went the web route but my oem version of XP Pro wasn't offered support.. so finally I googled some more and found the file available on numerous sites (presumably by other people who couldn't see the sense in not having access to this file).  I'm not going to post the file here as I'm not sure about the legal implications but if you want it, the exact filename is WindowsXP-KB909095-x86-ENU.exe which I'm sure using your favourite search engine you'll find in no time.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Productivity

Saving Pictures in IE/Outlook

by Andrew Jackson 5. September 2004 16:43

Ever come across the problem of when you go to save an image in IE/Outlook the only option you have is bitmap?

Simple little fix, just clear your temporary internet files in IE and all is well again.  Dunno why, it just does.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Productivity

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen