Click here to Skip to main content
15,896,435 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Window with multipe pages Pin
dima_t20-Nov-02 23:45
dima_t20-Nov-02 23:45 
Questioncan u use HRESULT_CODE in VC's tool "Error Lookup"? Pin
devvvy19-Nov-02 20:57
devvvy19-Nov-02 20:57 
AnswerRe: can u use HRESULT_CODE in VC's tool "Error Lookup"? Pin
Gary R. Wheeler20-Nov-02 14:08
Gary R. Wheeler20-Nov-02 14:08 
Generalexception for ADO recordset open method Pin
devvvy19-Nov-02 18:37
devvvy19-Nov-02 18:37 
GeneralRe: exception for ADO recordset open method Pin
Christian Graus19-Nov-02 19:39
protectorChristian Graus19-Nov-02 19:39 
GeneralRe: exception for ADO recordset open method Pin
devvvy19-Nov-02 19:44
devvvy19-Nov-02 19:44 
GeneralRe: exception for ADO recordset open method Pin
Christian Graus19-Nov-02 19:48
protectorChristian Graus19-Nov-02 19:48 
GeneralRe: exception for ADO recordset open method Pin
devvvy19-Nov-02 20:06
devvvy19-Nov-02 20:06 
tried, it says cant find the message ("Message not found") with "0x800A0e79"..

the tool is called "Error Lookup"

catch(_com_error &e)
{
//Additional error handling here.
cout << "ERROR: Failed to open recordset." << endl;
cout << "ERROR: e.ErrorMessage(): " << e.ErrorMessage() << endl;

hr = e.Error();
cout << "ERROR: HRESULT_CODE( e.Error() ): " << HRESULT_CODE(hr) << endl;
}

But if Error Lookup HRESULT_CODE(hr)==3705 gives the following msg "Bad or missing LAN Manager root directory." --- this doesnt make a lot of sense coz it's a local SQL server and previous statements all executed with good HRESULT==S_OK

norm
GeneralRe: exception for ADO recordset open method Pin
devvvy19-Nov-02 20:07
devvvy19-Nov-02 20:07 
Questionhow can u enumerate tables given a database? Pin
devvvy19-Nov-02 17:12
devvvy19-Nov-02 17:12 
AnswerRe: how can u enumerate tables given a database? Pin
Christian Graus19-Nov-02 17:22
protectorChristian Graus19-Nov-02 17:22 
GeneralRe: how can u enumerate tables given a database? Pin
devvvy19-Nov-02 17:34
devvvy19-Nov-02 17:34 
GeneralRe: how can u enumerate tables given a database? Pin
Christian Graus19-Nov-02 17:47
protectorChristian Graus19-Nov-02 17:47 
GeneralRe: how can u enumerate tables given a database? Pin
devvvy19-Nov-02 18:16
devvvy19-Nov-02 18:16 
GeneralRe: how can u enumerate tables given a database? Pin
Christian Graus19-Nov-02 18:17
protectorChristian Graus19-Nov-02 18:17 
GeneralRe: how can u enumerate tables given a database? Pin
devvvy19-Nov-02 18:21
devvvy19-Nov-02 18:21 
GeneralRe: how can u enumerate tables given a database? Pin
Christian Graus19-Nov-02 19:41
protectorChristian Graus19-Nov-02 19:41 
AnswerRe: how can u enumerate tables given a database? Pin
RichardGrimmer19-Nov-02 22:01
RichardGrimmer19-Nov-02 22:01 
QuestionDetect CEdit number of lines? Pin
Anonymous19-Nov-02 16:40
Anonymous19-Nov-02 16:40 
AnswerRe: Detect CEdit number of lines? Pin
Anonymous19-Nov-02 19:38
Anonymous19-Nov-02 19:38 
AnswerRe: Detect CEdit number of lines? Pin
Roger Allen20-Nov-02 2:49
Roger Allen20-Nov-02 2:49 
GeneralRe: Detect CEdit number of lines? Pin
Anonymous20-Nov-02 20:35
Anonymous20-Nov-02 20:35 
GeneralRe: Detect CEdit number of lines? Pin
Anonymous20-Nov-02 20:38
Anonymous20-Nov-02 20:38 
Generalvery good samples on connection string format Pin
devvvy19-Nov-02 15:44
devvvy19-Nov-02 15:44 
GeneralRe: very good samples on connection string format Pin
PJ Arends19-Nov-02 19:56
professionalPJ Arends19-Nov-02 19:56 

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.