Click here to Skip to main content
15,907,913 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncan not populate multiple cell in excel by passing array from c++ XLL and usong xloper Pin
malayhk 23-Oct-09 3:24
malayhk 23-Oct-09 3:24 
Questionhow to set position of media player on anywhere on dialog box Pin
prerananit23-Oct-09 2:43
prerananit23-Oct-09 2:43 
AnswerRe: how to set position of media player on anywhere on dialog box Pin
Hans Dietrich23-Oct-09 2:54
mentorHans Dietrich23-Oct-09 2:54 
QuestionMirror Driver Pin
javad_200523-Oct-09 2:21
javad_200523-Oct-09 2:21 
AnswerRe: Mirror Driver Pin
Randor 23-Oct-09 2:34
professional Randor 23-Oct-09 2:34 
GeneralRe: Mirror Driver Pin
javad_200524-Oct-09 22:57
javad_200524-Oct-09 22:57 
GeneralRe: Mirror Driver Pin
Randor 25-Oct-09 23:36
professional Randor 25-Oct-09 23:36 
Questioncreate tentative of connection Pin
MrKBA23-Oct-09 1:47
MrKBA23-Oct-09 1:47 
Hi,
I use connection to sql server:
Internal::_ConnectionPtr m_pConnection;
m_pConnection.CreateInstance( __uuidof( Internal::Connection ) );

when I am currently testing my application in remote (server sqlserver in another machine) everything works as it should.
But when I simulate a network outage (disconnect and reconnect the cable network) and I run a query to read attributes (for example) I noticed that my application does not know the basis which has been connected even though the tests on the connection it gives me yet opened(pConnection->GetState() = adStateOpen)!

So I wonder how to know if there is a network outage or how to create a connection attempt and also the best test on the connection that it is still connected to my database.

Thank you
QuestionCan VC60 printf () format numbers with comma thouasand seperators, eg 23,123 Pin
Neil Urquhart23-Oct-09 1:41
Neil Urquhart23-Oct-09 1:41 
AnswerRe: Can VC60 printf () format numbers with comma thouasand seperators, eg 23,123 Pin
Randor 23-Oct-09 2:28
professional Randor 23-Oct-09 2:28 
AnswerRe: Can VC60 printf () format numbers with comma thouasand seperators, eg 23,123 [modified] Whoops! Pin
Richard MacCutchan23-Oct-09 2:37
mveRichard MacCutchan23-Oct-09 2:37 
QuestionRe: Can VC60 printf () format numbers with comma thouasand seperators, eg 23,123 Pin
David Crow23-Oct-09 2:46
David Crow23-Oct-09 2:46 
AnswerRe: Can VC60 printf () format numbers with comma thouasand seperators, eg 23,123 Pin
Richard MacCutchan23-Oct-09 3:03
mveRichard MacCutchan23-Oct-09 3:03 
GeneralRe: Can VC60 printf () format numbers with comma thouasand seperators, eg 23,123 Pin
Neil Urquhart23-Oct-09 4:41
Neil Urquhart23-Oct-09 4:41 
GeneralRe: Can VC60 printf () format numbers with comma thouasand seperators, eg 23,123 Pin
Richard MacCutchan23-Oct-09 5:02
mveRichard MacCutchan23-Oct-09 5:02 
QuestionHow to get WPARAM from SendMessage? Pin
002comp23-Oct-09 1:29
002comp23-Oct-09 1:29 
AnswerRe: How to get WPARAM from SendMessage? Pin
Cedric Moonen23-Oct-09 1:38
Cedric Moonen23-Oct-09 1:38 
GeneralRe: How to get WPARAM from SendMessage? Pin
002comp23-Oct-09 1:44
002comp23-Oct-09 1:44 
GeneralRe: How to get WPARAM from SendMessage? Pin
Cedric Moonen23-Oct-09 2:30
Cedric Moonen23-Oct-09 2:30 
AnswerRe: How to get WPARAM from SendMessage? Pin
Richard MacCutchan23-Oct-09 2:53
mveRichard MacCutchan23-Oct-09 2:53 
QuestionHow to Add Notification icon? Pin
KSagar23-Oct-09 0:57
KSagar23-Oct-09 0:57 
AnswerRe: How to Add Notification icon? Pin
Rajesh R Subramanian23-Oct-09 1:06
professionalRajesh R Subramanian23-Oct-09 1:06 
AnswerRe: How to Add Notification icon? Pin
Kushagra Tiwari23-Oct-09 1:07
Kushagra Tiwari23-Oct-09 1:07 
QuestionWS_CHILD CWnd WS_HSCROLL WS_VSCROLL display Problem Pin
rob_toutant23-Oct-09 0:11
rob_toutant23-Oct-09 0:11 
AnswerRe: WS_CHILD CWnd WS_HSCROLL WS_VSCROLL display Problem Pin
Hans Dietrich23-Oct-09 3:32
mentorHans Dietrich23-Oct-09 3:32 

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.