If you are using datasets - You may have the problem of opening and closing a connection the same table multiple times.
When I do this I declare one connection that will stay open until all operations are completed on that table - then close.
If this is not the case - one thing that you can do is to create a test in the dll solution to check the code in debug to see if it is doing something undesirable.
Begginnerdev
Practically a Posting Shark
864 posts since Apr 2010
Reputation Points: 184
Solved Threads: 142
Skill Endorsements: 8
First off, .Net will be slower than a natively compiled VB6 app.
One thing to check for is late binding of objects. This will really slow things down. If you have not already done so, add the following to the top of your code and then the fun begins; work through all of the IDE error and warning messages.
Option Strict On
not necessary but I also recommend:
Option Explicit On - Inferred by using Option Strict
Option Infer Off
References:
Early and Late Binding
Option Explicit and Option Strict in Visual Basic .NET and in Visual Basic
TnTinMN
Practically a Master Poster
640 posts since Jun 2012
Reputation Points: 418
Solved Threads: 148
Skill Endorsements: 13
Question Answered as of 3 Months Ago by
Begginnerdev
and
TnTinMN Thanks for the update. Good to know that it is paying off.
If you can not find or create a suitable interface for the iisObject, move that code to its own class or module in a separate file and set the options for that file as needed.
I've seen people use WSH before for that and could never figure out their logic for doing so when the language supports equivalent functionality. Marshalling values across the interop boundary is time consuming and in this case just a waste of time.
TnTinMN
Practically a Master Poster
640 posts since Jun 2012
Reputation Points: 418
Solved Threads: 148
Skill Endorsements: 13