Advertisement

900 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%!

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested VB Script Solutions: 1 - 25 of 2715
 
I'm a VBScript noob and could really use the collective's help.  I have a VBScript that I downloaded from this website that runs at user logon through Windows group policy.  Basically the scri...
Hi. Good Day to all. I have this problem. How can i do this in vbscript? I know this works in vb 6. On Error Goto ErrHandler  statement1 ' this is the line having an error  statement2. ...
Hi, I like to send email from a host that may not have SMTP service installed. I try the following sample code from Microsoft website and it does not work. I may miss some configuration here...
I have a storage device which has pointers to file on another server. There seems to be a problem: some pointers are linked to missing files. Is there a way to run a script (VB) and chec...
I found a VB script that allows me to get the service tag off of remote computers. However it doesn't work on all hardware, but I found another script that does work on all hardware, but this ...
Hey All, Look like am not getting right logic to strart the below scenario Okie here we go...  I have Folder A and Floder B,assume Folder A getting new files every one hour or may n...
Helllo All, I am new to VBscripting, and I would like to import all the contents of a CSV file into an existing spreadsheet.  I am using the existing spreadsheet as a formated template, and...
I'm using MS Excel 2003. I want to programatically add a drop down list to a cell.    DROP DOWN:  ("RED", "AMBER", "GREEN")    DROP DOWN:  ("HIGH", "MEDIUM", "LOW") I'm testing 2 condi...
Hi All, I have been working on a script that imports users from OUs in AD to Excel.  Got it working, it formats and all.  I do not know how I can get the script to delete Rows that contain Em...
Hello, I'd like to know if one can specify message box size and using vbscript and wsh for an Inputbox using the format InputBox("Available options are:" & VbCrLf & _ etc....... Thank y...
I have the following vbs script running as a logon script.  But everytime it runs, When the shortcut is created, it is created with the symbol of no icon.  How can I direct the icon location t...
I am trying to update a file on a bunch of systems with a vbscript, the script finds the severs but it deletes the contents of the file, I read in the file, close it then write to it but it ap...
Hi Need a script to find files containing "corp" in all or part of their name within c: and subfolders (recursive) and the delete them. I.E: file name corp.txt; corporate.exe; coporatio...
I have a spreadsheet in which I need to replace all special characters (e.g., replace ` with S, etc.). The code that I have written when executed with the rem'ed statement operates as expected...
hi, I have a file with extention .wri . I would like to automate open it in workpad and save it as .txt file. Please help. Thanks
I'm trying to automate Internet Explorer. The goal is to use IE to run a search on google for "wombat" then save the file on hard disk for later processing. I have a few syntax errors in my ...
Hi All - Another forum member (thanks P.K.) was kind enough to provide me with the following code.  As luck would have it, i have had to restructure my workbook and need to revise the code.  W...
Hello, Looking for a script to search in a particular folder (which has many subfolders) for media file types such as mp3, wmv etc.. and store the result on a text file. Thank you.
VBA Virgin seeks help with using KeyPress, KeyDown etc Could someone show me an Excel Macro that demonstrates KeyPress etc.? I want to write a script that allows me to specify "If "A" is pre...
Hello I need to use VBScript to create a new zip file and zip into it a load of photos. I am using Windows 2003 Server and do not wish to use winzip unless I have to.. Please advise.. ...
I'm trying to enable/disable network adapter in a script. The interpreter I'm using is Windows Script Host. I'm using the command Win32_NetworkAdapter.Enable()/Disable(): strComputer = "....
Hi, I have this csv file saved on the c drive as item.csv below is contents of the csv file: Item Report,,, id,merchant_date,item_id,amount 20070612005814,2007-06-12,18159182279601760430...
I am trying to query our LDAP server (not our AD controllers) from a vbscript.  We run an LDAP server in parallel with our Active Directory domain, so I would like to be able to query both sou...
I have two excel files.   BookA.xls and BookB.csv.  I would like to copy the entire sheet "Projects" which is in BookA.xls over to a new sheet in BookB.csv (which already exists and contains d...
I use a shutdown script and i have it set to delete the temp files and the temporary internet files, defrag, and run virus scan. The problem is, I just realized that it can't delete the intern...