Modify check if file exists script to include DateCreated property
Hey guys -- I have a script that currently checks a number of systems across based on a list of workstations (strFile) on the network for a file's existence (strTarget): Code: Option Explicit Dim...
View Article[RESOLVED] Robocopy Help needed
Could someone help me out with the best way to have a script that will allow me to enumerate a txt file for multiple source, target, log path and log names? Currently i run anywhere from 2 to 6...
View ArticleProbably a really simple one: objShell.run
Hi all Making the transition from batch to VB so apologies for what is certainly quite an easy one. I am trying to automate several tasks via a *vbs and the majority is working... however one thing is...
View ArticleRegular Expression in VBS
Hello All, I am new to VBS I have one query regarding the find and replace the entire text file.So kindly help me in this regard will be thankful to all the members. My Textfile contains the below...
View ArticleButton click
I'm writing some vbscript within html and having issues with a button. I have 3 buttons. One is called Enter which just more or less reloads the page. An exit button that goes back to the mainpage and...
View ArticleCant figure out the right code
Hello, I am trying to make a file protection system by using VB 2013. I made it so that you must login to the application on its start up to proceed. What I want to do is make it so that when something...
View ArticleMove Files Based On File Name
Hopefully someone can assist me in trying to script the ffollowing. I have a directory which is populated with files in the following format EUN_XXXXXX_FULL.zip EUN_XXXXXX_DELTA.zip XXXXX is a number...
View ArticleFile/Folder Deletes
Hi All, bit of a newbie struggling with a VB issue... I have a script that performs a few actions (registry entries, clearing down appdata paths) etc. howevver am struggling with one part. All my other...
View ArticleIs there maximum length of input to an InputBox?
I'm wondering if there is a limit to the number of characters (byte length or character count - either Len() or LenB() ), that can be typed or pasted INTO an InputBox. Sorry if this is extremely...
View ArticleObject is not a collection (WMI Service exec query)
I keep getting "object is not a collection" on line 64 For Each objComputer in colComputer I've tested it and it's happening on each line, even if I clear the error. Ideas? Code:...
View ArticleHTWOO for VBS to EXE - trouble installing?
I downloaded the zip file for HTWOO from Sourceforge, but all it had were 3 files ... a DLL, an .EXE, and a picture. The .EXE only brings up a "Compile" button that asks you to browse for a .JS file....
View ArticleChanging the contents of an ASP Panel
I have been working on this little problem for weeks and I am becoming highly frustrated. I have a panel on my page that I want to dynamically change. I use the following code (Just a snippet); Select...
View Article[RESOLVED] Need help with split function and results
I understand how the split function works but for some reason the results are not working in my DO UNTIL loop. What the code does below is ping a subnet via a range that the user puts into an inputbox...
View ArticleCustom Action in Mail : Need to make it working like "reply to all"
i created Tapping emails from excel template which call outlook function to send email. once resource recieve the email. Resource will see selection which is similar to voting buttons ex....
View ArticleOpen Crystal Report
I am writing a program in HTML with vbscript code included. I have a Crystal Report called Service Report.rpt that I want to open with a click of a button. I would also love to pass it variables into...
View ArticleVBScript runtime error: ActiveX component can't create object:...
I am attempting to write a script for an application called Syspro that uses VBScript as a means to extend the functionality of the product. The script I'm working on is supposed to take a report...
View Article[RESOLVED] Custom Action in Mail : Need to make it working like "reply to all"
i created Tapping emails from excel template which call outlook function to send email. once resource recieve the email. Resource will see selection which is similar to voting buttons ex....
View ArticleOpening and Saving new Excel xls file WITHOUT closing the current one
I need a way for a macro to open a new copy of a current Excel workbbok, do some adjustment to it and save it without closing the current active workbook. The application that I am using uses Excel...
View Articlecount numbers that are below average
I have the calculate average function in another private function, name is AvgScore(). In this step, i have to count how many items in the list box than are below the average of the number return from...
View ArticleRefresh Webpage to Avoid Timeout
Parameters: IE9 (not happy about it) Very little control over what I can and cannot do to my system. I must use a particular website regularly during the course of my 10-hour workday. However, there...
View Article