deery5000's Profile User Rating: -----

Reputation: 78 Whiz
Group:
Active Members
Active Posts:
976 (0.49 per day)
Joined:
09-May 09
Profile Views:
9,906
Last Active:
User is offline Oct 23 2014 01:17 PM
Currently:
Offline

Previous Fields

Country:
IE
OS Preference:
Windows
Favorite Browser:
Internet Explorer
Favorite Processor:
Intel
Favorite Gaming Platform:
Playstation
Your Car:
LandRover
Dream Kudos:
0

Latest Visitors

Icon   deery5000 Hobbyist Coder :)

Posts I've Made

  1. In Topic: How do I Join every Split after the first in an Array?

    Posted 3 Oct 2014

    what is the value of the string initially and what do u want the string to look like when it has been modified

    hard to make out from your description
  2. In Topic: celsius/ fahrenheit converter

    Posted 3 Oct 2014

    Ok , so your not getting any value for the out, lets have a look at the code

      'Get some input from the user
            decOriginalTemp = CDec(txtTemperature.Text)
    
            'user checks the celsius button
            If rdoToCelsius.Checked = True Then
                lblResultOutput.Text = CDbl(dblCelsius).ToString
    
            Else
    
                'user checks the fahrenheit button
                rdoToFahrenheit.Checked = True
                lblResultOutput.Text = CDbl(dblFahrenheit).ToString
    
            End If
    
    
    


    More importantly these 2 lines (this is were you setting the value of the label)

    lblResultOutput.Text = CDbl(dblCelsius).ToString
    
    lblResultOutput.Text = CDbl(dblFahrenheit).ToString
    
    


    Whats the value of dblCelsius and dblFahrenheit??? ;0

    were In your code are calling the method to convert the value???


    If you have wrote this code then you will solve this instantly

    Damn , beat too it :(
  3. In Topic: List mysteriously deletes itself with seemingly no explanation

    Posted 30 Sep 2014

    Hi,

    Point out a line in the code where it fails.

    A quick tip is to enclose all the code where it clears itself with a try catch block , chuck a breakpoint on the catch. When its hit, review the error message :)

    Post back when you have done this and include the error message
  4. In Topic: MySQL Update String

    Posted 30 Sep 2014

    Heres an example :)

    Hope this helps

        Dim commandString As String = "update Accounts set " _
                                         & "name = ' & txtBox.Text & '," _
                                         & "password = ' & txtBox.Text & '," _
                                         & "banned = ' & txtBox.Text & '," _
                                         & "rank = ' & txtBox.Text & '," _
                                         & "bp = ' & txtBox.Text & '," _
                                         & "gp = ' & txtBox.Text & '," _
                                         & "level = ' & txtBox.Text & '," _
                                         & "exp = ' & txtBox.Text & '," _
                                         & "where something = something;"
    
            Dim cmd As New SqlCommand(commandString, conn)
    
            Try
                'OPEN CONNECTION 
                conn.Open()
                cmd.Connection = conn
            Catch ex As Exception
            End Try
    
    
            Try
                'EXECUTE QUERY    '
                cmd.ExecuteReader()
    
            Catch ex As Exception
    
            End Try
    
            conn.Close()
    
    


    You will need to amend the command string because I couldn't be arsed to copy and paste your control name , also update the 'where' condition to suit your database

    :)
  5. In Topic: another nested loop

    Posted 30 Sep 2014

    Don't know if your specifically looking to work with nested loops but here an alternative approach :)

    
     Dim k As Integer = 0
    
            Dim list As New List(Of String)
            list.Add("Days")
            list.Add("Nights")
            list.Add("Days")
            list.Add("Nights")
    
            For i = 1 To 10
    
                Dim row As String() = New String() {i, k, list(k)}
                DataGridView1.Rows.Add(row)
    
                If k = 3 Then
                    list.Reverse()
                    k = -1
                End If
    
                k = k + 1
    
            Next
    
    
    


    Hope this helps

My Information

Member Title:
D.I.C Addict
Age:
29 years old
Birthday:
December 28, 1984
Gender:
Location:
Derry / Londonderry
Interests:
Play in the North West Snooker league each year
Programme everyday for fun
PC Repair
Full Name:
Kevin Deery
Years Programming:
6
Programming Languages:
C++, Java, C#, Vb.Net , SQL,

Contact Information

E-mail:
Click here to e-mail me
MSN:
MSN  deery_5000@hotmail.co.uk
Website URL:
Website URL  http://
LinkedIn:
http://www.linkedin.com/profile/view?id=222123994&trk=nav_responsive_tab_profile
Facebook:
https://www.facebook.com/kevin.deery.9

Friends

Comments

deery5000 has no profile comments yet. Why not say hello?