Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGetPrivateProfileSectionNamesA returns 0 Pin
hans.sch17-Jun-10 21:42
hans.sch17-Jun-10 21:42 
QuestionRe: GetPrivateProfileSectionNamesA returns 0 Pin
CPallini17-Jun-10 22:25
mveCPallini17-Jun-10 22:25 
AnswerRe: GetPrivateProfileSectionNamesA returns 0 Pin
hans.sch20-Jun-10 20:34
hans.sch20-Jun-10 20:34 
GeneralRe: GetPrivateProfileSectionNamesA returns 0 Pin
CPallini20-Jun-10 21:43
mveCPallini20-Jun-10 21:43 
GeneralRe: GetPrivateProfileSectionNamesA returns 0 Pin
hans.sch21-Jun-10 20:24
hans.sch21-Jun-10 20:24 
GeneralRe: GetPrivateProfileSectionNamesA returns 0 Pin
CPallini21-Jun-10 20:54
mveCPallini21-Jun-10 20:54 
QuestionRe Question Ms PowerPoint password protected File Pin
MsmVc17-Jun-10 20:30
MsmVc17-Jun-10 20:30 
AnswerRe: Re Question Ms PowerPoint password protected File Pin
«_Superman_»17-Jun-10 20:37
professional«_Superman_»17-Jun-10 20:37 
There is no straight forward way to do it.
The correct way would have been for power point to support a command line flag to supply the password.
But there isn't such an option.

The dirty way would be to install a CBT hook using SetWindowsHookEx just before invoking power point.
The hook function can then get notified when the password dialog pops up and can supply the password for it.
The hook can then be uninstalled using UnhookWindowsHookEx.

You could probably also use NotifyWinEvent instead of SetWindowsHookEx.
«_Superman

I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++)

Polymorphism in C







GeneralRe: Re Question Ms PowerPoint password protected File Pin
MsmVc17-Jun-10 20:40
MsmVc17-Jun-10 20:40 
Questiondownload file from server Pin
john563217-Jun-10 20:11
john563217-Jun-10 20:11 
AnswerRe: download file from server Pin
«_Superman_»17-Jun-10 20:15
professional«_Superman_»17-Jun-10 20:15 
GeneralRe: download file from server Pin
john563217-Jun-10 21:04
john563217-Jun-10 21:04 
QuestionCombobox Pin
Chandrasekharan P17-Jun-10 19:29
Chandrasekharan P17-Jun-10 19:29 
AnswerRe: Combobox Pin
Cedric Moonen17-Jun-10 19:57
Cedric Moonen17-Jun-10 19:57 
GeneralRe: Combobox Pin
Chandrasekharan P17-Jun-10 20:17
Chandrasekharan P17-Jun-10 20:17 
GeneralRe: Combobox Pin
Niklas L17-Jun-10 21:53
Niklas L17-Jun-10 21:53 
GeneralRe: Combobox Pin
Code-o-mat18-Jun-10 4:15
Code-o-mat18-Jun-10 4:15 
QuestionLoading Bitmap in rect Pin
Anu_Bala17-Jun-10 18:48
Anu_Bala17-Jun-10 18:48 
AnswerRe: Loading Bitmap in rect Pin
Anu_Bala17-Jun-10 19:22
Anu_Bala17-Jun-10 19:22 
AnswerRe: Loading Bitmap in rect Pin
KarstenK17-Jun-10 20:48
mveKarstenK17-Jun-10 20:48 
QuestionTransfer data directly between 2 clients Pin
includeh1017-Jun-10 17:03
includeh1017-Jun-10 17:03 
AnswerRe: Transfer data directly between 2 clients Pin
Parthiban18-Jun-10 0:20
Parthiban18-Jun-10 0:20 
AnswerRe: Transfer data directly between 2 clients Pin
Emilio Garavaglia18-Jun-10 2:54
Emilio Garavaglia18-Jun-10 2:54 
GeneralRe: Transfer data directly between 2 clients Pin
includeh1020-Jun-10 13:44
includeh1020-Jun-10 13:44 
Questionarray => vector Pin
VeganFanatic17-Jun-10 9:22
VeganFanatic17-Jun-10 9:22 

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.