Tuesday, July 05, 2005

Tehnical Problem in my curren project(Jun 2005)

I ran into technical problem in my project, i spent 10 days and finally i fixed the problem today jul 5 2005. I have VB6 Client calling Activxe dll (written in VB6) .The problem was Vb6 client screen failed to refresh after finishing the call to the Activex dll. The vb6 client was refreshing fine in debug mode, when compiled to dll the client doesn't refresh.

My workaround solution
I analysed the code method by method and found out the problem occured during form unload of a particular form.So a workaround i commented the formunload code and made it to work.I made sure the commenting doesn't create any others problems.


Correct Solution
The problem finally we found out due to misbehaving of activex control loading at design time.
Load the Activex control at runtime and remove the control during unload.

0 Comments:

Post a Comment

<< Home