Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > VBScript
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 27th, 2005, 02:48 PM
Friend of Wrox
Join Date: Apr 2004
Location: Wausau, WI, USA.
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default Newbie needs popup help

First off, I must confess that I am a newbie to VBScript. I am a javascript guy, but have been given task to troubleshoot problem.

I have a page that has a .vbs include. The page has a link that calls a function from the .vbs file. Here is the link...

<a href='vbscript:LaunchVideo(%22na_pref%22)'>Customi zing Your Screen</a>

The LaunchVideo function is in the .vbs file and is as follows...

Dim o3web

Sub window_onload
  Set o3Web = CreateObject("triadweb.cls3Web")
End Sub

Sub window_unload
   Set o3Web = NOTHING
End Sub

Function LaunchVideo(sFile)
End Function

Here is my issue...I have a user that when he clicks this link, it opens up a video on his PC, but it is supposed to open it in its own window. His opens it up in the current window. So when he closes the window, instead of simply going back to the opener window, it closes the entire window.


Clay Hess
Clay Hess
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Datagrid popup taofeeklasisi Pro VB.NET 2002/2003 2 June 28th, 2010 11:52 AM
how to get value from popup tllcll JSP Basics 1 November 8th, 2005 02:41 AM
popup problem carro123 Javascript How-To 0 May 16th, 2005 01:46 PM
disabled popup renee_santoscoi Javascript How-To 5 November 11th, 2003 02:20 PM
problem with Popup tgopal Javascript 4 October 29th, 2003 08:27 AM

All times are GMT -4. The time now is 01:19 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.