10-11-2010 12:35 PM
I am attempting to use the gmail.vi attached below as a subvi within a larger program. I want to send a file as an attachment and my problem arises when I try to access a file later on in the vi that was sent as an attachment earlier by the gmail.vi. How do I close that file so that it can be accessed later? I tried closing all of the .net refs but it still doesn't close the file itself which must be opened at some point? Hopefully someone out there knows this answer!
Thank-you so much!
10-11-2010 01:37 PM
I'm unable to replicate the condition. I tried sending a few different types of files and each time I was able to open the file from my system. LabVIEW was still running, and the VI was still loaded. Does this happen with specific types of files, or all files?
10-11-2010 01:42 PM
In the second sequence of my vi after running the gmail subvi in the 1st sequence and sending a file (normal .txt file) as an attachment - I try to open the file using open/create/replace file and an error occurs.
10-11-2010 02:05 PM
Here is a simpler example of the error...
10-11-2010 02:07 PM
here is the subvi