Script to test the date stamp of a file and email when date changes
Hi Clever Ones! I am looking at how to check the date stamp of one file in one directory on a server. When the file changes (new date stamp) I would like to automate a process that would email this...
View ArticleRECORDSET,open where multiple clauses
HI I am having issue with recordset when my where clause has more than 1 field 'objRecordSet.Open "SELECT SalesOrder,SalesOrderLine FROM tbl_SorDetail_OtifAudit WHERE SalesOrder = '" &...
View ArticleSendKeys "+" for opening PDF
Hi guys, I have an issue with opening pdf documents. I have an tool, with an button when the button is pressed an vbs script run. In the script i have the following for opening pdf docs: Case "PDF" Set...
View ArticleFolder Collection Question
Is there a way to parse a share or workstation and only collect specific folder names in VB? I had thought i would of been able to do it in robocopy, the same way you include files option, but it does...
View ArticleScript Error: Source: Microsoft VBScript runtime error - Error: 800A000D
Hello, New to the forum. I'm trying to set up a script that blocks country by code for my email server. Here is the code: Code: Sub OnClientConnect(oClient) Const BlackList="AR VN CN AF AL DZ AM AU...
View ArticleHow to embed VBSCRIPT inside HTML
I have a working VBScript that launches/open calendar invite with prepopulated recipient. I need to add a dropdown list for users to pick a selection, prepopulated recipient would be filled based on...
View ArticleHow to create outlook meeting invite with shared calendar?
I have a vbscript that launches a meeting invite with some emails using the default calendar. Now I need to update the script to launch a meeting invite using shared calendar (SharedCalendar). Code:...
View ArticleVB Script Outlook Calendar on how to display a meeting invite using specific...
I have a vbscript that launches a meeting invite with some emails using the default calendar. I need to update the script to display the meeting invite using a specific calendar which resides on the...
View ArticleVBS to start batch (cmd) with title
Hi Folks - Can anyone help me write a vbs script to start a batch script WITH a title? Thanks!!!
View ArticleVB Script for posting something in Twitch Chat
Hi Everyone. Firstly let me apologise if I have posted this question in the wrong forum / sub forum. If I have then please either move it or point me in the right direction, that would be greatly...
View Articleplease help
hello brothers, I have this VBScript program: Code: Set WSHShell = Wscript.CreateObject("WScript.Shell") Set FSO = Wscript.CreateObject("Scripting.FileSystemObject") Set EnvVar =...
View ArticleSkip a line if it gets stuck
Hi, I am using VB script to automize an optimization, the problem is that it sometimes get stuck when running the analysis. My question is if there is a way for the code to "move on" after 15 minutes...
View ArticleHow to secure DB connection in VB script?
Hi All, good morning. we have Html page to get data from user and stored into DB. we are using VB script to store values into DB. is their any way to secure connection string in HTML? Thanks &...
View ArticleDetermine current folder for a shortcut used to start a script?
I've searched for a bit, and I fear I can't do what I'd like to... Namely, I want to create a script and keep only one copy of that script. I can determine the folder where that script resides....
View Articleerror 13:mismatch line 1....
Im very new to VB, and in this program the goal was to output a number for each letter that was inputed in It works fine as a VBs but when it was inside the Scorbase, this error came up -13, type...
View ArticleVBscript if condition with count.row
Hello everybody, I would like to create a VBS with the following condition. I have to count the filtered rows in sheet ZMMLTA and If count.rows is less than 1, skip If count.rows is more than 2, do the...
View ArticleIssue with amending HKLM Value
Good afternoon I have the below script which should amend values in HKLM it should read the value from strvaluename and then this is the oldvalue, then set a new string value which prefixes with the...
View ArticleVBScript with if condition
I am new in VBScript and I have some difficulties in find a code that works correctly. I would like to set a condition with count the rows in a excel file and do a transaction if number of lines il...
View ArticleRun Time Error 1044
I am trying to run the code below but I keep getting a runtime error 1044. I did some research and some people say its because of internet connection but I can't seem to solve the issue. Any help is...
View ArticleTrying to automate an Excel procedure
My knowledge of VB script is exceptional poor: I am using software that allows the use of VB Script. The scenario: I have identified a list of 461 items. The number of items will change every month....
View Article