473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

vbscript window.open type mismatch error

374 256MB
Hi again,

I am using the following code to open up a new window within my data access page:

Expand|Select|Wrap|Line Numbers
  1. Dim vServerfilter
  2. Dim vLocation
  3. vLocation = "CorrectiveAction.htm?serverfilter="
  4. vServerfilter = chr(34) & "CorrectiveID=" & MSODSC.CurrentSection.HTMLContainer.children("NCC_ID").value & chr(34)
  5. vLocation = vLocation & vServerfilter
  6. window.open(vLocation)
However I am using this method because I want to be able to set the window.open properties such as height,width,scrollbars etc.

I assumed I would just have to use something like the following:

Expand|Select|Wrap|Line Numbers
  1. window.open vLocation,, "height=380,width=585,status=yes,toolbar=no,menubar=no,location=no"
  2.  
But I get a type mismatch error on char 1 of the above code. Any ideas?
Jul 8 '10 #1
0 1245

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: Paul | last post by:
I link to a web site from an Excel spreadsheet. The page i link to is getCookie.asp which sets a cookie then returns back some html which opens a new window, to the same site but a different page...
1
by: toedipper | last post by:
Hello, Can someone kindly tell me what is wrong with this code? A simple page with a link that when clicked uses window.open but when I open it in IE6 and click on the link I get 'Line 12...
4
by: Dan Cruz | last post by:
Below are two files: Main.asp and Help.asp. I've stripped it down to the 'barest-of bones' so that anyone willing to help can duplicate the problem on their own systems. ***Main.asp*** looks...
8
by: alanstew | last post by:
With the body tag calling out 'window onload', a function with a 'window.open' fails at the 'window.open' line. If I cut out the body tag, the function executes as normal. At first I thought it...
8
by: Dominic Tocci | last post by:
I'm searching for a way to use window.open on my web page to open a window in firefox that allows the sidebars to work (bookmarks, history, etc). When I use the following: var...
1
by: kbarrios | last post by:
Hi, I am working with VBScript and I put a "window.open" inside a "form action post" due that I am handing a "checkbox" on it, but the "window.open" doesn't work: <FORM...
6
by: Jeff | last post by:
hey guys, this may not be the right place, but i wanted to give it a shot. i have an if statement, based on the data of a mssql db. if the if is .eof do nothing else
1
by: Weyus | last post by:
All, I have a tricky set of AJAX functionality that involves a popup window and in order to keep the synchronization issues straight, I need to be sure that I understand something about the...
5
by: sasimca007 | last post by:
Hello friends, In my project i am using a page common to all users. In that i have multiple text boxes. I wrote code like when user wants to edit the value already in that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.