Click here to Skip to main content
15,886,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: To Service or not to Service Pin
Dustin Henry11-May-09 6:50
Dustin Henry11-May-09 6:50 
QuestionVC++ Code to check whether an excel file is already open or not Pin
Abraham Betty11-May-09 5:13
Abraham Betty11-May-09 5:13 
AnswerRe: VC++ Code to check whether an excel file is already open or not Pin
Rajesh R Subramanian11-May-09 5:42
professionalRajesh R Subramanian11-May-09 5:42 
GeneralRe: VC++ Code to check whether an excel file is already open or not Pin
Abraham Betty12-May-09 16:07
Abraham Betty12-May-09 16:07 
AnswerRe: VC++ Code to check whether an excel file is already open or not Pin
Joe Woodbury11-May-09 6:18
professionalJoe Woodbury11-May-09 6:18 
GeneralRe: VC++ Code to check whether an excel file is already open or not Pin
Abraham Betty11-May-09 6:39
Abraham Betty11-May-09 6:39 
GeneralRe: VC++ Code to check whether an excel file is already open or not Pin
Joe Woodbury11-May-09 6:50
professionalJoe Woodbury11-May-09 6:50 
AnswerRe: VC++ Code to check whether an excel file is already open or not Pin
Madhu Nair11-May-09 8:38
Madhu Nair11-May-09 8:38 
Abraham Betty wrote:
want to restrict the user to avoid operation on that excel file,when the excel file is in open state.
so i need to indentify by some means to check wether the excel is in open state.


I think what Rajesh[^] said is a right choice for you. Smile | :)

Abraham Betty wrote:
I need to write VC++ Code on this requirement.


You can check the Running object table for an already running instance of Excel. Get the properties of the document object to check whether it is your excel file.

You may get the VC++ code and details from this MSDN KB Article[^]
GeneralRe: VC++ Code to check whether an excel file is already open or not Pin
Abraham Betty12-May-09 16:18
Abraham Betty12-May-09 16:18 
GeneralRe: VC++ Code to check whether an excel file is already open or not Pin
Madhu Nair12-May-09 21:02
Madhu Nair12-May-09 21:02 
GeneralRe: VC++ Code to check whether an excel file is already open or not Pin
Abraham Betty13-May-09 6:52
Abraham Betty13-May-09 6:52 
GeneralRe: VC++ Code to check whether an excel file is already open or not Pin
Madhu Nair13-May-09 19:35
Madhu Nair13-May-09 19:35 
QuestionRe: VC++ Code to check whether an excel file is already open or not Pin
David Crow11-May-09 9:20
David Crow11-May-09 9:20 
QuestionMAPIFindNext return 16 but there are email in Windows Mail. Pin
SNArruda11-May-09 4:42
SNArruda11-May-09 4:42 
QuestionHi Pin
Mohammadj11-May-09 3:39
Mohammadj11-May-09 3:39 
QuestionRe: Hi Pin
David Crow11-May-09 4:32
David Crow11-May-09 4:32 
AnswerRe: Hi Pin
Mohammadj11-May-09 9:06
Mohammadj11-May-09 9:06 
GeneralRe: Hi Pin
David Crow11-May-09 9:09
David Crow11-May-09 9:09 
GeneralRe: Hi Pin
Mohammadj11-May-09 9:15
Mohammadj11-May-09 9:15 
GeneralRe: Hi Pin
David Crow11-May-09 9:19
David Crow11-May-09 9:19 
GeneralRe: Hi Pin
Mohammadj11-May-09 9:21
Mohammadj11-May-09 9:21 
QuestionRe: Hi Pin
David Crow11-May-09 9:27
David Crow11-May-09 9:27 
AnswerRe: Hi Pin
Mohammadj11-May-09 9:28
Mohammadj11-May-09 9:28 
GeneralRe: Hi Pin
Mohammadj11-May-09 20:27
Mohammadj11-May-09 20:27 
GeneralRe: Hi Pin
Mohammadj11-May-09 23:54
Mohammadj11-May-09 23:54 

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.