CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Automation

  1. #1
    Join Date
    Sep 2001
    Posts
    30

    Automation

    Hello,

    I have created an Automation application with MFC and I want export any data from my C++ application in VBA , where another developer can manipulate this data and should give me back new data, which I must use in my C++ application.

    How can I get the same Automation object from VBA, that I have already in C++ application, manipulate the data this object and afterwards theese new data in my C++ application use again.

    With best regards


  2. #2
    Join Date
    Jul 2000
    Location
    Hawaii
    Posts
    281

    Re: Automation

    generally you call a method of the object

    ==========================================

    can you refresh my memory of the MFC abbreviation?


  3. #3
    Join Date
    Sep 2001
    Location
    Philadelphia,PA,USA
    Posts
    46

    Re: Automation

    One very evident way to make this work is:
    Create a out-of-process COM server.
    The C++ App can connect to this and push in data.
    The vB Object can take that data and do whatever.
    It can then push it back into the COM-EXE. This can be made to trigger and event to which the C++ App is listening to.

    Biplab

  4. #4
    Join Date
    Sep 2001
    Posts
    49

    Re: Automation

    Microsoft Foundation Class


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