FileOpen() in WIndows 7.
I use a script for temporarily removing objects. I write the objects to a csv file and then read the file again to put them back on the chart.
However, while it works on Vista it does not work on my W7 machine.
Here is the code:
It pops up the problem opening temp file messagebox. I assume it is most likely a W7 permissions issue but I have UAC turned off and still no joy.
Any help would be appreciated.
I use a script for temporarily removing objects. I write the objects to a csv file and then read the file again to put them back on the chart.
However, while it works on Vista it does not work on my W7 machine.
Here is the code:
Inserted Code
string filename = "hide" + Symbol() + ObjectName(0) + ".csv"; int handle = FileOpen(filename, FILE_CSV|FILE_READ, ';'); if (handle < 1) { handle = FileOpen(filename, FILE_CSV|FILE_WRITE, ';'); if (handle < 1) { MessageBox("There was a problem opening a temp file for writing.", "Uh oh...", 0); return (1);
Any help would be appreciated.