Put a breakpoint on the Open line and then use Quick watch to see what is in strDataFileName.