Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15088

Variant array error

$
0
0
For almost a month, after a few updates made by the IT team, I have been facing some issues with variant arrays in the vb6 IDE. Simply I cannot longer assign a variant variable to the well known ADO method GetRows. Each time when I try to get the ADO function's result as below the whole vb6 project crashes severely skipping the error handling procedure.
Code:

Dim myArr() As Variant
myArr = rec.GetRows

Name:  vb error.PNG
Views: 68
Size:  7.2 KB
I mention that this annoying error does occur only in the debugging mode, once the project is compiled everything goes well. Does anyone know what update caused this error? Is there any work around to fix it? My OS is Windows 10 vers.1809 and personally I suspect the updates KB4558997 and KB4558998 installed at the end of July.
Attached Images
 

Viewing all articles
Browse latest Browse all 15088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>