Hi!!!
I have a "main" form named MuShop and I have another form called Entrada (The SplashScreen form) in this form i've a progressbar.
In MuShop Load event i'v this lines of code
In ByItem and in Search subs i'v loops and other code that increase the progressbar value(from Entrada).VB Code:
Me.Hide() Entrada.ApplicationTitle.Text = My.Application.Info.Title Entrada.Version.Text = System.String.Format(Entrada.Version.Text, My.Application.Info.Version.Major, My.Application.Info.Version.Minor) Entrada.Copyright.Text = My.Application.Info.Copyright Entrada.Show() ByItem_() Search_() Entrada.Close() Me.Show()
With this code the the progressbar reachs the value 100 but the textboxs are not showned correcty they stay like "invisible" (i can beyond the form). So i tried a diffenrent code:
With this code the textboxes stay fine but the progressbar stays like inactive as it wans't get orders althougth they are there.VB Code:
Me.Hide() Entrada.ApplicationTitle.Text = My.Application.Info.Title Entrada.Version.Text = System.String.Format(Entrada.Version.Text, My.Application.Info.Version.Major, My.Application.Info.Version.Minor) Entrada.Copyright.Text = My.Application.Info.Copyright Entrada.ShowDialog() Me.Dispose() ByItem_() Search_() Entrada.Close() Me.Show()
So anyone know a way to solve this?




Reply With Quote