In my project, I have several modules, all with the same set of Subs. Each module I use for a different brand of RFID card reader, as access methods and reader output is different, but the exact same steps are followed. In my application I want to make generic calls to these steps, but have a application setting that determines the module to call it from, to prevent having to change all of the calls project to project. I want to do something like:
Public CARD_READER_MODULE As ModMTI 'Which doesn't work
Then
CARD_READER_MODULE.Connect()
... etc
Or is there a better way to do this?