Microsoft
Software
Hardware
Network
Question : work with a file name that changes based on that days date
I need help with visual basic code for the following:
The file name is in this format: rmr121709.lmc
I need to select the file in a directory that matches that days date, then rename the file to oldfile.txt, run a script on the file then rename the file back to rmr & todays date & .lmc.
Answer : work with a file name that changes based on that days date
Dim fileName As String = "rmr" & DateTime.Today.ToString("M
Mddyy") & ".lmc"
File.Delete("oldfile.txt")
File.Move(fileName, "oldfile.txt")
' ... run script here
File.Move("oldfile.txt", fileName)
Random Solutions
Need some help with ComboBox and Column
Citrix SSL certificate import
While trying to logon to a remote server using Remote Desktop, I get the message "The local policy of this system does not permit you to logon interatively"
vb.net let user select start page
SP2 Install for SCCM
Urgent System.UnauthorizedAccessE<wbr />xception
Excel Instances- Refering to the Instance in VBA
MS Access application crashes unexpectedly
VB.Net - easy question - isnumeric for rowfilter column?
XBOX 360 - Salvageable Parts?