I have a question about .NET components that I'm a little confused by.
I would like to make a component which will do nothing except return a
string that will function as the database connection string. And I
would like to call this component from other business objects within the
same project.
I haven't quite figured out how to reference the database connection
string component when I compile the business object components with
vbc.exe/csc.exe at the /r: switch.
Can someone enlighten me on the process for this? Must I put the true
physical path of the connection string component in the list of
references, or is there another way?
I tried a bunch of different ways and I usually get a "The Namespace or
Type 'DBConnection' for the Import 'EmpNet.DBConnection' cannot be
found" error... And yet Intellisense finds it for me when I am writing
the component... Puzzling!
Thanks for your help!
Arbon Reimer