Posts

Showing posts from October, 2018

Day 12

This is some of the code I am working on at work using c#. This is a small app used to verify a database structure. #CodingPhase #TheCodingWay #365CodingPhaseChallenge ********** using System; using System.IO; using System.Data.OleDb; using System.Windows.Forms; namespace VerChange {     public partial class Form1 : Form     {         OpenFileDialog odb = new OpenFileDialog(); //        private OleDbConnection connection = new OleDbConnection();  // This line sets up connecting to DB files         public Form1()         {             InitializeComponent();         }         private void Form1_Load(object sender, EventArgs e)         {             lbl_DefDB2.Text = Properties.Settings.Default.DB_Default; // This line populates the Default DB             lbl_CurDB2.Text = Properties.Settings.Default.DB_Current; // This line populates the Current / Last DB used             // This block populates the DB histories             lbl_DB11.Text = Properties.Setting

Day 11

My eye injury is really interfering with this challenge... This is my cheat code day to say thank you Joe from codingphase.com. #CodingPhase #TheCodingWay #365CodingPhaseChallenge ********** shapes.html <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="shapes.css"> <title>Gramps' Simon</title> </head> <body> <div id="shape-board"> <div id="shape00"> <button id="cancel" onclick="setActiveControl(0)">Cancel</button> <button id="start" onclick="freebee()">Start</button> <button id="stop">Stop</button> <!-- <button id="btn-time"></button> If used, this will ask the user if they want the game to be timed <label id="lbl-time"></label> --> <label id="

Day 10

Bad day for coding... The weed eater put a stick in my eye...  No serious damage. Just a scratched eyelid... on the inside.  I did get a few lines done though.  Here is the project. #CodingPhase #TheCodingWay #365CodingPhaseChallenge ********** shapes.html <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="shapes.css"> <title>Gramps' Simon</title> </head> <body> <div id="shape-board"> <div class="shape00" id="shape00"> <button id="cancel" onclick="setActiveControl(0)">Cancel</button> <button id="start">Start</button> <button id="stop">Stop</button> <!-- <button id="btn-time"></button> If used, this will ask the user if they want the game to be timed <label id="lbl-time"

Day 9

I have created my first lines of JavaScript in this iteration!  It now controls which set of control buttons are visible. #CodingPhase #TheCodingWay #365CodingPhaseChallenge ********** shapes.html <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="shapes.css"> <title>Gramps' Simon</title> </head> <body> <div id="shape-board"> <div class="shape00" id="shape00"> <button id="cancel" onclick="setActiveControl(0)">Cancel</button> <button id="start">Start</button> <button id="stop">Stop</button> <!-- <button id="btn-time"></button> If used, this will ask the user if they want the game to be timed <label id="lbl-time"></label> --> <label id="score&quo

Day 8

Today, I am nearly finished with the interface layout.  I will fine tune it tomorrow and get some basic interface functionality in place. #CodingPhase #TheCodingWay #365CodingPhaseChallenge ********** shapes.html <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="shapes.css"> <title>Shapes</title> </head> <body> <div id="shape-board"> <div id="shape0"> <div> <button id="play">Play</button> <button id="exit">Exit</button> <button id="colors">Colors</button> <button id="math">Math</button> <button id="addsub">Add / Subtract</button> <button id="multdiv">Multiply / Divide</button> <button id="easy">Easy</button> <button id="mediu