Click here to Skip to main content
15,924,829 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Clicking with a timer Pin
Paul Conrad25-Feb-08 8:46
professionalPaul Conrad25-Feb-08 8:46 
GeneralDrag and Drop during runtime Pin
Zaegra25-Feb-08 0:29
Zaegra25-Feb-08 0:29 
GeneralRe: Drag and Drop during runtime Pin
Smithers-Jones25-Feb-08 6:00
Smithers-Jones25-Feb-08 6:00 
GeneralProblem to pass Date parameter value to ReportViewer Pin
sonj25-Feb-08 0:14
sonj25-Feb-08 0:14 
AnswerRe: Problem to pass Date parameter value to ReportViewer Pin
sonj26-Feb-08 3:01
sonj26-Feb-08 3:01 
GeneralHelp with Return value Problem Pin
Vimalsoft(Pty) Ltd24-Feb-08 21:13
professionalVimalsoft(Pty) Ltd24-Feb-08 21:13 
GeneralRe: Help with Return value Problem Pin
Christian Graus24-Feb-08 21:30
protectorChristian Graus24-Feb-08 21:30 
GeneralRe: Help with Return value Problem Pin
Vimalsoft(Pty) Ltd24-Feb-08 22:03
professionalVimalsoft(Pty) Ltd24-Feb-08 22:03 
Hi Chris

i did that, ok, i have change this line to be like this

<br />
<br />
            cmdselect.ExecuteNonQuery()<br />
<br />
            intRes = cmdselect.Parameters("@OutRes").Value<br />
<br />


As for my Stored Procedure will deliver me a value of "1" when a user is Found and
"0" when a user is not Found. and after this i pass the value returned by an OutPut variable to a integer variable and test it like this

<br />
 Select Case intRes<br />
<br />
                Case 1<br />
<br />
                    bolres = True<br />
<br />
                Case 0<br />
<br />
                    bolres = False<br />
<br />
            End Select<br />
<br />


now this will always give me "False", but My Procedure will give me "1" as its Supposed to be true.

I dont know whats wrong here

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


GeneralRe: Help with Return value Problem Pin
Christian Graus24-Feb-08 22:59
protectorChristian Graus24-Feb-08 22:59 
GeneralRe: Help with Return value Problem Pin
Vimalsoft(Pty) Ltd24-Feb-08 23:26
professionalVimalsoft(Pty) Ltd24-Feb-08 23:26 
GeneralRe: Help with Return value Problem Pin
J4amieC24-Feb-08 23:23
J4amieC24-Feb-08 23:23 
GeneralRe: Help with Return value Problem Pin
Christian Graus25-Feb-08 9:30
protectorChristian Graus25-Feb-08 9:30 
Questionhow to query pass to crystalreport using vb net Pin
Parvai24-Feb-08 21:07
Parvai24-Feb-08 21:07 
QuestionHow To restrict The Opening of Multliple Login Screens of a VB.Net Application ? Pin
Balagurunathan S24-Feb-08 20:36
Balagurunathan S24-Feb-08 20:36 
AnswerRe: How To restrict The Opening of Multliple Login Screens of a VB.Net Application ? Pin
Christian Graus24-Feb-08 21:32
protectorChristian Graus24-Feb-08 21:32 
GeneralChange the icon Pin
dnsl24-Feb-08 20:15
dnsl24-Feb-08 20:15 
GeneralRe: Change the icon Pin
Smithers-Jones24-Feb-08 21:23
Smithers-Jones24-Feb-08 21:23 
Generaldoubt in VB.Net "split" method Pin
MS Lee24-Feb-08 19:40
MS Lee24-Feb-08 19:40 
GeneralRe: doubt in VB.Net "split" method Pin
Mycroft Holmes24-Feb-08 19:57
professionalMycroft Holmes24-Feb-08 19:57 
GeneralRe: doubt in VB.Net "split" method Pin
MS Lee24-Feb-08 20:24
MS Lee24-Feb-08 20:24 
GeneralRe: doubt in VB.Net "split" method Pin
Mycroft Holmes24-Feb-08 20:41
professionalMycroft Holmes24-Feb-08 20:41 
Generalvb.net Pin
Member 125837324-Feb-08 13:50
Member 125837324-Feb-08 13:50 
GeneralRe: vb.net Pin
Dave Kreskowiak25-Feb-08 10:39
mveDave Kreskowiak25-Feb-08 10:39 
QuestionHow do you get environment params assigned to a user who's not logged in? Pin
rasarx24-Feb-08 11:05
rasarx24-Feb-08 11:05 
AnswerRe: How do you get environment params assigned to a user who's not logged in? Pin
Mycroft Holmes24-Feb-08 20:03
professionalMycroft Holmes24-Feb-08 20:03 

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.