Tagged Questions
-2
votes
0answers
35 views
Javascript or VBScript [closed]
My boss is deathly afraid of Mozilla and Apple, and insists that Firefox/Safari/Chrome will steal all of the private company information because they are "open sources".
He only uses ie6 and makes ...
-2
votes
2answers
80 views
how to maximize ,minimize and close button in popup window in html page? [closed]
I trying to make a popup window that has no title bar or maximum,minimum and close button.
any suggestion please post on this site.
0
votes
0answers
19 views
Looking for a dependency mapping tool for vbscript
I have a large website written in asp, vbscript, jquery, javascript, with some .net components added in as well (the site has been developed progressively over fifteen years and is a nightmare to try ...
0
votes
1answer
38 views
VBscript to click a Javascript link?
Can somebody please show me how to get my VBScript to click a this link in Javascript.
Below is the source code
<td colspan="2" align="right"><a ...
0
votes
0answers
26 views
Converting codes of VBScript into javascript and getting some error in one statement
I'm converting VBScript code into JavaScript, but am getting the following error at line 222:
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: ""]'
...
0
votes
2answers
84 views
How to call an asp function when a submit button is clicked?
I'm new to asp. I have a submit button called "search" in a file called results.asp. I just need to run an asp function called "searchRecords" in the same file as the search button when the button ...
0
votes
1answer
50 views
how to validate form and sending email
i have one form that validate form fields with javascript and sending email with VBscript. how ever validation works fine but email not sent to email account.
VBScript to sending email:
<%
posted ...
0
votes
1answer
67 views
VBScript/HTA Countdown, every hour
I am trying to achieve something simple, but can't get my head around it.
I have no code currently but I'm trying to create in VBScript to use within HTA a countdown timer that runs until XX:58 - so ...
0
votes
1answer
72 views
http status code 500 / webpage stops refreshing
WE have an intranet webpage which is used to display information to works on monitors around our site. This webpage is automatically refreshed every 15 seconds.
All this works find, until the ...
0
votes
0answers
163 views
Two-tiered JQuery Chained dropdown boxes
I'm attempting to get a 2 tiered dropdown box using the JQuery chain selector from:
(http://www.appelsiini.net/projects/chained)
also I've started using jsfiddle but I'm having issues getting the ...
0
votes
1answer
34 views
Print the image by URL from browser's scripts
I can use any browser on windows XP or 7. I can change any security options for my issue to be solved.
I need to print the contents of remote image (by its uri) from javascript or vbscript.
I have a ...
5
votes
1answer
255 views
wscript.shell works in javascript but not vbscript
My particular issue involves the WScript object with VBScript in a HTA.
<script language="VBScript">
Sub test()
Set objShell = CreateObject("WScript.Shell")
End Sub
...
2
votes
0answers
104 views
How to reference Photoshop Folder object in VBScript
Using Adobe PhotoShop CS4 scripting, JavaScript provides the File and Folder classes, but I do not see how I can use these classes from VBScript.
Currently I use the DoJavaScript function like this:
...
-6
votes
1answer
49 views
Convert VBScript decimal test to JavaScript [closed]
How would I write the following VBScript in JavaScript?
If InStr(((x-int(x))/.25),".") Then
wscript.echo "needs fixed"
End If
0
votes
0answers
78 views
Convert Vbscript function to JavaScript
I have few VbScript function which i wanted to change into Javascript.
Function FormatADateUsingLocale("1899/12/23")
Dim vbDate
vbDate = DateValue (aDate)
FormatADateUsingLocale = ...
0
votes
4answers
122 views
How to overcome ASCII sort order with regard to file names when using batch scripts?
I have a batch script which calls a jscript file (link below) to save excel workbook sheets as csv files.
http://gotochriswest.com/blog/2011/05/05/excel-batch-convert-xls-to-csv/
I then use batch ...
0
votes
1answer
86 views
Activex control for MS word Spell Checker
I am getting error when trying to call CreateObject("Word.Application"), its not able to create Word application object on win7 running inside IE9.0(compatible view checked)and i have MS office word ...
0
votes
0answers
59 views
Site doesn't recognize deleted cookies in Internet Explorer unless page is refreshed
I have a site that upon logout several things happen.
User is pointed to /logout.asp page that wipes out cookies
User is redirected back to home page -- Response.Redirect("/")
"You are logged in" ...
0
votes
0answers
63 views
Why certain vbscript statements breaks with IE9+ whereas it works well on quirks mode?
It is 'lu'ck replaced with 'su' when something goes wrong due to browser compatibility issues. Wondering why certain vbscript statements breaks in IE9+ whereas works well on quirks mode.
Following ...
0
votes
2answers
144 views
Get the Value data of a Value name within a registry KEY
I have the javascript below. I want to get the data of a value name in a particular registry key. For example, if the key is HKEY_LOCAL_MACHINE\\SOFTWARE\\VideoLAN\\VLC and the value name is ...
0
votes
1answer
75 views
How to make shorcuts on the current directory of a usb drive using vbscript?
I'm new to coding, and my objective today is to create a shortcut(s) on the current directory of a usb thumb/flash drive. I made some progress with the script, but I'm having problems with setting the ...
0
votes
1answer
181 views
How to translate wget command with custom header to vbscript or javascript?
For my html application I need to download JDK directly. This wget command seems to work for it
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" ...
-1
votes
2answers
149 views
Use jQuery to compare server time and current time
I'm trying to convert VBScript to Javascript, using jQuery to compare the server time and current time.
If Not IsDate(frmLogDetail.hidServerTime.value) Then
frmLogDetail.hidServerTime.value = Now
End ...
0
votes
3answers
143 views
Making input field visible by the onClick function of the previous input box only works once
I've built a form that has 16 input boxes for the user to type in a list of characteristics.
Now, I'm trying to make it so when you click in one of the text fields to type, the next field appears.
...
-1
votes
1answer
128 views
need to convert vbscript to javascript
i need to convert this vbscript code to javascript , i am using this not to display print dialogbox and to print using default printer, it is working properly in IE and i want to make it run in Fire ...
0
votes
3answers
86 views
Use javascript/jquery to check form for element
I am attempting to convert the VBScript on a page in an existing application to javascript. Javascript does not have the function Contains() as VBScript does. Is there an example of the Contains() ...
5
votes
1answer
673 views
Convert VBScript to Javascript
Busy debugging a strange issue relating to the way some Flash content communicates a user's progress from a SCORM module back to Moodle.
On IE 6, 7, 8, 9, Chrome and Firefox, everything works fine. ...
0
votes
0answers
87 views
Get cryptographic service provider value and make certificate signing request
I want to make a single page where onbody load, available cryptographic service providers (CSPs) on client computer will be shown in a list. When I will choose a CSP and give the key size, algorithm ...
0
votes
0answers
17 views
web automatic send calender
in my project, the web should auto send notification mail to user.
The mail should like a invite of calendar to remind user, so user could accept it in the outlook.
the mail template is done.
but I ...
0
votes
1answer
483 views
Classic ASP Request.form gets no update when using onsubmit with javascript
I have a simple form where I use Javascript to execute a search on a database.
<form id="searchForm" onsubmit="return searchTree(this);" method="post" class="form-poshytip">
<input ...