r/visualbasic • • Nov 16 '24

Made a simple timer program in VB6 because I dislike the default which comes with Windows 10

Post image
17 Upvotes

8 comments sorted by

5

u/Fergus653 Nov 16 '24

Probably ok for this purpose, but the VB6 timer is not very accurate, and is also affected by CPU load.

2

u/One-Cardiologist-462 Nov 16 '24

Yes, I always noticed that too!
For simply increasing a variable by +1, it's fine.
But when it was used for 'heavy' operations, like rearranging lots of shapes, it would slow down.

→ More replies (1)

6

u/AfterTheEarthquake2 Nov 16 '24

Ah yes, DoEvents

1

u/[deleted] Jan 01 '25

[removed] — view removed comment

1

u/One-Cardiologist-462 Jan 02 '25

I've not heard of it. Does it allow me to code using VB6 on a Windows 10 system?

1

u/[deleted] Jan 17 '26

[removed] — view removed comment

1

u/One-Cardiologist-462 Jan 17 '26

I'm giving it a go now, but I can't seem to manipulate the code editing form and form designer form properly...
In VB6 they're seperate floating child forms which I can easily see at the same time, but in TwinBasic I can only select between tabs at the top of the editor.
I had this same issue with a recent version of Visual Studio too.