ဘလော့တွေမှာ ပုံတွေ ဗီဒီယိုတွေ (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 ပေးထားတာဖြစ်ပါတယ်....
အသံဖိုင် တင်ခြင်း ( share music in blogger )
Sunday, September 19, 2010
min that thant
Posted in
blog,
Tips and Tricks
A Clock User Control for your Windows Form in C#
Monday, September 13, 2010
min that thant

ဒီဟာကတော့ 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
Monday, September 13, 2010
min that thant
ကျွန်တော် အကြိုက်ဆုံး 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.. ကနေဝင်ရပါတယ် ။။ ပြီးအောက်ပါအဆင့်တိုင်း ဆက်လက်လုပ်ဆောင်နိုင်ပါပီ...။


Posted in
Tips and Tricks
Developing PHP On Your Visual Studio 2008/2005
Thursday, September 02, 2010
min that thant
![]()
ဒီနေ့မှ သိတယ်။ 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
Thursday, September 02, 2010
min that thant

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
Posted in
C#
Applying color to "codeview" in "Edit Html" tab
Wednesday, September 01, 2010
min that thant

အခုနောက်ပိုင်း ဒီ 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; ဆိုပြီး ပြင်လိုက်ရင်ရပါပီ။
Posted in
blog,
Tips and Tricks
C# window Form Resize Animation
Wednesday, September 01, 2010
min that thant
အခု 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
