• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Convert an Array from VB Script to Java Script

 
Ranch Hand
Posts: 607
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A patch released by Mircosoft (http://support.microsoft.com/kb/976749/) has broken some functionality related to returning values from a model window using VBScript arrays. (The third scenario where return values are discussed)

The solution by Microsoft basically boils down to converting VBScript arrays to Javascript arrays (and they have given an example).

The problem is,

How do I convert an Array in VB script to Javascript Array? Is there anyway this can be done (passing it as a parameter, setting up a global variable?). I tried a few things but I don't really see how I could do this? Any pointers?

(I have posted the same question at http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/9cd062a1-34dd-4caa-9a77-f8a1e26031a3?prof=required&ppud=4
I'll keep both places updated in case I do get an answer. I did not want to crosspost but I assume that most people dealing with Java won't usually end up on the MSDN help site. )
 
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic