I realise that I should be dealing with this issue with an "installer" but I am trying for second best.
Certain users of my MDB will do some image manipulation. I have built a cut down version of Imagemagick. This has a COM+ object that will require registering and thus referencing.
I do not want to force everyone to have this so here is what I am thinking I should do.
I code my MDB with late binding and do not reference this .dll
1. Question: This would mean the MDB is going to work fine as long as nobody gets to the code that does the image manipulation?
A user can "install" from my MDB the .dll.
This would register the .dll and add a reference to their MDB.
2. Question: Is this the right order? First register then reference, I suppose you must register before there is anything to reference?
This leaves me with the problem of when they get a new version of my MDB. This is simply a copy/replace of the MDB. Thus they will have an unreferenced .dll. (default of my mdb is no reference) I simply check either that the .dll is on their PC or the registry (or both) and then add the reference at startup.
Any comments welcome.
Certain users of my MDB will do some image manipulation. I have built a cut down version of Imagemagick. This has a COM+ object that will require registering and thus referencing.
I do not want to force everyone to have this so here is what I am thinking I should do.
I code my MDB with late binding and do not reference this .dll
1. Question: This would mean the MDB is going to work fine as long as nobody gets to the code that does the image manipulation?
A user can "install" from my MDB the .dll.
This would register the .dll and add a reference to their MDB.
2. Question: Is this the right order? First register then reference, I suppose you must register before there is anything to reference?
This leaves me with the problem of when they get a new version of my MDB. This is simply a copy/replace of the MDB. Thus they will have an unreferenced .dll. (default of my mdb is no reference) I simply check either that the .dll is on their PC or the registry (or both) and then add the reference at startup.
Any comments welcome.