PDA

View Full Version : Need help or suggestion



v_gyku
09-23-2005, 12:43 AM
I am getting items from sent items in outlook in this format:

To Subject Sent Date

I am able to retrieve these bur how or where shouls i placed them?

I have placed them in a list box but then they do not appear one below the other.. I hope ur getting me. What should i use? Also i want to select items from this list....


lstsentitems.AddItem Sentmail.To & " " & Sentmail.Subject & " " & Sentmail.SentOn


I have written this code which just retrieving values an placing them in a list box..

v_gyku
09-26-2005, 12:51 AM
I have tried this code ....



For Each Sentmail In oSentFolder.Items
Sentmail.To = lstsentitems.Columns(0, lstsentitems.ListIndex) 'First Column
Sentmail.Subject = lstsentitems.Columns(1, lstsentitems.ListIndex) 'Second Column
Sentmail.SentOn = lstsentitems.Columns(2, lstsentitems.ListIndex) 'Third Column


its giving error wrong number of argument or invalid property assignment if i say---- columns


and if i kept it like ---column then its saying method or data member not found.


I want somthing like the taskbar kind of things where every column is having specific lengh and rows appear one below the other.