Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 27th, 2005, 02:48 PM
Friend of Wrox
 
Join Date: Apr 2004
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")
  o3Web.Init()
End Sub

Sub window_unload
   Set o3Web = NOTHING
End Sub

Function LaunchVideo(sFile)
   o3Web.LaunchVideo(Cstr(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.

Thoughts?

Clay Hess
__________________
Clay Hess
Reply With Quote





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





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