Solved

Need a Table Control with Source Code

Posted on 2004-08-21
7
129 Views
Last Modified: 2010-05-02
Hi Folks

I need a grid or table control with source code so I can include it in a deployment program. It must have source code and must use simple VB controls with no compiled activex components because the deployment program cannot itself be installed

THanks
0
Comment
Question by:plq
7 Comments
 
LVL 22

Expert Comment

by:DarkoLord
ID: 11863208
Hi, you can use a standard ListView from windows common controls' dll (instead of ocx), which is included in windows... Here are two pages with everything you need to use this in your project:

http://www.mvps.org/btmtz/vbexplorer/
http://www.mvps.org/btmtz/listview

However, you can still "include" all dependencies in you executable file using a tool like Thinstall (http://www.thinstall.com/)

Good luck!
Darko
0
 
LVL 8

Author Comment

by:plq
ID: 11864446
Thanks, I've been using listviews for years but there's still a couple of guids out there (=dll hell) and the exe can't put anything into the windows drive before it runs, so listview is not an option. Also comctl is not guaranteed to be there. Don't want anything complex or high risk like that  thinstall stuff. Just a simple table control with source code is all I need.
0
 
LVL 22

Expert Comment

by:DarkoLord
ID: 11865747
Common controls DLL is included in EVERY (win 95+) windows installation (windows explorer uses it :))... the links in my post above uses that dll so it works without any problems

Well as far as I know there is no "simple" independent table control, because there is quite a lot of code to draw the table and then handle all events and properties

Darko
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 8

Author Comment

by:plq
ID: 11867571
Thanks, I'll wait to see if anyone else has the source code for a table control.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 11870058
0
 
LVL 2

Expert Comment

by:MrPan
ID: 11871401
What I have done in the past was to use side by side listboxs. Turn off the scroll bars for all but the last box. You will need to add code so that if any of them are either scrolled or clicked on that it highlight the rest of the rows.
0
 
LVL 8

Author Comment

by:plq
ID: 11871467
Thanks

I think emoreau has given me the solution I need, I just need to rip out some third party activex controls that that component uses.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

828 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