G
Guest
Hello,
I have a question wich I should already now its answer, but here I go...
I 'm developing a windows application (.NET 2.0) wich has a reference to a
component (a tlb file) that resides on a certain place in our local network;
let's say it's ...
\\serverapp\SIGRID2\Sigrid.tlb
This place, is the shared folder for an application called "Sigrid".
If someday, somehow, we turn "upside down" our network structure and this
file changes its place, I would want to change something in the settings file
or somewhere, from my application, without having to re-compile my project.
How can I achieve this ? If possible, I don't want to use reflection as if
I'm not wrong I would loose intellisense...
If the only way to do it is by reflection, it will not work with
assembly.loadfrom as it works only with NET assemblies, it isn't ?
So, what's the best way ?
Thanks in advance,
I have a question wich I should already now its answer, but here I go...
I 'm developing a windows application (.NET 2.0) wich has a reference to a
component (a tlb file) that resides on a certain place in our local network;
let's say it's ...
\\serverapp\SIGRID2\Sigrid.tlb
This place, is the shared folder for an application called "Sigrid".
If someday, somehow, we turn "upside down" our network structure and this
file changes its place, I would want to change something in the settings file
or somewhere, from my application, without having to re-compile my project.
How can I achieve this ? If possible, I don't want to use reflection as if
I'm not wrong I would loose intellisense...
If the only way to do it is by reflection, it will not work with
assembly.loadfrom as it works only with NET assemblies, it isn't ?
So, what's the best way ?
Thanks in advance,