karthik555
IS-IT--Management
Hi!
I use a VB DLL in which I have written code to form DB Connection String (read from the registry)
This logic is written in a subroutine (public) in a modlue of the project.
I call this subroutine from Class_Initialize of the Class File.
When instantiate this DLL in another project and call another routine in the DLL (of the same class) I expect the Class_Initialize to have fired first and the connection string to be ready. However this does not happen.
WHen I put a trace (basically write few lines into a text file at each of the routines), I find that the routine that I call from the DLL is getting fired but not the Routine to be called from Class_Initialize.
What could be wrong?
Thanks in advance.
Karthik
I use a VB DLL in which I have written code to form DB Connection String (read from the registry)
This logic is written in a subroutine (public) in a modlue of the project.
I call this subroutine from Class_Initialize of the Class File.
When instantiate this DLL in another project and call another routine in the DLL (of the same class) I expect the Class_Initialize to have fired first and the connection string to be ready. However this does not happen.
WHen I put a trace (basically write few lines into a text file at each of the routines), I find that the routine that I call from the DLL is getting fired but not the Routine to be called from Class_Initialize.
What could be wrong?
Thanks in advance.
Karthik