Click here to Skip to main content
15,880,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow23-Mar-09 4:06
David Crow23-Mar-09 4:06 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
skamaal23-Mar-09 6:09
skamaal23-Mar-09 6:09 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow24-Mar-09 4:57
David Crow24-Mar-09 4:57 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan24-Mar-09 6:31
salimhassan24-Mar-09 6:31 
QuestionRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow24-Mar-09 6:47
David Crow24-Mar-09 6:47 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan24-Mar-09 6:54
salimhassan24-Mar-09 6:54 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow24-Mar-09 7:03
David Crow24-Mar-09 7:03 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan24-Mar-09 21:21
salimhassan24-Mar-09 21:21 
Hi I tried that one too...
getting error
error C2065: '_Application' : undeclared identifier

I selected classes _Application, _Document, Documents, Bookmarks, Bookmark, Range and Selection..
Project->add class->MFC Class From TypeLib->(from available type classes selected the one for the word). then selected the above mentioned classes.

Even then I am getting the same errors. Dont know how to proceed further.
I guess I need to import some files
#import "mso9.dll" rename("RGB", "MSRGB")
#import "VBE6EXT.OLB" raw_interfaces_only, rename("Reference", "MyReference"), rename("VBE", "testVBE")
#import "msword.olb" rename("ExitWindows", "MyExitWindow"), rename("VBE", "testVBE"), rename("FindText", "WFindText"), rename("NoPrompt", "WNoPrompt")

I am totally confused now... Going ahead witht he Dialog option but same result getting assertion erors at run time...

Guess I need to go on with the manual entering the password... Sigh | :sigh:

kamaal
QuestionRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow25-Mar-09 2:51
David Crow25-Mar-09 2:51 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan25-Mar-09 3:12
salimhassan25-Mar-09 3:12 
QuestionC/C++, doubt on Friend function Pin
Pankaj D.Dubey23-Mar-09 3:11
Pankaj D.Dubey23-Mar-09 3:11 
AnswerRe: C/C++, doubt on Friend function Pin
Cedric Moonen23-Mar-09 3:23
Cedric Moonen23-Mar-09 3:23 
AnswerRe: C/C++, doubt on Friend function Pin
Eytukan23-Mar-09 3:39
Eytukan23-Mar-09 3:39 
AnswerRe: C/C++, doubt on Friend function Pin
«_Superman_»23-Mar-09 5:08
professional«_Superman_»23-Mar-09 5:08 
QuestionC# - bmp to jpg Pin
matty2desmara23-Mar-09 2:47
matty2desmara23-Mar-09 2:47 
AnswerRe: C# - bmp to jpg Pin
David Crow23-Mar-09 2:55
David Crow23-Mar-09 2:55 
AnswerRe: C# - bmp to jpg Pin
Alan Balkany23-Mar-09 4:09
Alan Balkany23-Mar-09 4:09 
Questionc?C++ Pin
Pankaj D.Dubey23-Mar-09 2:42
Pankaj D.Dubey23-Mar-09 2:42 
AnswerRe: c?C++ Pin
CPallini23-Mar-09 2:59
mveCPallini23-Mar-09 2:59 
GeneralRe: c?C++ Pin
Pankaj D.Dubey23-Mar-09 3:08
Pankaj D.Dubey23-Mar-09 3:08 
GeneralRe: c?C++ Pin
Eytukan23-Mar-09 3:11
Eytukan23-Mar-09 3:11 
GeneralRe: c?C++ Pin
Pankaj D.Dubey23-Mar-09 3:20
Pankaj D.Dubey23-Mar-09 3:20 
GeneralRe: c?C++ Pin
Eytukan23-Mar-09 3:40
Eytukan23-Mar-09 3:40 
GeneralRe: c?C++ Pin
CPallini23-Mar-09 4:01
mveCPallini23-Mar-09 4:01 
QuestionRe: c?C++ Pin
led mike23-Mar-09 4:28
led mike23-Mar-09 4:28 

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.