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

Trying to implement a valid StringOf<T> .

Icon Leave Comment
The following April Fool Joke by Scott Hanselman as been bugging be for ages;- StringOr<T>
So I been attempting to bring it in to realisation a valid implementation of it.

First a attempt: StringOf(Of T) Code Snippet
It has it problems. Like you to hard code each

Second attempt:
...
- - - - -

VB.NET Coolness is LINQ + XML Literals

Icon Leave Comment
Using the w3schools xml example: XML CD catalog

Task: From this catelogue I want you group the cds by date descending and display the titles, artist and price.
...
- - - - -

vb.net 1-Liners

Icon Leave Comment
Christmas Diner time is nearly here and you're sick of hearing those terrible cracker jokes. I bring to you the beginnings of collection vb.net code samples that only contain a single line of code.
Note: These require .net>=3.5
Fibonacci
...
* * * * *

Textboxes and Numbers (Are these Numbers?)

Icon 1 Comments
What does the two textboxes contain?
Image reduced in size

Answers
a. they contain the numbers 123 and 456 respectively.
b. they contain strings that can be interpreted as the numbers 123 and 456.

If you answered a...
- - - - -

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
  • ...

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

Search My Blog

Recent Entries

Recent Comments