Search results for query: *

  1. M

    BandObjects in IE7

    Hey everyone, i wasn't sure where to post this so hopefully its ok here in the General Discussion forum. Anyway, I've been developing a toolbar for Internet Explorer using the BandObjects library from this article...
  2. M

    Central app + multiple client applications & raising events. Suggestions please.

    Thanks for your input! I definitely think that's the route i'm going to take.
  3. M

    Central app + multiple client applications & raising events. Suggestions please.

    Hey everyone, I'm just trying to figure out what my best option would be here. I'd like to create an application that will run on my machine and collect data. specifically certain data collected from doing packet capture. Then i'd like to have anywhere from 1 to a dozen different clients (on...
  4. M

    Retrieving actual HTML source using WebBrowser component

    Thanks for the response. unfortunately this doesn't preserve tabs or carriage returns in the original HTML. When i do a view source in internet explorer, it will open up the html with the original formatting but when when i use documentElement.outerHTML all of this formattings seems to be...
  5. M

    Retrieving actual HTML source using WebBrowser component

    Thanks for the reply. that looks like it should help but now my problem is I've been using SHDocVw.WebBrowser and not the System.Windows.Forms.WebBrowser that has the DocumentText property... Do you know of any way i can cast my SHDocVw WebBrowser to the System.Windows.Forms one? This is...
  6. M

    Retrieving actual HTML source using WebBrowser component

    This one seems so easy but it's turning out to be very difficult.. I have pages loading in a WebBrowser object and i'd like to be able to get the HTML source (just as you would with the View Source option in IE). I thought i had it with browser.Document.Body.innerHTML but that doesn't give you...
  7. M

    Retrieving WebBrowser Object of child IE windows

    I figured it out. just thought i'd post incase anyone else ran into the same situation. i added an event handler for NewWindow3 and then in the event handler i set the ref Object pDisp argument (which is null at first) to a new instance of InternetExplorerClass() one i had that done i had a...
  8. M

    Retrieving WebBrowser Object of child IE windows

    Hey everyone, I'm writing an toolbar for IE that interacts with IE and all of it is done through a WebBrowser object that is set to the instance of IE that it loads in. I'm wondering how could i retrieve an object representing any child windows that are spawned from that one? (if a link opens in...
  9. M

    Custom toolbars in IE?

    Hey everyone, I'd like to write a program that adds a custom toolbar to IE and then it would have a few buttons that would somehow control IE (get data from the current pages and analyze it, or browse to a specific page and fill data into forms) I'm not sure exactly what would be involved in...
  10. M

    Copying Selected Text From an External Program

    Ah yeah, that was a little funny. i forgot to declare the type. anyway, i changed it to the code below but it actually errors before that point. It errors out on the SetDataObject line that i have highlighted in red. and says "The Requested Clipboard Operation Failed"...
  11. M

    Copying Selected Text From an External Program

    Everything works fine the way you do it in your example but that's only as long as the clipboard that it first retrieves and puts into the array was generated by the program. If i change it so that it does it with clipboard data that was placed there with ctrl+c, the program crashes. Here's the...
  12. M

    Copying Selected Text From an External Program

    Thanks alot for the your code. That should help me quite a bit. It looks similar to mine but i'm going to sit down later tonight once i get home from work to see if i can find any difference in the way i'm trying to do it.
  13. M

    Copying Selected Text From an External Program

    Wow ok, that's good to know it's possible. still really baffled why it's not working for me though. I'm starting to think it's my version of VS (2002) or maybe that i'm using v1.0 of the .Net framework giving me problem.. or that i'm actually using C#. I'm going to try to do some updating and...
  14. M

    Copying Selected Text From an External Program

    Okay after a lot of playing around with sendkeys I've pretty much gotten my program to copy the selected text out of another program. I ended up having to send a keyup for the keys i pressed to trigger the hotkey. I wasn't sure if that was causing a problem but it didn't work quite right until...
  15. M

    Copying Selected Text From an External Program

    Hey guys, thanks a lot for your input. John, I'm using SendWait like you suggested and it works... sometimes (it seems to depend on what keys i used to activate it). I think the problem i'm having is that the keys I pressed to call SendWait are still down so it interferes with the ^C or ^V that...
  16. M

    Copying Selected Text From an External Program

    Hi everyone, I've been been beating my head against the wall trying to get at the selected text of an external program. Basically my program will run in the background and wait for a hotkey to be pressed. When that happenes, I want to retrieve the selected text from whatever program i'm working...
Back
Top