Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

best grid

Posted on 2005-02-25
3
Medium Priority
?
221 Views
Last Modified: 2013-12-25
hi,

which grid controls that come with VB6 is best fit when use need to click on the checkbox to select all the 4 column and with command button to save 2 of the selected column with checkbox click to save it to a table. calculations needed to do some simple calcution. pls advice and send me code.
0
Comment
Question by:aarontham
  • 3
3 Comments
 
LVL 18

Expert Comment

by:Sethi
ID: 13404507
None of the grid controls that come Vb will do that. Use ListView control instead by setting refernce to Microsoft Common Windows Controls and setting the gridlines and checkboxes property of the listview control to true. In case you want headers like in grid controls then set the View property to lvwReport.
0
 
LVL 18

Expert Comment

by:Sethi
ID: 13404590
SGrid2 apart from free VB grids is a very interseting grid that would interest you. Have a look at it:
http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid_2/index.asp

Apart from this all grid controls are expensive controls that can of course provide you with checkboxes. Some are like Ultragrid from Infragistics, TrudeDBgrid from ComponentOne etc.
0
 
LVL 18

Accepted Solution

by:
Sethi earned 2000 total points
ID: 13404664
To see examples and working code with Listview, go to freevbcode.com and serach for ListView. You will get many many links over there. I have just done the search myself.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question