Solved

Need a Table Control with Source Code

Posted on 2004-08-21
7
131 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

737 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