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
Microsoft Access Module - Append table to another
Using ADO in VBA for Query with multiple parameters
Convienent way to plot addresses on a map
Outlook Anywhere - Exchange 2007 (SBS 2008) and Outlook 2003 / 2007
macro question which columns is the data changing
Table design to enforce interesting constraint logic
Conditional Formatting Wildcard
Web Browsers crash XP
I need to refresh the form record when subform record is clicked on.
calendar control in reports using reporting services (SQL Server2005)