Click here to Skip to main content
15,910,130 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reference 1st cell of first row of dataset ? Pin
Not Active11-Jun-07 3:11
mentorNot Active11-Jun-07 3:11 
GeneralRe: Reference 1st cell of first row of dataset ? Pin
Colin Angus Mackay11-Jun-07 4:15
Colin Angus Mackay11-Jun-07 4:15 
GeneralRe: Reference 1st cell of first row of dataset ? Pin
Not Active11-Jun-07 4:33
mentorNot Active11-Jun-07 4:33 
GeneralRe: Reference 1st cell of first row of dataset ? Pin
Colin Angus Mackay11-Jun-07 7:16
Colin Angus Mackay11-Jun-07 7:16 
GeneralRe: Reference 1st cell of first row of dataset ? Pin
Not Active11-Jun-07 7:24
mentorNot Active11-Jun-07 7:24 
GeneralRe: Reference 1st cell of first row of dataset ? Pin
Colin Angus Mackay11-Jun-07 7:28
Colin Angus Mackay11-Jun-07 7:28 
QuestionMsWord Component Pin
azmoodeh11-Jun-07 1:28
azmoodeh11-Jun-07 1:28 
QuestionException in Release mode?? Pin
zubair_ahmed11-Jun-07 0:49
zubair_ahmed11-Jun-07 0:49 
A block of code is giving exception in Release mode--outside VS, but not in debug mode. Can you please tell what is the problem with my this method? How can i track the exception? Its running properly in the debug but i don't know what goes wrong in the Release mode.


int i = 0;
int res = BAD_RESULT;

try
{
vector<dataaccess::tagpartdiameterrecord> parts;

if (m_pDoc->doGetPartDiameters(parts))
{
for(i = 0; i < parts.size(); i++)
{
if (parts[i].PartDiameterLUT < 10.0 ) PartDiameterLUT[i]= 10.0;
if (parts[i].PartDiameterLUT > 120.0) PartDiameterLUT[i]= 120.0;
if (parts[i].RetractDistInches < 0.0) RetractDistInchesLUT[i]= 0.0;
if (parts[i].RetractDistInches < 40.0) RetractDistInchesLUT[i]= 40.0;
if (parts[i].JointTypeLUT < 0) JointTypeLUT[i]=(JointMode)0;
if (parts[i].JointTypeLUT > 3) JointTypeLUT[i ]=(JointMode)0 ;
}

res = GOOD_RESULT;
AfxMessageBox("GOOD_RESULT");
}
else
{
AfxMessageBox("Part Diameter Data could not be loaded1");
return BAD_RESULT;
}
}
catch(...)
{
AfxMessageBox("HERE IS THE EXCEPTION THAT IS THROWN");
return BAD_RESULT;
}

return res;
} // LoadDiameterLUT


Z.A

AnswerRe: Exception in Release mode?? Pin
Christian Graus11-Jun-07 1:03
protectorChristian Graus11-Jun-07 1:03 
AnswerRe: Exception in Release mode?? Pin
Luc Pattyn11-Jun-07 1:07
sitebuilderLuc Pattyn11-Jun-07 1:07 
GeneralRe: Exception in Release mode?? Pin
Christian Graus11-Jun-07 1:33
protectorChristian Graus11-Jun-07 1:33 
GeneralRe: Exception in Release mode?? Pin
Luc Pattyn11-Jun-07 1:35
sitebuilderLuc Pattyn11-Jun-07 1:35 
GeneralRe: Exception in Release mode?? Pin
zappingz11-Jun-07 1:55
zappingz11-Jun-07 1:55 
GeneralRe: Exception in Release mode?? Pin
zappingz11-Jun-07 1:56
zappingz11-Jun-07 1:56 
GeneralRe: Exception in Release mode?? Pin
zappingz11-Jun-07 1:59
zappingz11-Jun-07 1:59 
GeneralRe: Exception in Release mode?? Pin
zappingz11-Jun-07 2:02
zappingz11-Jun-07 2:02 
GeneralRe: Exception in Release mode?? Pin
zappingz11-Jun-07 2:04
zappingz11-Jun-07 2:04 
GeneralRe: Exception in Release mode?? Pin
Colin Angus Mackay11-Jun-07 2:07
Colin Angus Mackay11-Jun-07 2:07 
GeneralRe: Exception in Release mode?? Pin
Dave Kreskowiak11-Jun-07 2:54
mveDave Kreskowiak11-Jun-07 2:54 
GeneralRe: Exception in Release mode?? Pin
Martin#11-Jun-07 2:06
Martin#11-Jun-07 2:06 
Questionget index of current cursor position in textbox? Pin
livez11-Jun-07 0:18
livez11-Jun-07 0:18 
AnswerRe: get index of current cursor position in textbox? Pin
Christian Graus11-Jun-07 0:32
protectorChristian Graus11-Jun-07 0:32 
AnswerRe: get index of current cursor position in textbox? Pin
Luc Pattyn11-Jun-07 0:33
sitebuilderLuc Pattyn11-Jun-07 0:33 
QuestionRe: get index of current cursor position in textbox? Pin
SHAHIN_19810-May-09 1:10
SHAHIN_19810-May-09 1:10 
QuestionWindows service Pin
MinarikM11-Jun-07 0:00
MinarikM11-Jun-07 0:00 

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.