assigning some elements in an array to another array... Please Help
I'm hoping this is a stupid question that can be answered rather quickly and easily. So here what I'm trying to do. I want to take a 1 dimensional array that is already full and pass it through a for...
View Articleweird characters showing up in html
I have a project that gets input from an xml file that we extract information from select nodes. One of the does we take the info and just output in a <pre> tag since it's already formated from...
View ArticleNew to VB and need a professionals assistance, please
Alright, I'll start at the beginning. I work for a small company, that uses software that is very poorly developed. I'm attempting to improve the workflow and capabilities of the system via VBS (and...
View Articleclassic asp to .NET
So I am involved in doing a MASSIVE conversion from classic asp with embedded SQL to ASP.NET, C# and SPROCS. the code is massive and badly written as that is how things were done "back then" and other...
View Article[RESOLVED] visual basic script
Hi, can somone help me? I have script and i dont know what is wrong: Function LastRow() Dim c As Object With Sheets(1).Range("A:A") Set c = .Find(What:="*", LookIn:=xlValues, Lookat:=xlPart,...
View Articleassigning some elements in an array to another array... Please Help
I'm hoping this is a stupid question that can be answered rather quickly and easily. So here what I'm trying to do. I want to take a 1 dimensional array that is already full and pass it through a for...
View ArticleObject 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 Article