stever3901 Posted October 19, 2006 Posted October 19, 2006 I have a .vbs script that I use when I deploy updates to determine who has run my updates and who hasn't. I just discovered AutoIt and want to throw out .VBS and start using only AU3 scripts. Is there a way to code this in an AutoIt script? Set rs = WScript.CreateObject("adodb.recordset") Set objWshNetwork = WScript.CreateObject("WScript.Network") UserName = objWshNetwork.UserName Set rs = WScript.CreateObject("adodb.recordset") dsn="DRIVER=Microsoft Access Driver (*.mdb); DBQ=N:\Steve\SoftwareTracking\SoftwareInstallTracker.mdb;" rs.Open "SoftwareTracking", dsn, 2, 3 rs.AddNew rs("UserName") = Username rs("RisaMasonry10") = "Yes" rs.Update rs.Close Thanks Steve
randallc Posted October 19, 2006 Posted October 19, 2006 Hi, Modify the code in Accesscom in my signature? Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now