Re: Getting the default printer in 64-bit Vista
- From: "Mark Rae" <mark@xxxxxxxxxxxxxxxxx>
- Date: Sat, 9 Jun 2007 17:09:44 +0100
"Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx> wrote in message news:u%23RpYeqqHHA.3248@xxxxxxxxxxxxxxxxxxxxxxx
That returns "No Default Printer Set"
That means that the PrintDlg call returns 0, which means "failure" to get the default printer..... which does not necessarily means there is no default printer :-)
OK... Do I need to be concerned about this, do you think...?
WMI does not use comdlg32.dll, anyway, it looks like there the issue is with the 32bit version of the common dialog component or (more probably) one of it's dependents. Mind to check the version installed in %windir%\SysWow64? I have 6.0.6000.16386, however I can't believe yours would be different.
Yes - that's what I have...
--
http://www.markrae.net
.
- Follow-Ups:
- Re: Getting the default printer in 64-bit Vista
- From: Willy Denoyette [MVP]
- Re: Getting the default printer in 64-bit Vista
- References:
- Getting the default printer in 64-bit Vista
- From: Mark Rae
- Re: Getting the default printer in 64-bit Vista
- From: Willy Denoyette [MVP]
- Re: Getting the default printer in 64-bit Vista
- From: Mark Rae
- Re: Getting the default printer in 64-bit Vista
- From: Willy Denoyette [MVP]
- Re: Getting the default printer in 64-bit Vista
- From: Mark Rae
- Re: Getting the default printer in 64-bit Vista
- From: Willy Denoyette [MVP]
- Re: Getting the default printer in 64-bit Vista
- From: Mark Rae
- Re: Getting the default printer in 64-bit Vista
- From: Willy Denoyette [MVP]
- Getting the default printer in 64-bit Vista
- Prev by Date: Re: Can References to "Oracle.DataAccess" AND "System.Data.OracleClient" co-exist in one application ?
- Next by Date: Re: static class inheritance, generalized
- Previous by thread: Re: Getting the default printer in 64-bit Vista
- Next by thread: Re: Getting the default printer in 64-bit Vista
- Index(es):