Click here to Skip to main content
16,011,647 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
Wendelius23-Jan-09 21:17
mentorWendelius23-Jan-09 21:17 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
frankiebaby225-Jan-09 12:35
frankiebaby225-Jan-09 12:35 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
frankiebaby225-Jan-09 12:48
frankiebaby225-Jan-09 12:48 
AnswerRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
Dave Kreskowiak23-Jan-09 11:15
mveDave Kreskowiak23-Jan-09 11:15 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
frankiebaby223-Jan-09 14:36
frankiebaby223-Jan-09 14:36 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
Dave Kreskowiak23-Jan-09 17:34
mveDave Kreskowiak23-Jan-09 17:34 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
frankiebaby225-Jan-09 12:39
frankiebaby225-Jan-09 12:39 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
Dave Kreskowiak25-Jan-09 13:49
mveDave Kreskowiak25-Jan-09 13:49 
frankiebaby2 wrote:
but remove the "read only" setting (hard part) in code.


Last time: THERE IS NO READONLY SETTING! The file is only determined to be "ReadOnly" when it is loaded by Excel. If the file is already open by another process, or another instance of Excel, the file will be opened as "ReadOnly". THERE IS NO SETTING IN THE FILE THAT DOES THIS.

If the file was just saved as a new filename, but you haven't closed it in your code's instance of Excel, ANY ATTEMPT TO OPEN IT IN ANOTHER INSTANCE OF EXCEL WILL RESULT IN IT BEING "READONLY".


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




QuestionExtract Phase From Textfile Pin
IvanIT23-Jan-09 9:29
IvanIT23-Jan-09 9:29 
AnswerRe: Extract Phase From Textfile [modified] Pin
Garth J Lancaster23-Jan-09 12:48
professionalGarth J Lancaster23-Jan-09 12:48 
GeneralRe: Extract Phase From Textfile Pin
IvanIT24-Jan-09 5:39
IvanIT24-Jan-09 5:39 
QuestionSpeed initial load Pin
cstrader23223-Jan-09 6:54
cstrader23223-Jan-09 6:54 
AnswerRe: Speed initial load Pin
Wendelius23-Jan-09 8:31
mentorWendelius23-Jan-09 8:31 
AnswerRe: Speed initial load Pin
Dave Kreskowiak23-Jan-09 8:35
mveDave Kreskowiak23-Jan-09 8:35 
GeneralRe: Speed initial load Pin
cstrader23223-Jan-09 10:14
cstrader23223-Jan-09 10:14 
GeneralRe: Speed initial load Pin
Dave Kreskowiak23-Jan-09 10:29
mveDave Kreskowiak23-Jan-09 10:29 
GeneralRe: Speed initial load Pin
cstrader23223-Jan-09 10:37
cstrader23223-Jan-09 10:37 
GeneralRe: Speed initial load Pin
Dave Kreskowiak23-Jan-09 11:12
mveDave Kreskowiak23-Jan-09 11:12 
GeneralRe: Speed initial load Pin
Wendelius23-Jan-09 11:20
mentorWendelius23-Jan-09 11:20 
QuestionUsing system.printing namespace to get print queue status Pin
daveg5523-Jan-09 1:01
daveg5523-Jan-09 1:01 
AnswerRe: Using system.printing namespace to get print queue status Pin
Dave Kreskowiak23-Jan-09 4:51
mveDave Kreskowiak23-Jan-09 4:51 
QuestionTextbox settings Pin
EvanSaunders23-Jan-09 0:41
EvanSaunders23-Jan-09 0:41 
AnswerRe: Textbox settings Pin
Jay Royall23-Jan-09 0:45
Jay Royall23-Jan-09 0:45 
GeneralRe: Textbox settings Pin
EvanSaunders23-Jan-09 0:51
EvanSaunders23-Jan-09 0:51 
GeneralRe: Textbox settings Pin
Jay Royall23-Jan-09 0:59
Jay Royall23-Jan-09 0:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.