Reply
 
LinkBack Thread Tools Display Modes
Old 27-10-11, 17:28   #1 (permalink)
Blogger
 
Vince's Avatar
 
Since Mar 2009
1,399 posts
Default Visual basic gif

Com'è il codice di una gif animata con tre immagini?
________________________
Lo Stato è come l'oceano. Lo stato è formato da cittadini, l'oceano da gocce d'acqua. Se togliamo i cittadini e le gocce d'acqua non rimane nulla, nè dello Stato,nè dell' oceano.


Offline   Reply With Quote
Old 27-10-11, 22:54   #2 (permalink)
Yep
1455
 
Yep's Avatar
 
Since Mar 2009
/sezione
2,978 posts
Default

Tasto destro sulla casella degli strumenti, componenti, checka Microsoft Internet Controls e piazza il WebBrowser nel form, poi una PictureBox.

Dopodiché usa questo.

Code:
Private Sub Form_Load()
    Dim location As String
    location = "percorsogif\nomegif.gif"
    Picture1.Visible = False
    Picture1.Picture = LoadPicture(location)
    Picture1.AutoSize = True
    WebBrowser1.Width = Picture1.Width
    WebBrowser1.Height = Picture1.Height
    WebBrowser1.Navigate "about:<html><body leftMargin=0 topMargin=0 marginheight=0 marginwidth=0 scroll=no><img src=" & location & "></img></body></html>"
End Sub
Non c'avevo un cazzo da fa'.
Offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 22:38.