ActiveX development

  • 18 years ago

    I have a solid idea as to how to implement WYSIWYG display for VB for tabular and non-tabular data.  Tabular data I have already implemented successfully by creating the activex in VB.  However, the required functionality was only achieved by the use of API display functions (GDI).


    The thing is:  I don't want to create the activex in vb since I could make it easier in C++.  So my question is:  Where can I get/find a good solid beginner tutorial on how to create activex'es in C++?  I know all about window messages and general windows programming in C++.  I don't know, however, how to implement an ocx.


    For example, what is the analogous of PropertyChanged in C++?  Or the read and writeproperties?  Or is it a completely different philosophy?

  • 18 years ago

    well i dont know if this will be helpful but heres an article which is on MSDN:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaxctrl/html/msdn_creaactx.asp


    and heres some more on tutorials:


    http://www.microsoft.com/mind/defaulttop.asp?page=/mind/0497/mfc.htm&nav=/mind/0497/inthisissuecolumns0497.htm
    [Designing ActiveX Components with the MFC Document/View Model]


    http://www.vanwijk.com/-%3D%20Bookz%20%3D-/Activex%20Programming%20With%20Visual%20C++/default.htm
    [ActiveX Programming with Visual C++]


    I learnt from experimentation and reading some books. Unfortunetly im not@home so i can't tell you the titles. but there from Microsoft Press and Wrox Publishing(I like Wrox cause they ROK-hahhaa okay bad joke!).


    When i get the titles' ill tell you.


    P.S. Congratulations on moving onto the world C++! I think many VB programmers who dont know any other langauge other than VB should do the same... it's much better in my opinion!


  • 18 years ago

    I am reading about the ATL and MFC (not good) now.  MFC is not good because of the big dependency file.  ATL seems to be the way to go.  However, it is definitely harder than I thought .  I hope I'll be able to pull it off... Wish me luck.

  • 18 years ago

    true.. (about MFC)


    well if your coming from a VB background(which i was when i started C++) yup its not your cuppa tea! But read some books on it... I'm home now but i cant find the darn book. Dammit i hate when ppl borrow my books or Cd's without telling me... sorry about that..


    and yes... ofcourse as i do with everyone..


    I WISH YOU LUCK.


    MAY THE F0RCE BE WIF YA!

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Linux is only free if your time has no value” - Jamie Zawinski