Questions tagged as 'vbscript'

2
answers

How to stream a file from my server?

People would like to know how I can make a shareable file type, for example: I have a file called bots.txt on my server, I would like my clients to edit it via the web getting saved on my server. The following is an example of Onedrive: File ....
asked by 16.04.2018 / 20:05
1
answer

Open Excel worksheet and copy data into VBS

Hello, I have a simple spreadsheet (3 cols and 2 rows) and I'm trying to create a script to open it, copy its data and insert it into another one. Path = "C:\Users\user_name\Documents\excell\planilha1.xlsx" Set objexl = CreateObject("Excel.app...
asked by 29.11.2018 / 18:17
1
answer

Cint Formatting in Classic ASP

Good afternoon. Guys, I'm having a doubt in formatting ... In my table, I have a column with nchar data (4) (before it was nvarchar (4), but gave in the same), in the form users choose in a select to be able to fill and send to the table. >...
asked by 08.08.2018 / 21:15
2
answers

Compile string as a code

I have a string in VBScript that I need to be executed as a code, how would I do it? I have read some articles about Eval and Execute Statement but I did not find a clear explanation or did not understand correctly ... For example: Dim...
asked by 30.07.2018 / 18:48
1
answer

Printing by VBS - Windows 2008 R2 Server

Hello I made an automatic print routine where a task that I created in windows server 2008 R2 calls a vbs script, where it is done an HTTP request by GET to a web service that assembles a PDF file in a folder. Hence the same script after moun...
asked by 06.11.2018 / 17:40
0
answers

End session on new ASP Classic tab

Is it possible to close the ASP session when opening a new tab? I'm trying to shut down the ASP session when the user opens another tab and tries to access the system, the idea is that the system can only be accessed by a tab, if the u...
asked by 14.09.2018 / 20:32
0
answers

List print server printers installed from a remote station

Work in a company that has the following structure: Each city in my state has a head office with a server that is also a print server, the printers are located here. I use the Systernals psexec together with a command to install the printe...
asked by 06.09.2018 / 20:15
0
answers

VBScript: Object does not support property or method - ObjFso.GetExtensionName

I'm creating a script to automate the copying of some files, to another location, in case it would be to copy to a location on the network. Below is an example or a minified version of the code, so to speak. The error is as follows: The object d...
asked by 28.07.2018 / 16:17
1
answer

Edit rows in vbscript

I am trying to learn VBS to solve a problem that happened when I tried to import a file on my system. The file has more than 4000 rows and all rows must be 240 characters long. (I do not have backup) Currently, the document is unconfigured li...
asked by 07.07.2018 / 19:03
1
answer

Doubt - Dependent Combobox with Classic ASP

I have two tables in SQL: A group that has two columns: id and group A product that has three columns: id, group, and product In the Products table, the "group" column is equivalent to the "id" column of the groups table. I'm tryi...
asked by 18.06.2018 / 22:05