Click here to Skip to main content
15,903,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: The Image is being displayed upside down :( Pin
normanS27-Feb-06 18:25
normanS27-Feb-06 18:25 
GeneralRe: The Image is being displayed upside down :( Pin
signbit27-Feb-06 18:33
signbit27-Feb-06 18:33 
GeneralRe: The Image is being displayed upside down :( Pin
mbue27-Feb-06 21:50
mbue27-Feb-06 21:50 
GeneralRe: The Image is being displayed upside down :( Pin
signbit27-Feb-06 22:14
signbit27-Feb-06 22:14 
GeneralRe: The Image is being displayed upside down :( Pin
mbue27-Feb-06 22:53
mbue27-Feb-06 22:53 
GeneralRe: The Image is being displayed upside down :( Pin
normanS27-Feb-06 22:59
normanS27-Feb-06 22:59 
GeneralRe: The Image is being displayed upside down :( Pin
signbit28-Feb-06 19:02
signbit28-Feb-06 19:02 
QuestionCDocument Class Pin
Subramaniam s.V.27-Feb-06 17:47
Subramaniam s.V.27-Feb-06 17:47 
AnswerRe: CDocument Class Pin
Ryan Binns27-Feb-06 17:54
Ryan Binns27-Feb-06 17:54 
GeneralRe: CDocument Class Pin
Subramaniam s.V.27-Feb-06 18:04
Subramaniam s.V.27-Feb-06 18:04 
GeneralRe: CDocument Class Pin
haian244227-Feb-06 21:58
haian244227-Feb-06 21:58 
GeneralRe: CDocument Class Pin
Ryan Binns27-Feb-06 22:48
Ryan Binns27-Feb-06 22:48 
QuestionFindFirstPrinterChangeNotification() fail! Pin
szcococut27-Feb-06 15:43
szcococut27-Feb-06 15:43 
AnswerRe: FindFirstPrinterChangeNotification() fail! Pin
Blake Miller1-Mar-06 9:28
Blake Miller1-Mar-06 9:28 
GeneralRe: FindFirstPrinterChangeNotification() fail! Pin
szcococut1-Mar-06 21:37
szcococut1-Mar-06 21:37 
GeneralRe: FindFirstPrinterChangeNotification() fail! Pin
Blake Miller2-Mar-06 4:16
Blake Miller2-Mar-06 4:16 
The same way you open the other ones, but you have to be granted access permission form the owner of the object, in this case the printer.

In other words, a network administrator needs to grant the MachineName\Administrator account privileges to modify the printer.

Also, you could try different access permission request, instead of ALL_ACCESS try something like 'read' access rights on the OpenPrinter command, that might work, since you are perhaps not trying to change anything.

Most people seem to go for ALL_ACCESS when they only want to query a device. Opening for read only access often works where 'all access' or 'write access' requests fail.

You could post the code for your OpenPrinter command and me or someone here could try to help you out.

People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks
Questioninvisible c++ mfc app Pin
yageroy27-Feb-06 15:41
yageroy27-Feb-06 15:41 
AnswerRe: invisible c++ mfc app Pin
Hamid_RT27-Feb-06 17:11
Hamid_RT27-Feb-06 17:11 
GeneralRe: invisible c++ mfc app Pin
yageroy27-Feb-06 17:30
yageroy27-Feb-06 17:30 
GeneralRe: invisible c++ mfc app Pin
Hamid_RT27-Feb-06 17:44
Hamid_RT27-Feb-06 17:44 
GeneralRe: invisible c++ mfc app Pin
yageroy27-Feb-06 17:46
yageroy27-Feb-06 17:46 
AnswerRe: invisible c++ mfc app Pin
Ryan Binns27-Feb-06 17:56
Ryan Binns27-Feb-06 17:56 
GeneralRe: invisible c++ mfc app Pin
yageroy27-Feb-06 18:12
yageroy27-Feb-06 18:12 
QuestionHow to set color in each item in CCombobox Pin
lorey27-Feb-06 15:31
lorey27-Feb-06 15:31 
AnswerRe: How to set color in each item in CCombobox Pin
mbue27-Feb-06 15:40
mbue27-Feb-06 15:40 

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.