MyCalendarProgram(last edited at 5.9.09)


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace myfun_1_
{
public partial class Form1 : Form
{
public int date;
public int month;
public int monthValue;
public int year;
public int yearValue;
public int ans1,ans2,ans3;
public DateTime kk;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
date = Convert.ToInt32(comboBox1.Text);
month = Convert.ToInt32(comboBox2.Text);
year = Convert.ToInt32(comboBox3.Text);
if ((year > 1900) && (year < 1999))
{
yearValue = year - 1900;
switch (month)
{
case 1:
monthValue = 1;
break;
case 2:
monthValue = 4;
break;
case 3:
monthValue = 4;
break;
case 4:
monthValue = 0;
break;
case 5:
monthValue = 2;
break;
case 6:
monthValue = 5;
break;
case 7:
monthValue = 0;
break;
case 8:
monthValue = 3;
break;
case 9:
monthValue = 6;
break;
case 10:
monthValue = 1;
break;
case 11:
monthValue = 4;
break;
case 12:
monthValue = 6;
break;
}
}
else if ((year > 2000) && (year < 2099))
{
yearValue = year - 2000;
switch (month)
{
case 1:
monthValue = 0;
break;
case 2:
monthValue = 3;
break;
case 3:
monthValue = 3;
break;
case 4:
monthValue = 6;
break;
case 5:
monthValue = 1;
break;
case 6:
monthValue = 4;
break;
case 7:
monthValue = 6;
break;
case 8:
monthValue = 2;
break;
case 9:
monthValue = 5;
break;
case 10:
monthValue = 0;
break;
case 11:
monthValue = 3;
break;
case 12:
monthValue = 6;
break;
}
}
else
{
MessageBox.Show("Enter year between 1900-2099");
return;
}
ans1 = yearValue / 4;
ans2 = yearValue + ans1 + date + monthValue;
ans3 = ans2 % 7;
if ((yearValue % 4==0)&& ((month == 1) || (month == 2)))
{
ans3 = ans3 - 1;
}
switch (ans3)
{
case 1:
label7.Text= "Sunday";
break;
case 2:
label7.Text="Moneday";
break;
case 3:
label7.Text= "Tuesday";
break;
case 4:
label7.Text= "Wednesday";
break;
case 5:
label7.Text = "Thursday";
break;
case 6:
label7.Text="Friday";
break;
case 0:
label7.Text="Saturday";
break;
default:
break;
}
DateTime mydate = new DateTime(1990,month,date); //convert from integer to datetime





}


}
}

Modify the Windows XP System Properties logo

ဒီ System Properties logo က ကွန်ပြူတာထုတ်လုပ်တယ့် company ပေါ်ကိုမူတည်ပြီးတော့ ပြောင်းလဲတတ်ပါတယ်. heardware ထုတ်လုပ်သူတွေကလည်း ဒီ system properties ကနေပြီးတော့ သူတို့ရဲ့ company information နဲ့့ company logo တွေကို ဖော်ပြတတ်ပါတယ် .ဒီနေရာမှာ အဲဒီ logo နဲ့ support information ကို ပြောင်းလဲမယ့်နည်း ကိုရေးသားသွားပါမယ် .My Computer => right click =>Properties မှာ ပေါ်လာမှာဖြစ်ပါတယ် ....

ဒီမှာ black photo ဟာ 180 (wide) x120 (high) pixels လောက်ပဲရှိရမှာ ဖြစ်ပါတယ် ... အဲဒီ ပုံကို oemlogo.bmp နာမည်နဲ့ သိမ်းပြီး WINDOW =>System32 folder ထဲကိုတည့်လိုက်ပါ ..ပြီးရင် အဲဒီ System32 folder ထဲမှာပဲ အောက်ကကုဒ်တွေနဲ့ oeminfo.ini ဆိုတယ့် ini file တစ်ခုကို ဆောက်ပါ .ဒါဆိုရင် ရပါပြီ .. Computer properties ကိုပြန်ကြည့်ကြည့်ပါ ..


[General]
Manufacturer=Windows Help Central
Model=ShowCase

[Support Information]
Line1=" "
Line2=" For support, sales, upgrades or questions:"
Line3=""
Line4=" Some text to demonstrate the XP System Properties logo"
Line5=" Windows XP Tips and Tricks "
Line6=" zayyaroo"
Line7=""
Line8=" +7 (909) 906-9661 (voice)"
Line9=" +7 (926) 399-9386 (fax)"
Line10=""
Line11=""
Line12=" http://any1cantfind.blogspot.com/"

How to Fix Double Click Always Opens Search in Windows Explorer

ကွန်ပြူတာတွေမှာ virus တွေဝင်ပြီးရင် အများဆုံးဖြစ်တတ်တယ့် ပြသနာလေးပါ.. အခုဖော်ပြတယ့်နည်းလေးကိုတော့ မစမ်းရသေးပါဘူး.. virus မကိုက်သေးလို့ :P အရင်ကလည်းခဏခဏ ဖြစ်ဘူးပါတယ် .. အဲဒီတုန်းက virus က harddisk ကို format ပါချလိုက်ရတယ် .. ့ပြသနာက harddisk ကို double click လိုက်ရင် ပုံမှန်အတိုင်းမပွင့်ဘဲ Open with ... နဲ့ ပေါ်ပေါ်နေတာပါ .. registry ထဲက ဒါလေးကိုပြင်ကြည့်လိုက်ပါ ကောင်းရင်လည်းကောင်းပေါ့ .. :P
HKEY_CLASSES_ROOT\Directory\shell .. အဲဒီက Default ရဲ့ Data မှာ none ပေးလိုက်ပါ ။ ဒါမှ မရသေးရင် Run Box မှာဖြစ်ဖြစ် Command Prompt မှာဖြစ်ဖြစ် regsvr32 /i shell32.dll ရိုက်ကြည့်ပါ ။ ဒါတွေအားလုံးက Normal Behavior ကို ပြန် restore လုပ်တာပါပဲ ..
ဒါကိုမှာ "Windows cannot find 'PET32.exe'" ဆိုတယ့် message ပေါ်သေးတယ်ဆိုရင် virus ရှိနေသေးလို့ပါပဲ .. အရင်သတ်လိုက်ပါဦး ...

Generic Host Process for Win32 Services Error

အခုလောလောဆယ် ကျွန်တော် ကွန်ပြူတာမှာ ဖြစ်နေတယ့် ပြသနာလေးပါ.. ဘယ်လိုဖြစ် သလဲဆိုတော့ ၀င်းဒိုးတက်ပြီး ခဏလောက်ပဲ ကွန်ပြူတာ ရဲ့ LAN စနစ်နဲ့ အသံ စနစ်ကို ရပါတယ် . ခဏလောက်ကြာသွားရင် ကွန်ပြူတာက သီချင်းတွေလည်း open လို့ မရတော့ဘူး နောက်ပြီး LAN လည်းမရတော့ဘူး အဲ အင်တာနက်တော့ ရတယ်ဗျ ဒါပေမယ့် RESTART ချလိုက်ရင်တော့ အားလုံးပြန်ရသွားပြန်ရော .နောက်ပြီး ရင်ပြန်မရတော့ဘူး... အင်တာနက်မှာ ရှာကြည့်တော့ နည်းတွေကို တွေ့လိုက်ရပါတယ် .. Window XP SP 2 တင်ထားတဲ့ ကွန်ပြူတာတွေမှာ ဖြစ်တတ်ပါတယ်. SP 2 တင်ထားတဲ့ကွန်ပြူတာတွေမှာ အချိန်မရွေး ဖြစ်ပွားနိုင်ပါတယ် ..အများစုကတော့ ဒီ message ကို ကွန်ပြူတာ startup အချိန်မှာတွေ့ရတတ်ပါတယ် ..ဒါပေမယ့် တကယ်ကအဲဒီ error ကအရင် system shutdown လုပ်တယ့် အချိန်မှာ ပေါ်ပေါက်ခဲ့တာဖြစ်ပါတယ် .. Microsoft ကတော့ဒီလိုဆိုပါတယ် .

According to microsoft, this error occurs in windows XP sp2, if security update 873333 (MS05-012) had been installed. Microsoft also claims, that this problem only occurs in Microsoft Windows XP Service Pack 2 (SP2), but it does provide fixes for windows server 2003 and windows 2000. Microsoft had earlier issued security update 873333 (MS05-012), to fix a Vulnerability in OLE and COM, that could allow remote code execution.


Solution များ
၁။ Microsoft update file (the patch KB894391) ကို download ချပြီး update လုပ်လို့ရပါတယ် .ဒီနေရာက download ချပြီးတော့ run လိုက်ပါ။
၂။ start => Run => regedit => HKEY_LOCAL_MACHINE >> SYSTEM >> CurrentControlSet >> Services >> Browser >> Parameters မှာ IsDomainMaster ကို false ပေးပါ ။
၃။ start => Run => cmd => netsh ပြီး enter => console မှာ winsock လို့ type ပြီး enter => reset လို့ type ပြီး enter လုပ်ပါ ။
၄။ We earlier covered a few solutions to resolve Generic Host Process For win32 Services Error.The solutions involved closing of ports 445 and 135 which involved editing the registry.If you are not comfortable in editing the windows registry, here is a tool that lets you solve this problem with a few simple clicks.It is called Windows Worms Doors Cleaner and it detects all services enabled on your Windows PC by checking registry entries, the local open ports and the running services.

Since most of the viruses use known vulnerabilities in Windows services, which are enabled by default, and can’t be disabled via the operating system’s configuration, this tool is an excellent way of enhancing your PC Security.It also lets you solve the “Generic Host Process For win32 Services” problem easily.




Features Of Windows Worms Doors Cleaner:

* lets you disable the critical windows services exploited by the viruses
* Thereby close the critical ports
* Displays all the local opened ports
* It is runnable with command line parameters
* It Checks at start, the name of running processes to detect popular viruses
* it also checks svchost memory usage

software ကို ဒီကယူပါ .။
အပြည့်အစုံကို ဒီမှာ ဖတ်ရှုနိုင်ပါတယ်..

Firefox shortcut

သြော် mouse ပျက်သွားတော့မှပဲ shortcut တွေရဲ့ အသုံးဝင်တာတွေကို သိတော့တယ် ...အဓိကလိုတာလေးတွေကို ရေးလိုက်ပါတယ် ..


CTRL+A Selects the all items on active page

CTRL+B Display the “Organize Bookmarks” dialog box

CTRL+D Include the active page to your Bookmarks list

CTRL+F Display the “Find” dialog box to search text

CTRL+I Display the Bookmarks pane

CTRL+N Use to open new Mozilla Firefox page

CTRL+P Use to print the active web page

CTRL+R Use to reload the active web page

CTRL+T Display a new Tab in active Firefox window

CTRL+U View the source code of active web page

CTRL+W Closes the active Mozilla Firefox window

CTRL++ Use to increase the font size of active page

CTRL+ - Use to decrease the font size of active page

CTRL+Tab Move to next Tab in Mozilla Firefox

ALT+D Go to address bar of current Firefox page

ALT+S Go to Mozilla Firefox History Menu

ALT+T Go to Mozilla Firefox Tools Menu

ALT+V Go to Mozilla Firefox View Menu

ALT+Home Use to open the home page of internet explorer

ALT+Left Arrow Go to previous page of active page

ALT+Right Arrow Go to next page of active page

Tab Move forward between all items on active web page

F5 Refresh the active web page

F7 F7 activate the cursor to move with keyboard

CTRL+SHIFT+DEL Use to clear all Private Data history

F11 Press F11 key to view any webpage in full-screen view and then again press for normal view.

powered by Blogger