Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListCtrl not showing all loaded items? Pin
Paolo Messina29-Jul-00 12:20
professionalPaolo Messina29-Jul-00 12:20 
GeneralRe: CListCtrl not showing all loaded items? Pin
trey31-Jul-00 17:52
trey31-Jul-00 17:52 
GeneralEdit Control in Explorer Bands Pin
Sivakumar27-Jul-00 7:09
Sivakumar27-Jul-00 7:09 
GeneralEdit Control in Explorer Bands Pin
Sivakumar27-Jul-00 7:08
Sivakumar27-Jul-00 7:08 
GeneralRe: Edit Control in Explorer Bands Pin
Sandu Turcan1-Aug-00 10:37
Sandu Turcan1-Aug-00 10:37 
GeneralGOD HELP ME! Database programming with VC++6 Pin
Steve Lai27-Jul-00 6:34
Steve Lai27-Jul-00 6:34 
GeneralRe: GOD HELP ME! Database programming with VC++6 Pin
Tim Deveaux28-Jul-00 4:51
Tim Deveaux28-Jul-00 4:51 
GeneralRe: How about using SQL directly Pin
Masaaki Onishi28-Jul-00 5:11
Masaaki Onishi28-Jul-00 5:11 
Hello, codegurus around the world.

How about using SQL statement directly.
After you create table.txt and insert.txt, you can use
ADO or the other class to execute SQL.

But, in this case, you must create the blank database file of Access first.

(table.txt)
CREATE TABLE Customer (
Name char (15),
Product_name char (15),
primary key(Name));

(insert.txt)
INSERT INTO Customer VALUES ('Masaaki', 'Nike');
.......

You can restore these info to strSQL(CString) by reading the file by each line or buffer, and execute these SQL by class member function like open().

Good luck.
-Masaaki Onishi-



GeneralTHANK YOU TIM & MASAAKI FOR THE RESPONSE! Pin
Steve Lai30-Jul-00 12:16
Steve Lai30-Jul-00 12:16 
GeneralWInword Text Box Pin
Ng Jin Sin27-Jul-00 0:58
Ng Jin Sin27-Jul-00 0:58 
GeneralRe: WInword Text Box Pin
Member 120896527-Jul-00 6:03
Member 120896527-Jul-00 6:03 
GeneralEmbedding metafiles in RTF in Wordpad Pin
ed welch26-Jul-00 23:49
ed welch26-Jul-00 23:49 
GeneralRe: Embedding metafiles in RTF in Wordpad Pin
ed welch8-Aug-00 5:44
ed welch8-Aug-00 5:44 
GeneralStopping a dialog from closing when ESC is pressed Pin
xtsea26-Jul-00 20:35
xtsea26-Jul-00 20:35 
GeneralRe: Stopping a dialog from closing when ESC is pressed Pin
starzykp26-Jul-00 22:39
starzykp26-Jul-00 22:39 
GeneralRe: Stopping a dialog from closing when ESC is pressed Pin
Blake Miller27-Jul-00 5:27
Blake Miller27-Jul-00 5:27 
GeneralAccessing UPDATE_COMMAND_UI in dialog based application Pin
trey26-Jul-00 16:13
trey26-Jul-00 16:13 
GeneralRe: Accessing UPDATE_COMMAND_UI in dialog based application Pin
trey30-Jul-00 16:12
trey30-Jul-00 16:12 
GeneralWang Image Edit Controls Pin
mcormier@teldig.com26-Jul-00 10:12
mcormier@teldig.com26-Jul-00 10:12 
GeneralMDI Child window that owns a Property Sheet Pin
Joan Murt26-Jul-00 9:50
sussJoan Murt26-Jul-00 9:50 
GeneralGet text from tree control Pin
Ravi Shankar26-Jul-00 7:39
Ravi Shankar26-Jul-00 7:39 
GeneralRe: Get text from tree control Pin
Mike Dunn26-Jul-00 8:21
Mike Dunn26-Jul-00 8:21 
GeneralRe: Get text from tree control Pin
Ravi Shankar26-Jul-00 8:24
Ravi Shankar26-Jul-00 8:24 
GeneralRe: Get text from tree control Pin
Mike Dunn26-Jul-00 8:48
Mike Dunn26-Jul-00 8:48 
GeneralRe: Get text from tree control Pin
Ravi Shankar26-Jul-00 8:51
Ravi Shankar26-Jul-00 8:51 

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.