Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > ListView Columnheaders -wrong number of arguments


Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2004, 06:46 AM
QuantumCat's Avatar
QuantumCat QuantumCat is offline
Senior Contributor
 
Join Date: Aug 2003
Location: Dordrecht,Holland
Posts: 858
Default ListView Columnheaders -wrong number of arguments


This doesn't work.

Code:
Set clmx = frmNDO.LVNDO.ColumnHeaders.Add(, , "Nr", 1000, , 0)

It's a copy/paste from a working fill-listview procedure

can anyone help me?
__________________
Your theory is crazy, but it's not crazy enough to be true.
Reply With Quote
  #2  
Old 08-30-2004, 06:50 AM
QuantumCat's Avatar
QuantumCat QuantumCat is offline
Senior Contributor
 
Join Date: Aug 2003
Location: Dordrecht,Holland
Posts: 858
Default

Sorry Guys, my bad -this solves the problem:
Code:
Set clmx = frmNDO.LVNDO.ColumnHeaders.Add(, , "Nr", 1000, 0)

(see -or better- don't see- the missing comma 'tween "," and "0")
QC
__________________
Your theory is crazy, but it's not crazy enough to be true.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->