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

VBscript save PDF-file

Hello, I'm looking for some kind of script that automatically saves a PDF-file when printing. Example: I open a PDF-file in my browser. I print this file and then automatically the script saves the...

View Article


WinHttpRequest - errors like 'method cannot be called until open/send has...

Hi, After both Opening and Sending a request, some of the propertes of a WinHttpRequest are displaying errors. Code: On Error Resume Next     Set objHTTP = CreateObject( "WinHttp.WinHttpRequest.5.1" )...

View Article


Pass all arguments into array VBS

0 I want to run jsx script and passing argument into array Code: Const psNeverShowDebugger = 1, psDebuggerOnError = 2, psBeforeRunning = 3 Dim appRef Set appRef = CreateObject("Photoshop.Application")...

View Article

Image may be NSFW.
Clik here to view.

Creating pdf from gridview with selected rows.

Hello guys, I need help for my webpage. I made a SQL database which include my data and I created 2 pages that I and my customer can look data in Gridview. One of my client asked me that she wants to...

View Article

Detecting and avoiding duplicate data stored in a loaded CSV

Morning VB community.. I am involved with a project where they have provided me a CSV file with a 3-column comma delimited data array.. It goes as follows: Machine Name, UserID, LabelID...

View Article


Searching Active Directory Sub OU's with script

I have an old vbs script that I'd like to reuse versus rewrite. It works, but it's not able to search sub OU's using LDAP search. It does use a csv as a validation script file, and that part works...

View Article

Help needed to automate console input

Hello, Below is my command to perform one activity. It accepts few arguments which is fine and no issues there. But when we run that command in cmd, it asks for password and confirm password. I want to...

View Article

Input a password to dialog box after launching app through VB script

I have written a script that launches an application from my desktop. I have no knowledge in scripting, but was able to google around and have it done. However I am stuck at a point where I am not able...

View Article


Arguments_are_of_the_wrong_type_are_out_of_acceptable_range_or_are_in_conflic...

I am getting Arguments_are_of_the_wrong_type_are_out_of_acceptable_range_or_are_in_conflict_with_one_another on rstUpload.Open strSQL, Application("gstrDbConnProp"), 1,3 and I have no idea why Set...

View Article


Want to take SAP application screenshots with Full screen

I am unable to take SAP application screenshots (full screen with Time Stamp) while SAP Scripting using vb script. Please help me soon.

View Article

Automate export of Excel file to XML file

Hi all, I have about 200 xlsx files that are exportable to XML. So I want to automate the process of export (not conversion but export). Here is a pseudo code : Code: For each xlsx file begin...

View Article

Help Having Script Export To EXCEL\TSV File Instead of TXT File

Hi, I have hacked together the below code to grab information from WMIC and currently have it export to a TXT document. The aim of the script is for users to run it and it will automatically capture...

View Article

How does VBS call ACTIVEX DLL generated by VB.NET

How does VBS call ACTIVEX DLL generated by VB.NET? How to deal with data type conversion? like sum(a,b),sum(33,44)=77 vbs: Code: dim obj,v obj=createobject(**) v=obj.sum(33,44) msgbox v'it's ok msgbox...

View Article


Can the address of a VB Function be used to execute the function in some way?

Hi, Outside of an Events context, can the address of a function obtained with GetRef(), be used in a variable which will later be used to execute the function? What I'm trying to accomplish is sending...

View Article

What does BTT mean?

Hi, When creating an object from a third party library, CreateObject returns a popup VBScript RunTime Error This operation is not supported with BTT enabled. What does 'BTT enabled' mean?

View Article


Error 91 VBscript parsing html text to excel

I tried to simulate a VB Script from this forum: Search a website with Excel data to extract results and then loop I got an error on this line: URL_Get_ABN_Query = entityRange.Offset(0, 1).Value2 the...

View Article

Fetch API

Hi all. I haven't even heard of the Fetch API until today, but I've been thinking about buying a paid service to allow one of my websites to send text messages. (I'm aware that I can email text...

View Article


Appending to an existing Excel spreadsheet, without Office or Excel installed

Hi, I'm using the Excel.Applications object in VBS, and everything is working perfectly. But I discovered that the server we will put the script on doesn't have Excel, and we're not allowed to install...

View Article

vb script to open file and execute query in excel

In the below open file.xlsx, let the odbc query execute, save, and close. The code does execute but there will always only be one file.xlsx and a loop is currently running on a directory, that I can...

View Article

Convert EDIFACT file to PDF

Hi , Does anybody have any VBS code to convert EDI files syntax EDIFACT to PDF ? Thanks.

View Article
Browsing all 688 articles
Browse latest View live


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