BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to host a scripting language like VBA in a Delphi app?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Andrew Fiddian-Green
Guest





PostPosted: Fri Aug 19, 2005 3:02 pm    Post subject: How to host a scripting language like VBA in a Delphi app? Reply with quote



In MS Office products (such as Word or Excel), users can create their own
VBA macros in documents and use them to automate commands either within the
current application/document, or (through COM automation interfaces) such
macros can also automate commands in other applications (e.g. a macro
running in a Word document can automate commands in an instance of Excel).

Question: did anyone try to build such a macro scripting language into a
Delphi application? -- And if so, can they please give any tips?

Regards
AndrewFG


Back to top
Mike Shkolnik
Guest





PostPosted: Fri Aug 19, 2005 9:24 pm    Post subject: Re: How to host a scripting language like VBA in a Delphi ap Reply with quote



See the freeware wrapper for Delphi at http://www.scalabium.com/smscript.htm

--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com

"Andrew Fiddian-Green" <nn@dd> wrote

Quote:
In MS Office products (such as Word or Excel), users can create their own
VBA macros in documents and use them to automate commands either within
the
current application/document, or (through COM automation interfaces) such
macros can also automate commands in other applications (e.g. a macro
running in a Word document can automate commands in an instance of Excel).

Question: did anyone try to build such a macro scripting language into a
Delphi application? -- And if so, can they please give any tips?

Regards
AndrewFG





Back to top
John Carlyle-Clarke
Guest





PostPosted: Mon Aug 22, 2005 7:56 am    Post subject: Re: How to host a scripting language like VBA in a Delphi ap Reply with quote



"Mike Shkolnik" <mshkolnik2002 (AT) ukr (DOT) net> wrote in
news:43064ea8 (AT) newsgroups (DOT) borland.com:

Quote:
"Andrew Fiddian-Green" <nn@dd> wrote in message
news:4305f490 (AT) newsgroups (DOT) borland.com...
Question: did anyone try to build such a macro scripting language
into a Delphi application? -- And if so, can they please give any
tips?


See the freeware wrapper for Delphi at
http://www.scalabium.com/smscript.htm


You could also look at:

http://www.remobjects.com/page.asp?id={9A30A672-62C8-4131-BA89-
EEBBE7E302E6}

This is the one that is used in Innosetup.

Back to top
Andrew Fiddian-Green
Guest





PostPosted: Mon Aug 22, 2005 6:28 pm    Post subject: Re: How to host a scripting language like VBA in a Delphi ap Reply with quote

I also found something by Serhiy Perevoznyk on
http://members.chello.be/ws36637/

Thanks for all your inputs.

I am evaluating which one to go with.

Regards,
AndrewFG



"John Carlyle-Clarke" <john.cc (AT) nospam (DOT) europlacer.co.uk> wrote

Quote:
"Mike Shkolnik" <mshkolnik2002 (AT) ukr (DOT) net> wrote in
news:43064ea8 (AT) newsgroups (DOT) borland.com:

"Andrew Fiddian-Green" <nn@dd> wrote in message
news:4305f490 (AT) newsgroups (DOT) borland.com...
Question: did anyone try to build such a macro scripting language
into a Delphi application? -- And if so, can they please give any
tips?


See the freeware wrapper for Delphi at
http://www.scalabium.com/smscript.htm


You could also look at:

http://www.remobjects.com/page.asp?id={9A30A672-62C8-4131-BA89-
EEBBE7E302E6}

This is the one that is used in Innosetup.



Back to top
George Birbilis
Guest





PostPosted: Fri Sep 02, 2005 1:56 pm    Post subject: Re: How to host a scripting language like VBA in a Delphi ap Reply with quote

use the Microsoft Script control (www.microsoft.com/scripting)

--
-----
George Birbilis (birbilis (AT) kagi (DOT) com)
Microsoft Most Valuable Professional
MVP J# for 2004 & 2005
http://www.kagi.com/birbilis
QuickTime, Delphi, ActiveX, .NET, IPC
--------------
"Andrew Fiddian-Green" <nn@dd> wrote

Quote:
In MS Office products (such as Word or Excel), users can create their own
VBA macros in documents and use them to automate commands either within
the
current application/document, or (through COM automation interfaces) such
macros can also automate commands in other applications (e.g. a macro
running in a Word document can automate commands in an instance of Excel).

Question: did anyone try to build such a macro scripting language into a
Delphi application? -- And if so, can they please give any tips?

Regards
AndrewFG





Back to top
Ray Carpenter
Guest





PostPosted: Fri Sep 30, 2005 3:28 pm    Post subject: Re: How to host a scripting language like VBA in a Delphi ap Reply with quote

Andrew

Try the Microsoft website and search for "active scripting" or "active
scripting host". Microsoft provides a COM active scripting engine which can
run JScript and VBScript scripts when the engine is loaded by your own
application. In later versions of Windows, this engine is included in the
distribution.

Regards

Ray Carpenter

Andrew Fiddian-Green <nn@dd> wrote

Quote:
In MS Office products (such as Word or Excel), users can create their own
VBA macros in documents and use them to automate commands either within
the
current application/document, or (through COM automation interfaces) such
macros can also automate commands in other applications (e.g. a macro
running in a Word document can automate commands in an instance of Excel).

Question: did anyone try to build such a macro scripting language into a
Delphi application? -- And if so, can they please give any tips?

Regards
AndrewFG





Back to top
George Birbilis
Guest





PostPosted: Mon Oct 03, 2005 10:07 am    Post subject: Re: How to host a scripting language like VBA in a Delphi ap Reply with quote

see MS Script control - there's a Delphi sample for it by Mike Shkolnik if I
remember well (See his website)

-----
George Birbilis (birbilis (AT) kagi (DOT) com)
Microsoft Most Valuable Professional
MVP J# for 2004 & 2005
http://www.kagi.com/birbilis
QuickTime, Delphi, ActiveX, .NET, IPC
--------------
"Ray Carpenter" <rjcarpenter (AT) u031 (DOT) aone.net.au> wrote

Quote:
Andrew

Try the Microsoft website and search for "active scripting" or "active
scripting host". Microsoft provides a COM active scripting engine which
can
run JScript and VBScript scripts when the engine is loaded by your own
application. In later versions of Windows, this engine is included in the
distribution.

Regards

Ray Carpenter

Andrew Fiddian-Green <nn@dd> wrote in message
news:4305f490 (AT) newsgroups (DOT) borland.com...
In MS Office products (such as Word or Excel), users can create their own
VBA macros in documents and use them to automate commands either within
the
current application/document, or (through COM automation interfaces) such
macros can also automate commands in other applications (e.g. a macro
running in a Word document can automate commands in an instance of
Excel).

Question: did anyone try to build such a macro scripting language into a
Delphi application? -- And if so, can they please give any tips?

Regards
AndrewFG







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.