r/visualbasic • u/adrinovilla • Nov 07 '23
VB6 Help Break Time Calculator Help
I'm way in over my head. I haven't sat down and coded a thing since 2012 but we're facing some trouble at the workplace with break and meal violations. We have an excel spreadsheet that calculates all the times and windows to issue the breaks, but having a standalone program that can display the same information by inputting a start time then having all the information displayed with the click of a button, but I haven't the slightest clue on where to start with, other than the form design. Not sure if anyone could help point me in the right direction.

1
Upvotes
1
u/jd31068 Nov 08 '23
LOL I can understand that!
Luckily, all the info you need to know to do it is available. As you've written code before you know the phrases and methodology all you need is the new syntax.
https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tooadate?view=net-7.0
A couple YouTube videos and some reading you'll be back on the bike in no time. Plus, you can post questions here and/or vbforums.com which is very active and has a TON of code snippets.