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
E

Engineer Joe

@Engineer Joe
About
Posts
8
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Monitor a text file to see when it opens or closes...
    E Engineer Joe

    Good deal. thank you both. I'm trying to make a PDF buttonclick event register in my code, but apparently this is very hard to do... So i decided to make the buttonclick in the PDF open and change a document. Then my C# app will hopefully see it and respond...worth a try any way. Thanks again. jpc

    C# question

  • Monitor a text file to see when it opens or closes...
    E Engineer Joe

    I'd like to monitor a text file to see when an outside program changes the contents of it. Is there a simple way to do this??? Actually, the easiest way to do this for me might be to see when the it saves or closes.

    C# question

  • Embed PDF viewer in C# Windows App
    E Engineer Joe

    Here are my requirements: 1) A PDF viewer that is embedded in a window in my windows app. 2) I must be able to reference button_click events in the PDF from my windows app. (i.e. if i click a button in the PDF, the event occurs in my windows app. Pertaining to the above requirements: Here is what I've noticed so far. The Adobe Reader ActiveX works great at simply viewing PDF's and the buttons are shown too. However, I haven't found anything in the Reader library that allows me to reference the buttons in the PDF. This leaves the following questions. Possible Solutions: (need your help/recommendations) 1) Can I use the Acrobat SDK to reference the document that is open inside my Adobe Reader ActiveX control? (If I can, then i can get a hold of my buttons and events). If I can do this, does anyone have any clue about the proper syntax? All of the the samples I've seen actually reference a document that acrobat opens, not the reader.... 2) Can I embed the Adobe Acrobat (not the reader) in my windows app in order to view the files? I haven't seen this done yet. Every example I've seen opens the acrobat in it's own window!!! 3) Is there other software out there that offers both functionalities: 1) Embedded viewing window with 2) Full access to PDF library? Any help in this matter would be greatly appreciated, as I have searched High, Low, and In Between for a solution. Thanks, jpc

    C# csharp com adobe hardware business

  • PDF button recognition in C# Windows App. [modified]
    E Engineer Joe

    I have several of the open source libraries now available to me. I have looked at many of the examples, and there is an issue that I have not yet been able to resolve. Can you open the document in the Adobe Reader, but reference it's button click events through one of the other libraries??? I'm having a hard time figuring out how to identify it as an object of another library if the document is in the Adobe Reader. All of the examples are opening documents in their own adobe windows. I can't find a way to reference one in my Active X control.... Again, I'm new at this. BTW, does anyone have a link that will give me a quick rundown of what I'm looking at exactly when i download a library... I'm looking at folders without a clue of what they mean (bin, debug, release)...and i'm not sure about what all of the implications are behind file extensions(.cs, .dll, .csproj, .sln). I was hoping to find a tutorial or something to put it all together. (I'm trying to learn Visual C# with a strong background in VBA for excel. This means i understand syntax and stuff like that alright, but i'm still having a hard time with the framework of it all.)

    C# csharp adobe help tutorial question

  • PDF button recognition in C# Windows App. [modified]
    E Engineer Joe

    I need to reference some buttons that are in a PDF so that I can write an event handler for when the PDF button is pressed. I do have acrobat SDK, but am unfamiliar with how to reference the buttons within the PDF at runtime... Has anyone here tried to make a button press event in a PDF become an event in the windows app??? BTW, the PDF will be opened through the Adobe REader in my PDF, so it will be open within my app... I haven't found a way yet to reference the buttons within the PDF though, or subsequently create an event for their button press. It might be a simple help if someone could tell me if there's a way to open acrobat in a viewing window just like the adobe reader window in a C# app. Or is there a way to reference the file displayed in my PDF REader window as a "CAcroAVDoc" object. I'm beginning to think there's no way for the READER control to convey what button is pressed to the C# app. But I bet it would be easy with the full version of Acrobat. But I don't know how to get an acrobat window into my windows app like i can the adobe reader. Does this make sense to anyone??? I'm kinda new to this...

    modified on Friday, April 17, 2009 1:45 PM

    C# csharp adobe help tutorial question

  • Getting a PDF mouseclick event to C# Windows App
    E Engineer Joe

    While this can tell me everything about the mouseclick, i can't find how it will tell me anything about a button being pressed... There's no way for a mouseevent itself to convey what button was pressed. It seems that the original problem of not being able to identify a button in a PDF is the problem... Maybe I should repost the question in that manner...My subject title is misleading now that i know more about the subject. Thank you for the reference to this tool though. I can see it being useful for me in the future. jpc

    C# tutorial csharp javascript adobe help

  • Getting a PDF mouseclick event to C# Windows App
    E Engineer Joe

    got the control by adding reference under Project ---> Add Reference. Chose something like AcroPDFLib from the COM tab. Then right-clicked the toolbox, choose items, and chose Adobe Reader. In my code, I open the appropriate PDF. So I get the PDF to open with no problem. Now I have to get it to register a button click in the PDF. Problem is that it has to be done at runtime, and i'm also not sure adobe provides a way to reference the event through C#. I'm not that great with event handlers...til now i've just chosen them from the menu options...but that's not possible with a button that isn't present until runtime... I've seen some some code that supposedly runs a javascript function in a PDF when a button is clicked, and i hoping that I could create an event like that somehow. Sidenote: I'm amazed at how very little functionality the Adobe Reader control has. I haven't found a way to actually get the X, Y, and Zoom coordinates of the viewing window... They can be set easily enough, but I haven't found a way to GET them.

    C# tutorial csharp javascript adobe help

  • Getting a PDF mouseclick event to C# Windows App
    E Engineer Joe

    I've got a C# Windows app with an Adobe PDF Reader Control in one of the forms. I'm using acrobat to place buttons in the PDF that will be viewed. I need some way to make the button click in the PDF to be registered as an event in my C# app. I'm having a hard time figuring out how to do this. Would this be easier with an Adobe Acrobat control instead of Reader??? I understand that it might be necessary to put some Javascript in the PDF that runs when the button is clicked and then reference it through my C# (a document level function???). If anyone can guide me in the right direction, it would help immensely. Any help would be greatly appreciated and please keep in mind that I'm pretty new to C# and know nothing at all about JavaScript. Thanks, Engineer Joe

    C# tutorial csharp javascript adobe help
  • Login

  • Don't have an account? Register

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