DARK KINGS
Thanks For Visit The Forum:) Download Tools And Enjoy:) Join Mig33 Chat Room >dhaka onuvab<

Dhaka

September 2017
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930

Calendar Calendar

Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Dark B00mb3r by fajiil-(free)
Mon Apr 11, 2016 3:22 pm by me.punk.7

» ID creator with proxy changer and gmail dot generator
Sat Apr 09, 2016 7:47 pm by me.punk.7

» Unlimited Ids Login , Balance And Level Checker
Sat Apr 09, 2016 7:45 pm by me.punk.7

» Multy credit transfer project
Sun Feb 21, 2016 6:53 am by rezkiye

» Sockmix v2.6 Fresh Project
Fri Nov 20, 2015 12:08 pm by papeshh

» Offline Registration SYstem And Key Generator By DevelopMig33.Tk
Fri Nov 20, 2015 12:08 pm by papeshh

» All Ocx Box
Thu Oct 22, 2015 7:26 am by papeshh

» multy maker + auto activator ( updated )
Thu Oct 22, 2015 7:15 am by papeshh

» radixel kicking tool(crack) full fee
Thu Sep 03, 2015 7:26 am by rise-of-moon

free counters

load text file in a listbox

View previous topic View next topic Go down

load text file in a listbox

Post  sahriya-omu on Wed Mar 28, 2012 5:36 pm

Create the Followinf function:

Code:
Public Function LoadList(locat As String, lister As ListBox)
On Error Resume Next
Dim nFileNumm As Integer, sNextLinee As String, lLineCountt As Long
nFileNumm = FreeFile
Open locat For Input As nFileNumm
lLineCountt = 1
Do While Not EOF(nFileNumm)
Line Input #nFileNumm, sNextLinee
lLineCountt = lLineCountt + 1
lister.AddItem sNextLinee
Loop
Close nFileNumm
End Function


Call the above function like:
Code:
Private Sub Command1_Click()
LoadList "E:\log.ini", List1
End Sub
avatar
sahriya-omu
Admin
Admin

Posts : 209
Points : 555
Reputation : 31
Join date : 2011-08-11
Age : 25
Location : Barisal

View user profile http://dark-kings.forumotions.net

Back to top Go down

Re: load text file in a listbox

Post  sabeen_11 on Sun Mar 03, 2013 3:06 am

hmm

sabeen_11

Posts : 22
Points : 22
Reputation : 0
Join date : 2013-02-08

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum