Locations of visitors to this page


Onteora Software - Archive

Onteora Software

Ken Tucker's Blog

About the author

Author Name is someone.
E-mail me Send mail

Recent posts

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

I've been Tagged: Five Things You Might Not Know About Me

I've been Tagged: Five Things You Might Not Know About Me



I have been tagged by Shawn Weisfeld. Here are 5 things you might not know about me.



1) My son Ryan, brother Denis and I are all Eagle Scouts



2) I love to go camping. I have a lot of good memories backpacking upstate New York.



3) My current job is an assistant engineer onboard Sun Cruz's Surfside Princess



4) I have 4 dogs, 4 cats, and 3 birds as pets.



5) While working on ships I have visited England, Scottland, Ireland, Germany, Norway, Spain, Canada, Puerto Rico, UAE, and Bahrain.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Archive
Posted by Ken Tucker on Tuesday, February 06, 2007 11:12 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Beta Certification Exam

Beta Certification Exam



I took the beta exam for Microsoft Windows Mobile 5.0 - Application Development (exam number 70-540) with the visual basic option. The exam had 81 questions with a 4 hour time limit. There was one c# question slipped in there.



There were questions on the creating menus, smart phone connection status to the network, interacting with contact list, listing items in the task list, serial port, xml, and httpwebrequests.


SQL Everywhere (formerly SQL Mobile) was a topic which had a few questions. You will need to know how to repair a database, and sync with a sql 2005 database.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: General | Archive
Posted by Ken Tucker on Wednesday, September 06, 2006 10:12 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Tom Fuller MVP

Tom Fuller MVP



Congradulations to my friend Tom Fuller on making Solution Architect MVP. Tom runs the Soa Pitstop website. Tom also speaks at florida code camps and user group meetings.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Archive
Posted by Ken Tucker on Wednesday, April 05, 2006 11:42 AM
Permalink | Comments (0) | Post RSSRSS comment feed

Real Random Numbers

Real Random Numbers



The random function does not generate truely random numbers. Use the RNGCyptoServiceProvider to create them



Imports System.Security.Cryptography


Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        FillList()
    End Sub

    Private Sub FillList()
        ListBox1.Items.Clear()
        For x As Integer = 0 To 20
            ListBox1.Items.Add(TrueRandom.Rand(500).ToString)
        Next
    End Sub

    Private Sub btnNewList_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNewList.Click
        FillList()
    End Sub
End Class


Public Class TrueRandom
    Public Shared Function Rand(ByVal MaxNum As Integer) As Integer
        Dim rnd(20) As Byte
        Dim num As Long

        Dim generator As New RNGCryptoServiceProvider

        generator.GetBytes(rnd)
        For x As Integer = 0 To 20
            num += CInt(rnd(x))
        Next x
        Return CInt(num Mod MaxNum)
    End Function

End Class

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Archive | VB
Posted by Ken Tucker on Wednesday, February 22, 2006 11:12 PM
Permalink | Comments (0) | Post RSSRSS comment feed

KJM Solutions

KJM Solutions



KJM Solutions is now open for web hosting. We offer .NET Framework 1.1 and .NET Framework 2.0, ASP.NET, application hosting and web services hosting. 1 GB Disk Space divided among all services as you choose, 350GB Monthly Data Transfer, Unlimited POP3 Email Accounts, Unlimited Microsoft SQL Server 2005 Databases, Unlimited Microsoft SQL Server 2000 Databases, Unlimited FTP Accounts, Unlimited Email Forwards, Frontpage 2002 Extensions, 24/7 Email Support, Web Based Email for $35.00 per month. The first 3 months are free.

Contact Sales for more info.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Archive
Posted by Ken Tucker on Monday, February 20, 2006 12:42 PM
Permalink | Comments (0) | Post RSSRSS comment feed

New Website

New Website



Upgraded the website today to use the asp.net 2.0. I used the small business template from the asp.net website for the site look. Posted it on the KJM Solutions server. I am using SQL Server 2005 for the blog now. We are getting closer to opening up for business.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Archive
Posted by Ken Tucker on Monday, February 13, 2006 12:42 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Find Missing dll

Find Missing dll



There was a question the other day in the vb.net newsgroup on how to make a list of the missing dlls on your system. Files that are registered by regsvr32 create a CLSID. This program will check all the CLSID registered dll exists and adds the missing ones to a list box.



Imports Microsoft.Win32
Imports System.IO

Public Class Form1
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer. 
    'Do not modify it using the code editor.
    Friend WithEvents lstMissingDll As System.Windows.Forms.ListBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.lstMissingDll = New System.Windows.Forms.ListBox
        Me.SuspendLayout()
        '
        'lstMissingDll
        '
        Me.lstMissingDll.Location = New System.Drawing.Point(24, 24)
        Me.lstMissingDll.Name = "lstMissingDll"
        Me.lstMissingDll.Size = New System.Drawing.Size(680, 212)
        Me.lstMissingDll.TabIndex = 0
        '
        'Form1
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.ClientSize = New System.Drawing.Size(736, 266)
        Me.Controls.Add(Me.lstMissingDll)
        Me.Name = "Form1"
        Me.Text = "Form1"
        Me.ResumeLayout(False)

    End Sub

#End Region

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim rkCLSID As RegistryKey = Registry.ClassesRoot.OpenSubKey("CLSID")
        Dim strKey As String
        Dim strSys32 As String = Environment.GetFolderPath(Environment.SpecialFolder.System) & "\"

        For Each strKey In rkCLSID.GetSubKeyNames
            Try
                ' only check for dll name if it is a clsid
                If strKey.IndexOf("{") >= 0 Then
                    Dim strPath As String
                    Dim rk As RegistryKey = rkCLSID.OpenSubKey(strKey & "\InprocServer32")
                    Dim strDll As String = rk.GetValue("").ToString
                    If strDll.IndexOf("\") > 0 Then
                        'gave full path
                        strPath = strDll
                    Else
                        ' in system32 directory
                        strPath = strSys32 & strDll
                    End If
                    Dim str As String = """"
                    strPath = strPath.Replace(str, "")
                    Trace.WriteLine(strPath)
                    If Not File.Exists(strPath) Then
                        ' file doesnt exist add to listbox
                        lstMissingDll.Items.Add(strPath)
                    End If
                End If
            Catch
            End Try
        Next
    End Sub
End Class

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Archive
Posted by Ken Tucker on Sunday, October 02, 2005 10:12 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Blog up and running

Blog up and running



Well I got my blog up and running today. I am using a MySql database for storing the data. My web host brinkster offers Sql Server, MS Access, and MySql database storage. I seam to get a lot of data access errors using MS Access on the web when I have too many users at once. I figured I will try the MySql. Seams to be a very powerfull database full of features. I still prefer to use Sql Server.




In addition to this site I also maintain a VB.Net and VB-Tips website with Cor Ligthert. I am starting to make some Visual Studio .Net 2005 tips. Hope to be able to start posting some soon.


VB-Tips

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Archive
Posted by Ken Tucker on Tuesday, July 19, 2005 9:07 AM
Permalink | Comments (0) | Post RSSRSS comment feed