Listview controls or flexgrid controls

Listview controls or flexgrid controls

Anonymous
Not applicable
818 Views
9 Replies
Message 1 of 10

Listview controls or flexgrid controls

Anonymous
Not applicable
Hi All, I need some help displaying data in a listview or flexgrid inside a form. I'm looking to create a listview box or flexgrid that displays layer information about blocks. My problem is when I try to insert the control I get an error that it is not registered. the error displays a dialog box with a help button but when I select the help button I get nothing. Can any point me to some helps files that explain the listview or flexgrid and how to register them and push data into the columns displays. The interesting thing is I have a sample form with a listview that I found in the ng download selection and it display the data fine. Why then when I select a new listview from the tools bar I get this error. In the end all I'm trying to do is create a few data display forms that look like the civil 3d and 2005 displays with styles. as always thanks for any comments. Have a great day. John Coon
0 Likes
819 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable
My experience has been that FlexGrid or ListView don't do well in the VBA environment. I've had all manner of strange behavior when using them in VBA. You might want to think about using VB instead. I use them all over the place in VB with good results. "John Coon" wrote in message news:421e706b_3@newsprd01... > Hi All, > > I need some help displaying data in a listview or flexgrid inside a form. > I'm looking to create a listview box or flexgrid that displays layer > information about blocks. My problem is when I try to insert the control I > get an error that it is not registered. the error displays a dialog box with > a help button but when I select the help button I get nothing. > > Can any point me to some helps files that explain the listview or flexgrid > and how to register them and push data into the columns displays. > > The interesting thing is I have a sample form with a listview that I found > in the ng download selection and it display the data fine. Why then when I > select a new listview from the tools bar I get this error. In the end all > I'm trying to do is create a few data display forms that look like the civil > 3d and 2005 displays with styles. > > as always thanks for any comments. Have a great day. > > John Coon > > > >
0 Likes
Message 3 of 10

Anonymous
Not applicable
Look at vbAccelerator for controls you can use as neither the listview or flexgrid are allowed to be used in vba per MS' eula -- Mike ___________________________ Mike Tuersley CADalyst's CAD Clinic Rand IMAGINiT Technologies ___________________________ the trick is to realize that there is no spoon...
0 Likes
Message 4 of 10

Anonymous
Not applicable
"Mike Tuersley" wrote in message news:xbtwkthlmn9x.5yallhryffa2$.dlg@40tude.net... > Look at vbAccelerator for controls you can use as neither the listview or > flexgrid are allowed to be used in vba per MS' eula > I find this quite interesting. First, I can't seem to find a EULA for VBA anywhere on my machine. If I can't use these controls, why are they available for use? How did I get them on my computer in the first place? Second, I have seen posted previously the fact that Flexgrid is not to be used, but this is the first time I've seen Listview included. Mike, can you point me to the EULA for VBA? Thanks, Jeff
0 Likes
Message 5 of 10

Anonymous
Not applicable
To make it simple, Jeff, look at a clean install of AutoCAD. Go into the VBAIDE and if a control isn't on the toolbar, you can't redistribute it - i.e. anything you go looking for is taboo unless its a freeware/3rd party that you downloaded. To get the actual eula, you need to download the vba sdk from MS. -- Mike ___________________________ Mike Tuersley ___________________________ the trick is to realize that there is no spoon...
0 Likes
Message 6 of 10

Anonymous
Not applicable
OK, I believe you Mike. I just want to know how someone that: just installed Autocad, goes to the VBAIDE, creates a new form, right clicks on the toolbox, and finally selects Flexgrid for a new control, and places that control in their form...... has just done something they aren't supposed to. Because based on the licenses I read when installing, or my help files, or any readme files, I didn't see any warning against this. And please, I'm not trying to be difficult or argumentive, I really would like to know how I would know that the form I've been using (and have shared with others) for the last year and a half is based on breaking a license.......without a 'word of mouth' validation. Thanks for understanding my desire to understand ;-) -- Jeff check out www.cadvault.com "Mike Tuersley" wrote in message news:b24j7qt34t21.1mts3fwc0zj3p.dlg@40tude.net... > To make it simple, Jeff, look at a clean install of AutoCAD. Go into the > VBAIDE and if a control isn't on the toolbar, you can't redistribute it - > i.e. anything you go looking for is taboo unless its a freeware/3rd party > that you downloaded. > > To get the actual eula, you need to download the vba sdk from MS. > > -- Mike > ___________________________ > Mike Tuersley > ___________________________ > the trick is to realize that there is no spoon...
0 Likes
Message 7 of 10

Anonymous
Not applicable
Good questions....I dunno. I learned via word-of-mouth as well after I had issues getting things installed and running in a past life 😃 Luckily, I do everything in DLL so I don't need to worry/question it any more. The other issue, too, is that those controls are "problem children" if you try and use them in vba. They cause weird graphical issues, memory problems, etc. So, its best not to use them at all and look to some place like vbAccelerator [vbA] for free replacements. vbA's are decent, you just need to be careful to read the requirements because some times the controls require vbA libraries not included with the control itself. -- Mike ___________________________ Mike Tuersley ___________________________ the trick is to realize that there is no spoon...
0 Likes
Message 8 of 10

Anonymous
Not applicable
Oh, Randall Rath & company @ CADVault have written quite a few replacement controls as well. -- Mike ___________________________ Mike Tuersley ___________________________ the trick is to realize that there is no spoon...
0 Likes
Message 9 of 10

Anonymous
Not applicable
Yes, I know. Thanks. But that poor new guy just writing his first macro with a cute litle form and finds the the listview control fulfills his need ............ Thanks for your input, Mike. At least I know I'm not crazy for wondering these things. I don't mind following rules and regulations, I just like to know what it is I'm supposed to follow. Now where's that spoon.... "Mike Tuersley" wrote in message news:16jn7tgdn1hqk$.yyhm36yvthbn.dlg@40tude.net... > Oh, Randall Rath & company @ CADVault have written quite a few replacement > controls as well. > > -- Mike > ___________________________ > Mike Tuersley > ___________________________ > the trick is to realize that there is no spoon...
0 Likes
Message 10 of 10

Anonymous
Not applicable
Guys, Thanks for the description of what I was experiencing, I am that guy Jeff is talking about trying to use one of these controls. The sample listview I have was one that Jeff (you) wrote. it's was a xref sync routine. I liked the column formatting and wanted to use that to display some layer values in my form. I can copy and paste Jeff's listview box and it would view fine but when I tried to insert one from the toolbar I got the error. I'll look into the vbAccelerator. Thank you all, have a great day. John Coon "Jeff Mishler" wrote in message news:421ecd53$1_3@newsprd01... > Yes, I know. Thanks. But that poor new guy just writing his first macro > with a cute litle form and finds the the listview control fulfills his > need ............ > > Thanks for your input, Mike. At least I know I'm not crazy for wondering > these things. I don't mind following rules and regulations, I just like to > know what it is I'm supposed to follow. Now where's that spoon.... > > > "Mike Tuersley" wrote in message > news:16jn7tgdn1hqk$.yyhm36yvthbn.dlg@40tude.net... >> Oh, Randall Rath & company @ CADVault have written quite a few >> replacement >> controls as well. >> >> -- Mike >> ___________________________ >> Mike Tuersley >> ___________________________ >> the trick is to realize that there is no spoon... > >
0 Likes