Questions tagged as 'vbscript'

1
answer

Separate all items from a string

I'm trying to make a save/load system, I'm stuck in the part of loading game cards, which are numbered for example: 1 , 2 , < strong> 3 . The string contains the card numbers among other information: Nome|1,2,3,4,5,6,7,8,9|5...
asked by 29.09.2017 / 19:36
1
answer

Make a replace case insensitive in Classic ASP (VBScript)

I have the string below: texto = "Meu texto" I would like to make a replace in the word "My" and return it in bold. The result would look like this: My text However, replace is case sensitive, that is, if I use replace(texto,"meu...
asked by 31.07.2017 / 04:03
1
answer

Passing Boarding with Double VBS

How to pass a parameter that has double quotation marks in vbs Atalho.Arguments = ""args.ext""     
asked by 13.09.2017 / 16:18
0
answers

Adapt Script that copies specific files and renames them (VBS)

Well I already have a script that does the reading and copying of the files, however, I need to refine it a bit more, for example: CURRENTLY: I get the list of file names: AAAAA1.jpg AAAAA2.jpg AAAAA3.jpg I need it to be:...
asked by 27.11.2018 / 23:55
2
answers

problems in insert in classic asp (replace)

People, in my database, the column is set to numeric (18,2) Then I have a field in a form that the person types the value and it goes to my table. insert looks like this: entrada = Replace(Request.form("entrada"),",",".")...
asked by 26.09.2018 / 17:29
1
answer

Return single message after 5 command repetitions

I have a very simple code that checks if the user exists and returns a "Guaranteed Access" or "Access Denied" message. The problem is that I need to call this Sub 5 times, which will return 5 MsgBox . How could I return a unique MsgBox...
asked by 23.08.2018 / 14:53
1
answer

Date and time format in xls / csv conversion

I have a code that works, however I need help in the format of the date. In the conversion from xls to csv converts the date to mm / dd / yyyy and time in h: mm and I wanted it to be dd-mm-yyyy and the time in hh: mm. What do I need in my code?...
asked by 19.06.2018 / 23:37
1
answer

Script to identify 2 active services, drop the 2 and upload only 1

Next, I have a service here in my environment that runs on some machines, however this service can not be duplicated (they can not have 2 active services at the same time) I would like to know if it is possible to write a script that checks if i...
asked by 16.04.2018 / 21:13
1
answer

How to read XML web service in VB6?

I've got several examples on the web that worked, but I need to get the values from this file that follows the link below.    link How would I do this with VB6 ?     
asked by 22.09.2017 / 17:25
2
answers

Create and manipulate array with asp classic

How to create, feed and read array with key and value using Asp Classic? I need to do something like this. $registro[] = array( "codigo"=> "$v", "municipio"=> "$v->municipio", "Rua"=> "$...
asked by 14.12.2017 / 21:14