Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lobOnline

    Detecting 404 while internet explorer is downloading

    I want to do this: While my internet explorer com object is openening a page, I start a thread that opens a connection with the server of that page on port 80. The thread will check if the page exists or if a 404 (page not found) occurs. Why do I want to do it like this and not just read the...
  2. lobOnline

    ESocketError

    I'm using a TClientSocket component. When I do a connect to an internet address (not ip), but I'm not connected to the internet I get an ESocketEror resulting in the following message: "Windows socket error: (11001), on API 'Async Lookup'.I'm trying to catch this ESocketError. But I can't...
  3. lobOnline

    Can't catch ESocketError

    I am aware of this. I also know that if you look at the debugger options you can disable this option. I just want to catch the exception so I can output my own error message instead of this one: Windows socket error: (11001), on API 'Async Lookup'
  4. lobOnline

    mouse clicking

    Assuming Button is a TButton * try this: SendMessage(Button->Handle, WM_SETFOCUS, 0, 0); SendMessage(Button->Handle, WM_KEYDOWN, VK_SPACE, 0); SendMessage(Button->Handle, WM_KEYUP, VK_SPACE, 0); PostMessage(Button->Handle, WM_SETFOCUS, 0, 0); PostMessage(Button->Handle, WM_KEYDOWN, VK_SPACE...
  5. lobOnline

    Can't catch ESocketError

    I'm using a TClientSocket component. When I do a connect to an internet address (not ip), but I'm not connected to the internet I get an ESocketEror resulting in the following message: "Windows socket error: (11001), on API 'Async Lookup'.I'm trying to catch this ESocketError. But I can't...
  6. lobOnline

    Sending a Click message to a Button

    Hi, I have some code that at a certain points wants to kill it's own object. A simple delete can't do the work here because the code will return to the object which by then has been destroyed. This way will automaticly generate an EAccessViolation. I figured out how I could do this properly...
  7. lobOnline

    Receiving events from IE com object

    I want to be able to receive an OnClick event from any anchor (<a>) tag from a TCppWebBrowser component. Can anybody tell me how? I found some code on msdn but it didn't help me too much because they don't use a TCppWebBrowser component (ofcorz).
  8. lobOnline

    Receiving events from IE com object

    I want to be able to receive an OnClick event from any anchor (<a>) tag from a TCppWebBrowser component. Can anybody tell me how? I found some code on msdn but it didn't help me too much because they don't use a TCppWebBrowser component (ofcorz).
  9. lobOnline

    Extending the TPageControl object

    I want to know how to make my TPageControl object look like the one that builder has for their edit windows. If you look at the builder edit window, it has on the right a tab with buttons that can always accessed from any tab. I want to build something like this so that my TTabSheets can be...
  10. lobOnline

    Dynamicly creating internet explorers

    I was able to make it work, so forget I ever asked it. The actual code is this: TTabSheet *pPage = new TTabSheet(this); pPage->PageControl = Sessions; pPage->TabVisible = true; pPage->Caption = &quot;New&quot;; noBrowsers++; browsers[noBrowsers] = new TCppWebBrowser(MainForm)...
  11. lobOnline

    Dynamicly creating internet explorers

    I'm trying to make a program that can open multiple sessions of a TCppWebBrowser component. The problem I have is that I can't seem to create it dynamicly (at runtime). I'm doing something (don't have the actual code here) like this, when opening a new session: noSessions++...

Part and Inventory Search

Back
Top