Creating a Windows Form User Control

User Control ကို ခြုံငုံကြည့်ခြင်း
Microsoft® .NET controls (build-in ပါလာတဲ့ .Net controls) တွေ အားလုံးဟာ UserControl လို့ခေါ်တဲ့ base class ရဲ့ လက်အောက်မှာ (inherit) ရှိကြပါတယ်.. အဲဒီ base class တွေမှာ Window Form control တွေ ဖန်တီးတဲ့ function တွေပါ၀င်ပါတယ် . Usercontrol class လက်အောက်ကို ရောက်တာနဲ့ အဲဒီ properties and events တွေ အားလုံးကို သုံးလို့ ရပီ ဖြစ်ပါတယ်.
Properties များကို ယူသုံးခြင်း
ဒီမှာ UserControl base class အောက်မှာ အခု ၃၀ လောက်ရှိတဲ့ properties တွေ ရှိပါတယ်. ဥပမာ .. backcolor, forecolor, anchoring and docking.. အဲဒါတွေ အားလုံးကို override လုပ်ပီး ကိုယ့်စိတ်ကြိုက်ပြင်ပေးနိုင်ပါတယ်. ဒါမှ မဟုတ်လဲ Default အတိုင်းထားပီးလည်း သုံးနိုင်ပါတယ်.
Events များကို ယူသုံးခြင်း
ဒီမှာလည်း အခု ၄၀ လောက် ရှိတဲ့ Events တွေ အားလုံးကို inherits လုပ်နိုင်ပါတယ်. ဥပမာ .. Load, Resize, Textchanged စတာတွေ အပြင် mouse event တွေ ဖြစ်တဲ့ Click, DoubleClick, MouseUp and MouseDown.. ဒါတွေကိုလည်း On ဆိုတာနဲ့ override လုပ်ပီး သုံးနိုင်ပါတယ် ..
ကိုယ်ပိုင် Control အသုံးပြုခြင်း vs. Microsoft build-in Control အသုံးပြုခြင်း
Microsoft ကနေပြီး build-in လုပ်ပေးထားတဲ့ Control ပေါင်းများစွာ ရှိပါတယ် .. ထပ်လည်း ဖြည့်ပေးနေတုန်းပါပဲ .. ဒါပေမယ့် တခါတလေမှာ အဲဒီ Toolbox ထဲမှာ မပါတဲ့ Control မျိုးသုံးချင်တဲ့ အခါတွေ ၊နောက်ပီး တခါတရံမှာ Special Control တစ်ခုကို ထပ်ခါတလဲလဲ သုံးချင်တဲ့ အခါတွေ ရှိလာတတ်ပါတယ်. အဲဒီအခါမှာ ဒီ UserControl ကို သုံးလာရတာပါပဲ .. UserControl ကို နေရာ အမျိုးမျိုးတွေ မှာ သုံးလာကြပါပီ. UserControl ကို dll file တောင် ရောင်းနေတဲ့ ခေတ်ကို ရောက်နေပါပြီ.. အောက်တွင် UserControl ကို အသုံးပြုပုံကို ရှင်းပြသွားပါမယ် .. အလွယ်ဆုံး ဥပမာကနေ စရအောင် ..
ပထမဦးဆုံး ClassLibrary project ကနေ စပါမယ်..
ပြီးရင် အဲဒီမှာပါလာတဲ့ class1.cs ကို ဖျက်ပီး Add => User Control လုပ်ပါမယ်..
နာမည် ပြောင်းပါမယ် ..
အဲဒီ form ပေါ်မှာ label ၂ ခုထည့်ပါမယ်..
form ကို double-click ပြီး Datetime ဖော်ပြမယ့် code ဖြည့်ပါမယ်..
ပြီးရင် နောက် WindowForm တစ်ခုဆောက်ပြီး အဲဒီ User Control ကို သုံးကြည့်ပါမယ်.. အရင်ဆုံး အဲဒီ dll file ကို Reference Add ပေးပါ..

ပြီးရင် ဘေးဘက် Toolbox မှာပေါ်နေတဲ့ myusercontrol ကို ယူပြီး form ပေါ်ကို တင်လိုက်ပါမယ်..
ဒါဆိုရင်တော့ auto datetime ဖော်ပြတဲ့ label ပါ၀င်တဲ့ User Control ပြီးပါပြီ..


http://msdn.microsoft.com/en-us/library/aa302342.aspx ကို ဘာသာပြန်ပြီး ရေးပါသည်.

Windows Forms User Settings in C#

http://www.codeproject.com/KB/cs/UserSettings.aspx

Making UserControl Topmost (WinForm)

စိတ်ပေါက်ပေါက်နဲ့ Usercontrol တစ်ခုလုပ်ပါတယ်..။ Project မှာ Number ကို Textbox ထဲရိုက်ထည့်နေရတာထက် အခုလို mouse နဲ့ပဲ နှိပ်မလားလို့ စဉ်းစားမိလို့ပါ...။ ဒါဆိုရင် နောက် Touchscreen တွေအတွက်လည်း အဆင်ပြေပါတယ်..။ ကုန်ပစ္စည်းကုတ်တွေကို လက်နဲ့ နှိပ်ပြီး ဖြည့်ရုံပါပဲ..။ Usercontrol လုပ်ပြီးသွားတဲ့အခါ သူ့မှာ Windowform လို Topmost property ပါမလာပါဘူး ..။ သူက တခြားစာသားကို ဖုံးနေပါတယ်...။ အဲဒါရှာကြည့်လိုက်တော့ အောက်ပါအတိုင်း Usercontrol မှာ SendToBack() နဲ့ BringToFront() ကို ထည့်သုံးသွား ရုံပါပဲ...။ Now all ok..!


HERE source code of my UserControl

My First Ebook (C# WindowsForms) မြန်မာလို


Now I launch my e-book .. any feedback welcome :)
I will update in this post .... thank you ...
https://docs.google.com/document/d/19wK9qjJKbC3bv2kehqprAOECU5bxaj5crF8C-nOVFjM/edit?hl=en#

BackgroundWorker and CrystalReports

http://www.c-sharpcorner.com/UploadFile/hamziak/myCryst09142009145719PM/myCryst.aspx

Set Progress bar and Label in StatusStrip

StatusStrip မှာ Progress bar နဲ့ Label ကို နေရာချတာ ဖြစ်ပါတယ်။ StatusStrip ရဲ့ Properties မှာ RightToLeft မှာ False ပေးပါ။




More info =>
http://dotnetperls.com/statusstrip

Toolstrip ProgressBar

Toolstrip မှာ Progress bar ထည့်တာလေးပါ. သူ့ကို control လုပ်တာကတော့ Progress changed event ပါပဲ။ နောက်မှာ ပြန်ရေးပါဦးမယ် ။


More info =>
http://www.visualbasicask.com/visual-basic-language/toolstrip-progressbar.shtml

My download speed AT University :D



ဟဲဟဲ ကြွားရုံသက်သက်ပါ။

Difference between web site and web application in Visual Studio 2005

http://www.dotnetspider.com/resources/1520-Difference-between-web-site-web-application.aspx
http://msdn.microsoft.com/en-us/library/aa730880%28VS.80%29.aspx#wapp_topic5

An exception occurred while executing a Transact-SQL statement or batch.


MSSQL Server Replication မှာ Publish လုပ်တဲ့ အချိန်မှာ ပေါ်လာတဲ့ error ဖြစ်ပါတယ်။ နည်းလမ်းကို လိုက်ရှာတာ ကတော့ အများကြီးပါပဲ။ တစ်ခုမှ အဆင်မပြေပါဘူး။ ကိုယ့်ဟာကို အဲဒီ Database ကို အသစ်ထပ်ဆောက်ပြီး Publish လုပ်မှ ရတော့တယ်။ (Primary KEY ကိုတော့ သတိပြုပါ။ မပါရင် Publication လုပ်လို့ မရပါ။) Table အသစ်နဲ့ Data တွေကိုတော့ နောက်တစ်ခေါက် ပြန်ထည့်ရတာပေါ့။ :D

Other link => http://support.microsoft.com/kb/914779

Windows services stopped, Audio

အခု Window XP တင်ထားပါတယ်။ ပြသနာက Driver တွေ အားလုံး Software တွေ အားလုံး တင်ပြီးတော့ စတာပဲ။ သီချင်းတွေ ဇာတ်လမ်းတွေ ဖွင့်ပြီးရင် Window Audio Service က automatically ရပ်ရပ်သွားတယ်။ နောက်ပြီး တစ်ခါတလေ Theme ကို ပါ ပြောင်းသွားတယ်။ ဘယ်က ဘယ်လိုဖြစ်တာလဲ မသိ။ Virus ? မသိတော့ဘူး။ ဒါပေမယ့် အဲလို အသံပျောက်သွားရင် restart ချလိုက်ရင် ပြန်ကောင်းကောင်းသွားတယ်။ အဲ Restart ချစရာ မလိုဘဲ အောက်ပါအတိုင်းလဲ လုပ်နိုင်ပါတယ်။
၁။ Run => services.msc လို့ type ပါ။
၂။ အဲဒီ အထဲက Window Audio ဆိုတာကို ရှာပြီးတော့ Start လုပ်ပေးပါ။ ဒါဆို ရပါပြီ။
ဟီး... နောက်ဆုံးတော့ Window Update ကို On ပေးလိုက်တာ အားလုံး OK သွားပါပီ။ အဲ window genuine ပါတက်လာလို့ ပြန်ပြီး crack လုပ်လိုက် ရသေးတယ်။။
Check them :
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=74AD4188-3131-429C-8FCB-F7B3B0FD3D86&displaylang=en
http://support.microsoft.com/kb/307918

Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005

ကျွန်တော်တို့ SQL server ကို တင်ခဲ့တုန်းက Name Instance နဲ့ တင်ခဲ့့ပါတယ်။ အခုမှားသွားလို့ ဖြုတ်မယ်လည်းလုပ်ရော ဘယ်မှာ ပြန်ဖြုတ်ရမလဲ မသိတော့ဘူး။ တစ်ချို့ website မှာ ရေးထားတာက window installer cleanup utility နဲ့ လုပ်တယ် လို့ ပြောတာပဲ.ဒါနဲ့ download ချကြည့်တာ မရတော့ဘူး။ နောက်ပြီး site တစ်ခုမှာက အဲဒါကို မသုံးတော့ဖို့ ရေးထားပါတယ်။ ဒါနဲ့ အချစ်တော် Google လုပ်လိုက်တဲ့ အခါမှာ Step by step နည်းကို တွေ့ပါတယ်။ ဒါပေမယ့်သူက SQL server တစ်ခုလုံးကို uninstall လုပ်တာ ဖြစ်ပါတယ်။ ဒါနဲ့ အဲဒီနည်းကို အကုန်မသုံးဘဲနဲ့ လိုချင်တဲ့ Instance Server လေးကိုပဲ ကွက်ပြီး uninstall လုပ်ပါမယ်။ အောက်ပါအတိုင်းလုပ်ပါ။
၁။ C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap ကို သွားပါ။၂။ ပြီးရင် ARPWrapper ကို Run ပြီး အဲဒီမှာပေါ်လာတဲ့ ထဲက uninstall လုပ်ချင်တဲ့ ဟာကို နှိပ်ပါမယ်။ ပြီးရင် သူ့ဟာသူ တစ်ခုချင်းစီကို ထပ်ခါထပ်ခါ uninstall လုပ်ပေးပါ။အောက်က သုံးခုကို လုပ်စရာမလိုပါဘူး။ ဘာလို့လဲဆိုတော့ အဲဒါက SQL server တစ်ခုလုံးကို uninstall လုပ်မယ် ဆိုတော့မှ လုပ်ရမှပါ။ Analysis service,Database engine,Reporting Services တွေကို တစ်ခုစီ uninstall လုပ်သွားပါ။ Restart လိုအပ်ရင် ချပေးပါ။
၃။ ပြီးရင် SQL server Management Studio ကို ၀င်ပြီး အဲဒီက Registered Servers မှာ ဖျက်လိုက်တဲ့ဟာကို delete လုပ်ပေးပါ။
More info => http://support.microsoft.com/kb/909967

ဦးနှောက်ကို မေးကြည့်ပါ (၂)

လွယ်မယောင်နဲ့ ခက်ဆိုသလို စာသားတွေကို နားလည်ပေမယ့်လည်း ၀ါကျကို ဖြည့်ဖို့လက်တွန့်နေတတ်ပါတယ် ...ဆက်လက် ဖြည့်ကြည့်ပါ။

၂၃။ ရန်ကုန်ကို အလည်ရောက်နေစဉ်မှာ ...................................................
၂၄။ ရန်ကုန်မြို့အနှံ့ လျောက်လည်နေတုန်း .................................................
၂၅။ မြန်မာ့သမိုင်းကြောင်းကို နားထောင်နေတုန်း .............................................
၂၆။ မြန်မာနိုင်ငံရဲ့ ပညာရေးအကြောင်းကို တွေးလိုက်တဲ့ အခါမှာ ...................................
၂၇။ ကားဂိတ်ကို ရောက်ရောက်ချင်း .....................................................

အချိန်များ
၂၈။ ဒီလအတွင်း ..........................................
၂၉။ မနှစ်က .............................................
၃၀။ အရင်အပတ် ဗုဒ္ဒဟူးနေ့တုန်းက ...................................
၃၁။ အရင်နှစ် အောက်တိုဘာလက .................................
၃၂။ နောက်နှစ် ဇန်နဝါရီမှာ .........................................
၃၃။ နောက်နှစ် စက်တင်ဘာလမှာ .....................................
၃၄။ နောက်အပတ်မှာ ..............................................
၃၅။ ငါတို့ နှစ်ယောက်မိတ်ဆွေ ဖြစ်ပီး တစ်ပတ်ကြာတော့ ........................
၃၆။ ငါကျောင်းပီးတော့ နောက်နှစ်မှာ .....................................
၃၇။ ငါတို့ တွေ့ပြီး နောက်တစ်ပတ်ကြာတော့ ................................
၃၈။ ရထား မထွက်ခင် တစ်နာရီအလိုမှာ .....................................
၃၉။ ငါတို့ ခရီးမထွက်ခင် တစ်ရက်က ........................................
၄၀။ လေ့လာရေးထွက်စဉ်တုန်းက ..........................................
၄၁။ ရှေ့ နှစ်နှစ်လောက်က .............................................
၄၂။ စာမေးပွဲကြီး ပြီးလို့ ကျောင်းပိတ်တုန်းမှာ ..................................
၄၃။ ငါတို့ ပင်လယ်ခရီးထွက်စဉ်တုန်းက ....................................
၄၄။ ဒီ လက်ချာချိန် ပြီးရင် .........................................
၄၅။ ကျောင်းပြီးသွားရင် ...............................................

၄၆။ ကျွန်တော် အခန်းသော့ ပျောက်သွားတဲ့ အခါ. ...........................
၄၇။ မိုးတွေ ရွာနေတဲ့ အချိန်မှာ .......................................
၄၈။ စာသင်ချိန်မပြီးခင်မှာ ..........................................
၄၉။ အထူးပြုဘာသာရပ် ရွေးချိန်ထိ ကျွန်တော် ...........................
၅၀။ ကျွန်တော် မငိုက်ခင် က .......................................
၅၁။ သူငယ်ချင်းတွေအားလုံး ထွက်သွားတဲ့ အခါမှာ ..........................
၅၂။ ကျွန်တော် .................. ကို မြင်မြင်ချင်း ......................

စာကြောင်းလေးတွေကို တွဲပေးပါ။








အကယ်လို့ ဒီရုပ်ရှင်ကို ကြည့်ပြီးသားဆိုရင်ကျွန်တော်ဆရာဝန်ကို ဖုန်းဆက်ခေါ်မှာပါ..
အကယ်လို့ တခါတရံသာ သင်သီချင်းကို နားထောင်ရင်ကောင်းကောင်း အနားယူခွင့်ရမှာပါ..

How to center text in label (WindowForm)

1. Select label
2. Autosize=false
3. Select label and change its Size
4. TextAlign=MiddleCenter

ဦးနှောက်ကို မေးကြည့်ပါ (၁)

သူများနိုင်ငံတွေမှာ ကလေးတွေကို ငယ်စဉ်ကတည်းက အားလုံးကို စဉ်းစားတတ်အောင် သင်ပေးတာပါတယ်.. အိမ်စာတွေကို ပေးတဲ့အခါမှာ ၀ါကျတွေ ဖွဲ့ခိုင်းပါတယ်.. စာလုံးတစ်လုံးကနေပြီး ၀ါကျဖွဲ့ခိုင်းတာ မဟုတ်ဘဲ စာကြောင်းတစ်ဝက်ကနေပီး အဓိပါယ်ရှိအောင် ဆက်ပီး ရေးစေတာပါ.. လူတွေရဲ့ဦးနှောက်က မစဉ်းစားတာ ကြာလာရင် တုန်းတုန်းလာပါတယ်.. ဒီလိုလုပ်ပေးခြင်းအားဖြင့် ကလေးတွေအနေနဲ့ ကိုယ့်စိတ်ကို သိလာစေသလို ဆရာတွေကလည်း ကလေးတစ်ယောက်ရဲ့ စိတ်ကို ခန့်မှန်းရလွယ်လာပါတယ်.. တကူးတကလုပ်ပေးတာ မဟုတ်ဘဲ စာအရေးအသား သဒ္ဒါကို စစ်ရင်း စဉ်းစားတတ်အောင် သင်ပေးတာဖြစ်ပါတယ်.. အခုအောက်မှာရေးပေးတဲ့ စာကြောင်းများက ဘာသာပြန်များသာဖြစ်ပါတယ်.. အဲဒါလေးတွေကို ကိုယ့်ဟာကို စဉ်းစားပီး ဖြည့်ပေးပါ.. အဖြေမှာ အမှန် အမှား မရှိပါဘူး ... သင်ဖြည့်လိုက်တာတွေ ဟာ သင့်အတွက်တော့ အားလုံးမှန်နေမှာပါ.. အရေးကြီးတာက ဖြည့်လိုက်ဖို့ပါပဲ ...
၁။ ကျွန်တော် .................. ဖြစ်ချင်တယ်။

ဖြစ်သော်လည်း....
၂။ .............ဖြစ်သော်လည်း ကျွန်တော် ကျောင်းကို သွားခဲ့ပါတယ်။
၃။ .............ဖြစ်သော်လည်း သူမဟာ မင်းသမီး မဖြစ်ခဲ့ပါဘူး။
၄။ .............ဖြစ်ပေမယ့်လည်း ကျွန်တော်တို့ တိုင်းပြည်ကြီးက စျေးကွက်စီးပွားရေးစနစ်ထဲကို ၀င်ရောက်ခဲ့ပါတယ်။
၅။ .............ဖြစ်ပေမယ့် သူဟာ မလာနိုင်ခဲ့ပါဘူး။
၆။ .............ဖြစ်ပေမယ့် ငါးဖမ်းသမားဟာ ပင်လယ်ကို ထွက်ခဲ့ပါတယ်။
၇။ .............ဖြစ်ပေမယ့် ကျွန်တော်ဟာ နယ်စပ်မြို့လေးကို အနားယူဖို့ ထွက်ခဲ့ပါတယ်။
၈။ .............ဖြစ်ပေမယ့် ကျွန်တော်ဟာ တက္ကသိုလ် ဆေးပညာ ဌာနကို တက်ရပါတော့မယ်။
၉။ .............ဖြစ်သော်လည်း ကျွန်တော်ဟာ သူနဲ့ တွေ့တာနဲ့ ပျော်ရွှင်ရပါတယ်။
၁၀။ ............ဖြစ်ပေမယ့် ဆရာဝန်တွေဟာ အက်ဆီးဒန့် ဖြစ်တဲ့ လူနာကို မကယ်နိုင်ခဲ့ပါဘူး။
၁၁။ ............ဖြစ်ပေမယ့်လည်း ဒီအဆောက်အဦဆောက်လုပ်မှုက စက်တင်ဘာ ၁ ရက်နေ့တိုင်အောင် မပြီးသေးပါဘူး။

၁၂။ ကျွန်တော် အခုဘဝမှာ နေရတာပျော်ပါတယ် ဘာလို့လဲဆိုတော့ ......................
၁၃။ ခက်ခဲပေမယ့်လည်း ဒီလူဟာ ............................................
၁၄။ မိဘတွေ တားမြစ်ထားတဲ့ကြားက သူဟာ .....................................
၁၅။ ဒီပုဒ်စာက လွယ်ပေမယ့် သူဟာ ...........................................
၁၆။ ပတ်ဝန်းကျင်ရဲ့ ထင်မြင်ချက်ဖြစ်ပေမယ့် ......................................
၁၇။ ဘောလုံးပြိုင်ပွဲ နောက်ဆုံးပွဲရလဒ်က ဘာပဲဖြစ်ဖြစ် ...............................
၁၈။ ဒီလောက်မအားလပ်တဲ့ ကြားက ဒီလူဟာ ....................................
၁၉။ သူဘယ်လိုထင်ထင် ကျွန်တော်ကတော့ .....................................
၂၀။ ......................................ဖြစ်ပေမယ့်လည်း လူငယ်ဒီရိုက်တာလေးရဲ့ ဒီဇာတ်လမ်းလေးက ပရိတ်သတ် အားလုံးကို ဆွဲဆောင်သွားခဲ့ပါတယ်။
၂၁။ ဒီစူပါမားကတ်မှာ ပစ္စည်း အမျိုးအစားများပေမယ့်လည်း ကျွန်တော် ...................
၂၂။ အရမ်းချမ်းပေမယ့်လည်း ...............................................

ဆက်ပါဦးမယ်

MS Office Publisher (Picture display with only dotted lines)


View => Pictures.. => Detailed display

WCF service Library and WCF service application

WCF service Library
A project for creating a WCF service class library (.dll) (.NET Framework 3.5)
Only create .dll file
Only Self-hosting (At runtime you must load this Library project)
http://localhost:8731/Design_Time_Addresses/WcfService/Service1/
(When I upgrade to MSVS2008 sp1 , this library can host to IIS likes Service Application)
App.config file includes
Need to create .svc file with "SvcUtil.exe". Host this .dll file and .svc file to IIS ..

WCF service Application
A project for creating WCF services (.NET Framework 3.5)
Create .dll file and .svc file for IIS hosting
Can host on IIS with service link
http://localhost/ManagerWCF/Userdata.svc
Web.config file includes
Can easily Publish to localhost
In Project include .svc file

@ in connstring

With name instance server
string connstring = @"server=zayyaroo\shop1;database=manager;uid=sa;pwd=123;";
string connstring = "server=zayyaroo\\shop1;database=manager;uid=sa;pwd=123;";
With default server
string connstring = "server=zayyaroo;database=manager;uid=sa;pwd=123;";

My Window-base ERP 1

ERP means Enterprise Resource Planning .

NetSetMan 3.0.3 (changing your network configuration easily)


With one click you can activate a stored profile!


More info=>http://www.netsetman.com/index.php?s=nsm

Microsoft Office OneNote 2010 - tutorial

အရမ်းကြိုက်တဲ့ Microsoft Office မှာ ပါလာတဲ့ Application တစ်ခုပါပဲ. သူ့ကောင်းကျိုးတွေကို ပြောရမယ်ဆိုရင်..
၁။ NOTE ဆိုတဲ့ အတိုင်း သူနဲ့ အလွယ်တကူ Webpage တွေက စာတွေ Link တွေ ပုံတွေ video တွေ အားလုံးကို အဲဒီ page ပေါ်မှာ သိမ်းထားလို့ ရပါတယ်။ နောက်ပြီး Record audio ပါလုပ်လို့ ရပါတယ်။
၂။ နောက်ပြီး သူ့ အပေါ်မှာ ပုံတွေ ဆွဲလို့ ရတယ့် Paint function ပါပါတယ်။ Office function တွေ အားလုံး လုပ်နိုင်ပါတယ်။ Page Maker အတိုင်း Object တွေကို select and move စိတ်ကြိုက်လုပ်နိုင်ပါတယ်။
၃။ သူ့က မှတ်ထားတာတွေ အားလုံးကို စာရွက်လေးတွေ မှာ အစီအစဉ်တကျသိမ်းပေးပါတယ်။ စာရွက်လေး တွေကို စုပြီး စာအုပ် အနေနဲ့ ချုပ်ထားနိုင်ပါသေးတယ်။ Print ထုတ်တဲ့ အခါမှာလဲ Page မှာမြင်ရတဲ့ အတိုင်း တသွေမတိမ်း ထုတ်ပေးမှာပါ။
၄။ သူ့ Page အပေါ်မှာ copy paste လုပ်ပြီဆိုရင် သူက အဲဒီ copy ကူးထားတဲ့ မူရင်း link ကို ပါ တွဲပြီး မှတ်ထားပေးပါတယ်။ Website address တွေဆိုရင် နောက် ပြန်ရှာစရာ မလိုတော့ဘူးပေါ့။
၅။ F11 ကို နှိပ်ခြင်းဖြင့် Full page View နဲ့ Note style View ကို toggle လုပ်နိုင်ပါတယ်။
၆။ အကောင်းဆုံးတစ်ခုကတော့ Save စရာ မလိုတာပါပဲ။ Auto save ပါ။ ရေးပြီးတာနဲ့ save ဖြစ်သွားပါပြီ။
၇။ စာရွက်တိုင်းမှာ Password protect ထည့်ပေးနိုင်ပါတယ်။
၈။ build-in calculator ပါပါတယ်။ 3*3= လို့ type ပြီး space bar ပုတ်ကြည့်ပါ။
ဒီဟာတွေကတော့ ကျွန်တော်သိသလောက်ပါ။ နောက်တွင် ဆက်လက်ပြီး OneNote မှာပါ၀င်တဲ့ Tutorial ကို ဘာသာပြန်ပြီး ရေးသွားပါဦးမယ်။

Camstudio(Free Video Recording Software)


What is it?

CamStudio is able to record all screen and audio activity on your computer and create industry-standard AVI video files and using its built-in SWF Producer can turn those AVIs into lean, mean, bandwidth-friendly Streaming Flash videos (SWFs)

Here are just a few ways you can use this software:

* You can use it to create demonstration videos for any software program
* Or how about creating a set of videos answering your most frequently asked questions?
* You can create video tutorials for school or college class
* You can use it to record a recurring problem with your computer so you can show technical support people
* You can use it to create video-based information products you can sell
* You can even use it to record new tricks and techniques you discover on your favourite software program, before you forget them

More info => http://camstudio.org/

Artisteer (Website Revolution)


Artisteer is the first and only Web design automation product that instantly creates fantastic looking, unique website templates and blog themes.

-Design awesome blogs and cool web templates in minutes
-Export to Blogger, Joomla, Wordpress and other CMS products
-No need to learn Photoshop, CSS, HTML or other technologies
-Fun and easy to use!

With Artisteer YOU immediately become a Web design expert, editing and slicing graphics, coding XHTML and CSS, and creating Web Design Templates, Joomla templates, Drupal themes, Wordpress themes, DotNetNuke skins, and Blogger templates all in minutes, without Photoshop or Dreamweaver, and no technical skills.

http://www.artisteer.com/
Hotfile
http://hotfile.com/dl/46957802/b5a7f66/ARTSTR070610.Artisteer.2.3.0.25189.rar.html

SQL Server could not configure 'InstanceName' as a Distributor

I also found this error. Now all are ok.
When I configure the distribution for replication , this error found. This is because of your SQL server mixed with Default and Name Instance. So reinstall SQL server and then only create server with NAME INSTANCE. Then configure again ..
Cheer!

Setting Up Transactional Replication with SQL Server 2005

Creating new instance of database engine in sql server

How to set up Auto-Increment in SQL Server 2005


Is Identity --> Yes
Identity Seed --> Starting value
Identity Increment --> Number to be incremented by i.e if the previous number is 2 and identity increement is next number would 2+1
And then it will be "Allow nulls" = unchecked ..
More info => http://www.sqlservercentral.com/Forums/Topic300969-149-1.aspx

How to Host Images on Blogger

image တင်တဲ့ နေရာမှာ တခြား image hosting များကို မသုံးချင်သူများ အတွက် blogger မှာတင် hosting လုပ်ခြင်း ဖြစ်ပါတယ်..






More Info => http://www.betatemplates.com/2009/06/use-blogger-upload-host-images.html

IDM နှင့် ပျော်ပါးခြင်း


ကျွန်တော်ဆိုရင်လည်း IDM နှင့် ယဉ်ပါးနေတာ အတော်ကို ကြာခဲ့ပါပီ.. ၄ နှစ်လောက်နီးနီးကို ရှိသွားပါပီ. IDM 5.0 လောက်ကတည်းက သုံးလာတာ အခုဆို Version 6.01 Build 6 ကို တောင်ရောက်သွားပါပီ. သူနဲ့ ပတ်သက်လို့ ကျွန်တော် သိသလောက် ရေးသွားပါမယ်..

IDM patch ဖြည်ခြင်း
အရင်ဆုံး IDM ကို တင်ပီ ဆိုတာနဲ့ ကြုံတွေ့ရမှာက Patch ကို ဖြည်ရတာပါပဲ.. ဒါမှသာ Full version ကို ရရှိမှာ ဖြစ်ပါတယ်. အရင်ဆုံး ကွန်ပြူတာမှာ Run ပြီးသွားပြီဆိုတာနဲ့ IDM ကို close လိုက်ပါ. ပြီးရင် ပါလာတဲ့ Patch file လေးကို IDM တည်ရှိတဲ့ နေရာ(IDM - right click - properties - find target)မှာ copy-paste လုပ်ပေးပါ။ ပြီးရင် double click နဲ့ Run လိုက်ပါ. ရပါပီ.

batch downloading with IDM
ဒါကလည်း IDM feature တစ်ခုဖြစ်ပါတယ်. file name ဆင်တူတာတွေကို ပင်ပန်းခံပြီး တစ်ခုချင်းစီ လိုက် download လုပ်စရာ မလိုတော့ပါဘူး .. program ရေးထားတဲ့ သဘောပါပဲ. ဒါနဲ့ ဒေါင်းမယ်ဆိုရင် file name က ဆင်တူဖြစ်ရပါမယ်.
၁။ Tasks=>Add batch download ကို ရွေးပါမယ်.
၂။ Address မှာ ကိုယ်ချချင်တဲ့ address ဖြည့်ပါမယ် အဲ.. ဒါပေမယ့် အဲဒီ address မှာ asterisk(*) ကို ပြောင်းမယ့် စကားလုံး နေရာမှာ ဖြည့်ရပါမယ်.
eg. www.sitename.com/page1.jpg ဆိုပါတော့ နောက်တစ်ပုံက လည်း www.sitename.com/page2.jpg ဆိုပါက www.sitename.com/page*.jpg ဆိုပြီး ဖြည့်ရပါမယ်..
၃။ ပြောင်းမယ့်ဟာက number လား letter လား ရွေးပေးပါမယ် wildcard size ကတော့ asterisk က စာလုံး တစ်လုံး ကို ကိုယ်စားပြုလား ၂ လုံးလား ဆိုတာကို ရွေးတာပါ . ပုံမှန်ကတော့ ၁ လုံးပါပဲ.
၄။ အောက်က first file... second file ... မှာ ကိုယ်ရေးထားတာ မှန်မမှန် preview ကြည့်လို့ရပါတယ်. OK နှပ်လိုက်ရင် dialog box ပေါ်လာပြီး စတင်ဒေါင်းလုတ်ဆွဲပါလိမ့်မယ်.

IDM Site Grabber
ဒါကတော့ website တစ်ခုလုံးကို ဒေါင်းလုတ်ချလိုက်တာပါပဲ .. Offline explorer လို့လည်း ခေါ်လို့ရပါတယ်. ဘာလို့လည်း ဆိုတော့ တစ်ခါချထားပြီးရင် အဲဒီ website ကို အင်တာနက်မရှိလည်း ပြန်ကြည့်နိုင်လို့ ပါပဲ . IDM ရဲ့ site grabber က သူများ professional offline explorer တွေလောက် မကောင်းပါဘူး . ဘာလို့လည်း ဆိုတော့ သူကချလိုက်တဲ့ website က file တွေ အားလုံးကို စီစဉ်ထားခြင်း မရှိဘဲ အားလုံး ပုံပြီးကျလာတာမို့ပါ. ဘယ်နေရာမှာ သုံးကြသလဲ ဆိုတော့ tutorial website တွေ Training website တွေ နောက်ပီး စာတွေ ရှင်းပြထားတဲ့ website တွေကို ဒေါင်းတဲ့ အခါမှာ သုံးပါတယ်.. Blog တွေကို တော့ ဒေါင်းရင် အဆင်မပြေပါဘူး .. ဘာလို့လဲ ဆိုတော့ သူ့မှာ link တွေ အများကြီး မို့လို့ပါ...
၁။ Toolbar ပေါ်က Grabber ဆိုတာကို နှိပ်ပါ။
၂။ အဲဒီမှာ Step 1 ဆိုတဲ့ Dialog box ကျလာပါမယ်.. Grabber Project Name ကတော့ Default အနေနဲ့ Project_1 လို့ ပေးထားပါတယ် .. ပြင်လို့ရပါတယ် . Start page address ကတော့ ပထမဆုံး ချမယ့် Main page ဖြစ်ပါတယ်.. Next ပေးပါတယ်..

၃။ Save to မှာလည်း save location ကို ရွေးပေးနိုင်ပါတယ်.. Next ပါမယ်.
၄။ Explorer the whole website ဆို ရင် website တစ်ခုလုံးကို ချသွားပါမယ်.. ဒါမျိုးကတော့ Link ချိတ်ထားတာတွေ သိပ်မများတဲ့ website ဆို အဆင်ပြေပါတယ်.. ဒါပေမယ့် Link ချိတ်တာများတဲ့ website တွေ အတွက်ကတော့ Explorer the specified number of link level မှာ ရွေးပေးရပါမယ် ..အောက်က checked box လေးတွေကတော့ pop-up page လေးတွေကိုပါ မဒေါင်းဖို့ ပိတ်ထားတာပါ. Next ပါမယ်
၅။ အားလုံးကို ချမှာ ဖြစ်တဲ့ အတွက် All file ကိုပဲ ရွေးထားရမှာ ဖြစ်ပါတယ်.. Next ပါမယ်
၆။ ဒါဆိုရင် download ချနေတဲ့ window ကို ရောက်ရှိသွားမှာ ဖြစ်ပါတယ်.. အရင်ဆုံး link တွေကို check ပြီးမှ တစ်ခုချင်းစီကို download ချမှာ ဖြစ်ပါတယ်.. ဆိုဒ်ကြီး ရင် ကြီးသလောက်ကြာမှာ ဖြစ်ပါတယ်..

How to download from file sharing sites with IDM

file link ကို right click လုပ်ပြီး Download with IDM ဆိုတာနဲ့ ဖိုင်ကို ဒေါင်းလို့ ရအောင်လုပ်တာ ဖြစ်ပါတယ်.. အရင်တုန်းက ဒီ feature မပါပါဘူး. sharing site တွေ မှာဆို နောက်ဆုံး capture ရိုက်ပီး time ကို စောင့်ပြီးမှ IDM နဲ့ ချလို့ရတာပါ.. အခုဒီ feature ကို သုံးမယ်ဆိုရင် အရင်ဆုံး နောက်ဆုံး IDM ကို အသုံးပြုဖို့လိုပါမယ်.
အကယ်လို့ သင့်မှာ Premium account ရှိမယ်ဆိုရင်
၁။ "Options->Sites Logins" မှာ သင့်ရဲ့ username နဲ့ password ကို ဖြည့်ပေးဖို့ လိုပါလိမ့်မယ်။ Use "sitename.com" and "*.sitename.com" as server names: ပုံမှာကြည့်ပါ (rapidshare အတွက် နမူနာပါ)၂။ ပြီးရင် ကိုယ့်ဝယ်ထားတဲ့ site ရဲ့ Premium Zone ကို ၀င်ပြီး "Direct Download" or "Direct Link" ကို Enable ပေးရပါမယ်. အောက်မှာ နမူနာပြထားပါတယ်.
FileServe:Hotfile:
Megaupload:
၃။ နောက်ပီး ကိုယ်ဝယ်ထားတဲ့ site မှာ login ၀င်ထားပေးရပါမယ်. အကယ်လို့ login form မှာ "remember me" box ပါရင် အဲဒါလေးကို checked လုပ်ထားခဲ့ ရပါမယ်. ဒါမှသာ အဲဒီ website ဟာ cookie ကို ချန်ထားခဲ့မှာ ဖြစ်ပါတယ်.
၄။ သင့် Premium account က expire ဖြစ်သွားပီ သို့ download limit ကျော်သွားပြီ ဆိုရင်တော့ IDM က webpage ကြီးကိုပဲ ဒေါင်းလုုတ်ချပေးသွားမှာ ဖြစ်ပါတယ်.
၅။ တပြိုင်တည်း parallel download ချခွင့် မပေးတဲ့ site တွေ အတွက် IDM မှာ Queue download ဆိုတာ ရှိပါတယ် . အဲဒီမှာ Categories=>Queue=>Main download queue မှာ "Edit queue" က "Download 1 file at the same time" ကို ရွေးပေးပါ. ပြီးရင် Start Main download Queue ကို နှိပ်ပြီး ချလိုက်ရုံပါပဲ .
အကယ်လို့ သင့်မှာ Free account ပဲရှိမယ် ဆိုရင်တော့
Option=>Downloads=>"Start downloading immediately while displaying ..." ကို enabled ပေးထားဖို့ လိုပါမယ်.. (if it is disabled)
More info =>http://www.internetdownloadmanager.com/support/shsdownload.html

How to use the Toshiba HDD Recovery Utility

ကျွန်တော်အခုသုံးနေတာက Toshiba satellite A300-1G3 ပါ.. သူ့ကို ၀င်းဒိုးလည်း တင်ပြီးရော D:\ အထဲမှာ HDD Recovery ဆိုတဲ့ folder လေးပါနေပါတယ်... အဲဒါကို အသုံးပြုပြီး harddisk ကို ဘယ်လို Recovery လုပ်မလဲဆိုတာ အောက်မှာ ဖော်ပြသွားပါမယ်....
အရင်ဆုံး ဒီကနေပြီး Toshiba Recovery Disc Creator and Launcher for Windows XP ကို ဒေါင်းထားပါမယ်...



more info... http://aps2.toshiba-tro.de/kb0/HTD7C02140000R01.htm

Dell studio 1537 drivers for Window XP

အဲဒီ Driver လိုချင်လို့ လိုက်ရှာတာ တော်တော်မောသွားပါတယ်... Dell ရဲ့ မူရင်းဆိုဒ်မှာကိုက Vista drivers(compatible for Window 7) ပဲတွေ့ပါတယ်... XP အတွက်မရှိပါဘူး ... အခု http://www.samsware.com/pageLib/index/index.php မှာတွေ့လို့ ဒေါင်းထားလိုက်ပါပီ...

Error page in asp.net

error page ပေါ်အောင်လုပ်ခြင်း..
web.config မှာ
< customErrors mode="On" defaultRedirect="GenericErrorPage.htm" >
< error statusCode="403" redirect="NoAccess.htm" />
< error statusCode="404" redirect="FileNotFound.htm" />
< /customErrors >
တွေကို comment အဖြစ်ကနေ ပြန်ပြင်လိုက်ပါ...

အသံဖိုင် တင်ခြင်း ( share music in blogger )

ဘလော့တွေမှာ ပုံတွေ ဗီဒီယိုတွေ (AVI, MPEG, QuickTime, Real, and Windows Media) တင်တာကိုတော့ သိမှာပါ..ဒါပေမယ့် mp3 ဖိုင်တွေ တင်ဖို့ကျတော့ တင်လို့မရဘူး ..အရင်တုန်းက တင်တာကတော့ ကိုယ့်ဟာကို hotlinking ပေးတဲ့ hosting တွေမှာတင်ပြီးတော့ ကိုယ့်ဟာကို embed code ကို ရေးရပါတယ်... အခုနောက်ပိုင်းမှာက သိပ်မလိုတော့ပါဘူး code တွေ မသိလည်း ဘလော့ ရေးလို့ ရတဲ့ ခေတ်ဖြစ်နေပါပြီ...နောက်ပီး ဘလော့ ၀င်ဝင်ခြင်းကို တန်းပြီး music on တဲ့ blog တွေကို လည်း အရမ်းမုန်းပါတယ်.. ဘာလို့လဲ ဆိုတော့ ကိုယ့်က စာကို ဂရုစိုက်ဖတ်နေတုန်း လန့်သွားလို့... အခု ဖော်ပြမယ့် hosting ကတော့ 4 shared မှာ ဖြစ်ပါတယ်.. account ဖောက်ပြီး ရင် 10 GB of free space ရပါတယ်။ upload တင်ပြီးသွားရင် သူပေးတဲ့ လင့်လေးကို copy လုပ်ပြီး browser address bar မှာ paste လိုက်ပါ... အဲဒီ လင့်လေးကနေပြီး mp3 ကို ဒေါင်းလို့ ရပါတယ်... နောက်ပြီးရင် အောက်နားက share ဆိုတဲ့ နေရာက enbed ဘေးက အကွက်ထဲက ကုတ်တွေကို ကူးလိုက်ပါ... ပြီးရင် အဲဒီကုတ်တွေကို ကိုယ့် blog မှာ ဖြည့်လိုက်ရင် ရပါပီ... သူပေးတဲ့ကုတ်မှာ width and height ကို ချိန်ပေးနိုင်ပါတယ်... အောက်က နမူနာလုပ်ထားတာလေးပါ....
မူရင်းပေးထားတဲ့ ဟာပါ... အောက်ကဟာလေးမှာတော့ height ကို 20 ပေးထားတာဖြစ်ပါတယ်....

A Clock User Control for your Windows Form in C#


ဒီဟာကတော့ usercontrol နမူနာလေးပါ။ usercontrol အကြောင်းသိချင်လို့ လိုက်ဖတ်ရင်းနဲ့ အလွယ်ဆုံးလေးကို တွေ့လို့ စမ်းကြည့်လိုက်တာပါ။ နာရီလေး တစ်ခုပါပဲ။
Creating The Clock User Control Step By Step
အရင်ဆုံး usercontrol လုပ်ပါမယ်။ VS2008 ကို ဖွင့်ပီး windowApplication တစ်ခုလုပ်ပါမယ်။ ပြီးရင် အဲဒီမှာ solution explorer ကနေပြီး project ကို right click လုပ်ပါ။ Add->New Items ကနေပြီး usercontrol တစ်ခုကို add ပါမယ်.ပြီးရင် အဲဒီ usercontrol ထဲကို timer တစ်ခုနဲ့ label တစ်ခု add ပါမယ်.
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = DateTime.Now.ToLongTimeString();
}

private void UserControl1_Load(object sender, EventArgs e)
{
timer1.Start();
}

Using the Clock Control in your Windows Form
window from ကို ပြန်ပြီး select လုပ်ပါ။ ဒါဆိုရင် ဘေးက Toolbox မှာ အဲဒီ usercontrol1 ဆိုတာကို တွေ့ပါမယ်..။ အဲဒါကို drag ဆွဲပြီး form ထဲကို ထည့်လိုက်ပါ. ရပါပီ
ပြီးရင် အဲဒီ window form ကို Run လိုက်ရင် နာရီပေါ်နေတာ တွေ့ပါလိမ့်မယ်။။

http://www.mycsharpcorner.com/Post.aspx?postID=23

Mediafire download error

ကျွန်တော် အကြိုက်ဆုံး hosting ကတော့ Mediafire ပါပဲ. အခု ကျွန်တော် ဘန်းကျော်ပြင်ပရောက်နေချိန်မှာ Mediafire ကတော့ crazy ပါပဲ။ download speed ကောင်းသလို waiting time ကလည်း အရမ်းနည်းပါတယ် ။ upload တင်မယ်ဆိုရင်လည်း unlimited ပါပဲ. ကျွန်တော် software တွေ ရှာပီ movie တွေ ရှာပီဆိုရင်လည်း Google မှာ "on mediafire" လို့ ရှာလို်က်တာနဲ့ Mediafire link တွေ ပေါ်လာမြဲပါ။ ဘာလို့လည်း ဆိုတော့ Mediafire ကနေ upload တင်ထားတဲ့ file တွေက သူ့ရဲ့ original file name ကို ပဲ ယူကြတာ မိို့လို့ပါ။ တချို့ hosting တွေကတော့ ကုတ်လင့်ကို ပေးကြပါတယ်. Mediafire ကနေ လင့်တွေကလည်း ကုတ်လင့်တွေ ရှိသလို file link တွေလည်း ရှိပါတယ်.။ Mediafire ကနေ download ချတဲ့ အခါမှာ တခါတရံမှာ တိုက်ရိုက်ကျသလို တခါတရံမှာ မလိုအပ်ဘဲ ကြာတာတွေ နောက်ပီး ဒေါင်းလုတ်မကျဘဲ error တက်တာတွေကို ကြုံရပါတယ် ..။ အဲဒီအခါမျိုးမှာ browser ထဲမှာ ရှိနေတဲ့ cookie file တွေကို ဖျက်ပေးရပါတယ်...။ ဖျက်နည်းကတော့ အောက်ပါအတိုင်းဖြစ်ပါတယ် ..။ အရင်ဆုံး mozilla ရဲ့ Tools->options.. ကနေဝင်ရပါတယ် ။။ ပြီးအောက်ပါအဆင့်တိုင်း ဆက်လက်လုပ်ဆောင်နိုင်ပါပီ...။

Developing PHP On Your Visual Studio 2008/2005


ဒီနေ့မှ သိတယ်။ PHP ကို MSVS နဲ့ ရေးလို့ရတယ်ဆိုတာကို ။ အရင်က PHP easy တို့ ဘာတို့ကို တင်ပြီးလေ့လာဦး မလို့။ အခုကတော့ .Net သမားပေါ့။ ဒါပေမယ့်လည်း အဲဒါကိုတော့ သိချင်သေးတယ်။ ဒီဟာနဲ့က ရိုးရိုးလေးပဲ။ ပုံမှန် C# asp.net တို့လို ရွေးလိုက်ရုံပဲ။
Jcxsoftware have developed such a Visual Studio Plugin.
It supports PHP4 and PHP5, you will also get Syntax highlighting and Intelisense for the following:

* PHP
* Smarty
* HTML
* JavaScript
* CSS
* XML
* XSLT



နောက်ပီး When you want to run your application and test it VS 2008/2005 will run a light weight apache server ( similar to the ASP.NET debugging) so you can test you application. ဖြစ်တဲ့ အတွက် သူများတွေလို apache server ထပ်တင်စရာ မလိုတော့ပါဘူး။ အရင်က ပြသနာဖြစ်သေးတယ်။ IIS server ရှိတဲ့ စက်မှာ php run လို့မရဘူး။ အခုဒါနဲ့ ဆို အဆင်ပြေသွားပါပြီ။ စမ်းသုံးကြည့်တာကတော့ အဆင်ပြေပါတယ်။ သူ့ရဲ့ crack ကလည်း အလုပ်လုပ်ပါတယ်။
download here for trial version

IrisSkin 3 for skinning C# window form


The lastest version : 3.62, update date: 18 Jun. 2010.

ကြော်ငြာသဘောပဲ ပြောပါတော့။ အခုက ရှယ်ဖို့ရာ serial က အဆင်မပြေသေးပါဘူး။ လောလောဆယ် ကျွန်တော်ကိုယ်တိုင် ဒီ unregistered version ကို ပဲ သုံးနေတာပါ။

IrisSkin is the easiest-to-use .NET skin solution for Microsoft VisualStudio.NET(WinForms) and Delphi.NET. It provides you the ability to make your application in skin automatically, including all forms and dialogs. You will never spend many time on programming for skin support.

Using IrisSkin, you don't need to make any modification for your existing projects but just drop a skin engine component onto the main form and set some properties, that's all. It can skin all forms and dialogs automatically. And the skin files can be compiled into the EXE file so that you don't need to distribute the skin files with your EXE. At run-time, you can switch the skins very easily and you can switch to unskinned easily too. Let's say, just one component for one project!


သူ့ကို သုံးထားရင် ကိုယ့် window form ကို design လှလှလေးနဲ့ မြင်နိုင်ပါတယ်။ သိပ်လဲမခက်ပါဘူး ။ ကုတ်တကြောင်းတောင် ရေးစရာ မလိုပါဘူး။ လိုတဲ့ skin ကိုရွေးပြီး ပေးလိုက်ရုံပါပဲ။ သုံးနည်းကိုတော့ အောက်မှာဖော်ပြပါမယ်၊ သူ့မှာ ကိုယ့်ပိုင် skin တွေ create လုပ်နိုင်ဖို့ skin builder Tool ပါ ပါပါတယ်။ အဲမှာ .bmp file လေးပေါ်မှာပဲ အားလုံးကို ရေးဆွဲထားတာဖြစ်ပါတယ်။ ကိုယ်ဟာကို စိတ်ကြိုက်ပြင်နိုင်ပါတယ်။ buildin skin တင်ထည့်ပေးထားတာ တော်တော်များပါတယ်။ ဒီ unregistered version မှာ မကောင်းတာက program run တဲ့ အချိန်မှာ စာသားကြီး ပေါ်လာတာပဲ ဖြစ်ပါတယ်။
IrisSkin is compatible with: Microsoft VisualStudio.NET 2002/2003/2005/2008/2010, Delphi 2005/2006
IrisSkin supports .NET framework 1.0/1.1/2.0/3.0/3.5/4.0


IrisSkin-Installation
၁။ အရင်ဆုံး install လုပ်ပါ။ ပြီးရင် MSVS ကို ဖွင့်ပါ။
၂။ Assembly အပ်ရန်မှာ
IrisSkin.dll -- this assembly is designned for Microsoft VisualStudio 2002/2003 with .NET framework 1.0/1.1
IrisSkin2.dll -- this assembly is designned for Microsoft VisualStudio 2005/2008 with .NET framework 2.0/3.0/3.5
၃။ Tool box မှာ အပ်ရန် right click -> Choose items..
ပြီးရင် Browse ကနေပြီး ခုနက install လုပ်ခဲ့တဲ့ path အတိုင်းသွားပီး Bin ထဲက .dll ဖိုင်ကို အပ်ပေးပါ။

IrisSkin-usage
၁။ new window form project လုပ်ပါ။ ပြီးရင် အဲဒီ Tool box ထဲက Skin Engine ကို ရွေးပြီး ထည့်လိုက်ပါ။
၂။ SkinEngine1 ကို select လုပ်ပီး Properties ထဲက Skin file မှာ လိုအပ်တဲ့ skin ကို Installation path ထဲကိုသွားပီး ရွေးပေးပါ။ serial number ရရင် ဖြည့်ပေးပါမယ်။
၃။ Run လို့ ရပါပီ။

MORE INFO ->http://www.sunisoft.com/irisskin/index.htm

Applying color to "codeview" in "Edit Html" tab


အခုနောက်ပိုင်း ဒီ blog template ပြောင်းလိုက်တဲ့အတွက် အရင်လို code တွေကို ရေးတဲ့နေရာမှာ ဘောက်လေးနဲ့ မဖော်ပြတော့ပါဘူး။ ဒီတော့ကာ အဲဒီကုတ်တွေကို မြင်သာအောင် အပြာရောင် နဲ့ နောက်ပိုင်းကို ဆက်ပီးရေးသွားပါမယ်။ နောက်ပီး post title တွေရဲ့ အောက်က ခေါင်းစဉ်ခွဲလေးတွေ နောက်ပီး အမျိုးအစား တွေကို ဖော်ပြတဲ့နေရာမှာ အနီရောင်နဲ့ ဖော်ပြသွားပါမယ်။။ အဲဒီမှာ ကုတ်တွေကို < နဲ့ > တွေပါလာရင် ပြင်ပေးရပါမယ်။ ဒါကိုတော့သိပြီးဖြစ်မှာပါ။ အဲဒါတွေကို ပြင်ပြီးသွားရင် New post က Compose tab ထဲကို ၀င်လို့ မရတော့ပါဘူး။ Preview နဲ့ ကြည့်လို့တော့ရပါတယ်။ Compose tab ထဲကို ၀င်လိုက်တာနဲ့ အဲဒီ ကုတ်တွေက ပျက်သွားပါပီ။ ဒါကြောင့် အဲဒီကုတ်တွေကို color တင်ချင်တဲ့အခါ ဒီ Edit Html tab ထဲမှာပဲ တင်ရပါမယ်.
၁။ အရင်ဆုံး ကုတ်တွေကို select လုပ်ပါ။ ပြီးရင် Bold တင်လိုက်ပါ။
၂။ ပြီးရင်ပေါ်လာတဲ့ < span style="font-weight:bold;"> < /span> ထဲက font-weight:bold; ကို ဖျက်ပီး color:red; ဆိုပြီး ပြင်လိုက်ရင်ရပါပီ။

C# window Form Resize Animation

အခု article လေးကတော့ window form size change တာကို တဖြည်းဖြည်းနဲ့ ပြောင်းသွားအောင် လုပ်တဲ့ animation အသေးစားလေးပါပဲ ။ Programming အခြေခံလို့လဲ ပြောလို့ ရပါတယ်။

Changing Form Dimensions
ဆိုကြပါစို့ ။ မူရင်း Default size ကနေပြီးပဲ change လိုက်ရအောင်. အရင်ဆုံး button ၂ ခုကို ထည့်ပါမယ်။ Text property မှာ တစ်ခုကို big form size ဆိုပြီးပေးမယ် နောက်တစ်ခုကို small form size ဆိုပြီးပေးမယ်။ small form size ဆိုတဲ့ button ရဲ့ click_event မှာ အောက်ကကုတ်လေးထည့်ပေးလိုက်ပါ။


while (this.Width < 200)
{
this.Width--;
Application.DoEvents(); //allow the Form to display its new size before
//the next iteration
}

while (this.Height < 200)
{
this.Height--;
Application.DoEvents();
}


နောက် big form size ဆိုတဲ့ button click_event မှာ အောက်က ကုတ်ကိုထည့်ပေးလိုက်ပါ။

while (this.Width > 400)
{
this.Width++;
Application.DoEvents(); //allow the Form to display its new size before
//the next iteration
}

while (this.Height > 400)
{
this.Height++;
Application.DoEvents();
}

ဒါဆိုရင် သူဟာ form size ချိန်းတာကို တဖြည်းဖြည်းနဲ့ ချိန်းသွားပါလိမ့်မယ်။ ပိုပြီးကြည့်ကောင်းသွားပါလိမ့်မယ်။

More info => http://www.vcskicks.com/size-transform.php

Client Side Validation with JavaScript in ASP.NET

The Blogger “Read More” Expandable Posts Link

ဒီဟာလည်း Read more button လုပ်တာပါပဲ။ လွယ်လဲလွယ်လို့ နောက်ပီးတော့ သူ့မှာ တခြားဖြည့်စရာ javascript တွေလည်း မလိုဘူးလေ. Edit html မှာ copy ကူးထည့်လိုက်ရုံပဲ။ ဒီ Read more ကတော့ သူ့ကို နှိပ်လိုက်တာနဲ့ အဲဒီ ပိုစ့် ကိုတစ်ခုတည်း သပ်သပ်ဖော်ပြမှာ ဖြစ်ပါတယ်။ ပိုစ်အောက်ခြေမှာလည်း comment box ကို တွေ့ရမှာ ဖြစ်ပါတယ်။ အရင်က ရေးခဲ့ဖူးတဲ့ Read more လိုပါပဲ ။ ဒါပေမယ့် blogger new editor နဲ့ လုပ်တာ မဟုတ်ပါဘူး ။

Step #1 - Update Your Template Code
အရင်ဆုံး widge ကို expend အရင်လုပ်ပါ။ ပြီးရင် post-header-line-1 ဆိုတဲ့ကုတ်ကို ရှာပါ။ ပြီးရင် အောက်က ကုတ်တွေကို < class="’post-header-line-1′/"> တို့ < class="’post-header-line’"> တို့ နောက်ကနေ ထည့်ပါ။

< b:if cond='data:blog.pageType == "item"'>
< style> .fullpost{display:inline;}</style>
< p> < data:post.body/></p>
< b:else/>
< style > .fullpost{display:none;} < /style>




ပြီးရင် Read more ကို နှိပ်လိုက်ရင် ပေါ်အောင် ကုတ်ထည့်ပါမယ်။ အောက်ကကုတ်ပါ။

< b:if cond='data:blog.pageType != "item"'> < br />
< a expr:href='data:post.url'> Read more...< /a>
< /b:if>
< /b:if>



ဒီမှာ if နှစ်ခုဖြစ်နေလို့ မှားမယ် ထင်နေဦးမယ်။ မမှားပါဘူး။ ကုတ်တွေ အားလုံးထည့်ပီးရင် final ပုံက ဒီမှာပါ။ အဝါနဲ့ ပြထားတာက အဲဒါ ဖြည့်လိုက်တဲ့ကုတ်တွေပါ။

Step #2 - Add a Class Tag in Your Default Post Template
ပြီးရင် post template ကို ပြင်ပါမယ်။ settings က formatting ကို သွားပီးတော့ အောက်ဆုံးအကွက်မှာ

< class="fullpost">
< /span>

အတိုင်းဖြည့်လိုက်ပါ ။ save setting လုပ်ပါ။ ဒါဆိုရင် New post လုပ်မယ် ကြံတိုင်း အဲဒီ span ကို တွေ့ရမှာ ဖြစ်ပါတယ်။

Step #3 - Create a New Post
ပိုစ် အသစ်ကိုတင်နိုင်ပါပီ။ အဲဒါ တင်တဲ့ အခါမှာ span tab နှစ်ခုကြားထဲမှာ ထည့်ရမယ့် အကြောင်းတွေက တော့ Read more ကို နှိပ်လိုက်ရင် ပေါ်စေချင်တဲ့ အရာတွေ ဖြစ်ပါတယ်။ အောက်က ပုံမှာကြည့်ပါ။

MORE info -> http://bloggingforbread.blogspot.com/2008/02/add-blogger-read-more-expandable-posts.html

powered by Blogger