Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a 'config' file for Outlook COM in VB6
Message
From
26/02/2004 12:05:08
 
 
To
All
General information
Forum:
Visual Basic
Category:
COM, DCOM and OLE automation
Title:
How to create a 'config' file for Outlook COM in VB6
Miscellaneous
Thread ID:
00881135
Message ID:
00881135
Views:
54
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
Next
Reply
Map
View

Click here to load this message in the networking platform