Click here to Skip to main content
15,849,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Isometric bar graph or surface plot... Pin
Chris Losinger1-Aug-12 5:24
professionalChris Losinger1-Aug-12 5:24 
GeneralRe: Isometric bar graph or surface plot... Pin
Phil Outram2-Aug-12 9:38
Phil Outram2-Aug-12 9:38 
Questionc Pin
Abijith N M31-Jul-12 21:43
Abijith N M31-Jul-12 21:43 
AnswerRe: c Pin
Richard MacCutchan31-Jul-12 23:37
mveRichard MacCutchan31-Jul-12 23:37 
AnswerRe: c Pin
Maximilien1-Aug-12 2:04
Maximilien1-Aug-12 2:04 
AnswerRe: c Pin
Software_Developer1-Aug-12 3:36
Software_Developer1-Aug-12 3:36 
AnswerRe: c Pin
JohnAspras5-Aug-12 7:30
JohnAspras5-Aug-12 7:30 
Generalget line range with C++ (word 2010) Pin
BCN-16331-Jul-12 21:09
BCN-16331-Jul-12 21:09 
I want to get the range of a line cursor in.

VBA code (word2010) looks like this:
================================================
ActiveDocument.Bookmarks.Item("\LINE").Range

C++ code looks like this:
================================================
CBookmarks oBookMarks = oDoc.get_Bookmarks();

VARIANT varName;
varName.vt = VT_BYREF|VT_I1;
char buff[6] = {"\\LINE"};
varName.pcVal = buff;
CBookmark0 oBookMark = oBookMarks.Item(&varName);

VBA code works perfectly but C++ code triggers some exception(required members does not exist).

Anyone knows why? I really appriciate for your help.
GeneralRe: get line range with C++ (word 2010) Pin
Jochen Arndt31-Jul-12 22:31
professionalJochen Arndt31-Jul-12 22:31 
GeneralRe: get line range with C++ (word 2010) Pin
BCN-1632-Aug-12 17:12
BCN-1632-Aug-12 17:12 
QuestionCTreeCtrl scrollbar not worked properly for large data. Pin
Le@rner31-Jul-12 2:34
Le@rner31-Jul-12 2:34 
GeneralRe: CTreeCtrl scrollbar not worked properly for large data. Pin
CPallini31-Jul-12 2:59
mveCPallini31-Jul-12 2:59 
GeneralRe: CTreeCtrl scrollbar not worked properly for large data. Pin
Le@rner31-Jul-12 3:17
Le@rner31-Jul-12 3:17 
GeneralRe: CTreeCtrl scrollbar not worked properly for large data. Pin
CPallini31-Jul-12 3:25
mveCPallini31-Jul-12 3:25 
QuestionC++ Win32 drawing Pin
Xarzu30-Jul-12 20:07
Xarzu30-Jul-12 20:07 
AnswerRe: C++ Win32 drawing Pin
«_Superman_»30-Jul-12 20:53
professional«_Superman_»30-Jul-12 20:53 
AnswerRe: C++ Win32 drawing Pin
Richard MacCutchan30-Jul-12 22:58
mveRichard MacCutchan30-Jul-12 22:58 
AnswerRe: C++ Win32 drawing Pin
pasztorpisti31-Jul-12 3:44
pasztorpisti31-Jul-12 3:44 
AnswerRe: C++ Win32 drawing Pin
Albert Holguin31-Jul-12 8:07
professionalAlbert Holguin31-Jul-12 8:07 
Generalwebservice client in c/c++ Pin
sangamdumne30-Jul-12 19:52
sangamdumne30-Jul-12 19:52 
GeneralRe: webservice client in c/c++ Pin
«_Superman_»30-Jul-12 20:56
professional«_Superman_»30-Jul-12 20:56 
GeneralRe: webservice client in c/c++ Pin
sangamdumne31-Jul-12 0:20
sangamdumne31-Jul-12 0:20 
GeneralRe: webservice client in c/c++ Pin
Software_Developer31-Jul-12 0:42
Software_Developer31-Jul-12 0:42 
AnswerRe: webservice client in c/c++ Pin
Albert Holguin31-Jul-12 8:11
professionalAlbert Holguin31-Jul-12 8:11 
QuestionMFC design pattern Pin
shanmugarajaa30-Jul-12 19:50
shanmugarajaa30-Jul-12 19:50 

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.