Subscribe to andrewsw's Blog        RSS Feed
* * * * *

MVC and C# WinForms Mismatch

Icon 5 Comments
I found this brief MVC example for Java which used four direction buttons (North, South, East, West) and a speed slider, and provided a message to indicate whether the direction had changed and whether any speed was specified. I decided well, it should be possible to do something similar in C# WinForms, even though I was well aware that WinForms...
* * * * *

VB.NET Code Samples

Icon 1 Comments
Here presented for your delight is a wall of VB.NET code. These are code samples and fragments I have collected over a length of time, some of which have appeared in the Snippets section.

Initially, it lists code by the name of the Control it demonstrates but thereafter it loses some order. Personally, I search a keyword or control name to find...
- - - - -

JSFiddle display console and share

Icon Leave Comment
My shortest blog to date, but perhaps one of the most useful.

To display a console in JSFiddle add this link (Firebug Lite) as an External Resource in the left pane, then Run your code.

Image reduced in size

example

console.log("hello"); will send output to this window. This is much better than using alerts, or having to configure an element...
- - - - -

Bung Excel Into ListView

Icon Leave Comment
I don't know why one would want Excel data in a ListView, but it seems a shame to do so cell-by-cell. In particular, I was hoping to take advantage of SubItems.AddRange to at least add one row of Excel data at a time.

UsedRange will reference the table of Excel data and (not so many people know) an entire Excel range can be fed to an ...
- - - - -

Cats be Gone

Icon 13 Comments
Nothing to do with programming.

One day there were two kittens. No consultation, my live-in landlady just decided. What's their names? Rocky and Rosie. Silly names.

They were kept indoors, which seems a bit odd to me. We have a garden. Still, I suppose some people do consider that cats can be indoor cats.

Things started well. They were fed...
* * * * *

In Too Deep?

Icon Leave Comment
Occasionally someone will start a thread on a fairly sophisticated project. It is difficult to help. They will either post too little information, not appreciating that it is they that are totally immersed in their project, everyone else is totally reliant upon the information in their (short) post(s). Or, they will post their entire project, but...
- - - - -

Exploring .NET Chart, a Pie Chart

Icon 1 Comments
I have only occasionally played with the WinForms Chart Class...
- - - - -

Python Iterator and Generator

Icon 1 Comments
This isn't intended as a tutorial, just examples of an iterator and generator posted for ease of reference. Hopefully, the examples are clear enough that they will inspire you (and me) to investigate further.

They were originally posted in this thread...
- - - - -

My Language Dabbling

Icon 4 Comments
I occasionally dabble with other programming languages. (I am avoiding the term 'study' as I am already versed in a number of languages and don't currently have a need, or incentive, to study another to any great depth.)

We all start with one language but, at some stage, it is an important part of your education to study another...
- - - - -

My Word, Auto-Complete

Icon 3 Comments
I started to write some notes in MS Word. When writing notes on technical subjects there are quite a few words that are repeated often, sometimes long or challenging words. I got side-tracked and decided I wanted an "auto-complete" feature, so that I could type just a few letters and press, for example, Ctrl-Space and have the word...

  • (5 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »

July 2016

S M T W T F S
          1 2
3456789
10111213141516
17181920212223
24252627282930
31           

Tags

    Recent Entries

    Recent Comments

    Search My Blog

    2 user(s) viewing

    2 Guests
    0 member(s)
    0 anonymous member(s)

    Categories