Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.visual-basic > #18738 > unrolled thread
| Started by | Greg <greg@alicie.com> |
|---|---|
| First post | 2016-03-07 18:47 +0100 |
| Last post | 2016-03-07 21:08 +0100 |
| Articles | 2 — 1 participant |
Back to article view | Back to it.comp.lang.visual-basic
Problema con la stampa di un file Greg <greg@alicie.com> - 2016-03-07 18:47 +0100
Re: Problema con la stampa di un file Greg <greg@alicie.com> - 2016-03-07 21:08 +0100
| From | Greg <greg@alicie.com> |
|---|---|
| Date | 2016-03-07 18:47 +0100 |
| Subject | Problema con la stampa di un file |
| Message-ID | <nbkesa$8f4$1@solani.org> |
Con una sub creo un file di testo e poi lo apro con notepad. Tutto bene tranne che su una machcina con winxp, il file si apre in notepar ma รจ vuoto, sembra che l'istruzione Print non funzioni allo stresso modo. Non ho vicino in pc con xp, devo ricmpilare e spedire, ma se al posto di Print uso Put potrebbe cambiare qualcosa? s = "PREPARAZIONE: " & tPrepara.txt s = s & "NOTE: " & tNote.txt Dim F As Integer F = FreeFile Open App.Path & "\Istruzioni.txt" For Output As #F Print #F, s Close #F Shell "notepad.exe " & App.Path & "\Istruzioni.txt", vbNormalFocus -- Greg
[toc] | [next] | [standalone]
| From | Greg <greg@alicie.com> |
|---|---|
| Date | 2016-03-07 21:08 +0100 |
| Message-ID | <nbkn3k$8ql$1@solani.org> |
| In reply to | #18738 |
Il 07/03/2016 18:47:52 Greg ha scritto: > Con una sub creo un file di testo e poi lo apro con notepad. E niente, mistero vanito, ho ricevuto mail che funziona tutto bene! -- Greg
[toc] | [prev] | [standalone]
Back to top | Article view | it.comp.lang.visual-basic
csiph-web