Results 1 to 3 of 3

Thread: Add a Module To VB??

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    N.Ireland
    Posts
    651

    Talking

    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?
    Gilly

  2. #2
    Addicted Member S@NSIS's Avatar
    Join Date
    Aug 2000
    Location
    Stoke-On-Trent, England
    Posts
    243
    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
    Web/Application Developer
    VB6 Ent (SP5), Win 2000,SQL Server 2000

  3. #3
    Junior Member
    Join Date
    Dec 2002
    Location
    Ohio
    Posts
    20
    You could just resave the module and then make sure that it doesn't have the read only box checked
    If once u don't susceed, Get the info from someone else. lol
    Code:
    Me = ok
    U = Good
    :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width