Those two numbers are probably 32-bit integers in the api, but are now being passed as 64-bit. Try:
word.ActiveDocument.SaveAs2 (f.NativePath, Int32(12))
Those two numbers are probably 32-bit integers in the api, but are now being passed as 64-bit. Try:
word.ActiveDocument.SaveAs2 (f.NativePath, Int32(12))