I have exactly the same problem. I have LabView 7.1, and the examples from Agilent are probably made with LabView 6.
The example from Agilent works, and I have been able to modify it, but when I make my own VI from scratch, it fails.
The strange thing is that it fails rather late in a chain of Property Nodes and Invoke Nodes. Last in my chain, I have a Property Node named (of type) IAnalyzerModule, with a number of selectable properties. At least one property (Status, of type text) works fine, but another (Acquisition, of type "Acquisition Agt16700Ver2.IAqcuisition", a greenish wire) makes the VI fail with error -2146959355 even if it isn't wired.
I have tried to re-compile the VI by clicking Run while ctrl-shift is pressed, followed by Save All. No success.
I have tried to replace the initial Automation Refnum, reselect it's ActiveX class, delete and re-insert Property Nodes, and so on. No success.
I have Office 2003 installed. Also Symantec Antivirus. I have no privilege to uninstall the antivirus program, or to disable it.
I haven't found any
officeav.dll file. (why is the font suddenly bold?)I have tried to put probes on the Refnum wires, but can't see anything weird.
Any new suggestions?