Error 111

Posted on 2004-03-29
Last Modified: 2010-04-17
Dear People:

When trying to Update a Text File (.FRX File) with an UPDATE command that runs fine in an uncomplided. But then I turn the program into an .EXE and I get an Error 111 "Cannot Update the Curosr".


What in the world is going on.

Question by:EMAROIS
LVL 10

Expert Comment

ID: 10709043
make sure you initialize all of your variables associated with that file...

typically when something works in the IDE but not once compiled it is because a variable is not initialized

Accepted Solution

parkerig earned 250 total points
ID: 10711282
MSDN suggests

"You have attempted to write to a file that was created or accessed for read-only purposes."

This may suggest that the file lock has not been removed.

Hope this helps

Author Comment

ID: 10725483
I found that the Project is corrupt and that is what is causing the problem.

Thanks for your help.


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A short article about problems I had with the new location API and permissions in Marshmallow
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now