04-06-2019 02:52 PM
Sorry, you probably said all of these things in your earlier posts, but I missed some of the details. To summarize my (updated) understanding of your problem:
Questions:
Bob Schor
04-08-2019 10:48 AM
Dev - Win10, LV18-32bit, Excel2016
Target - Win7, LV18 Runtime, Excel2016
As the code shows, I am reading from the C:\Timing\Files directory.
As the error screenshot shows, it opens the file, then crashes when it tries to write to \Device\Harddisk1\DR29. This also deletes the file from the C:\Timing\Files directory.
04-08-2019 09:06 PM
@StevenHunter wrote:
As the code shows, I am reading from the C:\Timing\Files directory.
As the error screenshot shows, it opens the file, then crashes when it tries to write to \Device\Harddisk1\DR29. This also deletes the file from the C:\Timing\Files directory.
I'm confused. The only code I've seen is in the Zip file you posted April 4, which has a single VI, Save Excel File. It writes to the C:\Timing\Files folder (but doesn't check if such a Folder exists). I'm also puzzled by the reference to \Device\Harddisk1\DR29, which doesn't appear anywhere in the (very small) program. Oh, well. I haven't been able to duplicate the error, but I'm probably not doing it wrong right.
Bob Schor
Bob Schor
04-12-2019 04:26 PM
I also tried using the Microsoft Office Report Express VI, but that generates Error #-41110, but at least it does not crash the program.
04-12-2019 10:32 PM
Why don't you post your code again? As I tried to tell you in my last Post, the code I saw seemed "wrong" and curiously incomplete -- it's almost as hard to debug "code that seems to be the wrong code" as "code that isn't posted".
Bob Schor