Click here to Skip to main content
15,927,514 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I make an arbitrary row from a simple CListBox unselectable, but still viewable? Pin
DanYELL12-Oct-01 11:44
DanYELL12-Oct-01 11:44 
AnswerRe: How can I make an arbitrary row from a simple CListBox unselectable, but still viewable? Pin
Bill Wilson12-Oct-01 13:59
Bill Wilson12-Oct-01 13:59 
AnswerRe: How can I make an arbitrary row from a simple CListBox unselectable, but still viewable? Pin
13-Oct-01 7:13
suss13-Oct-01 7:13 
GeneralIActiveDesktop Problem (not a creation problem) Pin
12-Oct-01 10:03
suss12-Oct-01 10:03 
GeneralRe: IActiveDesktop Problem (not a creation problem) Pin
mkaltner12-Oct-01 10:16
mkaltner12-Oct-01 10:16 
GeneralRe: IActiveDesktop Problem (not a creation problem) Pin
PJ Arends12-Oct-01 10:44
professionalPJ Arends12-Oct-01 10:44 
GeneralRe: IActiveDesktop Problem (not a creation problem) Pin
mkaltner12-Oct-01 10:54
mkaltner12-Oct-01 10:54 
QuestionHow do I execute Oracle stored procedures from ADO in Visual C++? Pin
Hojo12-Oct-01 9:19
Hojo12-Oct-01 9:19 
I am trying to execute some stored procedures that have parameters but I keep getting errors. Simple stored procedures with no parameters I have no problem with.

Here is my sample test code which keeps triggering user exceptions:

strProcedure = "Hojo_Test_Fun";
strQuote = strProcedure;
pCmd->CommandType = adCmdStoredProc;
pCmd->CommandText = _bstr_t(strQuote);
pCmd->Parameters->Append
(
pCmd->CreateParameter
(
_bstr_t("some_name"),
adChar,
adParamInput,
30,
_variant_t(_bstr_t("ALKFO"))
)
);
pBs = pCmd->Execute(&vNull,&vNull,adCmdUnknown);

What am I doing wrong? Help! Dead | X|

Hojo
AnswerRe: How do I execute Oracle stored procedures from ADO in Visual C++? Pin
Michael P Butler13-Oct-01 2:02
Michael P Butler13-Oct-01 2:02 
AnswerRe: How do I execute Oracle stored procedures from ADO in Visual C++? Pin
NormDroid13-Oct-01 5:03
professionalNormDroid13-Oct-01 5:03 
Generalnetmeeting 3 automation Pin
aniel12-Oct-01 9:15
aniel12-Oct-01 9:15 
QuestionWinsock? Pin
12-Oct-01 7:53
suss12-Oct-01 7:53 
AnswerRe: Winsock? Pin
Nemanja Trifunovic12-Oct-01 8:03
Nemanja Trifunovic12-Oct-01 8:03 
GeneralRe: Winsock? Pin
12-Oct-01 8:41
suss12-Oct-01 8:41 
GeneralRe: Winsock? Pin
Nemanja Trifunovic12-Oct-01 8:47
Nemanja Trifunovic12-Oct-01 8:47 
AnswerRe: WinInet! Pin
Masaaki Onishi12-Oct-01 9:14
Masaaki Onishi12-Oct-01 9:14 
GeneralDirectX capturing Pin
SNagase12-Oct-01 5:44
SNagase12-Oct-01 5:44 
GeneralEvent Logging Pin
SuperGeek12-Oct-01 5:24
SuperGeek12-Oct-01 5:24 
GeneralRe: Event Logging Pin
Anders Molin13-Oct-01 3:35
professionalAnders Molin13-Oct-01 3:35 
GeneralCButton/CWnd properties Pin
12-Oct-01 5:13
suss12-Oct-01 5:13 
GeneralRe: CButton/CWnd properties Pin
Tomasz Sowinski12-Oct-01 7:41
Tomasz Sowinski12-Oct-01 7:41 
GeneralRe: CButton/CWnd properties Pin
12-Oct-01 8:10
suss12-Oct-01 8:10 
GeneralRe: CButton/CWnd properties Pin
Tomasz Sowinski13-Oct-01 1:15
Tomasz Sowinski13-Oct-01 1:15 
GeneralRe: CButton/CWnd properties Pin
Andrew Peace12-Oct-01 8:22
Andrew Peace12-Oct-01 8:22 
GeneralRe: CButton/CWnd properties Pin
12-Oct-01 9:22
suss12-Oct-01 9: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.