VB6 .NET Interop - Performance issue -


I'm trying to use a VB6 app consumed in a C # app VB6 app is a Winform app To do this, I have modified the VB6 App (exe) in a DLL. I have referenced it in my C # app in my VB app, I've added a new class with some methods to open the VB form. .

Everything works fine ... except that the form has many controls (30), so the window is extremely

1 / Is this method good?

2 / How to solve it?

Regards,

Florian

Edit: I know where the problem is but I do not know how to solve it. The method which is very slow to execute, contains a "cycl" class string that is ";" And pre-method: sqlString = "Select from customers ... Select ... from selectors" OpenShareUsetset (Struggle Selection) ... A combo box is filled up for each SQL string

< P>

I see how many rows / columns your 'SELECT * FROM XXXX' queries are returning.

SELECT * is generally considered bad behavior because it can have a large display effect (and may be slow for each column added in the table in the future, even if you use that column No data is required) and if you do not have a WHERE block, your query will be slow every day, which is added to your table.


Comments