Solved

Need a Table Control with Source Code

Posted on 2004-08-21
7
125 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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 69

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now