Object not in collection
Hello, I am having a similar error and would like to ask why the script abandons and returns "Object not in collection" It's also writing out a text file. Code: str_boxname = WScript.Arguments( 0 )...
View Articlefunction in visual basic
Hi, i wrote a procedure and function. I transfer this function into procedure. If i try execute procedure i have an error: argument not optional on this function. Code: Public Function...
View ArticleDelete a file with a given extension
Hi All, Wondering if anyone can help, I'm attempting to delete a .ost file from a users roaming profile, I'm using the following code: Dim strComputer, oWSH, oWMI, oFSO, AppDataFolder strComputer = "."...
View ArticleTo abruptly end a vb script when user clicks on "Esc" button!!
Here is my code written:- Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run " " WScript.Sleep 5000 for i=1 to 20 WshShell.SendKeys "^{HOME}" WshShell.SendKeys "{END}" WScript.Sleep 50...
View ArticleUsing LDAP to move OU's in ADSI
Hello there. I have an ADSI server, and i have the following structure on it: OU Laboratory OU Blocked OU PC_1 OU PC_2 OU NOTBLOCKED OU PC_3 OU PC_4 The computers are OUs, with Computers inside OUS (in...
View ArticleASP to VB conversion for a web method
I need the following code converted to VB to work in a web method I am creating. I had tried a few different things with no success. Hoping someone might be able to help me out. Thanks! strSQL =...
View ArticleVBScript to VB.NET Conversion
Hello. I've been looking online all over for a VBScript to VB.NET converter, but of course, they are incompatible. Could someone rewrite these three into VB.NET for me, please? revert_version.vbs Code:...
View ArticleHow to read last two records in .txt file in VB?
Hi , I am very new to VB. Actually i am Mainframe resouce and i got an oppertunity to write hummingbird programming scrip which is equal to VB. As i have tight deadlines, i am not able to spend much...
View ArticleCreate a script to replace files in any install directory
Hi. Here is what I would like to do. I have a program that I want to make so that the pluggins I have for it will be installed after the program has been installed by using a winrar sfx. What the sfx...
View ArticleCreate a self install for vlc with pluggins
I am trying to write a script in vbscript to do the following. To start it must search for a file on the compter with the name "VLC.exe". Return the path of "VLC.exe". Return the path of the vbscript...
View ArticleWebsite Form
I'm not completely sure that this is the right forum to use, so I apologize if I'm in the wrong place. I was playing around with an existing webpage. I saved a copy of it before I made any changes....
View ArticleRead Registry String Value, Convert to Integer, Evaluate It
Hello all, I am REALLY GREEN to VBscripting. I've been working on this script for the last couple of days but cannot seem to get past being able to get the script to evaluate the information from the...
View ArticleAuto fill and submit info to website using Google Chrome.
Hi there I cant figure out for the life of me how to get this code to work in Google Chrome. Its an auto login for facebook and works flawlessly on Internet Explorer. Dim IE Set IE =...
View ArticleProblem with my auto form filler
I am making an auto form filler. I want it to select a radio button from two radio buttons. It is for gender selection for an account for this site. </div> <div class="formRow"> <label...
View ArticleProblem with trying to convert this vbscript into vb that I can use in Visual...
I'm trying to make an auto-form filler. I have a vbscript I am using that works, but I am having trouble converting it so I can use it in Visual Studio with a Visual Studio web browser instead of IE....
View ArticleVBS to upload a text file or its ingredients
hi, I want a vbs that silently(or with min. user interaction) uploads a certain .txt file(or what is in it) to some web host/address. i have very little knowledge of vbs. if there is anything else more...
View Articlescript to find a line in excel
Hello, I am new to VB and am struggling with an issue. I have a spreadsheet that has many rows that are related to a specific row above them. ie top row has a summary, following rows have details...
View Article[RESOLVED] PAD in vbscript
I hope someone can help me. I have been unable to find anything on the net anywhere about this. I had to create a script for a class. A lot of it was given to us to use and not necessarily explained....
View ArticleSearch and add data - Newbie help!
Complete newbie here so please be gentle :) See script below which extracts user data from a number of servers. The original array was path1, alt2, alt3 but I have now added the others up to alt8. The...
View ArticleURL encoding problem ?
Hi :wave: I am trying to test a download of a mp3 file from this URL: Code: http://promodj.com/download/4126268/Chris%20Parker%20-%20Life%20MIX%20%282011%20-%202013%29%20%28promodj.com%29.mp3 but I...
View Article