Click here to Skip to main content
15,915,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: WMI and remote execution Pin
_tasleem27-Sep-06 19:58
_tasleem27-Sep-06 19:58 
Questiontri-state check box Pin
Mohammad A Gdeisat26-Sep-06 20:52
Mohammad A Gdeisat26-Sep-06 20:52 
AnswerRe: tri-state check box Pin
Steve Echols26-Sep-06 21:10
Steve Echols26-Sep-06 21:10 
Questionreading outlook.pst Pin
neha.agarwal2726-Sep-06 20:35
neha.agarwal2726-Sep-06 20:35 
AnswerRe: reading outlook.pst Pin
Hamid_RT26-Sep-06 20:46
Hamid_RT26-Sep-06 20:46 
GeneralRe: reading outlook.pst Pin
neha.agarwal2726-Sep-06 20:50
neha.agarwal2726-Sep-06 20:50 
QuestionRe: reading outlook.pst Pin
David Crow27-Sep-06 3:10
David Crow27-Sep-06 3:10 
Questionwhat this code is doing? Pin
With_problem26-Sep-06 20:28
With_problem26-Sep-06 20:28 
Can anybody here explain me wht this code is doing.Thanks
<br />
	  CDaoDatabase database;<br />
	  CDaoRecordset recordset(&database);<br />
	  CString lpszFile = "c:\\Database.mdb";<br />
	  database.Create(lpszFile);<br />
	  database.Open(lpszFile);<br />
	  CString SqlCmd = "CREATE TABLE MYTable.mdb (MarketNo VARCHAR(2),MarketName VARCHAR(8),Bid VARCHAR(10),Ask VARCHAR(10),MarketState VARCHAR(2))";<br />
      database.Execute(SqlCmd);<br />
      recordset.Open(AFX_DAO_USE_DEFAULT_TYPE,"SELECT * FROM MyTable",0);<br />
	  database.Execute("INSERT INTO MyTable(MarketNo)");<br />
      database.Execute("INSERT INTO MyTable(MarketName)");<br />
	  database.Execute("INSERT INTO MyTable(Bid)");<br />
	  database.Execute("INSERT INTO MyTable(Ask)");<br />
	  database.Execute("INSERT INTO MyTable(MarketState)");<br />
	  recordset.AddNew();<br />
	  recordset.SetFieldValue("MarketNo","a");<br />
      recordset.SetFieldValue("MarketName",Market);<br />
      recordset.SetFieldValue("Bid","b");<br />
	  recordset.SetFieldValue("Ask","c");<br />
	  recordset.SetFieldValue("MarketState","d");<br />
      recordset.Update();<br />
      recordset.MoveNext();<br />
      recordset.AddNew();<br />

AnswerRe: what this code is doing? Pin
Hamid_RT26-Sep-06 20:39
Hamid_RT26-Sep-06 20:39 
GeneralRe: what this code is doing? Pin
With_problem26-Sep-06 20:59
With_problem26-Sep-06 20:59 
GeneralRe: what this code is doing? Pin
Hamid_RT27-Sep-06 8:24
Hamid_RT27-Sep-06 8:24 
GeneralRe: what this code is doing? Pin
With_problem26-Sep-06 21:00
With_problem26-Sep-06 21:00 
GeneralRe: what this code is doing? Pin
Hamid_RT26-Sep-06 22:10
Hamid_RT26-Sep-06 22:10 
AnswerRe: what this code is doing? Pin
Steve Echols26-Sep-06 21:09
Steve Echols26-Sep-06 21:09 
AnswerRe: what this code is doing? Pin
Steve Echols26-Sep-06 21:20
Steve Echols26-Sep-06 21:20 
GeneralRe: what this code is doing? Pin
With_problem26-Sep-06 21:27
With_problem26-Sep-06 21:27 
GeneralRe: what this code is doing? Pin
Steve Echols26-Sep-06 21:37
Steve Echols26-Sep-06 21:37 
QuestionRe: what this code is doing? Pin
David Crow27-Sep-06 3:13
David Crow27-Sep-06 3:13 
AnswerRe: what this code is doing? Pin
Reagan Conservative27-Sep-06 8:32
Reagan Conservative27-Sep-06 8:32 
Questionserial communication prog? Pin
Sunshine Always26-Sep-06 20:25
Sunshine Always26-Sep-06 20:25 
AnswerRe: serial communication prog? Pin
Hamid_RT26-Sep-06 20:40
Hamid_RT26-Sep-06 20:40 
AnswerRe: serial communication prog? Pin
Ștefan-Mihai MOGA26-Sep-06 22:51
professionalȘtefan-Mihai MOGA26-Sep-06 22:51 
QuestionMemory Allocation Pin
Polite Programmer26-Sep-06 20:10
Polite Programmer26-Sep-06 20:10 
AnswerRe: Memory Allocation Pin
Cedric Moonen26-Sep-06 20:10
Cedric Moonen26-Sep-06 20:10 
GeneralRe: Memory Allocation Pin
Polite Programmer26-Sep-06 20:22
Polite Programmer26-Sep-06 20:22 

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.