Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.visual-basic > #18738
| From | Greg <greg@alicie.com> |
|---|---|
| Newsgroups | it.comp.lang.visual-basic |
| Subject | Problema con la stampa di un file |
| Date | 2016-03-07 18:47 +0100 |
| Organization | solani.org |
| Message-ID | <nbkesa$8f4$1@solani.org> (permalink) |
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
Back to it.comp.lang.visual-basic | Previous | Next — Next in thread | Find similar
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
csiph-web