Archive

Archive for the ‘PC’ Category

Outlook Macro to move email to Deleted Items folder

January 16th, 2008 3 comments

Updated:  Well this didn’t work out as expected (or at all half the time).  I’ll take another crack at the code when I have some time over the weekend.

I’ve been trying to use IMAP on Outlook 2007 for some time now and have been a little frustrated with the whole “purge” routine with IMAP in deleting folders.

This evening I wrote a little macro (well, cobbled together some code from around the internet) that lets me create a toolbar button that moves e-mail to the Deleted Items folder in its entirety instead of “marking it for deletion”

This lets me treat deleted items like normal Trash even in my IMAP account.

If this makes no sense to you, you’re probably not having the same issue as me and couldn’t care less 🙂

Here’s the code:

Sub MoveSelectedMessagesToDeletedItemsFolder()

On Error Resume Next
Dim objFolder As Outlook.MAPIFolder, objInbox As Outlook.MAPIFolder
Dim objNS As Outlook.NameSpace, objItem As Outlook.MailItem

Set objNS = Application.GetNamespace(“MAPI”)
Set objInbox = objNS.GetDefaultFolder(olFolderInbox)
‘Set objFolder = objInbox.Folders(“Trash”)
Set objFolder = objNS.GetDefaultFolder(olFolderDeletedItems)
‘Assume this is a mail folder
If objFolder Is Nothing Then
MsgBox “This folder doesn’t exist!”, vbOKOnly + vbExclamation, “INVALID FOLDER”
End If

If Application.ActiveExplorer.Selection.Count = 0 Then
‘Require that this procedure be called only when a message is selected
Exit Sub
End If

For Each objItem In Application.ActiveExplorer.Selection
If objFolder.DefaultItemType = olMailItem Then
If objItem.Class = olMail Then
objItem.Move objFolder
End If
End If
Next

Set objItem = Nothing
Set objFolder = Nothing
Set objInbox = Nothing
Set objNS = Nothing

End Sub

Categories: PC, Software Tags:

Restore on Windows Home Server

December 13th, 2007 Comments off

I seem to have a failed hard drive every 6 months or so.  This week was the first time that I had to rebuild a PC since I started doing daily backups with Windows Home Server.  One of the drives in my RAID 0 array on my main PC failed and I was unable to boot.  I keep a spare hard drive at home, so I took out the failed drive and plugged in the new one.  I put in the Windows Home Server Restore CD and booted up.  No issues with the CD finding all of the relevant drivers, though I did have to unplug the USB cable to my Dell monitor so that all of the media card reader slots wouldn’t show up as drive letters.

I had setup a new RAID 0 array in the BIOS but then had to go thru the Disk Manager in the Restore CD to be able to format the drive.  All was going well till I got an error along the lines of “unable to connect to home server due to a network error”.  I tried everything I could think of to get the Restore CD PC to recognize my server to no avail.

I finally solved the problem by unplugging my Router from the internet / WAN connection, and also unplugging all devices besides the Restore PC and the Home Server.  After that the Restore PC was able to find the Home Server, I selected the most recent backup and 3 hours later I was up and running again without any further configuration!  Besides the hiccup with networking (my guess is NetBIOS naming problems) I can’t complain at all.  WHS came thru and has already paid for itself in saved time!

Categories: PC, Review, Software Tags:

Windows Home Server impressions

November 5th, 2007 Comments off

whs I maintain a server at home that I’ve been using for several years to handle routine backups and media sharing / serving for not only our Shuttle SD37P2 but also my work laptop.  I had been using Windows Server 2003 and was using Second Copy to handle the file backup.  I had to go in and manually define which folders to backup and and on what schedule.  It worked well enough though I did find that I’d missed backing up certain files after a few crashes.  I did like Second Copy’s ability to backup to a remote FTP server as well.

After Windows Home Server was announced I was intrigued by the seamless nature of the daily backups, disk duplication as well as single file instance (or whatever Microsoft calls it).  WHS promised to backup my entire PC and maintain daily incremental backups.  With the single file instance, I could be assured that files my wife and I share, or files that were similar from my desktop to laptop would only be stored once on the server.

My cousin hooked me up with a copy of Windows Home Server and I decided to repurpose my existing server (SK41G) which is now 5 years old.  I added 512 MB of RAM taking it to 1 GB (not needed, just felt it was cheap) and added another 500 GB ATA drive to supplement that 500 GB drive I already had, taking me to a total of 1 TB of storage.  I didn’t have to configure the drives, WHS automatically handles multiple drives in a RAID-like environment

The installation was seamless and I have to say I haven’t been this satisfied with a Microsoft product . . . well, ever!  I get daily backups, have used it a few times to save myself from some errors and I have easy access to my machines thru the homeserver.com domain.  (I had this before thru remote desktop but it’s even easier now).

I’m missing the ability to stream media right now, but WHS promises to be quite extensible with their “Add-In” technology.  Right now I’m using two Add-Ins, one called Wake On LAN and another to connect to my Tivo HD.  The former lets me wakeup my desktop PC even if it’s in standby, and the second lets me move video files back and forth to the Tivo, also provides access to our music.

So far the amount of storage being used is really quite amazing (I have 20+ days of daily backups right now for two different PC’s that are running Vista Ultimate).  Out of the 1 TB of storage:

  • 20 GB for System files (Windows Home Server operating system files)
  • 187 GB for PC Backups
  • 149 GB for shared folders (our music, pictures and videos)
  • 83 GB for folder duplication (ensures that the shared folder files are duplicated across both of my drives in RAID-fashion to ensure redundancy)
  • 493 GB of free space (wow!)

Click on the picture above to see it for yourself.

I’ve been keeping track of development of WHS HW and SW through the WeGotServed blog, I recommend it highly.

Link:  We Got Served, SecondCopy, Windows Home Server

Categories: Link, PC, Review, Software Tags:

Concurrent sessions on Windows Vista Ultimate

June 24th, 2007 Comments off

I ran across a series of postings that detail how to enable Concurrent Sessions in Windows Vista.  It involved some DLL changes so not something for beginners.  I used this feature on XP SP2 previously and have been missing having it around on Vista.  Basically this allows you to have one user logged on physically as well as one user virtually at the same time.  Follow the links for more information.

This is an alternative to using WinConnect Server VS from ThinSoft.  ThinSoft’s tool is really for many more users at the same time and is rather pricy for what it does.

Links:  How to Enable Concurrent Sessions in Vista via Missing Remote; DLL’s and Batch files to update via BitTorrent

Categories: Link, PC, Technology Tags:

Workaround for Windows Media Player 11 not seeing SD Cards in Windows Mobile phones

January 25th, 2007 1 comment

I’ve had a problem with my Windows Mobile 5 phone and syncing media content thru Windows Media Player on Windows Vista.  Basically WMP doesn’t “see” the SD card on my pocket pc phone, so I’m unable to sync any large video or audio files to the phone.  I’d read various things online about how it was a problem with Activesync but I’m using Windows Mobile device Center on Vista so it didn’t seem like the same issue.

I reinstalled WMDC and browsed thru the Release Notes to see if my issue was documented (it wasn’t), but saw an e-mail address for Support requests.  I e-mailed Microsoft not expecting a response ever, but I was way wrong.  I got a response in 2 hours and they solved my problem.

I’m pasting in their advice in case others are having this issue:

This issue is caused by the way Windows Media Player uses WMDC to enumerate the different USB devices.  The buffer to hold the device path is too small for long paths.  This issue can be hit by any device and USB driver, but we are seeing this mostly in devices using the RNDIS driver.

[Workaround]

For Windows Mobile 5 AKU 2.? and above, you can manually switch from RNDIS USB driver to the old serial USB driver

On PocketPC:

1. Start

2. Settings

3. Connections tab

4. USB to PC

5. Uncheck ‘Enable advanced network functionality’

Categories: PC, Technology Tags:

CyberLink MagicSports

January 20th, 2007 Comments off

 I’ve been playing around with the Media Center features in Windows Vista and ran across this add-on bit of software from Cyberlink.  Cyberlink say that they can automatically analyze recorded sports video on your PC and then remove ads and show you highlights.  It seems like an interesting concept!  They don’t have a trial version so I’ll have to look around and see if anyone has reviewed this.

Catch the best moments of each game

MagicSports lets your relive the highlights of your favorite baseball, soccer, and sumo games, letting you watch and replay TV sports like never before.

  • Watch baseball, soccer, and sumo wrestling games
  • Skip between highlights
  • Watch the rest of a game from any highlight
  • Operate using a remote control

Source: CyberLink MagicSports – The Most Exciting Way to Relive Your Favorite Sports

Categories: Link, PC, Technology Tags:

Ricavision’s Vista MCE SideShow remote does Bluetooth at 100-meters – Engadget

December 27th, 2006 Comments off

Engadget has a quick blurb about a remote control that is made for Vista MCE and includes some sort of integration with Sideshow.  The pictures look great, I’m excited to see what the final feature set is! 

Link:  Ricavision’s Vista MCE SideShow remote does Bluetooth at 100-meters – Engadget

Categories: Link, PC, Technology Tags:

Vista drivers for Quickcam Ultra Vision

November 30th, 2006 Comments off

Logitech has released Vista-compatible drivers from the Quickcam that  I’m using.  They definitely have made a difference with compatibility and stability.  We no longer have to unplug and replug the camera in every time we use it!  Progress 🙂

Logitech still hasn’t released SetPoint drivers for the keyboard/mouse combo that I use.

Link:  Logitech – Support > Downloads

Categories: PC, Technology Tags:

Interesting post at “The Old New Thing” (an MSDN blog)

November 23rd, 2006 Comments off

An author over at MSDN has posted an interesting explanation about how Quality of Service bandwidth reservation works in Windows.  I had
posted about this previously, if this author is correct that it doesn’t really matter to tweak the maximum amount reservable.

Link: The Old New Thing : Placebo setting: QoS bandwidth reservation

Categories: Link, PC, Technology Tags:

Vista RTM and Shuttle SD37P2

November 19th, 2006 Comments off

I downloaded Windows Vista Ultimate from MSDN last week and have reformatted my PC to install the OS fresh.  So far so good though I’m still getting a blue screen that I believe is hardware related.  I swapped out the HD from my RAID setup that was getting errors but that didn’t seem to help.  I’ve also installed Office 2007 RTM.

More updates as things progress . . .

Categories: PC, Technology Tags: