How to show Splash Screen while loading another form

  • Thread starter Thread starter Mattia Fanti
  • Start date Start date
M

Mattia Fanti

Guest
Hi everybody,

I'm trying to create a splash screen with a form, picturebox which is being populated from my.resources .

At every time I open the software, It will pick a random .gif called "load + x"

My problem is that I want to prevent a freeze .gif animation.

I'm trying to use a Async task with a Task.Delay in Task.Run, like suggested from a Moderator:

Gith Rep

But unfortunately I can't see any changin and the .gif is not fully animated.

I did read on Same problem topic but I got problems on knowing where should I use this

PictureBox1.Image = DirectCast(My.Resources.ResourceManager.GetObject("load" & r.Next(1, 12)), Image)


Can someone help me? Thanks

Continue reading...
 
Back
Top