Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 11
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
Vaxian (17)


Next birthdays
05/21 Dalus (34)
05/21 Kizmo (37)
05/22 Skynet (32)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Computer Science
« Previous topic | Next topic »   

VB6 Month Timer Help

Move Thread LAN_403
john bunsenburner
Wed Aug 12 2009, 08:23AM
john bunsenburner Registered Member #1937 Joined: Sun Jan 25 2009, 12:28PM
Location:
Posts: 53
Well really the only question is does it work so that I can move on with the rest of the program. I understand that your ideas are more efficient, but at the moment i fear they are way to complex for me. Perhaps I will rewrite the program, using better, more efficient and useful methods, most probalby i will. However right now I would simply like a program that works. I can go from there.
Back to top
Nicko
Wed Aug 12 2009, 08:58AM
Nicko Registered Member #1334 Joined: Tue Feb 19 2008, 04:37PM
Location: Nr. London, UK
Posts: 615
john bunsenburner wrote ...

Well really the only question is does it work so that I can move on with the rest of the program. I understand that your ideas are more efficient, but at the moment i fear they are way to complex for me. Perhaps I will rewrite the program, using better, more efficient and useful methods, most probalby i will. However right now I would simply like a program that works. I can go from there.
The only way to really learn a language is to have a purpose in using it. This is what you are doing, which is good - unless there is an endgame, the subject is simply too large - where do you start?

I would encourage you to think about what you want to do, avoid feature-creep, think of a reasonable approach, and get some examples off the net (e.g. Link2 ). An awful lot of example code out there is, unfortunately, complete rubbish, but every time you see something you don't understand. Look it up - try to understand the syntax, play with it. Once you start to get your head around the philosophy of the language, you will start to know what to expect, e.g. It is wholey reasonable that VB should provide a mechanism for initialising arrays at declaration (pretty much any language allows that), so dig around until either you find out how to do it, or a workround. The initial phase of learning can be tough & steep, but once you have the solid grounding, it's ever so much easier. Every subsequent language also becomes easier also... e.g. there are several variants of VB - the syntax of how you do certain statements will change, but the underlying rationale stays the same.

HTH
Back to top
john bunsenburner
Wed Aug 12 2009, 10:00AM
john bunsenburner Registered Member #1937 Joined: Sun Jan 25 2009, 12:28PM
Location:
Posts: 53
Thanks for that, i will do my best, i hope that i will stay intrested enough to keep on track until I master this, its really great and i enjoy it alot. I will finish this project as good as i can with the knowlage i have, to get a crude and un efficent version, then I will improve apon it, until it is really good. Then I will present it to you guys!
Back to top
Plasmaarc452
Tue Oct 06 2009, 09:20PM
Plasmaarc452 Registered Member #1394 Joined: Sun Mar 16 2008, 06:18PM
Location:
Posts: 111
I built a timer very similar to this in about 50 lines of code that counts down until it reaches 0 at which time it sounds a number of different alarm tones. The only thing is that I wrote it in vb.net 2008 and most of the functions won't work in vb6.

You should get rid of vb6 I mean it came out like a decade ago its time to take the step up to vb.net which boasts many more features. Its not just the ".net" part it allows multi threading in about 10 lines of code which is AWESOME imagine being able to run multiple things at the same time or have something running in the background without locking the gui until its done! Soon I am moving to QT creator and setting vb.net aside its nice and easy but not a real world language as you can make some really sweat stuff in QT creator + its cross platform linux, windows, and mac.

BTW you don't have to pay for vb.net as long as you're not trying to make a profit, vb.net express edition has many of the same features (its missing advanced software publishing stuff) but unless you're trying to make professional grade software you won't have a problem. The best part about it is that its free!
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.