Link to home
Create AccountLog in
Avatar of xodos
xodos

asked on

rename a file in visual basic as the date now

dear sir ,
i have this code

Form1.Visible = False
timeNow = Date
timeNow = Replace(timeNow, ":", "", , , vbBinaryCompare) & ".izq"
Name "gas.exe" As timeNow
Unload Me


i want to make it on datenow and not timenow , and without spaces in the filename
thanks
this is a vb6 code
ASKER CERTIFIED SOLUTION
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer