Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
Y

yjoo9317

@yjoo9317
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Access IE's document's parentWindow
    Y yjoo9317

    hi, I am trying to capture events happening on IE (especially anchor click). I used typical IHTMLDocumentEvent2_Event method, but unfortunately this method was blocking up mouse activiteis(wheeling, selection and such) So I tried to use custmoized handler that I found at http://west-wind.com/WebLog/posts/393.aspx[^] But to do that, I need to access IE.docment.parentWindow to get IHTMLEvetObj. I am using SHDocVw.InternetExplorer not WebBrowser nor AxWebBrowser, so it did not allow to access the actual IE window to retrieve events. such as IHTMLDocument2 document = IE.document as IHTMLDocuemnt2; then, when I tried to do "document.parentWindow.@event" I reports InvalidCastException. Is there any one who has suggestions. Thanks

    C# com

  • To know which file was opened by an application.
    Y yjoo9317

    Thanks for reply... Yes,I know we can detect any changes if made to a file. In case of pdf file, The file will unlikely change. What I want is that, if I know msword or acrobat(these are examples) is running, then I want to know which file was opened by the application. Thanks..

    C# tutorial

  • To know which file was opened by an application.
    Y yjoo9317

    Hi, For example, I am trying to know when I opened, say,'example.doc' word file or 'example.pdf' file. I know msword or acrobat is running... But how can we know which file was opened by msword or acrobat. FileSytemWatcher looks like responding on only the events which changed file content. Reading a file isn't an event reported by the watcher. Process gave me module name but not the target file(doc or pdf file name). Maybe I am missing some user32 functions. But at this point, I don't know how to retrieve that information. Many thanks in adance, yjoo.

    C# tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups