free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 120
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

February 2026
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
[8] 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28

Need some help with Microsoft Visual Basic 2010

Guest · 417

0 Members and 1 Guest are viewing this topic.

speedboy

  • Guest
on: November 21, 2010, 02:05:31 pm
Ok heres my problem. Im beginner in coding etc and i already got this:

Login appears. You login with username and password. Then Login disapears and a window with a progressbar, a checkbox and a button appears. I check the checkbox and click the button. The progressbar is gettung full. Now, I want to do this: Progressbar is full and the window  closes. and automaticlly a new window pops up. how to do it ?



Offline DellStorm

  • When all the good players are gone. What does that leave?
  • Maiar
  • *****
    • Posts: 1032
  • Don't invest more in a sunk cost. Lesson Learned
  • With us since: 16/10/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Rock Star Property
Reply #1 on: November 22, 2010, 04:51:21 am
Hi Speedboy,

I am not sure where your problem lies, but I will try my best to help.

The way I would do the procedure is as follows:

(.... Up to the Progress Bar Finish)
I imagine your progress bar is either a timer or is just an auto bar? you may wish to remove the progress bar, it uses a lot of resources, athough it does look good for GUI.

after this you would need to create a form (a new form) If you have not done already, the window will not appear on its own. After you have created the new form, you can link it via code.

The code would be something like (at the end of the progress bar after it fills it or after the timeout) start.newform (or whatever the new window form name is called), this would automatically set it to the new form after login

Then use me.hide or me.close (or both if you prefer).

Hope this helps!

Happy Coding

Regards,

DellStorm



When adding value gets you worse off than you were before, due to a hidden agenda against you, its time to quit. Then remember why you quit in the first place.


 


free
SimplePortal 2.3.7 © 2008-2026, SimplePortal