03-11-2020 11:11 PM - edited 03-11-2020 11:12 PM
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.
06-03-2020 09:50 AM
Hello tca-adam,
It seems the problem in the OS itself.
What error you are getting?
06-03-2020 05:09 PM
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.
06-03-2020 05:11 PM
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.
Bob Schor
06-03-2020 05:15 PM
All attached in my first message.
06-04-2020 08:44 AM
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.
Bob Schor
06-10-2020 07:59 PM
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.
06-11-2020 09:48 AM
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:
Bob Schor
08-16-2020 06:28 PM
All requested info attached.
Yes it happens with any image I try.
08-16-2020 08:44 PM
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.
Bob Schor