Article View: free.it.visual-basic
Article #1144SOSTITUIRE VALORI A VARIABILI PRESENTI IN UN FILE TXT
From: Max
Date: Thu, 16 Sep 2004 07:23
Date: Thu, 16 Sep 2004 07:23
16 lines
1585 bytes
1585 bytes
Salve a tutti espongo il mio problema :
Ho un file di testo del tipo :
{AC000;0048,1014,05,05,J,33,B|}
{AC001;0388,0695,15,15,E,33,B|}
{ZC000;Giorgio|}
{ZC001;(cliente)|}
{ZC002;(Oreapp)|}
etc.
In questo file ci sono delle variabili che cambiano a seconda del cliente
con il quale lavoro. Vorrei aprire il file txt andare a sostituire al posto
delle variabili ( racchiuse nelle parentesi tonde es. (cliente) o (Oreapp) )
valori presi da un db e inserie tutto in una textbox.Le variabili le
recupero facilmente dal db ci� che non riesco a fare � la sostituzione dei
valori al posto delle variabili e la trascrizione nella textbox... Qualche
idea ?
Grazie in anticipo a quanti risponderanno !
Technical Details
Message-ID:
<cibevf$2d1$1@newsread.albacom.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.kamp.net!80.239.136.22.MISMATCH!frankfurt1.telia.de!newsfeed.albacom.net!newsread.albacom.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f94ee,2ff30590bcb2ab67,start X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.kamp.net!80.239.136.22.MISMATCH!frankfurt1.telia.de!newsfeed.albacom.net!newsread.albacom.net!not-for-mail From: "Max" <icetrap73@yahoo.it> Newsgroups: free.it.visual-basic Subject: SOSTITUIRE VALORI A VARIABILI PRESENTI IN UN FILE TXT Date: Thu, 16 Sep 2004 09:23:44 +0200 Organization: Albacom S.p.A. Lines: 18 Message-ID: <cibevf$2d1$1@newsread.albacom.net> NNTP-Posting-Host: 213.255.118.143 X-Trace: newsread.albacom.net 1095319343 2465 213.255.118.143 (16 Sep 2004 07:22:23 GMT) X-Complaints-To: abuse@albacom.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441