free

News

collapse

User Info

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

* Recent Posts

Re: Argonath RPG Official Clan: Svensson - Est. 2007 by Mr. Goobii
[August 20, 2025, 03:12:11 pm]


Re: The Soprano Family | Royal Loyalty by Dean.
[August 03, 2025, 11:23:58 pm]


Re: Rest in peace by Dean.
[August 03, 2025, 11:23:30 pm]


Re: Stopping by by Dean.
[August 03, 2025, 11:22:35 pm]


Re: ordinary day in VCMP by Denlow
[July 28, 2025, 04:58:56 pm]


Re: The Soprano Family | Royal Loyalty by .Mario.
[July 26, 2025, 03:05:43 pm]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by FrankCivello
[July 17, 2025, 12:50:43 am]


NOTICE OF PARKING ENFORCEMENT CHANGES by Huntsman
[June 19, 2025, 05:22:50 pm]


Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]

* Who's Online

  • Dot Guests: 68
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

September 2025
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 29 30

Need some help with Microsoft Visual Basic 2010

Guest · 376

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
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • 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-2025, SimplePortal