Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

export text to txt file and formating text

[es] :: Visual Basic 6 :: export text to txt file and formating text

[ Pregleda: 1972 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

miki987

Član broj: 208123
Poruke: 511
*.dynamic.isp.telekom.rs.



+5 Profil

icon export text to txt file and formating text27.01.2015. u 00:02 - pre 112 meseci
Cao forumasi, davno me nije bilo, ne znam zivi li jos uvek forum
Zapeo sam kod sledeceg.
Kako da formatiram text koji exportujem iz listview kontrole

Code:

...
For I = 1 To ListView.ListItems.Count
Print #1, ListView.ListItems(I).SubItems(1)
...


npr.text ABCD10000001 da dobijem u .txt ABCD-100-000-01
 
Odgovor na temu

captPicard
programer
more i planine

Član broj: 216084
Poruke: 1119



+19 Profil

icon Re: export text to txt file and formating text27.01.2015. u 15:18 - pre 112 meseci
Code:
' Creates text string. 
Dim TestString As String = "Mid Function Demo" 
' Returns "Mid". 
Dim FirstWord As String = Mid(TestString, 1, 3)
' Returns "Demo". 
Dim LastWord As String = Mid(TestString, 14, 4)
' Returns "Function Demo". 
Dim MidWords As String = Mid(TestString, 5)

F
 
Odgovor na temu

[es] :: Visual Basic 6 :: export text to txt file and formating text

[ Pregleda: 1972 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.