Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How To Make a Pause Funtion in VB.6.0 By Gym_

Loading...

Sign in or sign up now!
8,853
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 18, 2008

Gymjunnky.com brings to you How to make a Pause Funtion in
My name Gym_ and in this qwick toturail im going to show yas how to make a pause funtion in vb 6.0
Ok 1st thing we need to do is open a new project and then were going to add our pause sub
Were just simpley going to right
Sub Pause bracket interval bracke
Then crurrent = timer do while timer minies current grater then val brackes interval doevents loop end sub
Then to show ya that it works we will make a button and then a label and make the label text nice and big so we can see it aline to center change the BG to grey again make it ezzer to see
Then will just right in this very simple sub of label12.capation = pause1 dont forget the qwotations becose its not calling I funtion its priting a caption then to call the pase we tipe in
Pause bracks 3 secends and becoise its seceonds we use the hash simbel like so then end breckts
End then we will just copy and past that again sevral times and then fix it up liek this and then change the caption to pause 1 2 3 4
Ok now let run the program ther ya go..
No for this project I made the the pause funtion privet insted of making it public
What dose that meen I hear you say,,,
Ok well in this demo I put this funtion in the form that it was to be use in so its privet,, only good for this form and no others
So lets say that were making a progam with a heap of forms
So lets do that add a heap of forms
we dont need to retipe or copy and past this pause funtion into every form what we do is make it public by makign a mudul like so and then copy and pasing the code in there
Ok now every form that we make from now on can acess that sub and then all we need to do is tipe in pause bracket amount of time we wna tthe program paused for end brack
Now comes the disclimer by no meens this is the best way to do a pause funtion as this prob uses resorses and may be slitly more inacarate was of keeping time then other metherds out ther..
But in this and all my tutorils im just here to show u the qwicket simplet metherd of geting somthign done that works.. later on when you wnat to get more advanced you can then look into other metherds of makign a pause for your aplacations,,
Ok well hope ya found this usfull if you need any help with learning to program chack out my website at gymmjunky .com and in ther ull find 100s of programs and that everthing is freeware ull also find all my toturails as well as my adminerstrs totrails as well as source codes for heaps of projects and of cource our help forums we u can jump in and ask for advice how to do your project or if your stuck on somthing,, my name is gym and you have been watching Learn basic VB 6.0
Till next time Check yas

  • likes, 4 dislikes

Link to this comment:

Share to:
see all

All Comments (40)

Sign In or Sign Up now to post a comment!
  • How we can do this without a command button or any triger

    If we want a pause in the form, lets say waiting a video to finish

  • i don't care if this is French all i need is the source code :D

  • @makeawish12398 cheer up.

  • u dont even sound french

  • very nice tutorial thank you

  • hi how to make it with miliseconds

  • I laughed at that too lmao.

  • the guys who said its french aren't patient

  • shit happens, HAHAHAHAHAHHA

  • omfg add english subtitles!! not all of us speak french!!

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more