scasystems
Programmer
I have created a ProgressBar form. Which raises a Process event. I have tested it and it works fine.
Next stage is to place this form within a Global Multiuse DLL (where I have all standard functions/forms that are to be shared across applications).
So I placed the form in the dll and wrapped a class around it. So Far so good.
Now within another dll ( I have a wrapper around a login form) and placed code on the login form to use the new progress class that checks for any updates to the database (database.upd) which goes through a lengthy processs.
Compiled all the dlls and ran the code hey presto works like a dream.
But when I came to use the progress in another part of the project problems arose which I have nailed down to the event not being caught:-
i.e.
Private withevents Progress as clsProgress
Private Progress_Process()
does not get here
some code....
end
now if instead of referncing the dll but add the dll project to the test project it works.
But referencing the dll the event is never caught. Yet how did it work when placed the same code within another dll
I am at a loss.
Next stage is to place this form within a Global Multiuse DLL (where I have all standard functions/forms that are to be shared across applications).
So I placed the form in the dll and wrapped a class around it. So Far so good.
Now within another dll ( I have a wrapper around a login form) and placed code on the login form to use the new progress class that checks for any updates to the database (database.upd) which goes through a lengthy processs.
Compiled all the dlls and ran the code hey presto works like a dream.
But when I came to use the progress in another part of the project problems arose which I have nailed down to the event not being caught:-
i.e.
Private withevents Progress as clsProgress
Private Progress_Process()
does not get here
some code....
end
now if instead of referncing the dll but add the dll project to the test project it works.
But referencing the dll the event is never caught. Yet how did it work when placed the same code within another dll
I am at a loss.