Skip to content

129 search results for "excel"

Windows Live Photo Gallery and Digital Frames–A Match Made In Heaven

This post may be a little late for the holiday season, but there’s always another one coming up. I’ve written before about Windows Live Photo Gallery and its promise when it was in Beta. It’s been out for several months now, and my opinion on it hasn’t changed – it’s an excellent photo organizing tool. It has some light editing capabilities, but I work frequently with RAW images, and I use Adobe Photoshop with Bridge for my picture processing tasks. However, once processing is complete, Live Photo Gallery takes over for tagging and organizing.

One of the things that I really like about the product is its integration with external applications and galleries. I store my photos in Windows Live and Facebook (for sharing with others) and in Flickr for both sharing and full size image storage. Live Photo Gallery makes this very easy. Once the pictures are tagged, you simply select the ones that you want to send (I also like to tag them with a destination/album name like “Flickr – 2009 General” so that I know what I’ve saved) and then click the relevant destination in the Share section on the tab.

image

Once configured, for each selection, you’ll get a dialog box prompting you for the album and other metadata, and in the case of Facebook, for people. Remember that Windows Live and Facebook are tightly integrated,so that people you tag with Photo Gallery will automatically be reflected on Facebook. In the case of Facebook,the dialog looks something like below:

image

This makes sharing photos online really easy to do. However, I have always found that digital frames were much more difficult. Being in technology, I of course have given digital frames to my parents, grandparents and in-laws. It’s a great way to get photos to them, but managing the content can be a bit of a nightmare. I have run across two major stumbling blocks doing this.

The first problem is the limited storage capacity of the frame itself. With cameras boasting higher and higher megapixel counts, their file sizes are increasing exponentially. Many older frames have storage capacities below 256 MB, which just doesn’t cut it. Even modern frames have a typical capacity of 1 GB and while that can be increased through expansion cards, it’s really only prolonging the inevitable.

The solution to this is to convert the images. Most frames are relatively low resolution, most being in the 640×480 or 800×600 range. If you’re counting, that’s 0.3 and 0.5 megapixels respectively. Converting the images to the native resolution of the frame will result in drastically lower storage requirements without any loss in displayed quality. The problem with this approach is that conversion software is a little above the heads of most casual users users, and it generates yet another group of pictures to manage.

The other problem is randomization. Believe it or not, most frames that I’ve encountered do not automatically randomize image play, leaving you to watch the same sequence over and over again. Since they’re usually sorted on filename, you’re often stuck watching things in chronological order. The way around the order is to get some sort of file renaming utility and rename all of the files before copying them over.

Those are the problems. However, Windows Live Photo Gallery supports plug ins for its destinations (Flickr, SkyDrive, Facebook, YouTube are all out of the box), and there is an excellent plug in written for digital frames written by Leo Lie. Essentially, it treats the frame, or any SD drive as a source such as Flickr, etc. Once you select the photos you want, you simply press the button, select whether or not you want the files resizes, and to what degree, and if you wish, it will randomize your photos for you. This solves the two problems (almost) in one fell swoop. If I tag the photos with the name of the frame, and I continue to be religious about tagging, very time grandma comes over, she can bring her SD card, I can erase it, and reload it. Simple.

You can get the plug in by clicking on my link above, or from within photo gallery, you can check out all of the available plug ins. It’s not obvious how, so I’m including a screenshot below. There is a scrollbar to the right of the Share section on the Home tab of the ribbon. At the bottom of that scrollbar is a drop down. Click it, and click Add a plug in, and you’ll be taken to the plug in gallery. There are several good ones.

image

I should also mention that while I use this for all of my relatives. I recently purchased a Kodak Pulse wireless frame for my use at home. If you have wireless, it’s a very good way to go. With it, you can send pictures directly to it, you can use Kodak’s file share, and you can email pictures directly to it. However the real value here is that it integrates with Facebook so that any pictures you post to Facebook (configurable) will show up on the screen. Since Facebook stores low resolution pictures, this is perfect. I simply use the Windows Live Photo Gallery integration to send the pictures to Facebook, and I’m done. I’ll be going on a diving trip by myself (more on that later) in a few weeks, but the family will be able to see my pictures as I post them.

Now I just need to keep up with my tagging.

Leave a Comment

Nice to be Away, and Good to be Back

I’ve been a little quiet here of late. First was because we were uncharacteristically busy during the month of December, and recently because I was able to take a well needed rest with my family to the Mayan Riviera in Mexico. Because in my banner header I threaten to blog about diving, I’m going to go ahead and do so now, and share out a few images.

My wife and I and our two kids stayed at the Sensatori Azul resort, between Cancun and Playa Del Carmen. Frankly, I really don’t like the whole all inclusive resort thing, I much prefer to get a more local flavour, but when travelling with family, these things make too much sense. I was however very impressed with this resort – they have an excellent kids program, the food is fantastic, and you feel much less like cattle, as you do in most resorts. My only problem was the location,which was a $40 cab ride away from Playa Del Carmen,which is where my favourite dive shop is located.

The Abyss Dive Center, in Playa Del Carmen, is where I originally got my Open Water dive certification back in 2003. Since then I’ve done my Advanced, Navigation, Nitrox, and Rescue Diver certification with the Abyss. I really can’t say enough good things about these folks. Operated for 15 years by Dave Tomlinson, an expatriate Canadian, they have exactly the right mix of fun with a focus on safety. They manage to do this without cramping the style of advanced divers. While the staff at any dive shop turns over fairly quickly, I’ve always really liked everyone there, and have been friends with several after they have left. This time was no exception.

II was pretty excited to try out my new camera gear, a Canon EOS 550D (Rebel T2i) which shoots lovely stills and full 1080p HD video, along with a couple of lenses, a 60mm macros and a wide angle that was borrowed from a friend.  It’s bull shark season down there, but unfortunately they weren’t there when I was, and it wasn’t for a lack of looking. My first day we headed to Tiburon Flats and while we were skunked on sharks, I managed to see these two interesting guys:

Southern Stingray

 

They grow large remoras here. Given that these guys hang around sharks, we were hopeful, but no dice.

Both of these were shot with a wide angle lens at about 80 feet.

As for stills, I can’t really pick out one favourite picture from the trip. So I’m posting two:

IMG_1715

Lionfish are an invasive species, only appearing in the area in the past year. They’re a scourge, but they sure are pretty,

IMG_1813

On the other side of the attractive scale, scorpion fish are very adept at disguise, and pretty dangerous. You don’t want to touch one, or you’re off to the hospital. Actually both fish in these two pictures are poisonous, which is not the norm for the area.

These two were both shot on the same dive, at around 40 feet with a Canon 60mm macro lens. If you’re interested in seeing other shots from this trip, you can check out my Flickr Photo set.

I’m pretty happy with the way that the camera performed, but the real test will be next month when I dive at the Wakatobi Dive resort in Indonesia. I’m very much looking forward to it.

That’s enough fun stuff. I’ll be back to some technical posts shortly!

Leave a Comment

UNC Path Naming for files stored on SharePoint

If you didn’t already know, you can access any file stored in SharePoint (2007 or 2010) as though it was a folder on your system. The secret is to make it a network drive. You can do this a couple of ways. The easiest way is to open the library in Explorer. In SharePoint 2010, you’ll find this option in the list ribbon, on the library tab. Depending on the width of your screen, this may only appear as an icon.

image

Once you click on it, you’ll see your files in a regular Explorer Window. Depending on your Explorer settings, you may also see a folder named forms. Do not touch that folder, and do not attempt to add a new folder named forms…. you will break your library. That folder contains the files necessary to properly render the library in a browser. Just pretend that it isn’t there.

Once you do this, your system will “remember” this library and you will be able to to navigate directly to it through the Network node of your Explorer window.

image

You can also add this link directly, by right clicking on your computer in the explorer view, selecting Add Network Location, and entering the URL of your library (or server) there.

image

This is all possible due to the magic of WebDAV (Web Distributed Authoring and Versioning). It’s a protocol for transferring binary files over http and is what is behind the concept of web folders. It’s an interesting acronym because the none of the implementations of the protocol that I’ve ever seen (it’s been around for about 12 years now) have anything at all to do with versioning,but I digress.

For any of this to work,the WebClient service must be running on the client machine, and if you’re using a server operating system, the Desktop Experience must be installed.

This works great for most cases. If you’re opening the files in Word, Excel etc, those applications understand that they’re opening content in SharePoint and they’ll happily write directly back to it……in most cases. The problem is that what is actually happening is that the file is being brought down locally, and synchronized back to the server, or written back directly by the application.

We recently came across a case where we were using an Excel spreadsheet that was stored in SharePoint as a data source in an SSIS (SQL Server Integration Services) process. Everything worked just fine, but the package was not picking up any changes. As it turns out, when we told SSIS the source path of the Excel file, we used the WebDAV address, which was http://server/site/library/filename.xlsx. What then happened was that SSIS pulled down a copy of the file to a temp folder, and then used that file from then on. Not so good.

The fix for this was to use a UNC path (the standard machinenamesharedfolder style). What is the UNC path for a WebDAV folder? It’s not well advertised, but it’s

\ServerURLDavWWWRootSite1NameSite2NameLibraryNameFolderName

Server URL can be a FQDN or a machine name, depending on your configuration, and the site structure begins after DavWWWRoot. The DavWWWRoot is a constant that tells Explorer that it is dealing with WebDav, and must always be present.

It’s probably a good idea to use the UNC path whenever you need to programmatically access files stored on SharePoint.

24 Comments

Second Foundation Intelligence named as a finalist for the Business Intelligence Solution of the Year in the 2010 Microsoft IMPACT Awards

Time for a little self promotion here I think! I’m pretty proud to announce that my company, Second Foundation Intelligence, (in case you haven’t noticed the logo on the upper right of this page…) has been named a finalist for Business Intelligence Solution of the year at the upcoming Microsoft Canada Impact Awards ceremony.

We’re pretty excited and pretty proud of it. For the solution in question, we’ve built out an end to end budgeting system using SharePoint Server 2010, SQL Server 2008 R2, and Excel 2010 for a local municipality. Here is a link to the press release.

Wish us luck!

Leave a Comment

Integrating SharePoint On Premises With BPOS and Exchange Online: Part 2 – Inbound

A few weeks ago I posted an article on how to get on premises SharePoint working with BPOS for mail delivery (alerts, etc.). Historically, inbound email is something that is significantly trickier than outbound, but with hosted Exchange, I’d suggest that the two roles are switched in terms of difficulty. There are however still a couple of extra hoops that have to be jumped through, and I’ll try to guide you through them here.

Firstly, allow me to say that SharePointGeorge has an excellent article out there on setting up incoming email when everything is on premises. In addition, BPOS Tutor had an article on using distribution lists that I was able to make use of while preparing this.

1. Set Up the SMTP service

For the purposes of this article, I’m going to assume that you’ve already done this when you set up outgoing mail. If not, I’ll refer you to my article linked above, or SharePoint George that will walk you through the requisite steps. Once it’s done for outgoing email, you don’t need to touch it for incoming.

2. Configure the SharePoint Farm to Accept Incoming email

First,you’ll need to navigate to Central Administration,and get into the System Settings section. Once there, select “Configure incoming e-mail settings” in the E-Mail and Text Messages section.

image

There are a number of settings here that will change a bit from what is the typical guidance out there. I’ll try to explain each configuration item, and what it means. Firstly, I’ll show you a completed configuration:

image

Enable Incoming E-Mail – Well, that’s pretty straightforward, do I turn on incoming email or not? When you turn it on, SharePoint simply monitors an SMTP drop folder for any messages. If it sees one, it will pick it up, and if the destination name matches a list, it will get delivered. It’s really that simple.

The settings mode lets you choose where the drop folder is. The Automatic setting is normally fine, but if you wanted to use a drop folder in a non default location, or on another server, you would select advanced and enter the desired folder. When the configuration is saved, SharePoint will also try to set the appropriate file system rights on that folder (see George’s blog for more details). I set advanced just so I see the path explicitly.

Directory Management Service – This one normally takes a fair bit of configuration to get working, but when we’re using BPOS, it’s easy – we just set it to no. This is a service that sets up contacts and distribution groups in Exchange, and although we’re using Exchange, it’s hosted, and don’t have access to that feature. We will be creating these manually.

Incoming E-Mail Server Display Address – This is the domain that the list email addresses will use. We’re going to change this. It will default to servername.domain.com. However, even if that address is available externally, we don’t want to be accepting mail from everyone. The IIS SMTP service has no real spam or virus protection, so we want all of our email to go through our hosted Exchange server. The best approach is to use the same domain as your other BPOS users.

E-Mail Drop Folder – As mentioned above, this is the folder that will be monitored for incoming email. If you don’t know if you should change this, then don’t… the default is likely fine.

Once you’re done, click OK to save the configuration. SharePoint is now set up to configure incoming email. Steps 3 and 4 will need to be repeated for every list/library that will accept email.

3. Configure Library to Accept Incoming E-Mail

Navigate to a library that you want to have accept incoming email. From the ribbon, select “Library” (or List..), and then select Library Settings.

image 

Next, under the Communications Column, click the “Incoming e-mail settings” link. You should see a screen similar to the following:

image

Most of the options are self explanatory, so I won’t go into detail here. The most important ones are of course in the Incoming E-Mail section, which lets you turn it on or off, and lets you specify the address of the list. The address is important, as it will need to match what we do in BPOS in step 4, and it is also important that it is global across the farm (and of course the domain). That name can’t be repeated, so choose wisely. A naming policy is a good idea here.

Once you have the settings the way you want them, click OK, and your list is ready to go. Now it’s on to BPOS.

4. Configure the Address in BPOS

This is where it gets interesting. What we want to do is to have BPOS accept email from internal (and possibly external) senders, and then turn around and deliver them to out IIS SMTP service. Usually, we could set up a contact in Exchange and use mail forwarding to do this for us, but there is no mail forwarding capability in BPOS. So how do we accomplish this? Instead of using mail forwarding, we’ll set up a distribution list with one member, and let it work its magic that way.

The first thing that we need to do is to log into the admin portal at http://admin.microsoftonline.com. Once in click on the Service Settings tab, and then click on the Exchange Online subtab. From the right hand Actions section, click the “Add new contact” link. You then need to add your contact, which in effect is the library that we enabled in 3 previously:

image

Most of the fields are cosmetic (they will appear in the GAL), but the most important one for our purposes is the E-Mail address. note that this address is NOT the same as the one that we configured for the list, but includes the server name as well. This is important as BPOS needs to deliver the mail to that server. It is also important that that server address is available to BPOS (on a public DNS). This represents one half of the equation. In the next step, we’ll configure BPOS to accept the email for the list’s address by using a distribution list.

Once ready, Save your changes, and then click on the Distribution Lists link on the left of the screen. From the Actions section on the right, click “New distribution list”.

image

The Email Alias used here must match the one used in 3 above, and. The display name is relatively unimportant, but again will be available to the GAL. Once you save this screen, you should be ready to go.

It’s worthwhile to describe the flow of what happens. When an email is sent from a user, external or internal, the originating server will look for an MX record for the address to the right of the @ symbol. That MX record will point to your BPOS server. The BPOS server will accept the name, as it matches the distribution list that you created in step 4. The message will then be distributed to the members of the list, in this case one member at the precise SMTP address of the server farm. BPOS will send the message to the SMTP server running on the farm, where it will be deposited to the drop folder. Finally, the timer process in SharePoint will pick up the message and deposit it into the appropriate library.

Nothing to it…. Smile

16 Comments