Click here to Skip to main content
15,891,431 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Why my program "sleep" for a moment Pin
Luc Pattyn26-Jan-11 10:07
sitebuilderLuc Pattyn26-Jan-11 10:07 
GeneralRe: Why my program "sleep" for a moment Pin
ivo7526-Jan-11 20:18
ivo7526-Jan-11 20:18 
QuestionVb.Net - How to stop duplex on a printer Pin
Central_IT24-Jan-11 3:04
Central_IT24-Jan-11 3:04 
AnswerRe: Vb.Net - How to stop duplex on a printer Pin
Henry Minute24-Jan-11 3:55
Henry Minute24-Jan-11 3:55 
GeneralRe: Vb.Net - How to stop duplex on a printer Pin
Central_IT24-Jan-11 4:28
Central_IT24-Jan-11 4:28 
GeneralRe: Vb.Net - How to stop duplex on a printer Pin
Henry Minute24-Jan-11 5:56
Henry Minute24-Jan-11 5:56 
GeneralRe: Vb.Net - How to stop duplex on a printer Pin
Central_IT24-Jan-11 8:56
Central_IT24-Jan-11 8:56 
GeneralRe: Vb.Net - How to stop duplex on a printer Pin
Henry Minute24-Jan-11 9:33
Henry Minute24-Jan-11 9:33 
If you click on the second link in my first reply and scroll down to the answer from 'JWolf011' and look at the code he has posted.

You have not show us the code you are using so I cannot tell you exactly where you should put that code but for an example suppose that you have a Button to turn off Duplex. Double-click the Button to get the template for its Click handler in your code window.

Inside the new handler type the code from that link (leave out the two Debug.Print lines, if you like and you must change mo.SetPropertyValue("Duplex", True) to mo.SetPropertyValue("Duplex", False)).

Then when you run your application and click that Button it should turn off Duplex. Then do your normal printing.

If it works then move the code into your normal print routine.
Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!

AnswerRe: Vb.Net - How to stop duplex on a printer Pin
Luc Pattyn24-Jan-11 4:08
sitebuilderLuc Pattyn24-Jan-11 4:08 
QuestionCreate chart in Excel using Access tables with vb.net Pin
vijay248223-Jan-11 23:18
vijay248223-Jan-11 23:18 
AnswerRe: Create chart in Excel using Access tables with vb.net Pin
thatraja24-Jan-11 0:19
professionalthatraja24-Jan-11 0:19 
GeneralRe: Create chart in Excel using Access tables with vb.net Pin
vijay248224-Jan-11 0:24
vijay248224-Jan-11 0:24 
QuestionSystem.NullReferenceException: Check my solution someone, pls Pin
KCDude20-Jan-11 6:12
KCDude20-Jan-11 6:12 
AnswerRe: System.NullReferenceException: Check my solution someone, pls Pin
Ian Shlasko20-Jan-11 6:19
Ian Shlasko20-Jan-11 6:19 
GeneralRe: System.NullReferenceException: Check my solution someone, pls Pin
KCDude20-Jan-11 6:46
KCDude20-Jan-11 6:46 
GeneralRe: System.NullReferenceException: Check my solution someone, pls Pin
Ian Shlasko20-Jan-11 7:45
Ian Shlasko20-Jan-11 7:45 
AnswerRe: System.NullReferenceException: Check my solution someone, pls Pin
Luc Pattyn20-Jan-11 6:28
sitebuilderLuc Pattyn20-Jan-11 6:28 
AnswerRe: System.NullReferenceException: Check my solution someone, pls Pin
Eddy Vluggen21-Jan-11 1:04
professionalEddy Vluggen21-Jan-11 1:04 
QuestionGeneral Question about programming steps Pin
joyfullboy2997319-Jan-11 2:17
joyfullboy2997319-Jan-11 2:17 
AnswerRe: General Question about programming steps Pin
Pravin Patil, Mumbai19-Jan-11 4:12
Pravin Patil, Mumbai19-Jan-11 4:12 
AnswerRe: General Question about programming steps Pin
Manfred Rudolf Bihy19-Jan-11 11:03
professionalManfred Rudolf Bihy19-Jan-11 11:03 
AnswerRe: General Question about programming steps Pin
T210219-Jan-11 14:36
T210219-Jan-11 14:36 
JokeRe: General Question about programming steps Pin
joyfullboy2997320-Jan-11 0:53
joyfullboy2997320-Jan-11 0:53 
QuestionOrphan Question [modified] - Has a Home now! Pin
Soulus8318-Jan-11 19:52
Soulus8318-Jan-11 19:52 
AnswerRe: Orphan Question Pin
Andy_L_J18-Jan-11 20:01
Andy_L_J18-Jan-11 20:01 

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.