Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to remove module (.bas) read-only 1

Status
Not open for further replies.

R17

Programmer
Jan 20, 2003
267
PH


hi,

i'm new to visual basic. i've been asked to modify a visual basic application, but my problem is when i try to edit one of the modules, i get a message that it cannot be edited.

how do i remove it?

pls help.


 

Check the file attributes (in explorer, right mouse click on the file name and click on properties) and see if it is set as ReadOnly
 
It's probably been made read only so that changes can be controlled by the source owner/administrator. I think you should talk to them before you do anything.

Has the vb project been added into sourcesafe? If so then you will need the sourcesafe application - then you will be able to "check out" the module for editing. You will hae to talk to the source owner about that.

if the project hasn't been added into sourcesafe you can do a "right mouse" on the module through internet explorer and select properities you can check to see if the "read only" attribute has been checked.
 

How does one mark their own thread as "helpful" with a star?
Or, why would this have been done?
Or was it you TomKane?

I'm ONLY curious, as it seems funny.

(This thread started , the first 2 answers, and the star all happened with-in 5 minutes)
 
No, it wasn't me. Good trick if you can mark your own threads though :)
 

vboldtimer,

it wasn't me either who gave tomkane a star, but i'm giving you one for a more detailed explanation.

well back to my problem, pls forgive me if i ask too basic questions for all the members of this thread. i'm more into visual foxpro than visual basic.

here it is. everytime i open the project i'm asked to enter a user and password for the sourcesafe. when i try to click the browse button, i'm being asked to locate the "srcsafe.ini". since i don't know the user and password, i just clicked "cancel".

is this causing the problem?

any more help pls?



 
The project has been added to SourceSafe - you will need the username and password of the source owner.
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
R17 -
Like johnwm says, you'll need to have an ID & password for the SourceSafe database so that you can check the code out for modification. When you do this, VSS will copy the source code to your working directory (defined at the project level in VSS) and remove the read-only flag.

After you've finished with your changes, you'd then check it back in to Source Safe so that other people can see/use your changes. VSS will update it's copy of the source code, and mark the source files as read-only again.

Chip H.
 

hello there,

can i make my own user ID and password for the VSS? the programmer who has resigned claims that she had forgotten her password..

any help?

 
I have had the read-only thing happen. The cause was burning the projects onto CD's, flying across the continent, then loading the code onto another machine. The CD burn changes everything to read only and the attibute stays after copying to a hard drive. It was a BIG project and a major pain to change all of the attributes back to Read/write.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top