|
|
#1 (permalink) |
|
Godlike Member
Join Date: Jul 2006
Location: Sydney
Posts: 8,782
Rep Power: 11
|
Hey if anyone knows anything about VB6 could you please let me know. I'm making a program for a school assignment but if all goes well i might release it. (it's for counter strike)
I'll give you more info once i know who can help me. This may be simple VB6 so yeah. I'm noobish and can't find any good tutorials. |
|
|
|
|
|
|
|
#5 (permalink) |
|
Monster Member
|
Hey Chem, make me a program that a business could use for their employees to fill in their shift details. So that at the end of a shift, they select whether they are casual, part-time, full-time, then input hours done and then apply time and a half and double time for casuals if needed and overtime for the part-time and full-time employees if needed. This all has to be confirmed through the use of a password that managers will have, so before this information can be saved a password needs to be inputted. Also there should be a button that says "I am finished for the week" or some shiz, so that all their information (hours worked at normal rate, hours worked at time and a half, total hours, total cash earnt, date, etc etc) can be outputted onto a form.
Im bad at VB Thanks in advance, yours truly,Smith EDIT: Ohh and somewhere there needs to be details saved off employees, and managers, so that there can be a drop-down menu when first using to select who you are/your id number before you can start. and of course a manager file so that you can save passwords in their for different managers. |
|
|
|
|
|
#6 (permalink) | |
|
Pro Member
Join Date: Jun 2006
Age: 19
Posts: 5,593
Rep Power: 8
|
Quote:
chem
__________________
There are no stupid questions... but there are alot of inquisitive idiots. - |
|
|
|
|
|
|
#8 (permalink) |
|
Monster Member
|
Yeah I'm pretty good with VB6. Give me some more information and I'll let you know what I can do, and in reply to Smith, same as Chemical Nova, how much? =P.
Maybe do it through www.rentacoder.com and I'll consider it as well.
__________________
AMD 5000+BE@3.21GHZ//2GB OCZREAPER//ATI HD3870@850/1301 ANTEC 900//RAZER TARANTULA//TT TAI-CHI M2//SS 5HV2 XFI #GotGames #MelbCSS #s2.au #Reality.Gaming #TRAiNWRECK melb.lan.net.invite - kto_-[1b] |
|
|
|
|
|
#9 (permalink) |
|
Monster Member
Join Date: Dec 2006
Location: the immunity syndicate
Age: 30
Posts: 2,998
Rep Power: 5
|
i dont know how similar VB6 is to the .net, but theres a way to create a .txt file, save and recall upon typing something.
its probably a lot more basic than what you are looking for but its somewhere. http://www.homeandlearn.co.uk/NET/vbNet.html |
|
|
|
|
|
#10 (permalink) |
|
Monster Member
|
Here is just very basic reading and saving text files.
Code:
Dim iFileNumber As Integer
Dim sAns As String
Dim x As Long
Public Function ReadFileContents(FileFullPath As String) As _
String
'sfilecontents = ReadFileContents("C:\chiko.txt") EXAMPLE
If Dir(FileFullPath) = "" Then Exit Function
On Error GoTo ErrorHandler
iFileNumber = FreeFile
Open FileFullPath For Input As #iFileNumber
sAns = Input(LOF(iFileNumber), #iFileNumber)
ReadFileContents = sAns
ErrorHandler:
Close #iFileNumber
End Function
Public Function SaveTextToFile(FileFullPath As String, _
sText As String, Optional Overwrite As Boolean = False) As _
Boolean
'SaveTextToFile "C:\My Documents\MyFile.txt", "Hello There" EXAMPLE
On Error GoTo ErrorHandler
Dim iFileNumber As Integer
iFileNumber = FreeFile
If Overwrite Then
Open FileFullPath For Output As #iFileNumber
Else
Open FileFullPath For Append As #iFileNumber
End If
Print #iFileNumber, sText
SaveTextToFile = True
ErrorHandler:
Close #iFileNumber
End Function
__________________
AMD 5000+BE@3.21GHZ//2GB OCZREAPER//ATI HD3870@850/1301 ANTEC 900//RAZER TARANTULA//TT TAI-CHI M2//SS 5HV2 XFI #GotGames #MelbCSS #s2.au #Reality.Gaming #TRAiNWRECK melb.lan.net.invite - kto_-[1b] |
|
|
|
|
|
#11 (permalink) |
|
Monster Member
Join Date: Nov 2006
Location: Merrylands 2160
Age: 21
Posts: 3,687
Rep Power: 6
|
its funny, ive done vb6, .net, asp.net, java all at tafe in software dev, now im at uni and im doing xds modula 2...Ive made somethign similar to what smith was asking, il see if i can dig it up and of course, il help out with anything you guys need.
While im here, does anyone know how to disable the vb.net just in time debugger, its pretty dam annoying when css crashes and .net becomes the hero and tries to debug the game. |
|
|
|
|
|
#13 (permalink) | |
|
Pro Member
Join Date: Jun 2006
Age: 19
Posts: 5,593
Rep Power: 8
|
Quote:
chem
__________________
There are no stupid questions... but there are alot of inquisitive idiots. - |
|
|
|
|



Thanks in advance, yours truly,





