CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    9

    COM MFC VB Setting Properties

    I have a LPDISPATCH in my OLE-server to an object in VB. It's setting via an Property Set/Get function.
    Now I want to change some of the objects properties, but I don't know how to use

    the LPDISPATCH to manipulate the objects Properties and how to call methods of this.

    Where can I find a simple sample for this?

    10x for all answers

    Adolf :-)


  2. #2
    Join Date
    May 1999
    Posts
    69

    Re: COM MFC VB Setting Properties

    only a thought:
    do you have a type library for that object? You could read it with MSDEV and create wrapper class automatically :-)
    otherwise you would have to go through invoke, maybe. I would not quite like that...

    good luck

    chrislaw

  3. #3
    Join Date
    May 1999
    Posts
    9

    Re: COM MFC VB Setting Properties

    I dont have a type library.
    I'll try invoke!



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