Forums for you Fast forums in a simple way
 Registrati
user
password
 


Home->it.comp.programmare.win32
Rispondi  Torna al forum Notizie

ListBox->STream


  • Subject: ListBox->STream
  • From: voglioimparare
  • Data: Thu, 24 Jul 2008 10:08:55 -0700 (PDT)
  • Newsgroups: it.comp.programmare.win32


Salve a tutti
ho un piccolo problema, devo prelevare una query di update multipla da
un file e mandarla ad un oggetto query 3 righe alla volta, perchè non
accetta Update consecutivi.
Ho pensato di caricarla tutta in una ListBox e fin qui ci siamo, ma
ora devo passarla ad uno Stream 3 righe alla volta, per poi eseguire
dall'oggetto query un metodo LoadfromStream.
Non riesco a capire come prelevare dalla ListBox 3 righe alla volta
per mandarle allo Stream.
Ho creato il mio ciclo all'interno dell'oggetto TStringList ma come
faccio a passare le 3 righe alla lista?

void __fastcall TForm1::Button5Click(TObject *Sender)
{
         TStringList *TempList = new TStringList; // dichiara la lista
         try   {

                     for (int i = 0; i < ListBox1->Items->Count;  i =
i
+3)
                     ListBox1->Items-

>Strings[i]...................SavetoStream

            }
         __finally {
              delete TempList; // distrugge l'oggetto lista
                   }
grazie a tutti


Subject Mittente Data
ListBox->STream# ListBox->STream voglio... 24/07/2008
ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Stefan... 25/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Raffae... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Stefan... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Raffae... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Stefan... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Raffae... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Andrea... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Raffae... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Andrea... 27/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream\# Re: ListBox->STream Raffae... 27/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Stefan... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Raffae... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream\# Re: ListBox->STream Stefan... 27/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream voglio... 25/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream voglio... 25/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream\# Re: ListBox->STream Stefan... 25/07/2008


Torna a...>ListBox->STream
Cerca "ListBox->STream" con Gooogle SiteSearch
Google
 
Web www.forumsforyou.com







ForumsForYou non è responsabile dei contenuti degli articoli che vengono inseriti dagli utenti via rete Usenet e che quindi vengono pubblicati di conseguenza sul nostro news server. Si vieta l'utilizzo delle email allegate nei vari articoli per l'invio di mail non richieste.

Copyright 2006 Powered by JTechnology s.r.l. All rights reserved.