Implications of AlternateLanguages
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Implications of AlternateLanguages
The list of alternate languages on my computer
includes VBScript.
I understand that my Rev prog can use scripts
written in VBScript.
Information on this subject seems sparse
Some ideas for getting more familiar with this
would be appreciated.
BTW should I assume that my users will have
VBScript or is it available for download in cases
where they don't already have it?
Are VBScript and VBA the same thing?
includes VBScript.
I understand that my Rev prog can use scripts
written in VBScript.
Information on this subject seems sparse
Some ideas for getting more familiar with this
would be appreciated.
BTW should I assume that my users will have
VBScript or is it available for download in cases
where they don't already have it?
Are VBScript and VBA the same thing?
Life is just a bowl of cherries.
VBScript (Visual Basic Script) is Microsoft's answer to AppleScript. It shares some functionality with VBA (Visual Basic for Applications) but not all features are available. VBScript is installed by default in Windows XP, I don't know about other versions of Windows.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Alternate Languages
BvG
Thanks for the info.
Any recommendations for reading on
the subject of using VBScript with Rev?
Thanks for the info.
Any recommendations for reading on
the subject of using VBScript with Rev?
Life is just a bowl of cherries.
Alternate Languages
I have this comment from my nephew
(brilliant structural engineer and programmer).
VBScript is a bugger in comparison to VBA.
VBScript is hit or miss interpreted language
with no syntax checking until it crashes.
Looks like (another) one to Apple?
(brilliant structural engineer and programmer).
VBScript is a bugger in comparison to VBA.
VBScript is hit or miss interpreted language
with no syntax checking until it crashes.
Looks like (another) one to Apple?
Life is just a bowl of cherries.
Your nephew is spot on. However, VBScript does have wide support and is in some cases the *only* way to achieve certain automation tasks in Windows environments. I'm able to automate MSOffice tasks (MSWord, PowerPoint) by spawning VBScripts directly from rev. Not much fun, but when you gotta you gotta.
Alternate Languages
mwieder
You seem to know something about this
alternate language thing so perhaps you
could tell me about VBA.
Is it VB with a different name?
Is it a cut-down VB?
Can I run an Excel sheet with
VBA macros from a Rev programme?
And if so any suggestions for reading
about how to do it?
And the likelyhood of converting the
Excel macros to a Rev prog?
You seem to know something about this
alternate language thing so perhaps you
could tell me about VBA.
Is it VB with a different name?
Is it a cut-down VB?
Can I run an Excel sheet with
VBA macros from a Rev programme?
And if so any suggestions for reading
about how to do it?
And the likelyhood of converting the
Excel macros to a Rev prog?
Life is just a bowl of cherries.
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Using VBScript you can most certainly steer Excel. In the past, we did that by writing out a VBScript to a temporary file, and then executing that using the 'shell' function. See Ken Ray's excellent tips for some inspiration: http://www.sonsothunder.com/devres/revo ... on.htm#iac
Of coutrse, Revolution 2.9 made this a lot easier - for more information on how Bryan McCormick uses the alternateLanguages feature, see this Rev Newsletter article: http://www.runrev.com/newsletter/june/i ... etter1.php
Hope this helped,
Jan Schenkel.
Of coutrse, Revolution 2.9 made this a lot easier - for more information on how Bryan McCormick uses the alternateLanguages feature, see this Rev Newsletter article: http://www.runrev.com/newsletter/june/i ... etter1.php
Hope this helped,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
Alternate Languages
Thanks Jan.
This is going to be fun -- exporting data
from Rev to a neural network spreadsheet.
This is going to be fun -- exporting data
from Rev to a neural network spreadsheet.
Life is just a bowl of cherries.
That does indeed sound like fun. Keep us posted on your progress.
FWIW, the best documentation I've found on VBScript is unfortunately from Microsoft.
http://www.microsoft.com/DOWNLOADS/deta ... laylang=en
and
http://www.microsoft.com/DOWNLOADS/deta ... laylang=en
and there's an IDE for doing VBScript work at
http://www.vbsedit.com/
FWIW, the best documentation I've found on VBScript is unfortunately from Microsoft.
http://www.microsoft.com/DOWNLOADS/deta ... laylang=en
and
http://www.microsoft.com/DOWNLOADS/deta ... laylang=en
and there's an IDE for doing VBScript work at
http://www.vbsedit.com/