English
Forum

List view code...

 
Hello Frank
of these code try I, The CSV-File To code - unfortunately without success
---------------------
PROC DATEN_SPEICHERN
PARAMETERS scheduler$
Ifnot scheduler$=
x&=GetNeededMemory(listview&,1)
Dim area#,x&
x&=ListviewToCsv(listview&,area#,0,0) List view-data in the CSV-stature read
CryptMem(area#,x&,addr(Password$),len(Password$)) data in the area again code
WriteFileQuick(addr(scheduler$),area#,0,x&) data again as Save file
Dispose area#
EndIf
ENDPROC
-------------------- The VERSCHLÜSSELUNG works !
.......
x&=@FileSize(scheduler$)
If x&>0
Dim area#,x&
ReadFileQuick(addr(scheduler$),area#,0,x&) File in Speicherbereich invite
CryptMem(area#,x&,addr(Password$),len(Password$)) data in the area decode
CsvToListview(listview&,area#,x&,spaltenzahl%) CSV-File in List view reading
Dispose area#
EndIf
.....
--------------------
The Variable spaltenzahl% becomes a Zusatzdatei read
the Password standing in the momentum at the beginning the code-Textes (should later of/ one disengaged input weichen)
If I eintschlüsseln wants, becomes in the Statuszeile The Number of Entries displayed (should so his) in the List view becomes but only a slot over The whole wide OHNE Text viewed - What do I do wrong ???
greeting
horst
 
02/01/05  
 




Frank
Abbing
Hello Horst,

Have it yourself straight tested, functions correct!
You must naturally not forget, in your Ziellistview before already yourself (vain) Split anzulegen! CsvToListview() places yourself no Split on! it copies only whom Text properly in available Split.
from Csv-Files Automatically Split lay out can but SetColumnsFromMem(). letting you moreover times the guide through.
 
02/01/05  
 



AHAAA
sometimes is one How vernagelt
there my Program Listviews with up to 24 Split prepares and the cover this Split spare association go, go these together with the Spaltenzahl as simple Textdatei stored. with the Procedur SPALTEN_AUFBAU go these Information read. the I had in the previous Text behind CsvToListview(.... stand and without The Verschlüsselung functions it too. now standing the appeal before and everything works !
thanks
CSV_DATEN scheduler$
SPALTEN_AUFBAU here was the dog bury !!!!
bytes&=@FileSize(scheduler$)
If bytes&>0
Dim area#,bytes&
ReadFileQuick(addr(scheduler$),area#,0,bytes&) File in Speicherbereich invite
CryptMem(area#,bytes&,addr(Password$),len(Password$)) data in the area decode
x&=SetColumnsFromMem(listview&,area#,addr(y&))
CsvToListview(listview&,area#,bytes&,spaltenzahl%) CSV-File in List view reading
Dispose area#
EndIf
greeting
horst
[E-Mail]
 
02/01/05  
 




Frank
Abbing
Hi,

circa time your words To use:

[quote:b0626f26d2]everything becomes well![/quote:b0626f26d2]
 
02/01/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.439 Views

Untitledvor 0 min.
Ernst07/28/16
Michael W.07/04/16
Erasmus.Herold01/21/16
Uwe Lang12/14/13
More...

Themeninformationen

this Topic has 2 subscriber:

Frank Abbing (2x)
unbekannt (2x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie