Custom Search

วันพฤหัสบดีที่ 16 ธันวาคม พ.ศ. 2553

outlook can not open file on browser

1. Click Start > Run and type regedit.

2. Click Edit > Find and type OutlookSecureTempFolder.

3. When regedit has found the entry, it will tell you where your Outlook temporary files are stored. It will look similar to:

C:\Documents and Settings\username\Local Settings\Temporary Internet Files\OLKrandomnumber

4. Open My Computer and navigate to this location on your hard drive.

5. Delete all of the files in this folder.

6. Restart Microsoft Outlook and you should be able to open your attachment.

SQL Command ที่น่าลองดู

sql select แยกอักษร เล็ก ใหญ่ ไม่รู้จักกัน

จะ select เฉพาะที่ขึ้นต้นด้วย ตัว B ใหญ่ ซึ่ง b เล็กจะไม่มาด้วย








SELECT *
FROM tbvendor where 'B'=substring(ltrim(vendorid),1,1) collate Latin1_General_Bin






ดูว่ามีใคร connect database เราอยู่บ้าง
exec sp_who หรือ exec sp_who2

phpMyAdmin Error on php5 iis6

Cannot load mcrypt extension. Please check your PHP configuration.

edit C:\WINDOWS\php.ini
change ;extension=php_mcrypt.dll to extension=php_mcrypt.dll

set iis6 run php5 for website

After setup iis6 and php5
1.create website .
2.right click on that site and select Properties.
3.On tab ISAPI filters click Add.
4.On popup type Filter name:PHP.
5.Browse.. select c:/php5/php5isapi.dll for Excutable and OK.
6.On tab Home Directoryclick button Browse and select your Web path.
7.Click button Configuration.
8.On popup tab Mappings check true for ISAPI extensions.
9.click button Add Browse.. select c:/php5/php5isapi.dll for Excutable.
10. input Extensions: .php and Ok.

การใช้ confirm box ใน web ด้วย c#

หลายท่านอาจเคยประสบปัญหาเวลาเขียน software Aplication เราจะใช้พวก box ต่าง ๆ ได้ง่าย ๆ เพราะส่วนมากจะเป็น component ที่พร้อมใช้ได้เลยเช่น Messagebox งง 555

เอาเป็นว่ามาพูดถึงการเขียน web กันเลยดีกว่า
ถ้าเราจะ click ปุ่มเพื่อให้ไปทำอะไรสักอย่างอะคับแต่เราจะทำ confirm box ก่อนที่จะไปทำจริง ๆ (confirm box ก็คือประมาณว่า ตกลงจะทำใช่หรือไม่แล้วให้เลือก yes ทำ หรือ no ก็ไม่ทำ)

ใช้คำสั่งนี้เลยคับเอาไว้ใน Page_Load ละ

controlid.Attributes.Add("onclick", "return confirm('คุณมั่นใจแล้วว่าจะลบ Record นี้?');");

remove 'Welcome to the Frontpage' title in Joomla! 1.5




Navigation
Previous • Table of Contents • Next

If you install new Joomla! 1.5 on your server, you get the 'Welcome to the Frontpage' title on your Frontpage. Sometimes, it is difficult to find, where you can change this title.

Go to your Joomla! 1.5 Administration site and login. In your administration site go to:
แก้ที่ back office นะคับ
* Menus - Main Menu (now you are in: Menu Item Manager: mainmenu).
(ไปที่เลือกที่ main menu)
* Click on 'Home' link to edit this link (you are now in: Menu Item: Edit).
(เลือก home)
* Click on Parameters System and change or delete the Page title.
(เลือก Parameters System ที่ด้านขวามือตามรูป แล้วก็แก้ไขตามต้องการเลยจ้า )

o If you change the Page title, changed title will be displayed on your Frontpage as a title.
o If you delete the Page title, Menu link will be displayed on your Frontpage as a title (in the present case 'Home' will be displayed as title, because 'Home' is the name of the link to the Frontpage).
o If you don't want to display any title, set Show Page Title below Page title parameter to 'No'.
* Don't forget to save changes.

ปล. อย่าลืม save นะจะ
ที่มา http://www.phoca.cz/documents/16-joomla/167-welcome-to-the-frontpage-remove