🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #104670

Re: ListView i LINQ

#104670
From: Maciej Tokarz
Date: Wed, 23 Jun 2010 13:19
20 lines
1503 bytes
W dniu 2010-06-23 14:56, Wiktor Zychla pisze:
> nieznajomość składni VB.NET się kłania:

Nie da się ukryć! Serdeczne Dzięki!

Dim listItems = From fileInfo In alarmFolder.GetFiles("*.wav") _
		Let s_name = fileInfo.Name _
		Order By fileInfo.Name _
		Select New ListViewItem() With _
		{.Text = s_name.Substring(0, s_name.LastIndexOf(".")), _
		.Tag = fileInfo.FullName}

		For Each i In listItems
			Sounds.Items.Add(i)
		Next


-- 
  Maciej Tokarz
  My-Poi.pl
Technical Details
Message-ID: <hvt1kq$1la$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!news.onet.pl!not-for-mail
References: <hvsmd3$spj$1@news.onet.pl> <4c220498$0$19183$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!news.onet.pl!not-for-mail
From: Maciej Tokarz <mactok@hotmail.com>
Newsgroups: pl.comp.lang.vbasic
Subject: Re: ListView i LINQ
Date: Wed, 23 Jun 2010 15:19:30 +0200
Organization: http://onet.pl
Lines: 20
Message-ID: <hvt1kq$1la$1@news.onet.pl>
References: <hvsmd3$spj$1@news.onet.pl> <4c220498$0$19183$65785112@news.neostrada.pl>
NNTP-Posting-Host: xdsl-1224.wroclaw.dialog.net.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1277299163 1706 81.168.132.200 (23 Jun 2010 13:19:23 GMT)
X-Complaints-To: niusy@onet.pl
NNTP-Posting-Date: Wed, 23 Jun 2010 13:19:23 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
In-Reply-To: <4c220498$0$19183$65785112@news.neostrada.pl>
X-Antivirus: avast! (VPS 100623-0, 2010-06-23), Outbound message
X-Antivirus-Status: Clean
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit