Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Puffin Rock Characters Plush Toy Set
anil1961
Updated:
Yesterday at 3:51 PM
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Wednesday at 10:50 AM
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Monday at 12:26 PM
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Nov 1, 2026
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
C# to VB.net Help
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="NO_MeRcY" data-source="post: 14125301" data-attributes="member: 289641"><p>[CODE] Dim dr As TimeSpan = TimeSpan.FromMilliseconds(200)</p><p></p><p> Using str As ObexGetStream = session.[Get](Nothing, ObexConstant.Type.FolderListing)</p><p> Dim parser As New ObexFolderListingParser(str)</p><p> parser.IgnoreUnknownAttributeNames = True</p><p></p><p> Dim item As ObexFolderListingItem = Nothing</p><p> Dim items As New List(Of ListViewItem)()</p><p></p><p> While (InlineAssignHelper(item, parser.GetNextItem())) IsNot Nothing</p><p> If TypeOf item Is ObexParentFolderItem Then</p><p> Continue While</p><p> End If</p><p></p><p> Dim filefolderitem As ObexFileOrFolderItem = TryCast(item, ObexFileOrFolderItem)</p><p></p><p> Dim isfolder As Boolean = TypeOf filefolderitem Is ObexFolderItem</p><p> Dim temp As New ListViewItem(New String() {filefolderitem.Name, FormatSize(filefolderitem.Size, isfolder), FormatDate(filefolderitem.Modified), FormatDate(filefolderitem.Accessed), FormatDate(filefolderitem.Created)}, GetIconIndex(Path.GetExtension(filefolderitem.Name), isfolder))</p><p></p><p> temp.Tag = isfolder</p><p> temp.Name = filefolderitem.Name</p><p> items.Add(temp)</p><p></p><p> If old.Add(dr) < DateTime.Now Then</p><p> old = DateTime.Now</p><p> bgwWorker.ReportProgress(0, temp.Text)</p><p> End If</p><p> End While</p><p> e.Result = items.ToArray()</p><p> End Using[/CODE]</p></blockquote><p></p>
[QUOTE="NO_MeRcY, post: 14125301, member: 289641"] [CODE] Dim dr As TimeSpan = TimeSpan.FromMilliseconds(200) Using str As ObexGetStream = session.[Get](Nothing, ObexConstant.Type.FolderListing) Dim parser As New ObexFolderListingParser(str) parser.IgnoreUnknownAttributeNames = True Dim item As ObexFolderListingItem = Nothing Dim items As New List(Of ListViewItem)() While (InlineAssignHelper(item, parser.GetNextItem())) IsNot Nothing If TypeOf item Is ObexParentFolderItem Then Continue While End If Dim filefolderitem As ObexFileOrFolderItem = TryCast(item, ObexFileOrFolderItem) Dim isfolder As Boolean = TypeOf filefolderitem Is ObexFolderItem Dim temp As New ListViewItem(New String() {filefolderitem.Name, FormatSize(filefolderitem.Size, isfolder), FormatDate(filefolderitem.Modified), FormatDate(filefolderitem.Accessed), FormatDate(filefolderitem.Created)}, GetIconIndex(Path.GetExtension(filefolderitem.Name), isfolder)) temp.Tag = isfolder temp.Name = filefolderitem.Name items.Add(temp) If old.Add(dr) < DateTime.Now Then old = DateTime.Now bgwWorker.ReportProgress(0, temp.Text) End If End While e.Result = items.ToArray() End Using[/CODE] [/QUOTE]
Insert quotes…
Verification
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom