G
Guest
Hi,
* this class is defined in assembly XXXXClsLib :
Public class VVDB : inherits DBFuncs
...
* Assembly YYYYFwApi has a reference to XXXXClsLib
* this class B in YYYYFwApi has an imports stmt :
imports XXXXClsLib.VVDB
* and this code of class b gives an error
Private Function zzz() As String
Dim myvvdb as new VVDB <<- VVDB not defined
and an error correction via shift+alt+f10
says use XXXXClsLib.VVDB
well why is that ?
also if I change the imports to
imports VVDB = XXXXClsLib.VVDB
then all is well.
why is that ?
thanks for explanation
* this class is defined in assembly XXXXClsLib :
Public class VVDB : inherits DBFuncs
...
* Assembly YYYYFwApi has a reference to XXXXClsLib
* this class B in YYYYFwApi has an imports stmt :
imports XXXXClsLib.VVDB
* and this code of class b gives an error
Private Function zzz() As String
Dim myvvdb as new VVDB <<- VVDB not defined
and an error correction via shift+alt+f10
says use XXXXClsLib.VVDB
well why is that ?
also if I change the imports to
imports VVDB = XXXXClsLib.VVDB
then all is well.
why is that ?
thanks for explanation