I have created a very simple VI to insert an image then resize it in Word using the Report Generation Toolkit.
As soon as the code hits the invoke node for InlineShapes, it causes an error. Any clues to what this could be causing this?
My personal laptop works fine, but my Dell work laptops (without admin) don't work. Running Windows 10 and LabView 2019 SP1.
See attached code, error screenshots and NI support ZIP.
NI Support team so far can't help me.
It seems the problem in the OS itself.
What error you are getting?
See the PNG image in my previous post for the error messages. i understand it is the O/S in some way, but I was hoping to at least identify why and how I can fix it. My company laptop is locked down so I need to tell our IT department what they need to do.
If your code works on your personal laptop, but not your Dell work laptops, that suggests that something on the latter PCs is missing or not configured properly. If you had sent a small "failing example", we could have tried it on our PCs -- if it works on multiple machines except for your Dell work laptops, that suggests someone needs to fix them.
Attach your VI(s) and we'll do some testing for you.
My mistake -- the "example code" was so trivial I didn't think that it was really the code you wanted us to run (not even an Error Out ...). As there was no attached Example Image, I guess that any Image would do, so I took another one downloaded from the Forum, ran your 2-VI routine, Word opened, had the Image, it was trivial to resize (by dragging the "resizing handles"), suggesting that the problem is not LabVIEW, Windows 10, or the PC, per se, but something possibly mis-installed, more likely LabVIEW, but possibly Microsoft Office. I tested it with Office 2013 64-bit (I am not using Office 365 on this machine).
I think the problem is local to your PC and its software.
I agree that the problem is local to my PC, it is just a shame that a unique error code can't identify exactly what the underlying problem is. I need to be able to tell my IT department what they need to fix.
I have attached some more screen shots to show exactly where the error first is seen in each Report Generation Toolkit VI.
Does this happen with any Image that you try? You've given us the code that seems to fail, but not the Image that is involved (I know this is grasping at straws, but before you say "I think my PC/installation of Office/installation of Windows is faulty", it would be good to know that your LabVIEW code with a particular data set works.
You might have also said this earlier, but could you please also provide the following:
Thanks for the additional information. There are still some unanswered questions, and some observations:
Sorry that, at the present time, I don't have "answers", only more questions. I hope someone else who has experience with using the RGT to generate Word documents can make helpful comments.