Click here to Skip to main content
15,894,955 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: mpeg file encryption and compression...urgent!!!! Pin
Paul Conrad25-Jan-08 7:25
professionalPaul Conrad25-Jan-08 7:25 
GeneralRe: mpeg file encryption and compression...urgent!!!! Pin
Paul Conrad24-Jan-08 5:01
professionalPaul Conrad24-Jan-08 5:01 
GeneralConvert FileOpen in .net Pin
soniasan23-Jan-08 23:45
soniasan23-Jan-08 23:45 
GeneralRe: Convert FileOpen in .net Pin
Paul Conrad24-Jan-08 6:56
professionalPaul Conrad24-Jan-08 6:56 
GeneralRe: Convert FileOpen in .net Pin
Tom John24-Jan-08 7:04
Tom John24-Jan-08 7:04 
QuestionHow to read text / csv file by ado.net using vb.net 2005 [modified] Pin
ejaz_pk23-Jan-08 22:42
ejaz_pk23-Jan-08 22:42 
AnswerRe: How to read text / csv file by ado.net using vb.net 2005 Pin
ejaz_pk25-Jan-08 1:21
ejaz_pk25-Jan-08 1:21 
QuestionWhat is Wrong with the Following Function Pin
Vimalsoft(Pty) Ltd23-Jan-08 21:02
professionalVimalsoft(Pty) Ltd23-Jan-08 21:02 
hi all

i have the Following function, that inspect a string and return an integer for a certain partten. Every time i run this Function it returns "0", for example if i pass "PV000000" it will return "0" if i pass "GEOSS001" it will return "0", what is wrong

<br />
 Private Function FindCategory(ByVal strFunc_key As String) As Integer<br />
        Dim intval As Integer<br />
<br />
        If strFunc_key.Substring(0, 4) = "GEOSS" Then<br />
            intval = 12<br />
        ElseIf strFunc_key.Substring(0, 4) = "PV000" Then<br />
            intval = 1<br />
        ElseIf strFunc_key.Substring(0, 4) = "PVDIF" Then<br />
            intval = 2<br />
        ElseIf strFunc_key.Substring(0, 4) = "PVNTR" Then<br />
            intval = 3<br />
        End If<br />
        Return intval<br />
<br />
    End Function<br />
<br />


Thanks

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


AnswerRe: What is Wrong with the Following Function Pin
Rupesh Kumar Swami23-Jan-08 21:33
Rupesh Kumar Swami23-Jan-08 21:33 
GeneralRe: What is Wrong with the Following Function Pin
Vimalsoft(Pty) Ltd23-Jan-08 22:50
professionalVimalsoft(Pty) Ltd23-Jan-08 22:50 
AnswerRe: What is Wrong with the Following Function Pin
Steven J Jowett23-Jan-08 22:11
Steven J Jowett23-Jan-08 22:11 
GeneralRe: What is Wrong with the Following Function Pin
Vimalsoft(Pty) Ltd23-Jan-08 23:11
professionalVimalsoft(Pty) Ltd23-Jan-08 23:11 
GeneralUserControl Not part of form Pin
plural23-Jan-08 20:25
plural23-Jan-08 20:25 
GeneralRe: UserControl Not part of form Pin
plural23-Jan-08 20:26
plural23-Jan-08 20:26 
Generaldrag and drop in two listbox Pin
sumit703423-Jan-08 19:12
sumit703423-Jan-08 19:12 
GeneralRe: drag and drop in two listbox Pin
C1AllenS25-Jan-08 0:17
C1AllenS25-Jan-08 0:17 
GeneralRe: drag and drop in two listbox Pin
sumit703422-Oct-08 22:48
sumit703422-Oct-08 22:48 
GeneralTo get focus on textbox Pin
sumit703423-Jan-08 18:07
sumit703423-Jan-08 18:07 
GeneralRe: To get focus on textbox Pin
Paul Conrad23-Jan-08 18:13
professionalPaul Conrad23-Jan-08 18:13 
GeneralRe: To get focus on textbox Pin
sumit703423-Jan-08 18:24
sumit703423-Jan-08 18:24 
GeneralRe: To get focus on textbox Pin
Paul Conrad23-Jan-08 18:42
professionalPaul Conrad23-Jan-08 18:42 
GeneralRe: To get focus on textbox Pin
sumit703423-Jan-08 18:57
sumit703423-Jan-08 18:57 
GeneralRe: To get focus on textbox Pin
Vimalsoft(Pty) Ltd24-Jan-08 1:57
professionalVimalsoft(Pty) Ltd24-Jan-08 1:57 
GeneralRe: To get focus on textbox Pin
Johan Hakkesteegt25-Jan-08 2:35
Johan Hakkesteegt25-Jan-08 2:35 
GeneralCapturing stdout and stderr when running a subcommand (WSH) Pin
orev23-Jan-08 11:52
orev23-Jan-08 11:52 

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.