CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Genotypek

Search: Search took 0.03 seconds.

  1. Re: Wait for complete sit load in IE WebBrowser control

    Okay, but what to do, if I'm not completely sure what is this properly url of this site which my IE is loading?
    And in this case, how to make communication between my event and my part of code?...
  2. Wait for complete sit load in IE WebBrowser control

    Hello.
    I'm trying to tell my program to wait until website isn't fully loaded before continuing.
    I tried already:
    WebBrowser.IsBusy, but it doesn't work. It freezes my program very often, and...
  3. Replies
    11
    Views
    9,059

    Re: Automate Internet Explorer

    Okay I have resolved this problem.
    InnerHtml and InnerText didn't work, but I found outerHtml property, so simply:



    System::Windows::Forms::HtmlElementCollection^ Elements =...
  4. Replies
    11
    Views
    9,059

    Re: Automate Internet Explorer

    But class is null for both of them.
    One of them is <a> has id="login" - it's common label.
    Second one is <a> has class="btn-login", but this class can't be accesses via GetAttribute("class")
    I...
  5. Replies
    11
    Views
    9,059

    Re: Automate Internet Explorer

    Yes, using InnerText isn't problem there, but the problem is, that there's <h1> with Innertext "Logowanie", and <a> (this button) with InnerText "Logowanie".
    Both InnerHtml code is the same as...
  6. Replies
    11
    Views
    9,059

    Re: Automate Internet Explorer

    Yes, I can find the button, it's index is 62 I can even click it. But:
    Elements[62]->GetAttribute("class"); is null
    Elements[62]->InnerText; is "Logowanie"
    Elements[62]->InnerHtml; is "Logowanie"...
  7. Replies
    11
    Views
    9,059

    Re: Automate Internet Explorer

    Only one button has this class, no more. It's full HTML is:

    <a class="btn-login" href="#">Logowanie</a>

    I tried to do it like this:

    System::Windows::Forms::HtmlElementCollection^ Elements =...
  8. Replies
    11
    Views
    9,059

    [RESOLVED] Automate Internet Explorer

    Hello.
    I'm trying to automate internet explorer, but i stucked on problem, that an element doesn't have any id or name, only class.
    For input I can easu use:

    hIE->Document->GetElementById(...
  9. WinHTTP/WinINet using Internet Explorer sessions/cookies at same time

    Hello.
    I've got a problem, I'm writing a program, which allowes an user to use website normally on embedded IE (It's irrelevant in this situation, IE can be even oppened standardly from it's exe)...
  10. [RESOLVED] Leave only numeric characters in std::string

    Hello.
    I'm trying to remove all non numeric characters from std::string, but I have no idea how to do it...
    I tried to using boost:regex etc. from google search, but it doesn't work.
    Do you have...
  11. Re: Refer to control in another source file

    Thank you so much!
    That works perfectly. :)
    Sorry for this problem, it was my fault at the beginning. I tried to do my code as compact as possible and I didn't post the code snip with groupbox,...
  12. Re: Refer to control in another source file

    I removed my all another forms from this project and that still doesn't work, an expection is still thrown.
    It's strange, because simply provide controls to this function as aguments works... But I...
  13. Re: Refer to control in another source file

    @Refresh
  14. Re: Refer to control in another source file

    Yes, the window is visible on the screen and is constructed completely, the program works perfectly until I'll click this button and call the function in Zarzadzanie.ini
    My program looks exactly...
  15. Re: Refer to control in another source file

    It still doesn't work. :(
    I have totally no idea what to do, especially that I don't know completely what instance is and how it works.

    Debugger shows exception in ZarzadzanieIni.cpp, function...
  16. Re: Refer to control in another source file

    Okay, i have read it and changed some code.
    My actual code is:

    GlowneOkno.h [Form]


    #pragma once

    #include "ZarzadzanieIni.h"
  17. [RESOLVED] Refer to control in another source file

    Hello.
    I had stuck on problem. I'm creating my program and I've got a problem with refer to the controls in another source files. It's my code:

    // GlowneOkno.h
    #include "Funkcje.h"

    #pragma...
  18. WinHTTP and embedded IE working on one the same session

    Hello.
    I've got a problem, I'm writing a program, which allowes you to use website normally on embedded IE and WinHTTP will working in the background to automate some activities.
    There's my...
  19. Replies
    4
    Views
    5,333

    Re: Problem with Visual C++

    Thanks a lot!
    That works! ☺

    I didn't even know, that the kind of code where I can write my code manually even exists.
    Thanks for help, problem solved.
    Greetings, genotypek.
  20. Replies
    4
    Views
    5,333

    [RESOLVED] Problem with Visual C++

    Hello.
    I'm writing some program, and I stuck on default ComboBox value.
    In my Form application my form.h [project] is generating code automatically. But in property box there is no "SelectedIndex"...
  21. Re: Image on listview column header instead of text

    I found a solution by myself.


    this->GUI_ListView_Ruch = ( gcnew System::Windows::Forms::ListView() );
    this->GUI_ListView_Ruch_Typ = ( gcnew System::Windows::Forms::ColumnHeader() );...
  22. Re: Image on listview column header instead of text

    I want to notice, that this screenshot is taken also project of my program, but it's writed in AutoIT3 language.
    (I don't really know how to edit my previous post, could you tell me how to do it? Am...
  23. [RESOLVED] Image on listview column header instead of text

    Hello.
    I'm creating a program, and I occured a problem.
    At my progress I'm trying to create ListView control using Visual C++ in Visual Studio 2017 and acquire a result similar to this:

    34845
    ...
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured