Releasing And Renewing Your IP Address In Ubuntu

sudo ifconfig eth0 down (shuts down the eth0 interface, releases the IP)

sudo ifconfig eth0 up (enables the eth0 interface, renews the IP)

sudo /etc/init.d/networking restart


Using WIA for scanning

I was playing around this morning with scanning images and put together an adapter class that uses the Windows automation library (WIAAUT.DLL) which is part of the WIA automation SDK -- WIA means Windows Image Acquisition.

Here are the imports I used for the code file:


Integrate image scanning within a C# application

Now, include the WIA library (C:\Windows\System32\wiaaut.dll) within your proje

VS 2010 compiler error: Interop type XXX cannot be embedded. Use the applicable interface instead.

In most cases (such as error for the usage of UPnPNATClass as noted in one of the comments) this error is the result of code which tries to instantiate a COM object e.g. here piece of code starting up Excel:

Excel.ApplicationClass xlapp = new Excel.ApplicationClass();

Here it is enough to say that Excel.ApplicationClass derives from Excel.Application interface and one can even instantiate Excel using Excel.Application interface. Rewriting this code as below produces exact same results:

Excel.Application xlapp = new Excel.Application();

How to Create ISO from Mac Installation DVD – Rip Mac DVD in Windows

Several methods showed in this blog to install Mac OS X on Windows OS with Desktop Virtualization, original Mac installation DVD does not work sometimes with these methods. You must create ISO file from installation disk and use. This post shows how to create ISO from Mac Installation DVD in Windows.

I tried my favorite DVD writing software to Rip Mac DVD to ISO in Windows, but those images did not work with VMware or VirtualBox. Finally, Imgburn did the job and it worked well.


Follow these steps to rip Mac DVD in Windows

A generic error occurred in GDI+.

A generic error occurred in GDI+.
ปัญหานี้ เกิดจากการหา Path ไม่เจอ ให้ไปแก้ไข Path ก็เป็นอันเรียบร้อย

[Tips] Clearing Memory Cache to Speed Up Your Windows 7

When your computer is running for quite some time, you will notice that it slows down due to idle processes. You can use this method to free up unused RAM and speed up your computer. It requires you to create a desktop shortcut and then open it to clear the memory cache.

ปัญหาเรื่อง Font ภาษาไทยในโปรแกรม Microsoft Office 2011

ปัญหาอ่านภาษาไทยใน Office for Mac ไม่ได้
แก้ไขได้โดยนำฟอนท์ที่ต้องการใช้เช่น Angsana New (จาก C:\Windows\Fonts) มาใส่ใน Mac OS X
โดยนำไปไว้ที่ Users > Home > Library > Fonts

Syndicate content