Quantcast
Channel: VBForums - ASP, VB Script
Browsing all 688 articles
Browse latest View live
↧

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 Article


Probably 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 Article

Image may be NSFW.
Clik here to view.

Regular 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 Article

Button 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 Article


Cant 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 Article

Move 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 Article

File/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 Article


Is 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 Article


Object 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 Article

HTWOO 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 Article

Changing 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 Article


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 Article

Open 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 Article


VBScript 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 Article


Opening 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 Article

count 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 Article

Refresh 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
Browsing all 688 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>