This operation requires the Visual Basic project file to be checked out first. Would you like to check out the Visual Basic project file?

This message has the following cause and solution:

You must check out the project file and then make your changes.