| |

VerySource

 Forgot password?
 Register
Search
View: 2834|Reply: 17

Which picture control in VB supports GIF format pictures

[Copy link]

3

Threads

10

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-1-18 11:20:01
| Show all posts |Read mode
Which picture control in VB supports GIF format pictures? I tried both the PICTUREBOX and IMAGE controls, and the animation did not move.
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 Invalid IP Address

Post time: 2020-1-24 12:18:01
| Show all posts
VB6 does not support GIF format pictures.
Use a third-party OCX.
It seems that there is one called GIF89.OCX
Reply

Use magic Report

0

Threads

16

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-1-24 13:18:01
| Show all posts
Picture1.Picture = LoadPicture ("D:\k119-48-00.gif")
The landlord did not explain the problem clearly, the picture control supports gif format pictures.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-24 14:54:01
| Show all posts
Use richedit without third play
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-26 14:36:01
| Show all posts
Search online: GifButton
Reply

Use magic Report

3

Threads

10

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-2-16 17:00:01
| Show all posts
GIF89.dll is downloaded, it works well. But I found that as soon as I registered it, I registered a rogue software called network pig, and brought rogue software, what should I do? And a rogue software does not delete such a control. Okay, I have to re-register, irritating,
Reply

Use magic Report

3

Threads

10

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-2-19 21:30:01
| Show all posts
Using the WebBrowser1 control, I made a form FrmSplash, and placed a WebBrowser1 on it. As a separate form, the GIF can be opened normally, and the GIF picture can also be seen, but if it is placed in the LOAD event of another form FrmTest I found that the form could not be opened and not displayed. I don't know why?
The code in the LOAD event is as follows:
Private Sub Form_Load ()
 FrmSplash.show
 'FrmTest form load event to extract data from the database,
 unlaod FrmSplash
End Sub
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-27 23:45:01
| Show all posts
I also need to find which control can support GIF
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-8-28 17:15:01
| Show all posts
I also want to know, thank you LZ.
Reply

Use magic Report

0

Threads

7

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-8-28 17:30:01
| Show all posts
[color=#0000FF][size=18px] The PICTUREBOX control can display GIF pictures and animations!
The method is: 1. Regard GIF animation as a media file;
        2. Use the playback function provided by the moving image playback library quartz.dll (under c:\windows\system32) provided by Windows to play;
        3. Play GIF animation in PICTUREBOX.

        I have done this, very convenient[/size]! [/color]
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list