Click here to Skip to main content
16,013,338 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: COleDateTime::GetCurrentTime and daylight saving changes Pin
BadJerry30-Mar-05 0:26
BadJerry30-Mar-05 0:26 
GeneralRe: COleDateTime::GetCurrentTime and daylight saving changes Pin
Mike Dimmick30-Mar-05 1:17
Mike Dimmick30-Mar-05 1:17 
GeneralRe: COleDateTime::GetCurrentTime and daylight saving changes Pin
BadJerry30-Mar-05 2:07
BadJerry30-Mar-05 2:07 
QuestionHow to support multi-language Pin
ytod29-Mar-05 23:18
ytod29-Mar-05 23:18 
AnswerRe: How to support multi-language Pin
BadJerry29-Mar-05 23:27
BadJerry29-Mar-05 23:27 
GeneralGetting domain name where a remote computer is attached Pin
Suso29-Mar-05 20:35
Suso29-Mar-05 20:35 
QuestionLink one view to an other? Pin
herime29-Mar-05 20:33
herime29-Mar-05 20:33 
GeneralIHTMLDocument2 loading Pin
mlatimer29-Mar-05 19:43
mlatimer29-Mar-05 19:43 
Hi
I'm using CHtmlEditCtrl to edit HTML documents.
The following code is used to load the file into the document object. It works fine when the document is initally loaded, but once the file has been edited and saved by the document object itself, the file does not load correctly.

I'm not to hot on reading from files, so any suggestions would be appriciated.

Many Thanks
Mark

if(f.Open(m_sEditingFile, CFile::modeRead))
{
while(f.ReadString(sIn))
{
SAFEARRAY* psa = SafeArrayCreateVector(VT_VARIANT, 0, 1);
VARIANT *param;
SafeArrayAccessData(psa, (LPVOID*)¶m);
param->vt = VT_BSTR;
param->bstrVal = sIn.AllocSysString();

pDoc->writeln(psa);
}
}

GeneralRe: IHTMLDocument2 loading Pin
mlatimer29-Mar-05 20:07
mlatimer29-Mar-05 20:07 
GeneralCPropertySheet::SetActivePage() Pin
swati2429-Mar-05 19:11
swati2429-Mar-05 19:11 
GeneralRe: CPropertySheet::SetActivePage() Pin
ThatsAlok29-Mar-05 20:08
ThatsAlok29-Mar-05 20:08 
GeneralRe: CPropertySheet::SetActivePage() Pin
Ravi Bhavnani29-Mar-05 20:13
professionalRavi Bhavnani29-Mar-05 20:13 
GeneralRe: CPropertySheet::SetActivePage() Pin
swati2429-Mar-05 20:31
swati2429-Mar-05 20:31 
Generalsb live Pin
nvd229-Mar-05 17:54
nvd229-Mar-05 17:54 
GeneralRe: sb live Pin
Joel Holdsworth29-Mar-05 20:47
Joel Holdsworth29-Mar-05 20:47 
GeneralCalling Forms from Forms Pin
mvtapia29-Mar-05 17:52
mvtapia29-Mar-05 17:52 
GeneralDevice driver compatability between Win95 & Win98 Pin
Neha.marwaha29-Mar-05 16:51
Neha.marwaha29-Mar-05 16:51 
GeneralRe: Device driver compatability between Win95 & Win98 Pin
MMansonFan2529-Mar-05 22:46
MMansonFan2529-Mar-05 22:46 
QuestionCould anyone help me, please? Pin
New Student29-Mar-05 14:37
New Student29-Mar-05 14:37 
QuestionPlease help. Is multimap what I need? Pin
knapak29-Mar-05 12:58
knapak29-Mar-05 12:58 
AnswerRe: Please help. Is multimap what I need? Pin
BadJerry29-Mar-05 23:47
BadJerry29-Mar-05 23:47 
GeneralRe: Please help. Is multimap what I need? Pin
knapak30-Mar-05 10:50
knapak30-Mar-05 10:50 
AnswerRe: Please help. Is multimap what I need? Pin
Blake Miller30-Mar-05 4:23
Blake Miller30-Mar-05 4:23 
GeneralRe: Please help. Is multimap what I need? Pin
knapak30-Mar-05 10:50
knapak30-Mar-05 10:50 
GeneralProblem with SetWindowsHookEx() Pin
Dev57829-Mar-05 12:40
Dev57829-Mar-05 12: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.