CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2000
    Location
    MX
    Posts
    51

    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.



  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    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

  3. #3
    Join Date
    Jan 2000
    Location
    MX
    Posts
    51

    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
  •  





Click Here to Expand Forum to Full Width

Featured