ArtWalls
Member
Gentlemen -
Our site is in the process of upgrading our clients from Windows 7 to Windows 10 (SE version 9.0), and we have a couple screens that use the Microsoft Forms 2.0 ComboBox ActiveX controls. The VBA behind the form loads the combo box with whatever is needed for the control (it varies).
When I load the display, the Display_AnimationStart event calls a routine LoadTapRcv, passing it the combobox control and some parameters for loading the values. The code looks like this:
Private Sub LoadTapRcv(byval cmbCurr as MSForms.ComboBox, dblStart as double, dblEnd as double, dblIncr as double)
with cmbCurr
.clear
for dblcurr = dblstart to dblend step dblincr
.AddItem dblCurr
next dblcurr
end with
End sub
The .clear command runs just fine, but when it gets to the .AddItem, I get the message:
RSIVBA Module has stopped working
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
Of course, it doesn't notify me, the client has no external access and I suspect it wouldn't work even if it did.
I've checked the FM20.dll versions on my Windows 10 engineering station vs the client, they have the same version. TechConnect said there might be some versions buried in another location on the client, and suggested I apply the latest patches. The latest patches didn't work.
I tried loading the values in using a .List, that blew out VBA as well.
Any ideas?
Our site is in the process of upgrading our clients from Windows 7 to Windows 10 (SE version 9.0), and we have a couple screens that use the Microsoft Forms 2.0 ComboBox ActiveX controls. The VBA behind the form loads the combo box with whatever is needed for the control (it varies).
When I load the display, the Display_AnimationStart event calls a routine LoadTapRcv, passing it the combobox control and some parameters for loading the values. The code looks like this:
Private Sub LoadTapRcv(byval cmbCurr as MSForms.ComboBox, dblStart as double, dblEnd as double, dblIncr as double)
with cmbCurr
.clear
for dblcurr = dblstart to dblend step dblincr
.AddItem dblCurr
next dblcurr
end with
End sub
The .clear command runs just fine, but when it gets to the .AddItem, I get the message:
RSIVBA Module has stopped working
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
Of course, it doesn't notify me, the client has no external access and I suspect it wouldn't work even if it did.
I've checked the FM20.dll versions on my Windows 10 engineering station vs the client, they have the same version. TechConnect said there might be some versions buried in another location on the client, and suggested I apply the latest patches. The latest patches didn't work.
I tried loading the values in using a .List, that blew out VBA as well.
Any ideas?