Hello everyone, I'm attempting to write some CGI executables to be run on a WindowsXP/IIS 5.1 Server.
I've mastered writing some basic executables which run properly when tested in Netscape or IE. My next thing that I want to do is create a small poll program. I have no problem sorting out who votes for what. My only problem is writing a file to the hard drive of the server computer.
No matter what I do, I receive an error saying "Path/File access error Error Number = 75"
I have no trouble using VB6 to input a file by doing:
Open app.path & "/stats.txt" for input as #1
input #1, blah
input #1, blah2
As soon as I try doing "Open app.path & "/stats.txt" for output as #1" I get the error mentioned above. I make sure that I've done a close #1 from the input before hand so it's not like #1 is still open. Is there some other way to write to the hard drive? I've made sure that in IIS built into WinXP that the cgi-bin can run executables (not just scripts) by right clicking on the cgi bin in the tree view of my web site and going to properties. Also, in the box above where you select if scripts, executables or nothing has execute permissions, there is a box which has several options in it. Read and write are currently enabled in this box as well.
So if someone has experience doing cgi executables in Windows and knows what I'm talking about... please help
Thanks again all.