Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to show dialog box in maximized mode(size) after running the dailog based application? Pin
puppya22-Oct-08 21:07
puppya22-Oct-08 21:07 
AnswerRe: how to show dialog box in maximized mode(size) after running the dailog based application? Pin
SandipG 22-Oct-08 21:09
SandipG 22-Oct-08 21:09 
QuestionCant delete files from current ditectory.. [modified] Pin
m_mun22-Oct-08 20:24
m_mun22-Oct-08 20:24 
AnswerRe: Cant delete files from current ditectory.. Pin
KarstenK22-Oct-08 20:49
mveKarstenK22-Oct-08 20:49 
GeneralRe: Cant delete files from current ditectory.. Pin
m_mun22-Oct-08 20:55
m_mun22-Oct-08 20:55 
GeneralRe: Cant delete files from current ditectory.. Pin
KarstenK22-Oct-08 21:51
mveKarstenK22-Oct-08 21:51 
AnswerRe: Cant delete files from current ditectory.. Pin
SandipG 22-Oct-08 21:06
SandipG 22-Oct-08 21:06 
Questionconvert CString to SQLCHAR* Pin
anna mathew22-Oct-08 19:34
anna mathew22-Oct-08 19:34 
SEE MY CODE BELOW:
Ive got a dialog box where i enter Contact Details......
Ive To Insert IT Into Access Database........


//Take the values entered in edit box to CEdit *
m_First.GetWindowText(Firstname);
m_Last.GetWindowText(Lastname);
m_Add.GetWindowText(Address);

CString FullName = "INSERT INTO Contacts (FirstName, LastName, Address) VALUES ('" +Firstname+ "', '" +Lastname+"','" + Address+"'))";

executeSQL((SQLCHAR *) FullName);


ERROR :
CANNOT CONVERT CString to SQLCHAR*
AnswerRe: convert CString to SQLCHAR* Pin
Rajesh R Subramanian22-Oct-08 20:05
professionalRajesh R Subramanian22-Oct-08 20:05 
GeneralRe: convert CString to SQLCHAR* Pin
CPallini22-Oct-08 21:50
mveCPallini22-Oct-08 21:50 
GeneralRe: convert CString to SQLCHAR* Pin
Rajesh R Subramanian22-Oct-08 22:58
professionalRajesh R Subramanian22-Oct-08 22:58 
JokeRe: convert CString to SQLCHAR* Pin
CPallini22-Oct-08 23:04
mveCPallini22-Oct-08 23:04 
GeneralRe: convert CString to SQLCHAR* Pin
Rajesh R Subramanian22-Oct-08 23:11
professionalRajesh R Subramanian22-Oct-08 23:11 
GeneralRe: convert CString to SQLCHAR* Pin
anna mathew22-Oct-08 23:17
anna mathew22-Oct-08 23:17 
GeneralRe: convert CString to SQLCHAR* Pin
Rajesh R Subramanian22-Oct-08 23:20
professionalRajesh R Subramanian22-Oct-08 23:20 
JokeRe: convert CString to SQLCHAR* Pin
CPallini22-Oct-08 23:46
mveCPallini22-Oct-08 23:46 
QuestionRe: convert CString to SQLCHAR* Pin
CPallini22-Oct-08 23:42
mveCPallini22-Oct-08 23:42 
AnswerRe: convert CString to SQLCHAR* Pin
KarstenK22-Oct-08 20:51
mveKarstenK22-Oct-08 20:51 
QuestionRe: convert CString to SQLCHAR* [modified] Pin
CPallini22-Oct-08 21:44
mveCPallini22-Oct-08 21:44 
AnswerRe: convert CString to SQLCHAR* Pin
anna mathew23-Oct-08 0:46
anna mathew23-Oct-08 0:46 
AnswerRe: convert CString to SQLCHAR* Pin
anna mathew22-Oct-08 23:30
anna mathew22-Oct-08 23:30 
QuestionRe: convert CString to SQLCHAR* Pin
CPallini22-Oct-08 23:56
mveCPallini22-Oct-08 23:56 
AnswerRe: convert CString to SQLCHAR* Pin
anna mathew23-Oct-08 0:11
anna mathew23-Oct-08 0:11 
GeneralRe: convert CString to SQLCHAR* Pin
anna mathew23-Oct-08 0:15
anna mathew23-Oct-08 0:15 
GeneralRe: convert CString to SQLCHAR* Pin
CPallini23-Oct-08 0:49
mveCPallini23-Oct-08 0:49 

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.