coba dengan script ini..
moga membantu..
Sub Import_File(ByVal F As String)
Dim xTemp As String
xTemp = TxtBacaFile
Open F For Input As #8
Do While Not EOF(8)
Line Input #8, xTemp
TxtBacaFile = TxtBacaFile & vbCrLf & xTemp
Loop
Close #8
End Sub
peace..
-agus sudana-
--- key_nys <[EMAIL PROTECTED]> wrote:
> Dear all,
> Bagaimana ya.. caranya untuk mengambil data dari
> file txt?
> Misalnya saya memiliki file txt berisi nama :
> A
> B
> C
>
> Bagaimana supaya data pada file txt tersebut bisa
> ditampilkan pada
> textbox di form VB. Atau dengan kata lain
> databasenya berasal dari
> file txt tersebut...
> Mohon maaf bila pertanyaannya kurang jelas atau
> sudah pernah
> ditanyakan sebelumnya...
>
> Thx A lot b4
>
> Kennis
>
>
>
>
>
>
>
>
>
__________________________________
Yahoo! for Good - Make a difference this year.
http://brand.yahoo.com/cybergivingweek2005/
Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmer-VB/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/