|
-
January 20th, 2000, 03:28 PM
#1
Macro Sustitutions
Is there a way to generate CODE on the fly? I mean, some way to make the code dynamic? ... a while ago in Clipper there was a thing called macro sustitution, it's purpose was to create code on the fly depending on the current parameters.
-
January 20th, 2000, 03:41 PM
#2
Re: Macro Sustitutions
You can use the Microsoft Scripting Host controls that come with VB6 (or download them for VB5 at http://www.microsoft.com/scripting (I think it's there anyhow).
These will allow you to programatically create scripts on the fly that can use COM automation. The scripts can also be read in from any usual datasource (db, files etc).
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
-
January 20th, 2000, 04:17 PM
#3
Re: Macro Sustitutions
ok, I'll give it a try... thanks 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|