Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Variable Sharing

Status
Not open for further replies.

pwillia3

Programmer
Apr 29, 2002
10
US
Hi all,
I would like to have my vbsript call a Java Applet and wait for it to finish. When it finishes I want to pop up a small results window with an image and three buttons. The address for the image I get from the Java Applet. I would like to know if I can share variables between windows. I guess I could pass the address of the image in URL but that won't work for the buttons. I need to know what button they pushed and then close the pop up. Here is the algorithm.

Call the applet

while NoAppletResponse
wend

Set msgWindow = window.open(...)

'Here is where I want to set some variables in the new pop up window
Set msgWindow.imgSrc = " yada"

PS I have heard of a document.all.variable but of course that won't work for me. I found a link that can do it in JavaScript but my applet will crash for some reason in JS. Here is the link to the JS site if that helps any:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top