Click here to Skip to main content
16,004,927 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralProblem comn bw samba and vb.net Pin
kaleem_khan200118-Jul-05 19:55
kaleem_khan200118-Jul-05 19:55 
GeneralTextfile Pin
ADY00718-Jul-05 11:14
ADY00718-Jul-05 11:14 
GeneralRe: Textfile Pin
Christian Graus18-Jul-05 13:03
protectorChristian Graus18-Jul-05 13:03 
GeneralRe: Textfile Pin
ADY00718-Jul-05 21:37
ADY00718-Jul-05 21:37 
GeneralRe: Textfile Pin
Christian Graus19-Jul-05 10:34
protectorChristian Graus19-Jul-05 10:34 
GeneralRe: Textfile Pin
dabuskol18-Jul-05 20:54
dabuskol18-Jul-05 20:54 
GeneralRe: Textfile Pin
ADY00718-Jul-05 23:09
ADY00718-Jul-05 23:09 
GeneralInvoking PrintDialog for Notepad Pin
Anonymous18-Jul-05 11:14
Anonymous18-Jul-05 11:14 
Hi all,

I am using the following line to print a file in my VB .NET app.

Shell("Notepad.exe /p " & lsFile, AppWinStyle.Hide)

This way I don't have to worry about drawing out a PrintDocument and wordwrap is handled for me by Notepad.

I was wondering if there is a way of invoking the Print Dialog for Notepad through a command line argument? Or someway of passing the printer name to the Notepad command line argument /pt filename printer ?

Any suggestions? Thanks
GeneralRe: Invoking PrintDialog for Notepad Pin
progload18-Jul-05 12:42
progload18-Jul-05 12:42 
GeneralRe: Invoking PrintDialog for Notepad Pin
Anonymous19-Jul-05 3:46
Anonymous19-Jul-05 3:46 
GeneralRe: Invoking PrintDialog for Notepad Pin
progload19-Jul-05 8:19
progload19-Jul-05 8:19 
GeneralRe: Invoking PrintDialog for Notepad Pin
progload19-Jul-05 9:32
progload19-Jul-05 9:32 
GeneralRe: Invoking PrintDialog for Notepad Pin
Anonymous19-Jul-05 13:18
Anonymous19-Jul-05 13:18 
GeneralHelp: System.Runtime.InteropServices.COMException Pin
Anonymous18-Jul-05 10:50
Anonymous18-Jul-05 10:50 
GeneralRe: Help: System.Runtime.InteropServices.COMException Pin
progload18-Jul-05 11:09
progload18-Jul-05 11:09 
GeneralRe: Help: System.Runtime.InteropServices.COMException Pin
Anonymous18-Jul-05 11:10
Anonymous18-Jul-05 11:10 
GeneralVariable Pin
ADY00718-Jul-05 10:37
ADY00718-Jul-05 10:37 
GeneralRe: Variable Pin
Christian Graus18-Jul-05 13:01
protectorChristian Graus18-Jul-05 13:01 
GeneralRe: Variable Pin
progload18-Jul-05 13:29
progload18-Jul-05 13:29 
GeneralTextFile Pin
ADY00718-Jul-05 7:58
ADY00718-Jul-05 7:58 
GeneralRe: TextFile Pin
KaptinKrunch18-Jul-05 9:57
KaptinKrunch18-Jul-05 9:57 
GeneralRe: TextFile Pin
ADY00718-Jul-05 10:07
ADY00718-Jul-05 10:07 
GeneralSNMP coding using Visual Basic Pin
Anonymous18-Jul-05 6:51
Anonymous18-Jul-05 6:51 
GeneralRe: SNMP coding using Visual Basic Pin
progload18-Jul-05 15:57
progload18-Jul-05 15:57 
GeneralRe: SNMP coding using Visual Basic Pin
progload18-Jul-05 16:15
progload18-Jul-05 16:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.