fyiReporting AsynchronousThreadAbort

I finally figured out what was causing the AsynchronousThreadAbort in MajorSilence2257 when using fyiReporting. Apparently it is caused by setting rdlView.ShowWaitDialog = true. You must set it to false as soon as you create a new instance of the rdlviewer.

rdlView = new fyiReporting.RdlViewer.RdlViewer();
rdlView.ShowWaitDialog = false;

I am assuming this is a bug as I found mention of it on their forums.

GTK# MessageDialog

	
MessageDialog m = new MessageDialog(this, DialogFlags.Modal, MessageType.Info, ButtonsType.YesNo, false, 
    "Should the textbox be set to Hello World");
ResponseType result = (ResponseType)m.Run();
m.Destroy();
		
if (result == ResponseType.Yes)
{
	entry1.Text = "Hello World";
}

Guitar Progress 1

Cocaine Cowgirl, O Holy Night, and I Don't want to miss a Thing are progressing nicely.

Tags:

2010 Check List

Book List:
Precalculus - It has been seven years since I have done math, so I will start with this.
Calculus Made Easy
Applied Cryptography
PostgreSQL - Finish few remaining chapters
Data Structures and Problem Solving Using Java
Programming Linux Games
Bookkeeping and Accounting
Nemsis

Directory Traversal in C#

I am reading through a chapter on binary trees. The first simple example they give is traversing through directory structures. As the book is for java the attached file is the example translated to c#.

Once I have finished the chapter I will upload the binary tree example translated to c#.

Here is an example postorder recursion through a directory tree (attachment main.cs). See attachment Main.cs for a different example.

using System.IO;

class RecurseDirectory
{
	public static void Main(string[] args)
	{
		RecurseDirectory r = new RecurseDirectory();

Singly/Sorted Linked Lists

I am rereading some chapters in "Data Structures & Problem Solving Using Java". I just finished reading chapter 17 on linked lists. Here is the singly linked list and sorted linked list from this chapter done in c#.

LinkedList - the list itself
SortedLinkedList - the sorted linked list
ListNode - represents the node
LinkedListIterator - represents the position

using System;
using System.Collections.Generic;

namespace LinkedLists
{
	public class ListNode
	{
		private T elem;
		private ListNode nextNode;
		
		public T Element
		{

Reading list

I am finally getting around to reading Code Complete. It is good. I should have read it years ago. I am also reading through Design Patterns Explained.

Tags:

Note to self

Got DeVeDe 3.12.5 working properly by building as normal. Then copied devede.exe, library.zip, and devede.glade to a folder containing all other files from DeVeDe 3.12.3. For some reason using newer gtk versions just will not work correctly with icons and other things in the glade file.

Bah! To hell with this!

I am sick to death of using PyGTK on Windows. It sucks, does not work very good, is not up to date and does not support the features that are in the latest versions of DeVeDe (3.14, gtkbuilder...). I will be uploading a fixed version of 3.12.4 and hope that it works. If it does work, good, if not I will not be doing anymore packages for DeVeDe until PyGTK is maintained properly for Windows.

I think I will be sticking to .NET development. It is so much nicer. Of course I will still be using PyGTK on linux.

DeVeDe ImgBurn Support

Since I have received my new Vista 64 computer I have been having problems with creating ISO files with DeVeDe. To quickly fix this I have added support for ImgBurn (http://www.imgburn.com). If ImgBurn is installed DeVeDe will use it to create the ISO file instead of mkisofs.

Using ImgBurn should also take care of the "ran out space errors" that some users have been experiencing.

I am currently testing it and within a couple of days there should be a DeVeDe 3.12.4 package uploaded.

Tags:

Pages

Subscribe to majorsilence RSS