Click here to Skip to main content
15,904,638 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: simple smallest windows program not running. [modified] Pin
_AnsHUMAN_ 17-Jun-06 0:45
_AnsHUMAN_ 17-Jun-06 0:45 
GeneralRe: simple smallest windows program not running. Pin
sunnyboy_anshu17-Jun-06 0:57
sunnyboy_anshu17-Jun-06 0:57 
AnswerRe: simple smallest windows program not running. Pin
Hamid_RT17-Jun-06 0:57
Hamid_RT17-Jun-06 0:57 
Questionhow to read the file Pin
happy_ram17-Jun-06 0:32
happy_ram17-Jun-06 0:32 
AnswerRe: how to read the file Pin
_AnsHUMAN_ 17-Jun-06 0:43
_AnsHUMAN_ 17-Jun-06 0:43 
GeneralRe: how to read the file Pin
happy_ram17-Jun-06 1:01
happy_ram17-Jun-06 1:01 
AnswerRe: how to read the file Pin
Hamid_RT17-Jun-06 0:58
Hamid_RT17-Jun-06 0:58 
Questionselect and delete query Pin
shuchigo_jane16-Jun-06 23:21
shuchigo_jane16-Jun-06 23:21 
Again a query 'query'!!
Am i using the Delete query prop here?rather can i use it lik dis?(Hvalue is of number type in Access db)


CString hv;
_Commandptr m_pCommand;
m_pCommand=NULL;
m_pCommand.CreateInstance(__uuidof(Command));
CString strSql = _T("DELETE FROM wcs WHERE Hvalue='") +hv+ _T("')");
m_pCommand->CommandText = _bstr_t(strSql);
m_pCommand->CommandType=adCmdText;
m_pCommand->ActiveConnection = m_pConnection;
_variant_t vRecords1;
m_pCommand->Execute(&vRecords1,NULL,adCmdText);

Using the foll code..How do i retrieve the min value?how do i get to know to which record(in Access db) contains the result??(Hvalue is a number)

_Commandptr m_pCommand;

m_pCommand=NULL;
m_pCommand.CreateInstance(__uuidof(Command));
CString strSql1 = _T("SELECT MIN(Hvalue) FROM wcs");
m_pCommand->CommandText = _bstr_t(strSql1);
m_pCommand->CommandType=adCmdText;
m_pCommand->ActiveConnection = m_pConnection;
_variant_t vRecords;
m_pCommand->Execute(&vRecords,NULL,adCmdText);




GeneralRe: select and delete query Pin
Laxman Auti16-Jun-06 23:33
Laxman Auti16-Jun-06 23:33 
GeneralRe: select and delete query Pin
shuchigo_jane16-Jun-06 23:43
shuchigo_jane16-Jun-06 23:43 
AnswerRe: select and delete query Pin
Laxman Auti16-Jun-06 23:52
Laxman Auti16-Jun-06 23:52 
GeneralRe: select and delete query Pin
shuchigo_jane17-Jun-06 2:19
shuchigo_jane17-Jun-06 2:19 
GeneralRe: select and delete query Pin
Laxman Auti17-Jun-06 2:46
Laxman Auti17-Jun-06 2:46 
QuestionEdit Box, Display of Status [modified] Pin
Rahul32116-Jun-06 23:04
Rahul32116-Jun-06 23:04 
AnswerRe: Edit Box, Display of Status Pin
_AnsHUMAN_ 16-Jun-06 23:09
_AnsHUMAN_ 16-Jun-06 23:09 
AnswerRe: Edit Box, Display of Status Pin
Ganesh_T16-Jun-06 23:15
Ganesh_T16-Jun-06 23:15 
AnswerRe: Edit Box, Display of Status Pin
Laxman Auti16-Jun-06 23:28
Laxman Auti16-Jun-06 23:28 
AnswerRe: Edit Box, Display of Status Pin
ThatsAlok17-Jun-06 0:08
ThatsAlok17-Jun-06 0:08 
QuestionSimultaneous Previewing & Video Capture using DirectShow [modified] Pin
aloha181216-Jun-06 23:02
aloha181216-Jun-06 23:02 
AnswerRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Justin Tay16-Jun-06 23:18
Justin Tay16-Jun-06 23:18 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181217-Jun-06 22:01
aloha181217-Jun-06 22:01 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Justin Tay18-Jun-06 0:00
Justin Tay18-Jun-06 0:00 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181218-Jun-06 16:51
aloha181218-Jun-06 16:51 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Justin Tay18-Jun-06 18:07
Justin Tay18-Jun-06 18:07 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181218-Jun-06 18:28
aloha181218-Jun-06 18: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.