marceluh Posted May 18, 2006 at 08:49 AM Report Share #27999 Posted May 18, 2006 at 08:49 AM boas.... Como posso fazer imprimir em visual basic um ficheiro de texto, para a impressora local... precisava da resposta urgente se possivel... hasta [[]] Link to comment Share on other sites More sharing options...
Asgorath Posted May 18, 2006 at 10:48 AM Report Share #28028 Posted May 18, 2006 at 10:48 AM Boas Como nao disseste que versao tens vai em vb.net que o meu vb6 esta algo enfurajado. Dim strFile As String = "c:\test.txt" Dim objProcess As New System.Diagnostics.ProcessStartInfo With objProcess .FileName = strFile .WindowStyle = ProcessWindowStyle.Hidden .Verb = "print" .CreateNoWindow = True .UseShellExecute = True End With Try System.Diagnostics.Process.Start(objProcess) Catch ex As Exception MessageBox.Show(ex.Message) End Try "The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod Link to comment Share on other sites More sharing options...
KaZ Posted May 18, 2006 at 11:01 AM Report Share #28031 Posted May 18, 2006 at 11:01 AM kerees isso em vb 6.0 ? eu axo k tenho ixo, eu vou ver e dps digo algo... ? 👍 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now