Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a 'config' file for Outlook COM in VB6
Message
De
26/02/2004 12:05:08
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
COM, DCOM et OLE automation
Titre:
How to create a 'config' file for Outlook COM in VB6
Divers
Thread ID:
00881135
Message ID:
00881135
Vues:
56
Greetings,

I have an outlook COM object I have created in VB6. After much pain, it is finally working and I'm able to deploy it.

One thing I would really like to do is have a way to setup certain parameters for the COM without having to rebuild it each time.

For example, when the user presses a button I have ShellExecute launch an EXE named warranty.exe. What I would like is to be able to change the application to say, warranty2.exe without rebuilding the whole COM object.

I've thought about some ways it could be done, I'm just trying to figure out the easiest/best ways. One idea I had was to use a simple txt file and then read it from the COM. I also suppose I could create an ADO connection to SQL Server to lookup data that way. Both ideas however seem a little complex.

Can anyone think of an easy way to accomplish what I want without writing a lot of code?

Greg
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform