So, is your VB form an ActiveX? Don't you have a C++ class generated by the import wizard from your VB form? This is the class you have to use. Eg: create an instance of this class (declaring a static variable of type your class or allocate it using the "new" operator) and call the one of the Create() member functions for your new object. After that you can access its properties and methods. (if your VB form is an ActiveX, for each property in VB you will have a pair of Get/Set functions in C++).
Vlad
>I mean that I created a form inside of Visual Basic and then imported it into Visual C++. That part was successful. The problem which I have come across is that I cannot figure out how to access the methonds/events of the form inside of
>VC++. The other problem lies in accessing the form from my source code (.CPP).
>
>How could I do either of the two problems?
>
>>What do you mean by "imported"? Is your VB form an ACtiveX?
>>
>>Vlad
>>
>>>I imported in a form from VB 5.0 . I couldn't figure out how to edit the methods/events of the form and I cannot figure out how to access the form from my CPP source code.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement