PDA

Click to See Complete Forum and Search --> : Add a Module To VB??


gilly
Aug 30th, 2000, 02:55 AM
Im trying to Add a module to my VB project.

When i right click on my Class module (which i've already created) and choose "ADD"..it brings back an error saying "Project File is read only"......how can i overcome this?

S@NSIS
Aug 30th, 2000, 07:13 AM
Hi,
Go to the folder where the project files are held and then highlight all your files (*.vbp,*.cls etc). Then right click and choose properties. When properties opens, click on the Read-only property and switch it off. Now load your project up again and you should be able to edit, add to it etc..
This happens a lot if you use programs like SourceSafe to look after your files and you don't check them out properly.

Hope this helps

Shaun

E-man07
Feb 1st, 2003, 07:11 PM
You could just resave the module and then make sure that it doesn't have the read only box checked