473,396 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

column headers Question

lee123
556 512MB
Question (1)
is it possible to add column headers in a listbox for visual basic 6 and if you can how would you do it in code.

Question (2)
also in access they use a "Dmax" and a "DMin" does visual basic have anything like that or a substitute

lee123
Mar 10 '09 #1
8 2318
kadghar
1,295 Expert 1GB
hi!

(1) i dont have VB6 installed anymore, but for many VB versions the COLUMNHEADS property will do...

(2) i dont know what DMax or DMin it do, but there is the Math.Max and Math.Min function in many VB versions...perhaps it could help... (im not sure if it would work in VB6 neither)

HTH
Mar 10 '09 #2
lee123
556 512MB
Well I have tried to do the columnheaders for the list box but i can't figure it out i have sufred the web but can't seem to find it. i would try a list view but nobody seems to know anything about it. and if i could do it in a connection string like (DAO or ADO) i would but i can't find them either is there anyone who knows this

lee123
Mar 11 '09 #3
debasisdas
8,127 Expert 4TB
the following link might help you to use listview with database.

link
Mar 11 '09 #4
@debasisdas
I can make a thread can you help me
Mar 19 '09 #5
lee123
556 512MB
try this link:
http://bytes.com/topic/visual-basic/answers/

and the where you can find this is at the top of the questions page there is a link that says "ANSWERS" click on that.

lee123
Mar 19 '09 #6
lee123
556 512MB
OOPS, ten find the button that says "NEW THREAD" Click on that

lee123
Mar 19 '09 #7
kadghar
1,295 Expert 1GB
@lee123
Yes sorry, my mistake, I dont know why COLUMNHEADS is a property i've only found on VBA listboxes... perhaps they should add it to other versions...

anyway, if you have VStudio, im pretty sure you can create custom controls. A List Box with heads shouldnt be such a big deal.
Mar 19 '09 #8
Stewart Ross
2,545 Expert Mod 2GB
@lee123
Hi. The domain aggregate functions are not available directly in VB. You can, however, refer to them from within an SQL statement executed in code on a database object created in VB, as this (now very out-of-date) MS Support article for an old version of VB indicates.

http://support.microsoft.com/kb/102479.

-Stewart
Mar 20 '09 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Ixnay | last post by:
Hi, Does anyone out there know how to do this? I've been banging head for awhile now trying to answer this seemingly simple question. tia, Mike
2
by: David Veeneman | last post by:
How can I set a bound DataGridView control to use a dataset table's column captions, instead of column names? I'm working with a DataGridView control, which I have bound to a table in a dataset....
5
by: VB Programmer | last post by:
I have a simple datagrid on a webform. (I'm using VB.NET.) In the page load I get some data, set the .DataSource property of the dg, then do a .DataBind. The columns are automatically created. ...
4
by: Hans Merkl | last post by:
Hi, Is there a way to show the column headers of a GridView control even if there is no data? The only thing I see is the EmptyDataTemplate but I would also like to display the column headers. ...
1
by: ElenaR | last post by:
I need to figure out how to name my column headers in a DataGrid. In VB6, I could write DataGrid1.Columns(0).Caption = "ID". What is the format for VB.NET? Thanks in Advance!
7
by: PJ | last post by:
How can you set the background color of individual columns in a datagrid to be different to others? The table styles only allow you to do this at the grid level for all columns.
2
by: John Walker | last post by:
Hi, We have a datagrid with column headers. If the datagrid has more than say 25 rows the user needs to scroll down to be able to see the rest of the grid. When the user does this the column...
4
by: Markus Ernst | last post by:
Hi Looking for a possibility to get separate tables rendered with common column widths, I was surprised to see that this code validates: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
2
by: sumithar | last post by:
I am trying to create a spreadsheet from mysql data. I have the requisite headers in place for content type and all that. All I am doing is executing the SQL query and displaying the data...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.