Joseph
Wed Aug 24 06:38:10 CDT 2005
Got you, thanks a lot for your help.
"mr_unreliable" <kindlyReplyToNewsgroup@notmail.com> wrote in message
news:%23sGqSz$pFHA.2912@TK2MSFTNGP10.phx.gbl...
> Joseph, I was not suggesting that you "link" to a wsf file.
>
> I was suggesting that you CONVERT your vbs file to a wsf
> file, and then embed the text messages (in the different
> languages) as resourece in that SAME wsf file.
>
> Here is an intro to wsf files:
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsAdvantagesOfWs.asp
>
> Here is a discussion of the <resource> element of a wsf file:
>
>
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/wsh/htm/wsEleResource.asp
>
> And, you can find numerous examples of wsf files (and with
> <resource> elements) by searching the archives of this ng.
>
> cheers, jw
> ____________________________________________________________
>
> You got questions? WE GOT ANSWERS!!! ..(but,
> no guarantee the answers will be applicable to the questions)
>
>
> Joseph wrote:
>> Thank you very much for your help and suggestion.
>>
>> Unfortunately I have no idea how to link to theis WSF file from within
>> the VBS file though.
>>
>> Couldn't find anything useful on the net, so far.
>>
>> Thanks anyway.
>> "mr_unreliable" <kindlyReplyToNewsgroup@notmail.com> wrote in message
>> news:ebZCKqNpFHA.1948@TK2MSFTNGP12.phx.gbl...
>>
>>>hi Joseph,
>>>
>>>From what you want to do, I suggest you take a look at the "wsf"
>>>file format, and in particular at the <resource> capabilities of
>>>wsf files.
>>>
>>>The <resource> elements allow for inclusion of (text) data in the
>>>wsf file.
>>>
>>>In your case, you could include your different language messages
>>>in your script as resource elements:
>>>
>>> <resource id="english">hello</resource>
>>> <resource id="german">servus</resource>
>>> <resource id="french">bonjour</resource>
>>> <resource id="arabic">allah akbar</resource>
>>>
>>>In other words, you don't need another script. You can just
>>>wrap up the language-specific messages into one.
>>>
>>>cheers, jw
>>>____________________________________________________________
>>>
>>>You got questions? WE GOT ANSWERS!!! ..(but,
>>> no guarantee the answers will be applicable to the questions)
>>>
>>>
>>>
>>>
>>>Joseph wrote:
>>>
>>>>Passing & retrieving values between 2 vbs files? is it possible?
>>>>
>>>>I would like to get a main VBS file to detect the local language and
>>>>accordingly sends
>>>>a request to another VBS file that would contain various messages in
>>>>different languages.
>>>>
>>>>Would it be possible to have the main VBS file retrieve the answer given
>>>>by users
>>>>to the messages - Yes/No - from the (other) message.vbs file at all?
>>>>
>>>>If user clicks yes the main file continues if they click No it aborts?
>>>>
>>>>TIA
>>>>
>>>>Joseph
>>
>>