Colin,
Have you tried the shipping examples? Do these work for you, or do they give the same error? Also, it may help to manually add a refence to the driver under Project -> References -> Browse -> nidaq32.dll.
Hope this helps,
Ryan V.
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments