LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error when the Application try to write into a doc file

I'm not sure if run as administrator gives you the same rights as when you are looged as an administrator. The easy thing to try is to give the modify rights to users and to log as a user, then you will see if this is the issue.

 

I would also try moving the data folder out of the C:\Program Files directory.

 

Ben64

0 Kudos
Message 11 of 21
(1,532 Views)

 Hy Ben!

The thing is that i want to install this program on any kind of computer, and i don't know if that pc have another partition except C;\ partition. 😞

Thank you!

0 Kudos
Message 12 of 21
(1,515 Views)

Hi Marius,

                  Sry I forgot to wire the error terminal, when you dont wire it before the delete operation completes the Report vi will get executed. Hope this solves. 

 

                  report.png

Certified LabVIEW Developer
Best LabVIEW Programmer @NIDAYS 2015
0 Kudos
Message 13 of 21
(1,503 Views)
Hy everyone!
I tried many configuration and i think that i found the problem. In my program , after I create the file , I send an email programmatically. But when my program send the email with the files, after that , when i try to press the button the error occure.
I think that the mymail.vi keep the path of the files....now realise that and i will try to resolve that.
Thank you!!
0 Kudos
Message 14 of 21
(1,488 Views)

Hy !

I attached the SubVIs; for the reademailconfig.vi read information from the global variable array. These SubVis are use in a case structure . Case structure in an event  structure, event is timeout 

Thank you everyone!

0 Kudos
Message 15 of 21
(1,470 Views)

@marius.lucian wrote:

Hy !

I attached the SubVIs; for the reademailconfig.vi read information from the global variable array. These SubVis are use in a case structure . Case structure in an event  structure, event is timeout 

Thank you everyone!


Try closing the Attachment reference after you added it to the AttachmentCollection.

 

Ben64

0 Kudos
Message 16 of 21
(1,463 Views)

Hy Ben!

I close the References...for each of attashmentCollection,no?

Thank You!

0 Kudos
Message 17 of 21
(1,454 Views)

You are closing the refences to the Collection but not the Attachment reference. This is what I meant:

 

close ref.png

 

Ben64

0 Kudos
Message 18 of 21
(1,448 Views)

Hy Ben!
I tried that modification,but it didn't work. Tomorrow I want to try with a single attashment, maybe because i put multyple attash the vi is being blocked.:(
Thank you very much!

0 Kudos
Message 19 of 21
(1,432 Views)

Hy everyone!

I have not found the problem, but i replace the code of sendMail.vi , who was with .net classes, and I use the sendMail example from Labview and it work!

Thank you everyone, and if you will find the problem, i am curious what the problem was!

Good luck!!

0 Kudos
Message 20 of 21
(1,375 Views)