Click here to Skip to main content
15,891,907 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to capture screen in the most optimized way. Pin
BobJanova12-Oct-11 1:44
BobJanova12-Oct-11 1:44 
GeneralRe: How to capture screen in the most optimized way. Pin
PIEBALDconsult12-Oct-11 4:20
mvePIEBALDconsult12-Oct-11 4:20 
QuestionIs there a way to detect a mouse click in a Word document in my form? Pin
fiaolle11-Oct-11 8:59
fiaolle11-Oct-11 8:59 
AnswerRe: Is there a way to detect a mouse click in a Word document in my form? Pin
Luc Pattyn11-Oct-11 9:10
sitebuilderLuc Pattyn11-Oct-11 9:10 
GeneralRe: Is there a way to detect a mouse click in a Word document in my form? Pin
fiaolle11-Oct-11 19:54
fiaolle11-Oct-11 19:54 
AnswerRe: Is there a way to detect a mouse click in a Word document in my form? Pin
Luc Pattyn11-Oct-11 22:06
sitebuilderLuc Pattyn11-Oct-11 22:06 
GeneralRe: Is there a way to detect a mouse click in a Word document in my form? Pin
fiaolle12-Oct-11 9:06
fiaolle12-Oct-11 9:06 
GeneralRe: Is there a way to detect a mouse click in a Word document in my form? Pin
fiaolle14-Oct-11 2:06
fiaolle14-Oct-11 2:06 
Hi Big Grin | :-D

Thanks for all the replies. I have found a solution.

Microsoft.Office.Interop.Word.Application ap;
Microsoft.Office.Interop.Word.Document doc;

C#
ap = new Word.Application();
ap.WindowSelectionChange +=new ApplicationEvents4_WindowSelectionChangeEventHandler(ap_WindowSelectionChange); 
doc = ap.Documents.Open(path, ReadOnly: false, Visible: true);

private void ap_WindowSelectionChange(Microsoft.Office.Interop.Word.Selection Sel)
{
}

When I click in the doc I have opened the event ap_WindowSelectionChange runs.

Fia
QuestionSoftware the Protection USB Pin
somarriba11-Oct-11 4:38
somarriba11-Oct-11 4:38 
AnswerRe: Software de Proteccion de USB Pin
André Kraak11-Oct-11 4:49
André Kraak11-Oct-11 4:49 
QuestionComo proteger un archivo XML para que no pueda ser borrado de la PC Pin
somarriba11-Oct-11 4:34
somarriba11-Oct-11 4:34 
AnswerRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
Pete O'Hanlon11-Oct-11 4:47
mvePete O'Hanlon11-Oct-11 4:47 
QuestionRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
André Kraak11-Oct-11 4:48
André Kraak11-Oct-11 4:48 
AnswerRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
BobJanova11-Oct-11 5:08
BobJanova11-Oct-11 5:08 
AnswerRe: Como proteger un archivo XML para que no pueda ser borrado de la PC PinPopular
Richard MacCutchan11-Oct-11 5:30
mveRichard MacCutchan11-Oct-11 5:30 
GeneralRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
Paul Conrad11-Oct-11 7:58
professionalPaul Conrad11-Oct-11 7:58 
AnswerRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
jschell11-Oct-11 8:43
jschell11-Oct-11 8:43 
AnswerRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
Eddy Vluggen11-Oct-11 9:41
professionalEddy Vluggen11-Oct-11 9:41 
GeneralRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
Subin Mavunkal11-Oct-11 21:03
Subin Mavunkal11-Oct-11 21:03 
GeneralRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
Eddy Vluggen12-Oct-11 0:10
professionalEddy Vluggen12-Oct-11 0:10 
AnswerRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
Bernhard Hiller11-Oct-11 21:40
Bernhard Hiller11-Oct-11 21:40 
QuestionFile.Copy does not copy and does not throw any exception Pin
Shlabh Sharma11-Oct-11 3:26
Shlabh Sharma11-Oct-11 3:26 
AnswerRe: File.Copy does not copy and does not throw any exception Pin
fjdiewornncalwe11-Oct-11 4:05
professionalfjdiewornncalwe11-Oct-11 4:05 
GeneralRe: File.Copy does not copy and does not throw any exception Pin
Manish K. Agarwal11-Oct-11 20:10
Manish K. Agarwal11-Oct-11 20:10 
AnswerRe: File.Copy does not copy and does not throw any exception Pin
BobJanova11-Oct-11 4:06
BobJanova11-Oct-11 4:06 

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.