In case anyone is interested, this is the code I finally used :-
Code:
' Get GPS Data if there is any.
gpsstr = ""
On Error GoTo NoGPS
With CreateObject("WIA.ImageFile")
.LoadFile gconMyPictures & gshlFolder & "\" & strFileName
With .Properties("GpsLatitude").Value
gpsstr = " GPS Coordinates" & vbCrLf & " Latitude = " & Right(" " & .Item(1), 2) & Chr$(176) & " " & Right(" " & Int(.Item(2)), 2) & _
"' " & Right(" " & Int((.Item(2) - Int(.Item(2))) * 60), 2) & """ " & IIf(.Item(1) >= 0, "North", "South")
End With
With .Properties("GpsLongitude").Value
gpsstr = gpsstr & vbCrLf & " Longitude = " & Right(" " & .Item(1), 2) & Chr$(176) & " " & Right(" " & Int(.Item(2)), 2) & _
"' " & Right(" " & Int((.Item(2) - Int(.Item(2))) * 60), 2) & """ " & IIf(.Item(1) >= 0, "East", "West")
End With
With .Properties("GpsAltitude").Value
gpsstr = gpsstr & vbCrLf & " Altitude = " & .Value & " metres " & IIf(.Value >= 0, "above sea level", "below sea level")
End With
End With
[Form_Main Form].lblGPS.Caption = gpsstr
[Form_Main Form].lblGPS.Visible = True
NoGPS:
Which produces a display such as :-
