Freitag, 27. August 2010

C# Coding: Errors and Solutions

These are just some small Problems and their solutions i encountered so far in C#:

  • Situation: Creating a C# Console Application
  • Error Message [English]: "The type or namespace name
    'Windows' does not exist in the namespace 'System' (are you missing an
    assembly reference?)"
  • Error Message [German]: "Der Typ oder Namespacename 'Windows' ist in der Klasse oder dem Namespace 'System' nicht vorhanden (fehlt ein Assemblyverweis?)"
  • Solution: You need to add the file "System.Windows.Forms.dll" as a reference to your project (Right click on references -> Add Reference -> .net tab)

Mittwoch, 18. August 2010

Buying a Notebook - Some simple but important Criteria

Simple but important things for a long term usage:
  • It has a HDD Light: You can see if the HDD is busy or not
  • The Speakers are NOT at the Bottom
  • Memory Cards go completely in: If you want to leave it in all the time, its important that half of it doesnt stick out
  • The Battery doesnt stick out of the Case like (Sideview):
  • There is a LED Light that turns OFF when the Battery is fully loaded
  • You can open it up without needing to hold the bottom part down
  • The Power Adaptor is not too big (see my Lenovo Review)
Ps: Technology is GREAT, users are bitchy ;)

Sonntag, 8. August 2010

Adding Code in your blogspot Post

Add this:
<td class="smallfont">
 <div style="margin: 5px 20px 20px;">
 <pre class="alt2" dir="ltr" 
style="border: 1px inset ; margin: 0px; padding: 6px; 
overflow: auto; width: 640px; height: 34px; 
text-align: left;">YOUR_TEXT_HERE</pre>
 </div>
</td>


as HTML and change the Size of the Screen by changing the margin values.
You may need to use HTML code for new lines.