Click here to Skip to main content
15,892,737 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help With A Program. I Dont Know Where To Begin. PLZ HELP ME Pin
CPallini8-Oct-08 9:32
mveCPallini8-Oct-08 9:32 
GeneralRe: Help With A Program. I Dont Know Where To Begin. PLZ HELP ME Pin
Perspx8-Oct-08 9:44
Perspx8-Oct-08 9:44 
AnswerRe: Help With A Program. I Dont Know Where To Begin. PLZ HELP ME Pin
David Crow8-Oct-08 10:01
David Crow8-Oct-08 10:01 
QuestionUnable to set QueryTimeout on CDatabase* Pin
spongetodd8-Oct-08 5:19
spongetodd8-Oct-08 5:19 
AnswerRe: Unable to set QueryTimeout on CDatabase* Pin
Mark Salsbery8-Oct-08 6:53
Mark Salsbery8-Oct-08 6:53 
GeneralRe: Unable to set QueryTimeout on CDatabase* Pin
spongetodd8-Oct-08 7:05
spongetodd8-Oct-08 7:05 
GeneralRe: Unable to set QueryTimeout on CDatabase* Pin
led mike8-Oct-08 10:15
led mike8-Oct-08 10:15 
GeneralRe: Unable to set QueryTimeout on CDatabase* Pin
Mark Salsbery8-Oct-08 10:28
Mark Salsbery8-Oct-08 10:28 
Laugh | :laugh: It wasn't quite as easy as I made it look Poke tongue | ;-P

I had to look at the source code, since the docs[^] make it seem like
one can use the CRecordset::m_pDatabase variable to do this.
Problem is, this variable isn't initialized/created until
a query is performed, so that code seemed simpler than messing with
a CRecordset derived class.

I've personally never used the NULL CDatabase method - it's
more efficient (and easier to control) a manually created CDatabase
object and pass it in to CRecordset.


led mike wrote:
gonna eat my filet-o-fish


mmmmmmm Filet-o Fish

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Unable to set QueryTimeout on CDatabase* Pin
Mark Salsbery8-Oct-08 10:29
Mark Salsbery8-Oct-08 10:29 
GeneralRe: Unable to set QueryTimeout on CDatabase* Pin
led mike8-Oct-08 10:37
led mike8-Oct-08 10:37 
QuestionC++: Connectin string to MS SQL 2005? Pin
Gofur Halmurat8-Oct-08 3:57
Gofur Halmurat8-Oct-08 3:57 
AnswerRe: C++: Connectin string to MS SQL 2005? Pin
led mike8-Oct-08 4:36
led mike8-Oct-08 4:36 
AnswerRe: C++: Connectin string to MS SQL 2005? Pin
Mark Salsbery8-Oct-08 4:56
Mark Salsbery8-Oct-08 4:56 
QuestionDisabling the root node in a tree control in MFC Pin
SanjaySMK8-Oct-08 3:26
SanjaySMK8-Oct-08 3:26 
QuestionRe: Disabling the root node in a tree control in MFC Pin
led mike8-Oct-08 4:32
led mike8-Oct-08 4:32 
AnswerRe: Disabling the root node in a tree control in MFC Pin
Maximilien8-Oct-08 8:15
Maximilien8-Oct-08 8:15 
QuestionHiding Application from taskbar.. Pin
gothic_coder8-Oct-08 2:55
gothic_coder8-Oct-08 2:55 
AnswerRe: Hiding Application from taskbar.. Pin
gothic_coder8-Oct-08 3:04
gothic_coder8-Oct-08 3:04 
AnswerRe: Hiding Application from taskbar.. Pin
Nibu babu thomas8-Oct-08 3:24
Nibu babu thomas8-Oct-08 3:24 
AnswerRe: Hiding Application from taskbar.. Pin
David Crow8-Oct-08 3:25
David Crow8-Oct-08 3:25 
GeneralRe: Hiding Application from taskbar.. Pin
gothic_coder8-Oct-08 3:50
gothic_coder8-Oct-08 3:50 
GeneralRe: Hiding Application from taskbar.. Pin
David Crow8-Oct-08 3:59
David Crow8-Oct-08 3:59 
AnswerRe: Hiding Application from taskbar.. Pin
Perspx8-Oct-08 5:46
Perspx8-Oct-08 5:46 
Questionstdcall_api & troubles Pin
thoru8-Oct-08 1:46
thoru8-Oct-08 1:46 
AnswerRe: stdcall_api & troubles Pin
toxcct8-Oct-08 2:16
toxcct8-Oct-08 2:16 

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.