Subscribe to The Madman Scribblings        RSS Feed
- - - - -

Combinations and Generics

Icon Leave Comment
In This Thread the OP is trying to find the words that can be made from the digit key that letter appears on.
Like from a mobile phone keypad
0 ->1 ->2 -> ABC3 -> DEF4 -> GHI5 -> JKL6 -> MNO7 -> PQRS8 -> TUV9 -> WXYZ

So if the code was 27753 the possible letter would be
27753DPPJDEQQKEFRRLF SS
...
- - - - -

Overlapping Events

Icon Leave Comment
NO OVERLAPP

1) A BEFORE B
[ A ]
[ B ]

A.ST<B.ST
A.ET<B.ST
Analysis: A.ET<B.ST

2) B BEFORE A

[ B ]
[ A ]

A.ST>B.ST
A.ET>B.ET
Analysis: B.ET<A.ST
==========================================
N=(B.ET<A.ST) EOR (A.ET<B.ST)
O=NOT N
==========================================

OVERLAPS
--------

3) A STARTS...
- - - - -

Coding:

Icon Leave Comment
Currently writing a class so you can map class properties to controls.

Public Class Test Protected m_Text As String=""Public Property Text() As String Get End Get Set(ByVal Value As String) End SetEnd PropertyEnd Class


...
- - - - -

Embarrassing Coding Mistake (Flat World)

Icon Leave Comment
An embarrassing coding mistake. (Took a hour to realise it.)

Thinking the world is Flat.
- - - - -

Idea: Branded Types

Icon Leave Comment
Function Foo(Byval A As Double, ByVal B As Double) As BooleanEnd Function' "Branded"Function Foo(ByVal A As Double[Type_A], ByVal B As Double[Type_B]) As BooleanEnd Function



Dim A As DoubleDim B AS DoubleDim AB As Double[Type_A]Dim BB As Double[Type_B]
...
- - - - -

My Tutorials & Snippets

Icon Leave Comment
Tutorials
  • A Simple Script Interpreter (Continued)
  • Loops: Equivalents
  • A Simple Script Interpreter
  • 5 Ways of counting occurences
  • Custom Sorting in VB.NET Tutorials
  • Adding Help to an Application
  • Forms: Accessing controls
  • Arrays in VB.NET Tutorials
  • Birst Sort Explained
  • Saving your Objects
  • Create your own Popup
  • ...
- - - - -

Extension Methods

Icon Leave Comment
This is just for me to remember how to implement them.
 <System.Runtime.CompilerServices.Extension()> _  Public Function LastDayOfMonth(ByVal thismonth As Date) As Date  Return New Date(thismonth.Year, thismonth.Month, Date.DaysInMonth(thismonth.Year, thismonth.Month)) End Function
- - - - -

Identify Your Drives with its own Logo

Icon Leave Comment
Goto to the root directory of the drive you want to add the logo to.

Add or create a bitmap / icon file, with dimension of about 32 x 32 pixels.

Open your favourite text editor and create this file
[autorun]ICON=\Logo.bmp

Change \Logo.bmp to the address of logo file you are using.

Save the with this name AUTORUN.INF.
Now...
- - - - -

Update: Calculator

Icon Leave Comment
Coded The Calculator applet today.

Project CIDER Size: 120Kb, 5 Files.
- - - - -

Update: An Updater

Icon Leave Comment
Devised an Updater Mechanism, that downloads the updates in the background, then applies them when next run.
The download location will user-definable to allow network deployment of updates easier (1 Machine downloads them, and distributes the across the internal network.

  • (13 Pages)
  • +
  • « First
  • 9
  • 10
  • 11
  • 12
  • 13

Search My Blog

Recent Entries

Recent Comments