вывод картинки в форму (визуал бейсик 6)

Discussion in 'С/С++, C#, Rust, Swift, Go, Java, Perl, Ruby' started by A_n_d_r_e_i, 20 May 2010.

  1. A_n_d_r_e_i

    A_n_d_r_e_i Active Member

    Joined:
    2 Sep 2009
    Messages:
    175
    Likes Received:
    250
    Reputations:
    27
    в CommandButton тычем этот код
    Code:
    Dim O As Object
    Set O = WebBrowser1.Document.body.createControlRange()
    Call O.Add(WebBrowser1.Document.All("qwe1"))
    Call O.execCommand("Copy")
    Set Picture1.Picture = Clipboard.GetData
    где qwe1 - name картинки в хтмл
    на форме:
    PictureBox
    Webbrowser
    CommandButton
     
    #1 A_n_d_r_e_i, 20 May 2010
    Last edited: 20 May 2010