Psyguy's Profile User Rating: -----

Reputation: 76 Whiz
Group:
Authors
Active Posts:
328 (0.22 per day)
Joined:
12-January 11
Profile Views:
10,469
Last Active:
User is offline Jan 09 2015 10:32 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
250

Latest Visitors

Icon   Psyguy I reject your reality and replace it with my own...

Posts I've Made

  1. In Topic: Display Data in text box based on ID

    Posted 24 Dec 2014

    First, the database tables are collections of records. Each record has one or more fields. The table name is "JobAid". The fields for your table are ID, Title, and Content.

    Second, a little more information is needed. What line of code are you experiencing problems on? Have you stepped through the code while executing and verified that the information you are requesting is being retrieved? Is your reader actually getting any records?

    Answering these questions can help you nail down where the problem actually is.
  2. In Topic: saving/converting icon file

    Posted 24 Dec 2014

    Save it in a local variable and save it to a file. Here is a discussion on it from MSDN.
  3. In Topic: Transitioning into the Computer Engineering Industry

    Posted 24 Dec 2014

    1) I tell my sons that, if you want to prepare for a specific job, find out what the requirements are of that job and go get them. In this case, you aren't looking for a specific job, but a field. This field is especially difficult to nail down because, in the end, most people hiring for this field don't give a crap how you came about getting your knowledge and experience as long as you are able to perform to duties of the position. While some places won't hire you unless you have X degree and Y years of experience, many done't even look at that. In my last two Software Engineer positions, they didn't care at all about my education (as far a CS goes I only have my Associates degree). Bottom line, if you can learn from books and online tutorials fairly well, you can self teach this stuff. If you can't, college is your only option.

    2) Stable employment depends on where you live. Some areas are hot beds for technology jobs and some (where I live), there are few technology jobs (we also have a low number of technology professionals so I don't find work hard to come by). It's all about balancing where you want to live, the commuting time and distance you are comfortable with, and the salary you think you should make (there are several websites out there that give career salary information based on location).
  4. In Topic: ASP.NET Reports viewer

    Posted 18 Sep 2014

    http://www.aspsnippe...th-example.aspx

    This seems to be pretty comprehensive.
  5. In Topic: Date Validation - Working out if something has expired

    Posted 18 Sep 2014

    I don't know if this makes a difference to you, but using implicit conversion to compare a string of a date doesn't seem very good practice (to me). You should be comparing dates, not text of dates. You also use both "<=" and ">=" when only one can occur if the two dates are equal. You must select one that will occur if the dates are equal or the code will just select the first one in your "if" statement. You also have an "if", an "else if", but no "else". Is there a third option? If there are only two options you could simplify the code to an "if (code) else (code) end if" See below:

    Sub ValidateDate()
        dtp_CourseStartDate.Text = Today
        Try
            If dtp_CourseEndDate.Text >= Today Then
                txt_ValidationResponse.Text = "Validated"
            Else
                txt_ValidationResponse.Text = "Course Expired"
            End If
        Catch ex As Exception
            MsgBox("Error: " & Err.Description, MsgBoxStyle.Critical, Title:="Status")
        End Try
    End Sub
    
    


    EDIT: There is also an argument to be made about why you would need a try/catch on this. There is some overhead associated with a try/catch block and I would question exactly what exception could occur on this block of code.

My Information

Member Title:
D.I.C Regular
Age:
37 years old
Birthday:
October 14, 1977
Gender:
Location:
Eugene, OR
Full Name:
Joel M. Priddy
Years Programming:
3
Programming Languages:
VB.NET, C#, ASP/ADO.NET, C++, Java, XML, SQL

Contact Information

E-mail:
Click here to e-mail me
LinkedIn:
http://www.linkedin.com/pub/joel-priddy/12/49/7b5/
Twitter:
joel_priddy

Friends

Comments

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