Click here to Skip to main content
15,897,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHelp! How to add combobox into a listctrl ? Pin
xjbetter24-Jun-06 21:51
xjbetter24-Jun-06 21:51 
AnswerRe: Help! How to add combobox into a listctrl ? Pin
ovidiucucu25-Jun-06 1:44
ovidiucucu25-Jun-06 1:44 
AnswerRe: Help! How to add combobox into a listctrl ? Pin
Hamid_RT25-Jun-06 1:53
Hamid_RT25-Jun-06 1:53 
Questionvisual studio 2005 problem with converting strings Pin
cv_k3n24-Jun-06 19:45
cv_k3n24-Jun-06 19:45 
AnswerRe: visual studio 2005 problem with converting strings [modified] Pin
Stephen Hewitt24-Jun-06 19:50
Stephen Hewitt24-Jun-06 19:50 
GeneralRe: visual studio 2005 problem with converting strings Pin
cv_k3n24-Jun-06 20:03
cv_k3n24-Jun-06 20:03 
GeneralRe: visual studio 2005 problem with converting strings [modified] Pin
Stephen Hewitt24-Jun-06 20:07
Stephen Hewitt24-Jun-06 20:07 
GeneralRe: visual studio 2005 problem with converting strings Pin
cv_k3n24-Jun-06 20:36
cv_k3n24-Jun-06 20:36 
Thanks again Steve. As you can see, i'm fairly new to programming with visual studio. I'm having another problem with writing to files. Like before, this code works perfectly well in MSVC6 but its giving me problems in VS2005. I'll only show half the code for simplicity.

CString tempbuf;
tempbuf = "Job number,";
file.Write((LPCTSTR)tempbuf,tempbuf.GetLength());
file.Close;

When i open the file, it has 'J o b n u' in it. Do you know how i can fix this problem?

Thanks for your time.


GeneralRe: visual studio 2005 problem with converting strings [modified] Pin
Stephen Hewitt24-Jun-06 21:24
Stephen Hewitt24-Jun-06 21:24 
GeneralRe: visual studio 2005 problem with converting strings Pin
cv_k3n24-Jun-06 22:05
cv_k3n24-Jun-06 22:05 
GeneralRe: visual studio 2005 problem with converting strings Pin
Stephen Hewitt24-Jun-06 22:09
Stephen Hewitt24-Jun-06 22:09 
GeneralRe: visual studio 2005 problem with converting strings Pin
cv_k3n24-Jun-06 23:25
cv_k3n24-Jun-06 23:25 
GeneralRe: visual studio 2005 problem with converting strings Pin
Stephen Hewitt24-Jun-06 23:32
Stephen Hewitt24-Jun-06 23:32 
GeneralRe: visual studio 2005 problem with converting strings Pin
cv_k3n25-Jun-06 0:15
cv_k3n25-Jun-06 0:15 
GeneralRe: visual studio 2005 problem with converting strings Pin
Stephen Hewitt25-Jun-06 0:22
Stephen Hewitt25-Jun-06 0:22 
GeneralRe: visual studio 2005 problem with converting strings Pin
Michael Dunn25-Jun-06 7:52
sitebuilderMichael Dunn25-Jun-06 7:52 
Questionwhy is a virus, my pe file? Pin
zon_cpp24-Jun-06 19:31
zon_cpp24-Jun-06 19:31 
AnswerRe: why is a virus, my pe file? [modified] Pin
Stephen Hewitt24-Jun-06 19:52
Stephen Hewitt24-Jun-06 19:52 
AnswerRe: why is a virus, my pe file? Pin
Ted Ferenc24-Jun-06 21:46
Ted Ferenc24-Jun-06 21:46 
QuestionReturn the Caption of Windows Pin
Max++24-Jun-06 18:06
Max++24-Jun-06 18:06 
AnswerRe: Return the Caption of Windows Pin
Michael Dunn24-Jun-06 18:23
sitebuilderMichael Dunn24-Jun-06 18:23 
GeneralRe: Return the Caption of Windows [modified] Pin
Stephen Hewitt24-Jun-06 19:29
Stephen Hewitt24-Jun-06 19:29 
GeneralRe: Return the Caption of Windows Pin
Hamid_RT25-Jun-06 2:14
Hamid_RT25-Jun-06 2:14 
GeneralRe: Return the Caption of Windows Pin
Stephen Hewitt25-Jun-06 3:19
Stephen Hewitt25-Jun-06 3:19 
QuestionQuestion about memory locations. Pin
Lord Kixdemp24-Jun-06 15:39
Lord Kixdemp24-Jun-06 15:39 

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.