Problems with ListView/Treeview!!

Problems with ListView/Treeview!!

Anonymous
Not applicable
257 Views
2 Replies
Message 1 of 3

Problems with ListView/Treeview!!

Anonymous
Not applicable
Hello,

 

Does anyone know if there is a known issue with using the
ListView and/or TreeView controls with the MultiPage control?

 

Every time I place a ListView on one tab and a TreeView on
another tab, then run the program, I can switch pages (tabs) 4 times.  On
the 5th time, AutoCAD gives me a FATAL ERROR - Unhandled Stack Overflow....
!!

 

I have tried many different combinations of this. 
I even tried not using the MultiPage and using command buttons to toggle
the visibility of the ListView/Treeview (mimicking what the MultiPage control
does).  This also produces the error.

 

I am running AutoCAD R14.01.  My references are as
follows:

 

MSFORMS 2.0

Windows Common Controls 6.0

 

Should I try using Common Controls
5.0??


size=2>
 

 

Thanks!

 

Jim Shipley

 

 
0 Likes
258 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
I have been using list view and tree view in
several Acad VBA projects with MultiPage control together without the problem
you described, I use A2K, though. From I experience, such "Fatal Error..." thing
could be caused by you code (sometimes it is very subtle to dig it out). You may
want to try cut all code in the problem procedure and put them back line by line
to find out which line of code cause the problem.  The other possible
reason is that in your test run a runtime error occurd and that leaves some
"dirty" stuff in your drawing or .dvb project (it does happen in ACAD VBA). To
clean out those things, you may try to load your .dvb project to a different
drawing, or, create a nothing .dvb project and copy every thing in your problem
project to the new project.

 


style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">

Hello,

 

Does anyone know if there is a known issue with using the
ListView and/or TreeView controls with the MultiPage control?

 

Every time I place a ListView on one tab and a TreeView on
another tab, then run the program, I can switch pages (tabs) 4 times.  On
the 5th time, AutoCAD gives me a FATAL ERROR - Unhandled Stack Overflow....
!!

 

I have tried many different combinations of this. 
I even tried not using the MultiPage and using command buttons to
toggle the visibility of the ListView/Treeview (mimicking what the MultiPage
control does).  This also produces the error.

 

I am running AutoCAD R14.01.  My references are as
follows:

 

MSFORMS 2.0

Windows Common Controls 6.0

 

Should I try using Common Controls
5.0??


size=2>
 

 

Thanks!

 

Jim Shipley

 

 
0 Likes
Message 3 of 3

Anonymous
Not applicable
The problem seems to have gone away after I
removed all references to version 6.0 listview/treeview.  I inserted v5.0
sp2 listview/treeview and it is ok!

 

 

Thanks!

 

Jim
0 Likes