forms. I put a PictureBox control on a form, and loaded my GIF file in.I have two forms
Form 1 and Form 2 with Gif picture box. The gif form worked fine when button is clicked, till the time
it does not have any codes in button.In form 1 I have codes as below.
Private Sub btn1_Click(sender As System.Object, e As System.EventArgs) Handles btn1.Click Form2.show() End sub
It worked fine and the animated gif file worked.But when I added below code it stooped responding.
Private Sub btn1_Click(sender As System.Object, e As System.EventArgs) Handles btn1.Click Form2.show() Dim XlApp As New Excel.Application Dim Xlwb As Excel.Workbook XlApp Visibe = True xlwb = .Workbooks.open("D:\1-Test\Text.xlsx") .....conti. End sub End ClassThe code worked perfect for the excel but form2 is on screen which is not animating.I googled a lot for the reason and found it bacause of UI being busy in other works.
If you can help, I would be enormously grateful. And if I can make sense of the solution you offer, I may have to propose marriage. but we'll cross that bridge when we come to it.