When I install a VB application one 98 machine it runs OK; when trying to install the same package on another 98 machine and I get a runtime error that gives me an initialization error........
I know the logic that getting the error
sub ClassInit()
On error goto errorhandler
set gDS = Nothing 'this is defined as Public gDS as clsDataSource ' in a global definitions section
set gDS = New clsDataSource 'this is a class module
' other logic here
exitroutine:
exit sub
errorhandler
error message--------- here!
err.clear
goto exitroutine
end sub
I know the logic that getting the error
sub ClassInit()
On error goto errorhandler
set gDS = Nothing 'this is defined as Public gDS as clsDataSource ' in a global definitions section
set gDS = New clsDataSource 'this is a class module
' other logic here
exitroutine:
exit sub
errorhandler
error message--------- here!
err.clear
goto exitroutine
end sub