General information
Category:
COM, DCOM and OLE automation
Title:
How to create a 'config' file for Outlook COM in VB6
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only