ASP and Hard Wired Cable Modems
DO cable modems process ASP internally, or do they first make a call to the server, and the server is the one actually responding? For example: 1) when I enter 192.168.100.1 when the modem is UP, I am...
View ArticleHow to increase decimal places in this function (Excel)
Hi all, I found this function to convert Decimal Degrees to Degrees/Minutes/Seconds at this website (https://docs.microsoft.com/en-US/off...seconds-angles) Code: Function Convert_Degree(Decimal_Deg) As...
View ArticleRemoving Facebook tags from querystring
Hi...I had some VB stuff written for me ages ago. All works fine. But now, when pages from this site are put on Facebook, the Facebook links always append "?fbclid=" and then a massive long string. So...
View ArticleError -2147467259 (0x80004005) with dots in query string
I have some VBScript that passes directory names via a querystring in the browser. This works great except if the folder has dots in the name. Specifically, this folder has three dots in the middle of...
View ArticleASP crash - AD query and problem with AD profiles missing "initials"
Hi - I'm running into trouble with my AD query when an AD profile lacks a middle initial. Here's the vbscript snippet strRSUser = "SELECT...
View ArticleFilter Grid View with 2 drop down menus
I have a simple gridview that needs to shows the facilities in our system. The Gridview also needs to be filtered by two dropdown menus. Menu 1: facility typeMenu 2: facility status I can get the...
View ArticleRequest.Server variables blank for classic ASP
We are running a classic ASP app, and the upgrade to IIS 8.5 caused our Request.Server variables to be blank: AUTH_USER LOGON_USER Windows Auth is the default authentication type, and server admin has...
View ArticleVb script Delete Empty Rows Excel
Need some help writing a VB script that gets the used range within excel then loops through each row within the used range and if the whole row is empty it deletes that row in excel. The following code...
View ArticleFrustrating recordset close error
I have a very simple file "closeconnection-process.asp" that is inserted using #include, to close the recordset (rs), close the connection (Conn) and then empty to free up space. <% rs.close...
View ArticleRecordset closure error.
This is the 2nd time I have posted, not sure what happened to the first one? I have a very simple file "closeconnection-process.asp. I insert it using #include and it is to close the recordset (rs) and...
View Articleneed to clean up a filesystem
Greetings, I am currently writing a tool to be used in my department. It will be running on up to 70 devices at the same time. Since we're working on customers system we aren't allowed to use...
View Articleuser choose option
Hi In a vb script I want to let the user choose between 4 options and the selected option should set a variable. How can I do that? Thank you
View ArticleRun VBScript and Batch from hta page - issue with working directory
Hi I have a hta page from where I'd like to run some scripts in the folder "files". It is workind for simple scripts (see Button 1) but not for more complexe scripts (Button 2, 3, 4). It says path not...
View ArticleHow to copy a file from a share folder with credentials, WITHOUT mapping a...
Hi, I'm currently mapping the share folder to a J: drive in a batch file which calls then VBScript. Then FileSystemObject.CopyFile from a subfolder on that J: drive. But I'd like to skip the mapping to...
View ArticleCan someone help me to convert this .bat code into VBScript ?
Can someone help me to convert this .bat code into VBScript ? Code: :: Variables set RULE_NAME=PDF set PROGRAM=C:\Program Files\PDF\pdf.exe netsh advfirewall firewall add rule name="%RULE_NAME%" dir=in...
View ArticleDisplay progress bar in while script is running
Hi all, I have a vbscript that takes some time to run and I have been using the code attached to display a progress bar using IE. Given that IE will be decommissioned, I'm looking for an alternative....
View ArticleDisplay progress bar in while script is running
Hi all, I am currently using IE to display a progress bar while my VB script is running as attached. Now that IE will be decommissioned I'm looking for alternative implementations, any suggestions?...
View ArticleHow to profile VBScript (wscript/cscript) execution?
Have a nice day! I'm looking for a solution to profile Windows VBScript (wscript/cscript) execution. I need to log calls to functions like CreateObject, Eval, etc. At this moment I have come up with 3...
View ArticleHTA App Dropdown Menu
Hello everyone! I'm new to VBScript. I want to make an HTA application, an application that contains a dropdown menu. Depending on what I choose in the first menu, I will be shown options in the second...
View ArticleVBS using CSCRIPT ---- What is the Invalid Character?
Option Explicit Dim i For i=1 to 5 Wscript.Echo i Next i >cscript.exe SR-VBSTEST.vbs Invalid character Microsoft VBScript compilation error: Invalid character
View Article