Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to maximize the window in vc++ Pin
Hamid_RT2-Jan-07 17:49
Hamid_RT2-Jan-07 17:49 
GeneralRe: How to maximize the window in vc++ Pin
ThatsAlok2-Jan-07 18:57
ThatsAlok2-Jan-07 18:57 
GeneralRe: How to maximize the window in vc++ Pin
Hamid_RT3-Jan-07 1:15
Hamid_RT3-Jan-07 1:15 
QuestionFor the beginner-Its me. Pin
lp4me1-Jan-07 21:04
lp4me1-Jan-07 21:04 
AnswerRe: For the beginner-Its me. Pin
prasad_som1-Jan-07 22:33
prasad_som1-Jan-07 22:33 
AnswerRe: For the beginner-Its me. Pin
Hamid_RT2-Jan-07 2:36
Hamid_RT2-Jan-07 2:36 
AnswerRe: For the beginner-Its me. Pin
ThatsAlok2-Jan-07 18:58
ThatsAlok2-Jan-07 18:58 
QuestionGetting junk data. Pin
Taruni1-Jan-07 20:01
Taruni1-Jan-07 20:01 
Hi,

while I am trying to retrieve the data from the database, where ever there is blank space (empty) in the correspoding column ,I am getting junk values.
This is my code.

VARIANT v;
v.vt=VT_BSTR;
CString str;
str = " ";
while(!(VARIANT_TRUE == pRecSet->EndOfFile))
{
str = pRecSet->GetCollect(v).bstrVal; .
//There is some junk data in str;

.
.
}

Should I do any other initialization or conversion? I have even tried using "NULL" but failed.

Thanks in advance.

Taruni

AnswerRe: Getting junk data. Pin
prasad_som1-Jan-07 20:09
prasad_som1-Jan-07 20:09 
GeneralRe: Getting junk data. Pin
Taruni1-Jan-07 20:16
Taruni1-Jan-07 20:16 
QuestionRe: Getting junk data. Pin
prasad_som1-Jan-07 20:20
prasad_som1-Jan-07 20:20 
AnswerRe: Getting junk data. Pin
Taruni1-Jan-07 21:23
Taruni1-Jan-07 21:23 
QuestionRe: Getting junk data. [modified] Pin
prasad_som1-Jan-07 21:53
prasad_som1-Jan-07 21:53 
Questionproblem with PlaySound(,,,) Pin
Kiran Pinjala1-Jan-07 18:57
Kiran Pinjala1-Jan-07 18:57 
AnswerRe: problem with PlaySound(,,,) Pin
prasad_som1-Jan-07 22:15
prasad_som1-Jan-07 22:15 
GeneralRe: problem with PlaySound(,,,) Pin
Kiran Pinjala1-Jan-07 22:52
Kiran Pinjala1-Jan-07 22:52 
GeneralRe: problem with PlaySound(,,,) Pin
prasad_som1-Jan-07 22:56
prasad_som1-Jan-07 22:56 
AnswerRe: problem with PlaySound(,,,) Pin
Mark Salsbery2-Jan-07 5:59
Mark Salsbery2-Jan-07 5:59 
AnswerRe: problem with PlaySound(,,,) Pin
Hamid_RT3-Jan-07 6:56
Hamid_RT3-Jan-07 6:56 
QuestionSending Email with C++. Possible? Pin
arbster1-Jan-07 18:26
arbster1-Jan-07 18:26 
AnswerRe: Sending Email with C++. Possible? Pin
Christian Graus1-Jan-07 18:35
protectorChristian Graus1-Jan-07 18:35 
AnswerRe: Sending Email with C++. Possible? Pin
bob169721-Jan-07 18:53
bob169721-Jan-07 18:53 
AnswerRe: Sending Email with C++. Possible? Pin
Taka Muraoka1-Jan-07 19:53
Taka Muraoka1-Jan-07 19:53 
AnswerRe: Sending Email with C++. Possible? Pin
ThatsAlok1-Jan-07 23:25
ThatsAlok1-Jan-07 23:25 
AnswerRe: Sending Email with C++. Possible? Pin
Hamid_RT3-Jan-07 6:57
Hamid_RT3-Jan-07 6:57 

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.