10-19-2022, 12:30 PM
I tried it again multiple times... same problem. I used your code... get the same folder/directory in both the compiled and when run thru the user interface. It runs fine when run via the interface but continues to throw the error:
"Error (RT) in <open "CreateRTF /87">CreateRTF: cannot open or create file: Access is denied. (0x5). <help #IDP_ERR>?"
I've check the folder permissions and attempted running it in Admin mode... thought maybe the EXE permission settings might be causing it but nope. Getting the same error everytime no matter what I have tried. I'm going to try it on a different computer later tonight and see if there maybe a virus scanner or firewall that may be mistaking it for a virus and causing that error to come up. I'll have to check the permissions on the anti malware and it's possible it's causing the problem. But then why would it work in the actual user interface but not when it's compiled? Does that make any sense?
"Error (RT) in <open "CreateRTF /87">CreateRTF: cannot open or create file: Access is denied. (0x5). <help #IDP_ERR>?"
I've check the folder permissions and attempted running it in Admin mode... thought maybe the EXE permission settings might be causing it but nope. Getting the same error everytime no matter what I have tried. I'm going to try it on a different computer later tonight and see if there maybe a virus scanner or firewall that may be mistaking it for a virus and causing that error to come up. I'll have to check the permissions on the anti malware and it's possible it's causing the problem. But then why would it work in the actual user interface but not when it's compiled? Does that make any sense?