Skip to content

Instantly share code, notes, and snippets.

View justcoding121's full-sized avatar
🏠
Working from home

Jehonathan Thomas justcoding121

🏠
Working from home
View GitHub Profile
Dim Name, Password as String
Dim Command as OracleCommand
Dim Reader as OracleDataReader
Name = Me.TextBox_username.Text
Command.SelectText = “Select password FROM usernames_table WHERE username =:parameter1”
Command.Parameters.AddWithValue(
"parameter1", Name)
Reader = Command.ExecuteReader
;;; ----=========== General Information ===========-----
;;;
;;; Artificial Intelligence, Spring 2012
;;; Project 2 - Computer Assistant Expert System
;;; Authors: Nikolai,
;;; Titanium
;;;
;;; ----=========== System's Description ===========-----
;;;
;;; This expert system is designed to assist customers
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Text.RegularExpressions
Imports System.Windows.Forms
Imports Extensibility
Imports EnvDTE
Imports EnvDTE80
Imports System.Runtime.InteropServices
A1 2 B1 A2
A2 3 A1 B2 A4
A4 3 A2 B5 A5
A5 2 A4 C5
B1 3 A1 D1 B2
B2 4 C2 C3 A2 B1
B3 1 B4
B4 3 B3 B5 C4
B5 3 A4 C5 B4
C2 3 D2 B2 C3
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aiproject;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.io.IOException;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aiproject;
import java.awt.Point;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aiproject;
import java.awt.Point;
//Node Object blueprint
public class Node {
A5 30 573
A4 30 483
A2 30 178
A1 30 48
B1 207 48
B2 207 161
B3 144 339
B4 129 443
B5 127 479
C2 258 162
*/
package aiproject;
import java.io.IOException;
public class AIproject {
/**
* @param args the command line arguments
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aiproject;
import java.awt.Point;
import java.util.*;