Information générale
Catégorie:
Contrôles ActiveX
Use the call by name, specify your form name in a string, and call the
method 'Show'. It should work fine, that is what CallByName was designed to do.
>I want to do something similar to the CallByName function but for creating object, not calling procedure. What I want to do is instanciate a Form, (not loaded in the current project) using its name stored in a string variable. Maybe I can use the CreateObject function, but my problem is that the Form isn't in an extern ActiveX DLL, but in the current running application. The application is of type Standard EXE and it's difficult for me to change it to another type.
>
>Thank in advance, André
Précédent
Suivant
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