Search:

Type: Posts; User: hanhao

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds; generated 19 minute(s) ago.

  1. thanks for advice how should i fix the null...

    thanks for advice
    how should i fix the null terminated string problem?
  2. Parasing website data : intermitten rubbish characters retrived

    Parasing website data : intermitten rubbish characters retrived

    hi, i am making a program to parse data from website, to do that i need to download the file

    Step1: download file


    CString...
  3. Replies
    1
    Views
    4,508

    erase cookies cookie from webbrowser control

    erase cookies cookie from webbrowser control

    how do i erase all the cookies or cookie from my webbrowser control?
  4. thanks for all your help here is the solution ...

    thanks for all your help
    here is the solution

    CString strURL(V_BSTR(URL));
  5. how to get the VARIANT type URL as a CString from OnDocumentComplete in webbrowser2

    how to get the VARIANT type URL as a CString from OnDocumentComplete in webbrowser2


    void MyDialog::OnDocumentCompleteExplorer1(LPDISPATCH pDisp, VARIANT FAR* URL)
    {

    }

    "URL" here...
  6. Replies
    2
    Views
    3,884

    thanks for all your help after some playing...

    thanks for all your help
    after some playing around with URLDownloadToFile function, i discovered something about it.

    if you use URLDownloadToFile in the main user interface thread, it will...
  7. how to make my rich edit ctrl scroll automatically when insert new text?

    how to make my rich edit ctrl scroll automatically when insert new text?

    here's how i insert text


    msg.Insert( msg.GetLength() , "\n");
    m_system_message.SetSel(-1,-1);...
  8. Replies
    2
    Views
    3,884

    URLDownloadToFile dont work in worker thread

    URLDownloadToFile dont work in worker thread

    how do i make URLDownloadToFile work in a worker thread. because this is a blocking function, i got to use a worker thread when i call it. but...
  9. i managed to work around this using SetTimer(999,...

    i managed to work around this using SetTimer(999, 0, NULL):
  10. call webbrowser.Navigate within a thread via post message to UI thread

    call webbrowser.Navigate within a thread via post message to UI thread

    i wan to navigate to a website using my webbrowser2 activeX i made. but i need to run threads to execute a...
  11. Replies
    1
    Views
    1,678

    i have narrowed the problem down to the navigate...

    i have narrowed the problem down to the navigate member function being run in a worker thread. however i cannot find the root cause to the problem
  12. thanks all for your help here is the solution ...

    thanks all for your help
    here is the solution


    ((CButton*)GetDlgItem(IDC_ACTIVATE))->SetCheck(TRUE);
  13. Replies
    1
    Views
    1,678

    Cwebbrowser2 , cannot find the internet path

    Cwebbrowser2 , cannot find the internet path

    when i use this


    m_webbrowser.Navigate("yahoo.com", NULL, NULL, NULL, NULL);


    the program gave me the following error as shown in the picture...
  14. setting checks on checkbox , setcheck not working

    setting checks on checkbox , setcheck not working

    how do i set a check on checkbox?

    i used


    m_checknow.SetCheck(BST_CHECKED);

    but the button refuses to get checked
  15. Replies
    1
    Views
    1,589

    getting sub CString from a bigger CString

    getting sub CString from a bigger CString

    ok i got a big CString and i want to get a certain word in this big CString without deleting or trimming

    i have obtained the start and end zero based...
  16. Replies
    2
    Views
    1,255

    Stripping from a text file

    Stripping <items in here> from a text file

    what i wan to do is get rid of items in <items in here>
    for example, for the string "dsafgsgwrgh<itema>grsgwrhhwr<itemb>fsdf"

    i want to get rid of...
  17. sending a string as keyboard keystrokes wrongly

    sending a string as keyboard keystrokes wrongly

    as u can see from my following code, KeyBoadText() is a function that accepts a string and then type the string out as if it was typed using the...
  18. hide scipt errors/warnings in webbrowser control

    hide scipt errors/warnings in webbrowser control

    how do i hide scipt errors/warnings in webbrowser control?

    link to image http://i14.tinypic.com/6hcn9zb.jpg
    http://i14.tinypic.com/6hcn9zb.jpg...
  19. how to obtain messages that have been posted/sent into a control?

    how to obtain messages that have been posted/sent into a control?

    SPY++ only shows messages that the control has sent out, not messages that it receives

    help file from spy++
  20. Replies
    1
    Views
    2,571

    how do i implement IOleCommandTarget

    how do i implement IOleCommandTarget

    i got no idea what it is
    is it a class or a method?

    i need to do it after reading a help file here http://support.microsoft.com/kb/261003/

    as i am still...
  21. Programmically simulate clicking on webbrowser2 object

    Programmically simulate clicking on webbrowser2 object

    how do i Programmically click on webbrowser2 object?

    i tried


    m_webbrowser.SendMessage(WM_LBUTTONDBLCLK,MK_LBUTTON,...
  22. Spy++ view messages posted/sent to a control, or from it?

    Spy++ view messages posted/sent to a control, or from it?

    i noticed that there are "S", "P" codes when the messages are logged. Now what i wan to know is these messages are messages originating...
  23. Replies
    0
    Views
    2,020

    how do i implement IOleCommandTarget

    how do i implement IOleCommandTarget

    i got no idea what it is
    is it a class or a method?

    i need to do it after reading a help file here http://support.microsoft.com/kb/261003/

    as i am still...
  24. Programmically simulate clicking on webbrowser2 object

    Programmically simulate clicking on webbrowser2 object

    how do i Programmically click on webbrowser2 object?

    i tried


    m_webbrowser.SendMessage(WM_LBUTTONDBLCLK,MK_LBUTTON,...
  25. thnx for the help, i someone suggested the...

    thnx for the help, i someone suggested the following and i am working on it

    1. First check the DoDataExchange(CDataExchange* pDX) function in your Dlg.cpp. It should not have any instances of your...
Results 1 to 25 of 114
Page 1 of 5 1 2 3 4