Archiv der Kategorie ‘Knowledgebase‘

Some Windows Forms MVC/MVP resources

Monday, den 8. March 2010

Currently I am figuring out whether the MVC pattern (or a variation) will be suitable for an upcoming project. Therefore I am going to use this article as a reference for various valuable resources I found on the topic.
Basic resources
The following resources explain what MVC et al. are:

“Model-view-controller” (MVC) on Wikipedia.
“Model-view-presenter” (MVP) on Wikipedia.

More resources
The [...]

Error message: “ASPxClientTextBox is undefined”

Sunday, den 7. March 2010

If you  experience DevExpress error messages like the following ones:
ASPxClientTextBox is undefined
ASPxClientTextBox ist undefiniert
__aspxCultureInfo is undefined
__aspxCultureInfo ist undefiniert
You likely forgot to correctly configure your Web.config file on your web server (IIS, IIS 6 or IIS 7).
The knowledge base article “How to manually register a HttpHandler Module” on the DevExpress website tells you how to resolve this [...]

Windows Communication Foundation (WCF) – First steps

Thursday, den 4. March 2010

This article introduces a very small Visual Studio .NET 2008, .NET Framework 3.5 SP1 Solution that reflects my experiences after some days of diving into Windows Communication Foundation (WCF).
Since we see the need to make some of our applications (including this one and that one) more “distributed environment aware”, I wanted to do some research [...]

Result codes for GetLastError()

Sunday, den 28. February 2010

Just for reference purposes, all System Error Codes are listed on MSDN:

System Error Codes (0-499)
System Error Codes (500-999)
System Error Codes (1000-1299)
System Error Codes (1300-1699)
System Error Codes (1700-3999)
System Error Codes (4000-5999)
System Error Codes (6000-8199)
System Error Codes (8200-8999)
System Error Codes (9000-11999)
System Error Codes (12000-15999)

To actually translate numeric error codes to user-readable error codes, use the FormatMessage function.
In [...]

Ein Online-Bildbearbeitungs-Programm das wirklich funktionert!

Thursday, den 25. February 2010

Hammer! Endlich habe ich mit pixlr.com/editor einen komplett webbasierten Bild-Editor gefunden der wirklich funktioniert:

Komplett webbasiert (Flash)
Kostenlos
Schnell
Tolle Funktionen, fast alles was ich in meinem Amateur-Programm Paint.NET auch habe.

Bisher hatte ich ja auf meinem MacBook Air kaum eine Möglichkeit gefunden Bilder zuzuschneiden, zu skalieren, usw. Dank Pixlr.com kann ich das jetzt machen. Herrlich!

Guidelines im Visual-Studio-Quelltext-Editor

Tuesday, den 23. February 2010

Ein Features das mir schon viel Freude gemacht hat:
“Guidelines – a hidden feature for the Visual Studio Editor”
Damit könnt Ihr horizontale Linien im Editor anzeigen lassen um Euch daran zu erinnern, dass Ihr Quelltext rechtzeitig umbrechen solltet:

Um das einzurichten, einfach wie oben im verhüperlinkten Artikel einen Registry-Key ergänzen:

Meine Einstellungen sehen so aus:

RGB(128,128,128) 80, 100
Also eine [...]

Festplatte beim 24-Zoll-iMac (von 2007) austauschen

Sunday, den 21. February 2010

Dieser Artikel ist primär für mich als Referenz gedacht.
Da demnächst mein iMac von 2007 einem tollen Intel-i7-Prozessor-Rechner weichen wird, habe ich vor dem iMac eine schnelle SSD-Festplatte zu spendieren und ihn dann als Zweitrechner für schöne Mac-Spielereien zu nutzen.
Dazu muss ich logischerweise die Festplatte tauschen, was ja offiziell nur vom Support selbst gemacht werden kann.
Doch [...]

Portokalkulator online

Sunday, den 21. February 2010

Herrliche Sache dieser Dienst der Post:
www.portokalkulator.de

Damit könnt Ihr direkt online interaktiv ausrechnen wie hoch ein Brief/Päckchen/usw. frankiert werden muss.

Serialize a DataTable to a string

Thursday, den 11. February 2010

Just a short code snippet that helped me recently:
public static string SerializeTableToString(
DataTable table )
{
if (table == null)
{
return null;
}
else
{
[...]

DevExpress ASPxGridView edit mode

Tuesday, den 9. February 2010

Recently I wanted to add an edit mode button to the ASPxGridView control as outlined in this example.

Unfortunately it did not work as expected; the “Edit” command button simply did not do anything when being clicked.
Resolution
After some investigation I figured out that the property KeyFieldName of the grid view must be set to the key [...]

 

You need to log in to vote

The blog owner requires users to be logged in to be able to vote for this post.

Alternatively, if you do not have an account yet you can create one here.

Powered by Vote It Up


blogoscoop