Tip : ป้องกันโปรแกรมสุดหวง
โจทย์
คุณ ๆ ที่เขียนโปรแกรมด้วย Access บางคนก็หวงโปรแกรม ไม่อยากจะให้ใคร ๆ ดู Object ต่าง ๆ ว่ามีอะไรบ้าง เป็นอย่างไร เพราะ Access สามารถหยุดการ Start Up หรือ หยุดแมโคร Autoexec ได้ด้วยการกดปุ่ม Shift ตอนเปิดโปรแกรม
ก็เลยเป็นที่มาของเรื่องที่จะคุยกันวันนี้ว่า เราจะ Disable ปุ่ม Shift ไม่ให้สามารถใช้งานได้ตอนเปิดโปรแกรม และผมก็ไม่ได้เขียนโค๊ตเองหรอกครับ เอามาจาก Help ของ Microsoft Visaul Basic Help ใน Microsoft Access2003 โดยใช้คำว่า AllowBypassKey เข้าไปค้นหา แล้วก็เอามาคุยให้ฟังครับ
แก้โจทย์
ผลการค้นหาด้วยคำ AllowBypassKey ได้คำอธิบายและโค๊ต ดังนี้ คุณไม่ต้องสนใจอ่านมันก็ได้ครับ
AllowBypassKey Property
You can use the AllowBypassKey property to specify whether or not the SHIFT key is enabled for bypassing the startup properties and the AutoExec macro. For example, you can set the AllowBypassKey property to False to prevent a user from bypassing the startup properties and the AutoExec macro.
Setting
The AllowBypassKey property uses the following settings.
Setting Description
True Enable the SHIFT key to allow the user to bypass the startup properties and the AutoExec macro.
False Disable the SHIFT key to prevent the user from bypassing the startup properties and the AutoExec macro.
You can set this property by using a macro or Visual Basic.
To set the AllowBypassKey property by using a macro or Visual Basic, you must create the property in the following ways:
In a Microsoft Access database (.mdb), you can add it by using the CreateProperty method and append it to the Properties collection of the Database object.
In a Microsoft Access project (.adp), you can add it to the AccessObjectProperties collection of the CurrentProject object by using the Add method.
Remarks
You should make sure the AllowBypassKey property is set to True when debugging an application.
This property's setting doesn't take effect until the next time the application database opens.
Example
The following example shows a procedure named SetBypassProperty that passes the name of the property to be set, its data type, and its desired setting. The general purpose procedure ChangeProperty attempts to set the AllowBypassKey property and, if the property isn't found, uses the CreateProperty method to append it to the Properties collection. This is necessary because this property doesn't appear in the Properties collection until its been added.
Sub SetBypassProperty()
Const DB_Boolean As Long = 1
ChangeProperty "AllowBypassKey", DB_Boolean, False
End Sub
Function ChangeProperty(strPropName As String, varPropType As Variant, varPropValue As Variant) As Integer
Dim dbs As Object, prp As Variant
Const conPropNotFoundError = 3270
Set dbs = CurrentDb
On Error GoTo Change_Err
dbs.Properties(strPropName) = varPropValue
ChangeProperty = True
Change_Bye:
Exit Function
Change_Err:
If Err = conPropNotFoundError Then ' Property not found.
Set prp = dbs.CreateProperty(strPropName, _
varPropType, varPropValue)
dbs.Properties.Append prp
Resume Next
Else
' Unknown error.
ChangeProperty = False
Resume Change_Bye
End If
End Function
เริ่มทำกันเลย
1. สมมติว่า คุณสร้างโปรแกรมด้วย Access เสร็จเรียบร้อย พร้อมจะเผยแพร่ต่อไป ขอแนะนำว่า คุณควรจะสำเนาต้นฉบับเอาไว้ก่อน เอาไว้คนละแห่งก็ได้
2. จากนั้นเอาไฟล์สำเนาที่ต้องการทำการจัดการต่อไป (หมายความว่า ไฟล์นี้มีฟอร์มทำหน้าที่ฟอร์มแรก หรือ Startup Form แล้วนะครับ)
3. เปิดไฟล์ แล้วไปที่ Module สร้าง Module ขึ้นใหม่ 1 ตัว
4. Copy โค๊ตทั้งหมด ตั้งแต่
Sub SetBypassProperty()
...
End Function
ไปวางใน Module ตามข้อ 3
5. จากนั้นคลิกเอา Cursor ไว้ที่หน้าแถวแรก
6. คลิกแถบเมนู Run > Run Sub/Userform หรือ กด F5 ก็ได้ ข้อนี้เป็นการ Add the CreateProperty method เพิ่มเข้าไปใน the Properties collection
7. ทดลองเปิดใช้งานได้เลย จะปรากฎว่าคุณกด Shift ไว้ก็ไม่มีผลอะไร
ท้ายบทความนี้ มีไฟล์ตัวอย่างให้ดาวน์โหลดไปดูครับ ถ้านำวิธีการดังกล่าวไปใช้แล้ว กลับมาคุยให้ฟังบ้างนะครับ
วันจันทร์ที่ 23 สิงหาคม พ.ศ. 2553
windowsXP access denied
เมื่อเราพยายามจะเชื่อมต่อเข้าไปในคอมพิวเตอร์บนเครือข่ายที่รัน Windows XP ทั้งๆ ที่ Username และ Password ก็ถูกต้อง แต่กลับได้รับการแจ้งข้อผิดพลาด โดยปฏิเสธไม่ให้เข้าถึงได้ (Access Denied)
สำหรับวิธีแก้ปัญหานี้ เราคงต้องเข้าไปแก้ไขรีจิสทรีอีกแล้วครับทั่น.น.น ซึ่งขั้นตอนการแก้ไขมีดังนี้
เปิดไดอะล็อกบ็อกซ์ Run (คลิ้กปุ่ม Start เลือกคำสั่ง Run หรือกดปุ่ม Windows+R ) จากนั้นพิมพ์คำสั่ง regedit เข้าไปในช่อง Open: แล้วคลิ้กปุ่ม OK
ในกรอบซ้ายมือของหน้าต่างโปรแกรม Registry Editor ให้คลิ้กเข้าไปที่HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Lsa
สังเกตที่กรอบด้านขวา ดับเบิลคลิ้กบนคีย์ restrictanonymous แก้ค่าให้เป็น 0
ไม่ต้องเปลี่ยนค่าของ restrictanonymoussam (ระวังคลิ้กผิดด้วยนะครับ)
รีบูตเครื่อง แล้วลองเชื่อมต่อเข้าไปใหม่
เพื่อนคนไหนที่พบปัญหาทำนองนี้ ก็ลองใช้วิธีที่นายเกาเหลาแนะนำดูนะครับ
สำหรับวิธีแก้ปัญหานี้ เราคงต้องเข้าไปแก้ไขรีจิสทรีอีกแล้วครับทั่น.น.น ซึ่งขั้นตอนการแก้ไขมีดังนี้
เปิดไดอะล็อกบ็อกซ์ Run (คลิ้กปุ่ม Start เลือกคำสั่ง Run หรือกดปุ่ม Windows+R ) จากนั้นพิมพ์คำสั่ง regedit เข้าไปในช่อง Open: แล้วคลิ้กปุ่ม OK
ในกรอบซ้ายมือของหน้าต่างโปรแกรม Registry Editor ให้คลิ้กเข้าไปที่HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Lsa
สังเกตที่กรอบด้านขวา ดับเบิลคลิ้กบนคีย์ restrictanonymous แก้ค่าให้เป็น 0
ไม่ต้องเปลี่ยนค่าของ restrictanonymoussam (ระวังคลิ้กผิดด้วยนะครับ)
รีบูตเครื่อง แล้วลองเชื่อมต่อเข้าไปใหม่
เพื่อนคนไหนที่พบปัญหาทำนองนี้ ก็ลองใช้วิธีที่นายเกาเหลาแนะนำดูนะครับ
windowsXP access denied
เมื่อเราพยายามจะเชื่อมต่อเข้าไปในคอมพิวเตอร์บนเครือข่ายที่รัน Windows XP ทั้งๆ ที่ Username และ Password ก็ถูกต้อง แต่กลับได้รับการแจ้งข้อผิดพลาด โดยปฏิเสธไม่ให้เข้าถึงได้ (Access Denied)
สำหรับวิธีแก้ปัญหานี้ เราคงต้องเข้าไปแก้ไขรีจิสทรีอีกแล้วครับทั่น.น.น ซึ่งขั้นตอนการแก้ไขมีดังนี้
เปิดไดอะล็อกบ็อกซ์ Run (คลิ้กปุ่ม Start เลือกคำสั่ง Run หรือกดปุ่ม Windows+R ) จากนั้นพิมพ์คำสั่ง regedit เข้าไปในช่อง Open: แล้วคลิ้กปุ่ม OK
ในกรอบซ้ายมือของหน้าต่างโปรแกรม Registry Editor ให้คลิ้กเข้าไปที่HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Lsa
สังเกตที่กรอบด้านขวา ดับเบิลคลิ้กบนคีย์ restrictanonymous แก้ค่าให้เป็น 0
ไม่ต้องเปลี่ยนค่าของ restrictanonymoussam (ระวังคลิ้กผิดด้วยนะครับ)
รีบูตเครื่อง แล้วลองเชื่อมต่อเข้าไปใหม่
เพื่อนคนไหนที่พบปัญหาทำนองนี้ ก็ลองใช้วิธีที่นายเกาเหลาแนะนำดูนะครับ
สำหรับวิธีแก้ปัญหานี้ เราคงต้องเข้าไปแก้ไขรีจิสทรีอีกแล้วครับทั่น.น.น ซึ่งขั้นตอนการแก้ไขมีดังนี้
เปิดไดอะล็อกบ็อกซ์ Run (คลิ้กปุ่ม Start เลือกคำสั่ง Run หรือกดปุ่ม Windows+R ) จากนั้นพิมพ์คำสั่ง regedit เข้าไปในช่อง Open: แล้วคลิ้กปุ่ม OK
ในกรอบซ้ายมือของหน้าต่างโปรแกรม Registry Editor ให้คลิ้กเข้าไปที่HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Lsa
สังเกตที่กรอบด้านขวา ดับเบิลคลิ้กบนคีย์ restrictanonymous แก้ค่าให้เป็น 0
ไม่ต้องเปลี่ยนค่าของ restrictanonymoussam (ระวังคลิ้กผิดด้วยนะครับ)
รีบูตเครื่อง แล้วลองเชื่อมต่อเข้าไปใหม่
เพื่อนคนไหนที่พบปัญหาทำนองนี้ ก็ลองใช้วิธีที่นายเกาเหลาแนะนำดูนะครับ
วันพุธที่ 18 สิงหาคม พ.ศ. 2553
Automatically log in a user on startup?
1. Create a script file using following commands and configure it as a shutdown script using policy.
@echo off
Rem Following commands will set registry values required for Aumatic Login
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /t REG_SZ /v AutoAdminLogon /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /t REG_SZ /v DefaultUserName /d /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /t REG_SZ /v DefaultPassword /d /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /t REG_SZ /v DefaultDomainName /d TEST.LOCAL /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /t REG_DWORD /v ForceAutoLogon /d 1 /f
Rem Following commands will delete Logon Banner related Values.
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v LegalNoticeCaption /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v LegalNoticeText /f
This will enable autologon feature on your server. But will be applicable at next reboot. I tried using it at the startup but it requires one more restart. There is one more reason for using it at shutdown which will be explained in next step. Additionally I converted this bat file into exe using some utility (there are many utilities available on internet ,but make sure you use the reliable and recommended one) so that it can not be viewed/editted using notepad (text editor ) as there is a password mentioned in it.
Now configure exe thus created as a shutdown script. This will configure registry settings required to enable autoLogon feature.
2. Create a script using following commands and configure it as a startup script. This time no bat to exe conversion is required.
@echo off
Rem Following commands will delete registry values required for Aumatic Login
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v AutoAdminLogon /f reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v DefaultUserName /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v DefaultPassword /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v DefaultDomainName /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v ForceAutoLogon /f
REM This will not show logged in user information while machine is locked..
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System /v dontdisplaylockeduserid /t REG_DWORD /d 3 /f
Note:- As I said earlier, reason behind using this script at startup is to destroy settings defined in shutdown script once the purpose is over. Settings defined in step 1 will be read at next reboot and will be applicable as 'Startup Script' execution will be done after reading registry values. This will ensure that password is not available in registry and still AutoLogon is enabled.
Refer http://support.microsoft.com/kb/324737 for more details about automatic logon.
Rerer http://support.microsoft.com/default.aspx/kb/837022?p=1 for more details about HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System/dontdisplaylockeduserid
3. Create a logon script for user specified in AutoLogon settings with following commands.
@echo off...
REM ...........following command will Lock the workstation..Use same syntax..........
%windir%\system32\rundll32.exe user32.dll,LockWorkStation
Rem .............following command will launch the application.....
The first command will lock the machine immediately after user logs in and second command will launch the application while user is logged in..
I tried to auto logon and launch some built in windows applications like notepad, calc and it worked. Depeding upon how the application is designed you may need to specify more than one command..
This is how it works..
1. Machine configures AutoLogon during shutdown.
2. Machine reads AutoLOgon settings at next reboot.
3. Deletes AutoLogon values from registry.
4. Logs in using settings read at step 2
5. User login script gets executed ...Locks the machine and launches the application.
@echo off
Rem Following commands will set registry values required for Aumatic Login
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /t REG_SZ /v AutoAdminLogon /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /t REG_SZ /v DefaultUserName /d
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /t REG_SZ /v DefaultPassword /d
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /t REG_SZ /v DefaultDomainName /d TEST.LOCAL /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /t REG_DWORD /v ForceAutoLogon /d 1 /f
Rem Following commands will delete Logon Banner related Values.
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v LegalNoticeCaption /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v LegalNoticeText /f
This will enable autologon feature on your server. But will be applicable at next reboot. I tried using it at the startup but it requires one more restart. There is one more reason for using it at shutdown which will be explained in next step. Additionally I converted this bat file into exe using some utility (there are many utilities available on internet ,but make sure you use the reliable and recommended one) so that it can not be viewed/editted using notepad (text editor ) as there is a password mentioned in it.
Now configure exe thus created as a shutdown script. This will configure registry settings required to enable autoLogon feature.
2. Create a script using following commands and configure it as a startup script. This time no bat to exe conversion is required.
@echo off
Rem Following commands will delete registry values required for Aumatic Login
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v AutoAdminLogon /f reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v DefaultUserName /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v DefaultPassword /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v DefaultDomainName /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" /v ForceAutoLogon /f
REM This will not show logged in user information while machine is locked..
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System /v dontdisplaylockeduserid /t REG_DWORD /d 3 /f
Note:- As I said earlier, reason behind using this script at startup is to destroy settings defined in shutdown script once the purpose is over. Settings defined in step 1 will be read at next reboot and will be applicable as 'Startup Script' execution will be done after reading registry values. This will ensure that password is not available in registry and still AutoLogon is enabled.
Refer http://support.microsoft.com/kb/324737 for more details about automatic logon.
Rerer http://support.microsoft.com/default.aspx/kb/837022?p=1 for more details about HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System/dontdisplaylockeduserid
3. Create a logon script for user specified in AutoLogon settings with following commands.
@echo off...
REM ...........following command will Lock the workstation..Use same syntax..........
%windir%\system32\rundll32.exe user32.dll,LockWorkStation
Rem .............following command will launch the application.....
The first command will lock the machine immediately after user logs in and second command will launch the application while user is logged in..
I tried to auto logon and launch some built in windows applications like notepad, calc and it worked. Depeding upon how the application is designed you may need to specify more than one command..
This is how it works..
1. Machine configures AutoLogon during shutdown.
2. Machine reads AutoLOgon settings at next reboot.
3. Deletes AutoLogon values from registry.
4. Logs in using settings read at step 2
5. User login script gets executed ...Locks the machine and launches the application.
Use Registry Editor to turn on automatic logon
Use Registry Editor to turn on automatic logon
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
To use Registry Editor (Regedt32.exe) to turn on automatic logon, follow these steps:
Click Start, and then click Run.
In the Open box, type Regedt32.exe, and then press ENTER.
Locate the following subkey in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Double-click the DefaultUserName entry, type your user name, and then click OK.
Double-click the DefaultPassword entry, type your password, and then click OK.NOTE: If the DefaultPassword value does not exist, it must be added. To add the value, follow these steps:
On the Edit menu, click New, and then point to String Value.
Type DefaultPassword, and then press ENTER.
Double-click DefaultPassword.
In the Edit String dialog, type your password and then click OK.
NOTE: If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), disabling the AutoAdminLogon feature.
On the Edit menu, click New, and then point to String Value.
Type AutoAdminLogon, and then press ENTER.
Double-click AutoAdminLogon.
In the Edit String dialog box, type 1 and then click OK.
Quit Registry Editor.
Click Start, click Shutdown, and then type a reason in the Comment text box.
Click OK to turn off your computer.
Restart your computer. You can now log on automatically.
Notes To bypass the AutoAdminLogon process and to log on as a different user, hold down the SHIFT key after you log off or after Windows restarts.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
To use Registry Editor (Regedt32.exe) to turn on automatic logon, follow these steps:
Click Start, and then click Run.
In the Open box, type Regedt32.exe, and then press ENTER.
Locate the following subkey in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Double-click the DefaultUserName entry, type your user name, and then click OK.
Double-click the DefaultPassword entry, type your password, and then click OK.NOTE: If the DefaultPassword value does not exist, it must be added. To add the value, follow these steps:
On the Edit menu, click New, and then point to String Value.
Type DefaultPassword, and then press ENTER.
Double-click DefaultPassword.
In the Edit String dialog, type your password and then click OK.
NOTE: If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), disabling the AutoAdminLogon feature.
On the Edit menu, click New, and then point to String Value.
Type AutoAdminLogon, and then press ENTER.
Double-click AutoAdminLogon.
In the Edit String dialog box, type 1 and then click OK.
Quit Registry Editor.
Click Start, click Shutdown, and then type a reason in the Comment text box.
Click OK to turn off your computer.
Restart your computer. You can now log on automatically.
Notes To bypass the AutoAdminLogon process and to log on as a different user, hold down the SHIFT key after you log off or after Windows restarts.
วันอังคารที่ 17 สิงหาคม พ.ศ. 2553
ปรับคอมให้เร็ว
1. ปิด animation ของ windows
a. เปิด My Computer
b. คลิกขวา (บนพื้นที่สีขาว) แล้วเลือก Properties
c. ไปที่ Advance > Settings (อันแรก)
d. ใน Tab Visual Effects ให้เลือก Adjust for the best performance
e. เลื่อนลงไปด้านล่างและหาคำว่า:
i. Use Common tasks in folders
ii. Use drop shadows for icon labels on the desktop
iii. Use visual styles on Windows and buttons
f. ให้ติ้กกล้องสามกล่องนี้ถ้าต้องการ แนะนำให้ติ้ก กล่องแรกกับสองก็พอ แต่ถ้าอยากให้สวยๆหน่อยก็เอาอันที่สามด้วย
g. OK > OK
2. ปิด Background Services
a. ไปที่ Start > Run… พิมพ์ msconfig
b. เลือก tab Services
c. ให้เอาเครื่องหมายติ้กออกจากตัวเลือกต่อไปนี้ถ้ามี
i. Background Intelligence Transfer
ii. Remote Desktop Help Session Manager
iii. Remote Access Connection Manager
iv. Task scheduler
v. Network Location Awareness
vi. Netmeeting Remote Desktop Sharing
vii. Net Logon
viii. Indexing Services
d. OK > Exit Without Restart
3. Scan หา Virus, Spyware ฯลฯ
a. คงไม่ต้องอธิบายมากมาย
i. สำหรับ Virus ก็ใช้ anti-virus
ii. และให้ใช้ Spybot Search and Destroy ลองหาจาก google ได้
iii. ก่อนเริ่ม scan ทุกครั้งควรอัพเดทก่อน AntiVirus? ควรอัพเดททุกวันยิ่งดี
4. ปิด’การค้นหา’
a. ไปที่ My Computer
b. Tools > Folder Options > View
c. เอาติ้กออกจาก Automatically Search for network folders and printer
d. OK
5. ปิด Error Reporting
a. ไปที่ My Computer
b. คลิกขวาเลือก properties
c. Advance > Error Reporting
d. เลือก Disable error reporting
e. OK > OK
6. ตั้งค่าการใช้ Memory
a. ไปที่ My Computer
b. คลิกขวาเลือก Properties
c. Advance > Settings (อันแรก) > Advanced
d. ในช่องทั้งสองอัน Processor Scheduling, Memory usage ให้เลือก Programs
e. กด Change
f. ให้ใส่เลขที่มัน recommended (อยู่ด้านล่าง) ในช่อง Initial Size (MB)
g. ในช่อง Maximum Size (MB) ให้คูณ 2 กับตัวเลขด้านบน เช่น
i. Initial Size (MB) 1500
ii. Maximum Size (MB) 3000
h. OK > OK > OK Restart ก็ได้ถ้าต้องการ
7. อื่นๆ
a. บน desktop ไม่ควรมี icon มากกว่า 20-30 อัน ถ้ามี shortcut เยอะให้เอาใส่ใน folder
b. หลังจากเล่นเกมเสร็จให้คลิกขวาบน desktop แล้วเลือก refresh
c. ใช้งานโปรแกรม Disk defrag บ่อยๆสัปดาห์ละครั้งสองครั้ง ใช้ของ Auslogic ก็ได้เป็น freeware
a. เปิด My Computer
b. คลิกขวา (บนพื้นที่สีขาว) แล้วเลือก Properties
c. ไปที่ Advance > Settings (อันแรก)
d. ใน Tab Visual Effects ให้เลือก Adjust for the best performance
e. เลื่อนลงไปด้านล่างและหาคำว่า:
i. Use Common tasks in folders
ii. Use drop shadows for icon labels on the desktop
iii. Use visual styles on Windows and buttons
f. ให้ติ้กกล้องสามกล่องนี้ถ้าต้องการ แนะนำให้ติ้ก กล่องแรกกับสองก็พอ แต่ถ้าอยากให้สวยๆหน่อยก็เอาอันที่สามด้วย
g. OK > OK
2. ปิด Background Services
a. ไปที่ Start > Run… พิมพ์ msconfig
b. เลือก tab Services
c. ให้เอาเครื่องหมายติ้กออกจากตัวเลือกต่อไปนี้ถ้ามี
i. Background Intelligence Transfer
ii. Remote Desktop Help Session Manager
iii. Remote Access Connection Manager
iv. Task scheduler
v. Network Location Awareness
vi. Netmeeting Remote Desktop Sharing
vii. Net Logon
viii. Indexing Services
d. OK > Exit Without Restart
3. Scan หา Virus, Spyware ฯลฯ
a. คงไม่ต้องอธิบายมากมาย
i. สำหรับ Virus ก็ใช้ anti-virus
ii. และให้ใช้ Spybot Search and Destroy ลองหาจาก google ได้
iii. ก่อนเริ่ม scan ทุกครั้งควรอัพเดทก่อน AntiVirus? ควรอัพเดททุกวันยิ่งดี
4. ปิด’การค้นหา’
a. ไปที่ My Computer
b. Tools > Folder Options > View
c. เอาติ้กออกจาก Automatically Search for network folders and printer
d. OK
5. ปิด Error Reporting
a. ไปที่ My Computer
b. คลิกขวาเลือก properties
c. Advance > Error Reporting
d. เลือก Disable error reporting
e. OK > OK
6. ตั้งค่าการใช้ Memory
a. ไปที่ My Computer
b. คลิกขวาเลือก Properties
c. Advance > Settings (อันแรก) > Advanced
d. ในช่องทั้งสองอัน Processor Scheduling, Memory usage ให้เลือก Programs
e. กด Change
f. ให้ใส่เลขที่มัน recommended (อยู่ด้านล่าง) ในช่อง Initial Size (MB)
g. ในช่อง Maximum Size (MB) ให้คูณ 2 กับตัวเลขด้านบน เช่น
i. Initial Size (MB) 1500
ii. Maximum Size (MB) 3000
h. OK > OK > OK Restart ก็ได้ถ้าต้องการ
7. อื่นๆ
a. บน desktop ไม่ควรมี icon มากกว่า 20-30 อัน ถ้ามี shortcut เยอะให้เอาใส่ใน folder
b. หลังจากเล่นเกมเสร็จให้คลิกขวาบน desktop แล้วเลือก refresh
c. ใช้งานโปรแกรม Disk defrag บ่อยๆสัปดาห์ละครั้งสองครั้ง ใช้ของ Auslogic ก็ได้เป็น freeware
รวบรวมคำสั่ง Run ทั้งหมด
เรียกโปรแกรม Accessibility Options —> access.cpl
เรียกโปรแกรม Add Hardware —> hdwwiz.cpl
เรียกโปรแกรม Add/Remove Programs —> appwiz.cpl
เรียกโปรแกรม Administrative Tools control —> admintools
ตั้งค่า Automatic Updates —> wuaucpl.cpl
เรียกโปรแกรม Bluetooth Transfer Wizard —> fsquirt
เรียกโปรแกรม เครื่องคิดเลข (Calculator) —> calc
เรียกโปรแกรม Certificate Manager —> certmgr.msc
เรียกโปรแกรม Character Map —> charmap
เรียกโปรแกรม ตรวจสอบดิสก์ (Check Disk Utility) —> chkdsk
เรียกดูคลิปบอร์ด (Clipboard Viewer) —> clipbrd
เรียกหน้าต่างดอส (Command Prompt) —> cmd
เรียกโปรแกรม Component Services —> dcomcnfg
เรียกโปรแกรม Computer Management —> compmgmt.msc
เรียกดู/ตั้ง เวลาและวันที่ —> timedate.cpl
เรียกหน้าต่าง Device Manager —> devmgmt.msc
เรียกดูข้อมูล Direct X (Direct X Troubleshooter) —> dxdiag
เรียกโปรแกรม Disk Cleanup Utility —> cleanmgr
เรียกโปรแกรม Disk Defragment —> dfrg.msc
เรียกโปรแกรม Disk Management —> diskmgmt.msc
เรียกโปรแกรม Disk Partition Manager —> diskpart
เรียกหน้าต่าง Display Properties control desktop —> desk.cpl
เรียกหน้าต่าง Display Properties เพื่อปรับสีวินโดวส์ —> control color
เรียกดูโปรแกรมช่วยแก้ไขปัญหา (Dr. Watson) —> drwtsn32
เรียกโปรแกรมตรวจสอบไดร์ฟเวอร์ (Driver Verifier Utility) —> verifier
เรียกดูประวัติการทำงานของเครื่อง (Event Viewer) —> eventvwr.msc
เรียกเครื่องมือตรวจสอบไฟล์ File Signature Verification Tool —> sigverif
เรียกหน้าต่าง Folders Options control —> folders
เรียกโปรแกรมจัดการ Fonts —> control fonts
เปิดไปยังโฟลเดอร์ Fonts (Fonts Folder) —> fonts
เรียกเกม Free Cell —> freecell
เปิดหน้าต่าง Game Controllers —> joy.cpl
เปิดโปรแกรมแก้ไข Group Policy (ใช้กับ XP Home ไม่ได้) —> gpedit.msc
เรียกโปรแกรมสร้างไฟล์ Setup (Iexpress Wizard) —> iexpress
เรียกโปรแกรม Indexing Service —> ciadv.msc
เรียกหน้าต่าง Internet Properties —> inetcpl.cpl
เรียกหน้าต่าง Keyboard Properties —> control keyboard
แก้ไขค่าความปลอดภัย (Local Security Settings) —> secpol.msc
แก้ไขผู้ใช้ (Local Users and Groups) —> lusrmgr.msc
คำสั่ง Log-off —> logoff
เรียกหน้าต่าง Mouse Properties control mouse main.cpl
เรียกหน้าต่าง Network Connections control netconnections —> ncpa.cpl
เรียกหน้าต่าง Network Setup Wizard —> netsetup.cpl
เรียกโปรแกรม Notepad —> notepad
เรียกคีย์บอร์ดบนหน้าจอ (On Screen Keyboard) —> osk
เรียกหน้าต่าง Performance Monitor —> perfmon.msc
เรียกหน้าต่าง Power Options Properties —> powercfg.cpl
เรียกโปรแกรม Private Character Editor —> eudcedit
เรียกหน้าต่าง Regional Settings —> intl.cpl
เรียกหน้าต่าง Registry Editor —> regedit
เรียกโปรแกรม Remote Desktop —> mstsc
เรียกหน้าต่าง Removable Storage —> ntmsmgr.msc
เรียกหน้าต่าง Removable Storage Operator Requests —> ntmsoprq.msc
เรียกดู Policy ที่ตั้งไว้ (ใช้กับ XP Home ไม่ได้) —> rsop.msc
เรียกหน้าต่าง Scanners and Cameras —> sticpl.cpl
เรียกโปรแกรม Scheduled Tasks control —> schedtasks
เรียกหน้าต่าง Security Center —> wscui.cpl
เรียกหน้าต่าง Services —> services.msc
เรียกหน้าต่าง Shared Folders —> fsmgmt.msc
คำสั่ง Shuts Down —> shutdown
เรียกหน้าต่าง Sounds and Audio —> mmsys.cpl
เรียกเกม Spider Solitare —> spider
แก้ไขไฟล์ระบบ (System Configuration Editor) —> sysedit
แก้ไขการตั้งค่าระบบ (System Configuration Utility) —> msconfig
ตรวจสอบระบบด้วย System File Checker Utility (เริ่มทันที) —> sfc /scannow
ตรวจสอบระบบด้วย System File Checker Utility (เริ่มเมื่อบู๊ต) —> sfc /scanonce
เรียกหน้าต่าง System Properties —> sysdm.cpl
เรียกหน้าต่าง Task Manager —> taskmgr
เรียกหน้าต่าง User Account Management —> nusrmgr.cpl
เรียกโปรแกรม Utility Manager —> utilman
เรียกโปรแกรม Windows Firewall —> firewall.cpl
เรียกโปรแกรม Windows Magnifier —> magnify
เรียกหน้าต่าง Windows Management Infrastructure —> wmimgmt.msc
เรียกหน้าต่าง Windows System Security Tool —> syskey
เรียกตัวอัพเดตวินโดวส์ (Windows Update) —> wupdmgr
เรียกโปรแกรม Wordpad —> write
เรียกโปรแกรม Add Hardware —> hdwwiz.cpl
เรียกโปรแกรม Add/Remove Programs —> appwiz.cpl
เรียกโปรแกรม Administrative Tools control —> admintools
ตั้งค่า Automatic Updates —> wuaucpl.cpl
เรียกโปรแกรม Bluetooth Transfer Wizard —> fsquirt
เรียกโปรแกรม เครื่องคิดเลข (Calculator) —> calc
เรียกโปรแกรม Certificate Manager —> certmgr.msc
เรียกโปรแกรม Character Map —> charmap
เรียกโปรแกรม ตรวจสอบดิสก์ (Check Disk Utility) —> chkdsk
เรียกดูคลิปบอร์ด (Clipboard Viewer) —> clipbrd
เรียกหน้าต่างดอส (Command Prompt) —> cmd
เรียกโปรแกรม Component Services —> dcomcnfg
เรียกโปรแกรม Computer Management —> compmgmt.msc
เรียกดู/ตั้ง เวลาและวันที่ —> timedate.cpl
เรียกหน้าต่าง Device Manager —> devmgmt.msc
เรียกดูข้อมูล Direct X (Direct X Troubleshooter) —> dxdiag
เรียกโปรแกรม Disk Cleanup Utility —> cleanmgr
เรียกโปรแกรม Disk Defragment —> dfrg.msc
เรียกโปรแกรม Disk Management —> diskmgmt.msc
เรียกโปรแกรม Disk Partition Manager —> diskpart
เรียกหน้าต่าง Display Properties control desktop —> desk.cpl
เรียกหน้าต่าง Display Properties เพื่อปรับสีวินโดวส์ —> control color
เรียกดูโปรแกรมช่วยแก้ไขปัญหา (Dr. Watson) —> drwtsn32
เรียกโปรแกรมตรวจสอบไดร์ฟเวอร์ (Driver Verifier Utility) —> verifier
เรียกดูประวัติการทำงานของเครื่อง (Event Viewer) —> eventvwr.msc
เรียกเครื่องมือตรวจสอบไฟล์ File Signature Verification Tool —> sigverif
เรียกหน้าต่าง Folders Options control —> folders
เรียกโปรแกรมจัดการ Fonts —> control fonts
เปิดไปยังโฟลเดอร์ Fonts (Fonts Folder) —> fonts
เรียกเกม Free Cell —> freecell
เปิดหน้าต่าง Game Controllers —> joy.cpl
เปิดโปรแกรมแก้ไข Group Policy (ใช้กับ XP Home ไม่ได้) —> gpedit.msc
เรียกโปรแกรมสร้างไฟล์ Setup (Iexpress Wizard) —> iexpress
เรียกโปรแกรม Indexing Service —> ciadv.msc
เรียกหน้าต่าง Internet Properties —> inetcpl.cpl
เรียกหน้าต่าง Keyboard Properties —> control keyboard
แก้ไขค่าความปลอดภัย (Local Security Settings) —> secpol.msc
แก้ไขผู้ใช้ (Local Users and Groups) —> lusrmgr.msc
คำสั่ง Log-off —> logoff
เรียกหน้าต่าง Mouse Properties control mouse main.cpl
เรียกหน้าต่าง Network Connections control netconnections —> ncpa.cpl
เรียกหน้าต่าง Network Setup Wizard —> netsetup.cpl
เรียกโปรแกรม Notepad —> notepad
เรียกคีย์บอร์ดบนหน้าจอ (On Screen Keyboard) —> osk
เรียกหน้าต่าง Performance Monitor —> perfmon.msc
เรียกหน้าต่าง Power Options Properties —> powercfg.cpl
เรียกโปรแกรม Private Character Editor —> eudcedit
เรียกหน้าต่าง Regional Settings —> intl.cpl
เรียกหน้าต่าง Registry Editor —> regedit
เรียกโปรแกรม Remote Desktop —> mstsc
เรียกหน้าต่าง Removable Storage —> ntmsmgr.msc
เรียกหน้าต่าง Removable Storage Operator Requests —> ntmsoprq.msc
เรียกดู Policy ที่ตั้งไว้ (ใช้กับ XP Home ไม่ได้) —> rsop.msc
เรียกหน้าต่าง Scanners and Cameras —> sticpl.cpl
เรียกโปรแกรม Scheduled Tasks control —> schedtasks
เรียกหน้าต่าง Security Center —> wscui.cpl
เรียกหน้าต่าง Services —> services.msc
เรียกหน้าต่าง Shared Folders —> fsmgmt.msc
คำสั่ง Shuts Down —> shutdown
เรียกหน้าต่าง Sounds and Audio —> mmsys.cpl
เรียกเกม Spider Solitare —> spider
แก้ไขไฟล์ระบบ (System Configuration Editor) —> sysedit
แก้ไขการตั้งค่าระบบ (System Configuration Utility) —> msconfig
ตรวจสอบระบบด้วย System File Checker Utility (เริ่มทันที) —> sfc /scannow
ตรวจสอบระบบด้วย System File Checker Utility (เริ่มเมื่อบู๊ต) —> sfc /scanonce
เรียกหน้าต่าง System Properties —> sysdm.cpl
เรียกหน้าต่าง Task Manager —> taskmgr
เรียกหน้าต่าง User Account Management —> nusrmgr.cpl
เรียกโปรแกรม Utility Manager —> utilman
เรียกโปรแกรม Windows Firewall —> firewall.cpl
เรียกโปรแกรม Windows Magnifier —> magnify
เรียกหน้าต่าง Windows Management Infrastructure —> wmimgmt.msc
เรียกหน้าต่าง Windows System Security Tool —> syskey
เรียกตัวอัพเดตวินโดวส์ (Windows Update) —> wupdmgr
เรียกโปรแกรม Wordpad —> write
วันเสาร์ที่ 14 สิงหาคม พ.ศ. 2553
ติดตั้ง Windows SharePoint Services 3.0
ติดตั้ง Windows SharePoint Services 3.0
• ทำความรู้จักกับ Windows SharePoint Services 3.0
Windows SharePoint คือ Web Application ที่ทำหน้าที่ในการให้บริการการสื่อสาร การจัดการเนื้อหา การอำนวยความสะดวกให้กับทีม โดยการสร้าง website จาก template สำเร็จรูป เพื่อรวบรวมเอกสารต่างๆ เข้าด้วยกันสำหรับการทำงานร่วมกันเป็นทีม ตัวอย่างเช่น Meeting site สำหรับการประชุมผ่านทาง Website ซึ่งมีลักษณะโครงสร้างเหมือนการประชุมจริง โดยจะมีผู้ดำเนินการประชุมและผู้เข้าร่วมประชุม และมีเครื่องมืออำนวยความสะดวกต่างๆ เช่น
1. เครื่องมือสำหรับแจ้งเวียนเชิญและตอบรับการประชุม
2. รายการและวาระการประชุม
3. รายละเอียดเกี่ยวกับสถานที่ เอกสารแผนที่ และวิธรการเดินทางไปประชุมเป็นต้น
4. พื้นที่สำหรับจัดเก็บบันทึกการประชุม
Windows SharePoint นั้นจะประกอบด้วย 2 ผลิตภัณฑ์ คือ Windows SharePoint Services และ Windows SharePoint Portal Server ข้อแตกต่างในการทำงานระหว่าง Windows SharePoint Portal Server และ Windows SharePoint Services คือ WSPS นั้นจะประกอบด้วย Area, Site collection และ Personal site ในขณะที่ WSSS นั้นจะประกอบขึ้นมาจาก Site collection เพียงอย่างเดียว
Windows SharePoint Services Site
Site Collection คือ web site ที่ประกอบขึ้นมาจาก Top-level site , Subsite, และ content ของแต่ละ subsite รวมถึง Document Workspace และ Meeting Workspace
Top-level site คือ Web site ที่ถูกสร้างขึ้นใน WSS ที่ไม่อยู่ภายใต้ site อื่นๆ โดยที่ Top-level site นั้น สามารถมี Subsite อยู่ภายใต้ได้ และ subsite ที่อยู่ภายใต้ Top-level site นั้น สามารถมี subsite ได้
Subsite คือ Web site ที่ถูกสร้างขึ้นภายใต้ Top-level site บางครั้งเรียกว่า workspace โดยที่ subsite นั้นอาจมี element ต่างๆ เหมือนกันกับ Top-level site ได้ แต่อย่างไรก็ตาม subsite นั้น โดยส่วนมากจะใช้งานในการนำเสนอข้อมูลต่างๆ ของส่วนงานย่อยขององค์กร ตัวอย่าง เช่น ฝ่าย Engineering ประกอบด้วยส่วนงาน Electrical Engineering, Computer Engineering, Mechanical Engineering ดังนั้น Top-level site คือ Engineering และ มี 3 Subsite คือ Electrical Engineering site, Computer Engineering site , Mechanical Engineering site
*Metadata คือ ข้อมูลที่อธิบายถึงรายละเอียดของเอกสารหรือเนื้อหา
Site Group
Site Group คือ กลุ่มของผู้ใช้ โดยจะใช้ site group ในการกำหนดสิทธิในการใช้งาน site collection ของผู้ใช้ โดย site group ของ Windows SharePoint Service นั้นมี 5 กลุ่ม คือ
1. Reader = อ่านได้อย่างเดียว
2. Contributor = สามารถเพิ่มเนื้อหา (Content) เข้าใน List และ Document Library ได้
3. Web Designer = สามารถสร้าง Document Library และปรับแต่งหน้า website ได้
4. Administrator = มีสิทธิการใช้งานสูงสุด สามารถจัดการ WSPS ได้ทุกอย่าง
5. Custom Group = มีสิทธิการใช้งานต่างๆ ตามการกำหนดของ Administrator
การใช้งาน Windows SharePoint Services 3.0
ก่อนทำการติดตั้ง Windows SharePoint Services 3.0 นั้น ต้องทำการติดตั้งและคอนฟิก
1. Internet Information Services (IIS)
2. Microsoft .NET Framework 2.0 and Microsoft .NET Framework 3.0
การคอนฟิกวินโดวส์เซิร์ฟเวอร์ 2003 ให้เป็นเว็บเซิร์ฟเวอร์
ในวินโดวส์เซิร์ฟเวอร์ 2003 นั้น Internet Information Services (IIS) จะไม่ถูกติดตั้งโดยอัตโนมัติพร้อมกับระบบปฏิบัติการ ดังนั้นหากต้องการให้เซิร์ฟเวอร์เป็นเว็บเซิร์ฟเวอร์ ต้องทำการติดตั้งด้วยตนเอง
การติดตั้งเว็บเซิร์ฟเวอร์(IIS 6.0) และคอนฟิกโหมดการทำงาน
ขั้นตอนการติดตั้ง IIS 6.0 และคอนฟิกให้ทำงานในโหมดไอโซเลต (Process Isolation Mode) มีดังนี้
1. คลิก Start คลิก All Programs คลิก Administrative Tools จากนั้นคลิก Manage Your Server
2. บนหน้าต่าง Manage Your Server คลิก Add or remove a role
3. ในไดอะล็อก Preliminary Steps คลิก Next
4. ในไดอะล็อก Server Role คลิก Application server (IIS ASP.NET) จากนั้นคลิก Next.
5. ในไดอะล็อก Web Application Server Options ให้เลือก Enable ASP.Net จากนั้นคลิก Next.
6. ในไดอะล็อก Summary of Selections คลิก Next
7. ในไดอะล็อก This Server is Now an Application Server คลิก Finish.
8. คลิก Start คลิก All Programs คลิก Administrative Tools จากนั้นคลิก Internet Information Services (IIS) Manager
9. ในหน้าต่าง Internet Information Services Manager คลิกที่เครื่องหมายบวก (+) ที่อยู่หน้าชื่อเซิร์ฟเวอร์ จากนั้นคลิกขวาที่โฟลเดอร์ Web Sites แล้วเลือก Properties จากชอร์ตคัทเมนู
10. ในไดอะล็อก Properties คลิกที่แท็ป Service
11. ในส่วน Isolation mode ให้เลือกเช็คบ็อกซ์หน้า Run WWW service in IIS 5.0 isolation mode จากนั้นคลิก OK
หมายเหตุ:
เช็คบ็อกซ์หน้า Run WWW service in IIS 5.0 isolation mode จะถูกเลือก () เฉพาะกรณีทำการอัพเกรดจาก IIS 5.0 บนวินโดวส์เซิร์ฟเวอร์ 2000 ไปเป็น IIS 6.0 บนวินโดวส์เซิร์ฟเวอร์ 2003 เท่านั้น ถ้าเป็นการติดตั้ง IIS 6.0 ใหม่นั้น IIS 6.0 จะทำงานในแบบไอโซเลต (Process Isolation Mode) โดยอัตโนมัติ
ติดตั้งไมโครซอฟต์ .NET Framework 2.0
Windows SharePoint Services ต้องการดอทเน็ตเฟรมเวิร์กเวอร์ชัน 2.0 (.NET Framework 2.0)ในการทำงาน ขั้นตอนการติดตั้งดอทเน็ตเฟรมเวิร์กเวอร์ชัน 2.0 ดังนี้ (หากยังไม่มีตัวติดตั้งด็อทเน็ตเฟรมเวิร์กเวอร์ชัน 2.0 ให้ทำการดาวน์โหลดจากศูนย์ดาวน์โหลดของไมโครซอฟต์ Microsoft Download Center Web site แล้วเลือก Microsoft .NET Framework Version 2.0 Redistributable Package (x86) แล้วคลิก Download)
1.ในโฟลเดอร์ที่เก็บไฟล์ดอทเน็ตเฟรมเวิร์กเวอร์ชัน 2.0 ให้ดับเบิลคลิก dotnetfx.exe จากนั้นคลิก Run เพื่อทำการติดตั้ง
2. ในหน้า Welcome to Microsoft .NET Framework Version 2.0 Setup คลิก Next
3. ในหน้า End-User License Agreement เลือกเช็คบ็อกซ์หน้า I accept the terms of the License Agreement จากนั้นคลิก Install
4. ในหน้า Setup Complete คลิก Finish
การคอนฟิก IIS ให้รองรับ ASP.NET 2.0
ถ้าหากเป็น Internet Information Services (IIS) มีการติดตั้งใช้งานอยู่ก่อนแล้ว ในการรัน Windows SharePoint Services จะต้องทำการเปิดใช้งาน ASP.NET v2.0 ก่อน ดังนี้
1. คลิก Start คลิก All Programs คลิก Administrative Tools จากนั้นคลิก Internet Information Services (IIS) Manager
2. ในหน้าต่าง IIS Manager ให้เลือกเว็บไซท์ที่ต้องการคอนฟิกให้ใช้งานงาน ASP.NET v2.0
ให้คลิกขวาที่เว็บไซท์ที่ต้องการจากนั้นคลิก Properties จากชอร์ตคัทเมนู
3. บนแท็ป ASP.NET ในช่อง ASP.NET version ให้เลือก 2.0.50727
4. คลิก Apply จากนั้นคลิก OK
การรีสตาร์ท IIS
1. คลิก Start จากนั้นคลิก Run
2. ในช่อง Open พิมพ์ cmd.exe จากนั้นคลิก OK
3. ที่คอมมานด์พรอมท์ให้พิมพ์ iisreset.exe จากนั้นกด ENTER
4. พิมพ์ exit จากนั้นกด ENTER เพื่อออกจากคอมมานต์พรอมท์
ติดตั้งไมโครซอฟท์ .NET Framework 3.0
หากยังไม่มีตัวติดตั้งด็อทเน็ตเฟรมเวิร์กเวอร์ชัน 3.0 ให้ทำการดาวน์โหลดจากศูนย์ดาวน์โหลดของไมโครซอฟต์ Microsoft Download Center Web site แล้วเลือก Microsoft .NET Framework Version 3.0 Redistributable Package (x86) แล้วคลิก Download
1. ในโฟลเดอร์ที่เก็บไฟล์ดอทเน็ตเฟรมเวิร์กเวอร์ชัน 3.0 ให้ดับเบิลคลิก dotnetfx3setup.exe จากนั้นคลิก Run เพื่อทำการติดตั้ง
2. ในหน้า Welcome to Microsoft .NET Framework Version 3.0 Setup เลือกปุ่มเรดิโอ I have read and ACCEPT the terms of the License Agreement จากนั้นคลิก Install
3. คลิกบอลลูน Microsoft .NET Framework 3.0 Setup
4. ในหน้า Setup Complete คลิก Exit
ติดตั้ง Windows SharePoint Services 3.0 และ SQL Server 2005 Express
ในการติดตั้ง Windows SharePoint Services 3.0 แบบเซิร์ฟเวอร์เดี่ยว (Single stand-alone server) นั้นสามารถทำการติดตั้งโดยเลือกอ็อปชันการติดตั้งเดฟฟอลต์แบบ Basic ซึ่งการติดตั้งนั้นจะรวมการติดตั้ง SQL Server 2005 Express ด้วย ตามขั้นตอนดังนี้
1. หากยังไม่มีตัวติดตั้ง Windows SharePoint Services 3.0 ให้ทำการดาวน์โหลดจากศูนย์ดาวน์โหลดของไมโครซอฟต์ จากนั้นให้ท่องไปยังโฟลเดอร์ที่เก็บไฟล์ที่ดาวน์โหลดมาแล้วให้รันไฟล์ SharePoint.exe
2. คลิก I accept the terms of this agreement จากนั้นคลิก Continue
3. คลิก Basic เพื่อทำการติดตั้งแบบแบบเซิร์ฟเวอร์เดี่ยว (Single stand-alone server)
4. เมื่อการติดตั้งแล้วเสร็จให้คลิก Close
5. ในหน้า SharePoint Products and Technologies Configuration Wizard คลิก Next
6. ในไดอะล็อก SharePoint Products and Technologies Configuration Wizard คลิก Yes
7. รอจนการทำงานของวิซาร์ดแล้วเสร็จ ซึ่งจะได้หน้า Configuration Successful ให้คลิก Finish.
จากนั้นให้ทดลองเปิดหน้าโฮมเพจของ SharePointโดยใช้ Internet Explorer เปิดหน้า http://servername ซึ่งอาจจะต้องใส่ชื่อผู้ใช้ (Username) และรหัสผ่าน (Password) สำหรับเครื่องคอมพิวเตอร์ที่ใช้งานอินเตอร์เน็ตผ่านพร็อกซี่เซิร์ฟเวอร์นั้น จะต้องทำการบายพาสเว็บไซต์ SharePoint ก่อนจึงจะสามารถเปิดโฮมเพจของ SharePoint ได้
การเพิ่มไซต์ SharePoint เข้ายังรายการ Intranet Sites
1. ใน Internet Explorer ให้คลิกเมนู Tools แล้วคลิก Internet Options
2. บนแท็ป Security ในช่อง Select a Web zone to view or change security settings คลิก Local intranet จากนั้นคลิก Sites
3. ในไดอะล็อกบ็อกซ์ Local intranet คลิก Advanced
4. ให้ลบเช็คบ็อกซ์ Require server verification (https:) for all sites in this zone ให้เป็น
5. ในช่อง Add this Website to the zone ให้พิมพ์ URL ของเว็บไซต์ (เช่น http://servername) จากนั้นคลิก Add
6. คลิก OK เพื่อปิดไดอะล็อกบ็อกซ์ Local intranet
7. คลิก OK อีกครั้งเพื่อปิดไดอะล็อกบ็อกซ์ Local intranet
8. คลิก OK เพื่อปิดไดอะล็อกบ็อกซ์ Internet Options
9. ให้คลิก Refresh บนทูลบาร์เมนูของ Internet Explorer เพื่อทำการรีเฟรช Internet Explorer
การบายพาส Proxy Serverสำหรับ Local Addresses
สำหรับเครื่องคอมพิวเตอร์ที่ใช้งานอินเตอร์เน็ตผ่านพร็อกซี่เซิร์ฟเวอร์ให้ทำการบายพาสเว็บไซต์ SharePoint ดังนี้
1. ใน Internet Explorer ให้คลิกเมนู Tools แล้วคลิก Internet Options
2. บนแท็ป Connections ในส่วน Local Area Network (LAN) Settings a คลิก LAN Settings
3. ในส่วน Proxy Server คลิกเช็คบ็อกซ์หน้า Bypass proxy server for local addresses ให้เป็น
4. คลิก OK เพื่อปิดไดอะล็อกบ็อกซ์ Local Area Network (LAN) Settings
5. คลิก OK อีกครั้งเพื่อปิดไดอะล็อกบ็อกซ์ Internet Options
6. ให้คลิก Refresh บนทูลบาร์เมนูของ Internet Explorer เพื่อทำการรีเฟรช Internet Explorer
ทดลองใช้งาน Windows SharePoint Servic3.0
เมื่อทำการติดตั้ง Windows SharePoint Services 3.0 แล้วเสร็จ จากนั้นก็สามารถทดลองใช้งานโดยทำการเปิดดูหน้าโฮมเพจ เช่น http://servername ด้วย Internet Explorer และยังสามารถทำการเพิ่มเนื้อหาให้กับ SharePoint ไซท์ หรือทำการบริหาร SharePoint ไซท์ได้โดยใช้ Central Administration ตัวอย่างเช่น
1. เพิ่มผู้ใช้เข้ายังไซต์
2. ปรับแต่งโอมเพจและหน้าเว็บเพจต่างภายในไซท์
3. ทำการสร้างลิสต์รายการหรือห้องเก็บเอกสารและเพิ่มเนื้อหา
คุณสามารถใช้ Central Administration เพื่อทำการคอนฟิกเซิร์ฟเวอร์เพิ่มเติม ตัวอย่างเช่น
1. Configure incoming e-mail settings ซึ่งจะช่วยให้ผู้ใช้สามารถส่งเนื้อหาไปยัง SharePoint ผ่านทางอีเมล์ หรือทำการส่งอีเมล์ไปยังสมาชิกทั้งหมดของไซท์ SharePoint
2. Configure e-mail alert settings เมื่อทำการคอนฟิก e-mail alert จะทำให้ผู้ใช้สามารถลงชื่อเพื่อรับอีเมล์แจ้งเตือนเมื่อมีการเปลี่ยนแปลงเนื้อหาภายในไซท์
3. Configure antivirus protection settings ถ้าเซิร์ฟเวอร์ได้ติดตั้งโปรแกรมป้องกันไวรัสซึ่งสามารถใช้งานร่วมกันกับ Windows SharePoint Services ได้ ก็สามารถทำการคอนฟิกให้ทำการสแกนเอกสารต่างๆ เมื่อทำการอัพโหลดขึ้นไปยังหรือดาวน์โหลดจาก SharePoint ได้
.NET Framework Developer Center
โฮมเพจ .NET Framework เว็บไซต์ http://msdn.microsoft.com/en-us/netframework/default.aspx
เว็บไซต์สำหรับดาวน์โหลด .NET Framework
• Microsoft .NET Framework Version 2.0 Redistributable Package (x86)
รายละเอียดการดาวน์โหลด
ชื่อไฟล์: dotnetfx.exe
เวอร์ชัน: 2.0
วันที่ออก: 1/22/2006
ขนาดของไฟล์: 22.4 MB
เวลาในการดาวน์โหลดโดยประมาณ: 55 นาที (Dial-up 56K)
ภาษา: อังกฤษ และอีก 23 ภาษา
ดาวน์โหลดลิงก์: http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en
• Microsoft .NET Framework Version 2.0 Redistributable Package (x64)
รายละเอียดการดาวน์โหลด
ชื่อไฟล์: NetFx64.exe
เวอร์ชัน: 2.0
วันที่ออก: 1/22/2006
ขนาดของไฟล์: 45.2 MB
เวลาในการดาวน์โหลดโดยประมาณ: 1 ชั่วโมง 51 นาที (Dial-up 56K)
ภาษา: อังกฤษ และอีก 23 ภาษา
ดาวน์โหลดลิงก์: http://www.microsoft.com/downloads/details.aspx?familyid=B44A0000-ACF8-4FA1-AFFB-40E78D788B00&displaylang=en
• Microsoft .NET Framework 3.0 Redistributable Package (bootstrapper)
รายละเอียดการดาวน์โหลด
ชื่อไฟล์: dotnetfx3setup.exe
เวอร์ชัน: 3.0
วันที่ออก: 11/21/2006
ขนาดของไฟล์: 2.8 MB
เวลาในการดาวน์โหลดโดยประมาณ: 7 นาที (Dial-up 56K)
ภาษา: อังกฤษ และอีก 23 ภาษา
ดาวน์โหลดลิงก์: http://www.microsoft.com/downloads/details.aspx?familyid=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en
• Microsoft .NET Framework 3.0 Service Pack 1
รายละเอียดการดาวน์โหลด
ชื่อไฟล์: dotnetfx30SP1setup.exe
เวอร์ชัน: 3.0 SP1
วันที่ออก: 11/19/2007
ขนาดของไฟล์: 2.4 MB
เวลาในการดาวน์โหลดโดยประมาณ: 6 นาที (Dial-up 56K)
ภาษา: อังกฤษ และอีก 23 ภาษา
ดาวน์โหลดลิงก์: http://www.microsoft.com/downloads/details.aspx?FamilyID=ec2ca85d-b255-4425-9e65-1e88a0bdb72a&displaylang=en
• Microsoft .NET Framework 3.5
รายละเอียดการดาวน์โหลด
ชื่อไฟล์: dotNetFx35setup.exe
เวอร์ชัน: 3.5
วันที่ออก: 11/20/2007
ขนาดของไฟล์: 2.7 MB
เวลาในการดาวน์โหลดโดยประมาณ: 7 นาที (Dial-up 56K)
ภาษา: อังกฤษ และอีก 23 ภาษา
ดาวน์โหลดลิงก์: http://www.microsoft.com/downloads/details.aspx?familyid=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en
SharePoint Services 3.0 Site group Microsoft .NET Framework 2.0 3.0 dotNetFx
• ทำความรู้จักกับ Windows SharePoint Services 3.0
Windows SharePoint คือ Web Application ที่ทำหน้าที่ในการให้บริการการสื่อสาร การจัดการเนื้อหา การอำนวยความสะดวกให้กับทีม โดยการสร้าง website จาก template สำเร็จรูป เพื่อรวบรวมเอกสารต่างๆ เข้าด้วยกันสำหรับการทำงานร่วมกันเป็นทีม ตัวอย่างเช่น Meeting site สำหรับการประชุมผ่านทาง Website ซึ่งมีลักษณะโครงสร้างเหมือนการประชุมจริง โดยจะมีผู้ดำเนินการประชุมและผู้เข้าร่วมประชุม และมีเครื่องมืออำนวยความสะดวกต่างๆ เช่น
1. เครื่องมือสำหรับแจ้งเวียนเชิญและตอบรับการประชุม
2. รายการและวาระการประชุม
3. รายละเอียดเกี่ยวกับสถานที่ เอกสารแผนที่ และวิธรการเดินทางไปประชุมเป็นต้น
4. พื้นที่สำหรับจัดเก็บบันทึกการประชุม
Windows SharePoint นั้นจะประกอบด้วย 2 ผลิตภัณฑ์ คือ Windows SharePoint Services และ Windows SharePoint Portal Server ข้อแตกต่างในการทำงานระหว่าง Windows SharePoint Portal Server และ Windows SharePoint Services คือ WSPS นั้นจะประกอบด้วย Area, Site collection และ Personal site ในขณะที่ WSSS นั้นจะประกอบขึ้นมาจาก Site collection เพียงอย่างเดียว
Windows SharePoint Services Site
Site Collection คือ web site ที่ประกอบขึ้นมาจาก Top-level site , Subsite, และ content ของแต่ละ subsite รวมถึง Document Workspace และ Meeting Workspace
Top-level site คือ Web site ที่ถูกสร้างขึ้นใน WSS ที่ไม่อยู่ภายใต้ site อื่นๆ โดยที่ Top-level site นั้น สามารถมี Subsite อยู่ภายใต้ได้ และ subsite ที่อยู่ภายใต้ Top-level site นั้น สามารถมี subsite ได้
Subsite คือ Web site ที่ถูกสร้างขึ้นภายใต้ Top-level site บางครั้งเรียกว่า workspace โดยที่ subsite นั้นอาจมี element ต่างๆ เหมือนกันกับ Top-level site ได้ แต่อย่างไรก็ตาม subsite นั้น โดยส่วนมากจะใช้งานในการนำเสนอข้อมูลต่างๆ ของส่วนงานย่อยขององค์กร ตัวอย่าง เช่น ฝ่าย Engineering ประกอบด้วยส่วนงาน Electrical Engineering, Computer Engineering, Mechanical Engineering ดังนั้น Top-level site คือ Engineering และ มี 3 Subsite คือ Electrical Engineering site, Computer Engineering site , Mechanical Engineering site
*Metadata คือ ข้อมูลที่อธิบายถึงรายละเอียดของเอกสารหรือเนื้อหา
Site Group
Site Group คือ กลุ่มของผู้ใช้ โดยจะใช้ site group ในการกำหนดสิทธิในการใช้งาน site collection ของผู้ใช้ โดย site group ของ Windows SharePoint Service นั้นมี 5 กลุ่ม คือ
1. Reader = อ่านได้อย่างเดียว
2. Contributor = สามารถเพิ่มเนื้อหา (Content) เข้าใน List และ Document Library ได้
3. Web Designer = สามารถสร้าง Document Library และปรับแต่งหน้า website ได้
4. Administrator = มีสิทธิการใช้งานสูงสุด สามารถจัดการ WSPS ได้ทุกอย่าง
5. Custom Group = มีสิทธิการใช้งานต่างๆ ตามการกำหนดของ Administrator
การใช้งาน Windows SharePoint Services 3.0
ก่อนทำการติดตั้ง Windows SharePoint Services 3.0 นั้น ต้องทำการติดตั้งและคอนฟิก
1. Internet Information Services (IIS)
2. Microsoft .NET Framework 2.0 and Microsoft .NET Framework 3.0
การคอนฟิกวินโดวส์เซิร์ฟเวอร์ 2003 ให้เป็นเว็บเซิร์ฟเวอร์
ในวินโดวส์เซิร์ฟเวอร์ 2003 นั้น Internet Information Services (IIS) จะไม่ถูกติดตั้งโดยอัตโนมัติพร้อมกับระบบปฏิบัติการ ดังนั้นหากต้องการให้เซิร์ฟเวอร์เป็นเว็บเซิร์ฟเวอร์ ต้องทำการติดตั้งด้วยตนเอง
การติดตั้งเว็บเซิร์ฟเวอร์(IIS 6.0) และคอนฟิกโหมดการทำงาน
ขั้นตอนการติดตั้ง IIS 6.0 และคอนฟิกให้ทำงานในโหมดไอโซเลต (Process Isolation Mode) มีดังนี้
1. คลิก Start คลิก All Programs คลิก Administrative Tools จากนั้นคลิก Manage Your Server
2. บนหน้าต่าง Manage Your Server คลิก Add or remove a role
3. ในไดอะล็อก Preliminary Steps คลิก Next
4. ในไดอะล็อก Server Role คลิก Application server (IIS ASP.NET) จากนั้นคลิก Next.
5. ในไดอะล็อก Web Application Server Options ให้เลือก Enable ASP.Net จากนั้นคลิก Next.
6. ในไดอะล็อก Summary of Selections คลิก Next
7. ในไดอะล็อก This Server is Now an Application Server คลิก Finish.
8. คลิก Start คลิก All Programs คลิก Administrative Tools จากนั้นคลิก Internet Information Services (IIS) Manager
9. ในหน้าต่าง Internet Information Services Manager คลิกที่เครื่องหมายบวก (+) ที่อยู่หน้าชื่อเซิร์ฟเวอร์ จากนั้นคลิกขวาที่โฟลเดอร์ Web Sites แล้วเลือก Properties จากชอร์ตคัทเมนู
10. ในไดอะล็อก Properties คลิกที่แท็ป Service
11. ในส่วน Isolation mode ให้เลือกเช็คบ็อกซ์หน้า Run WWW service in IIS 5.0 isolation mode จากนั้นคลิก OK
หมายเหตุ:
เช็คบ็อกซ์หน้า Run WWW service in IIS 5.0 isolation mode จะถูกเลือก () เฉพาะกรณีทำการอัพเกรดจาก IIS 5.0 บนวินโดวส์เซิร์ฟเวอร์ 2000 ไปเป็น IIS 6.0 บนวินโดวส์เซิร์ฟเวอร์ 2003 เท่านั้น ถ้าเป็นการติดตั้ง IIS 6.0 ใหม่นั้น IIS 6.0 จะทำงานในแบบไอโซเลต (Process Isolation Mode) โดยอัตโนมัติ
ติดตั้งไมโครซอฟต์ .NET Framework 2.0
Windows SharePoint Services ต้องการดอทเน็ตเฟรมเวิร์กเวอร์ชัน 2.0 (.NET Framework 2.0)ในการทำงาน ขั้นตอนการติดตั้งดอทเน็ตเฟรมเวิร์กเวอร์ชัน 2.0 ดังนี้ (หากยังไม่มีตัวติดตั้งด็อทเน็ตเฟรมเวิร์กเวอร์ชัน 2.0 ให้ทำการดาวน์โหลดจากศูนย์ดาวน์โหลดของไมโครซอฟต์ Microsoft Download Center Web site แล้วเลือก Microsoft .NET Framework Version 2.0 Redistributable Package (x86) แล้วคลิก Download)
1.ในโฟลเดอร์ที่เก็บไฟล์ดอทเน็ตเฟรมเวิร์กเวอร์ชัน 2.0 ให้ดับเบิลคลิก dotnetfx.exe จากนั้นคลิก Run เพื่อทำการติดตั้ง
2. ในหน้า Welcome to Microsoft .NET Framework Version 2.0 Setup คลิก Next
3. ในหน้า End-User License Agreement เลือกเช็คบ็อกซ์หน้า I accept the terms of the License Agreement จากนั้นคลิก Install
4. ในหน้า Setup Complete คลิก Finish
การคอนฟิก IIS ให้รองรับ ASP.NET 2.0
ถ้าหากเป็น Internet Information Services (IIS) มีการติดตั้งใช้งานอยู่ก่อนแล้ว ในการรัน Windows SharePoint Services จะต้องทำการเปิดใช้งาน ASP.NET v2.0 ก่อน ดังนี้
1. คลิก Start คลิก All Programs คลิก Administrative Tools จากนั้นคลิก Internet Information Services (IIS) Manager
2. ในหน้าต่าง IIS Manager ให้เลือกเว็บไซท์ที่ต้องการคอนฟิกให้ใช้งานงาน ASP.NET v2.0
ให้คลิกขวาที่เว็บไซท์ที่ต้องการจากนั้นคลิก Properties จากชอร์ตคัทเมนู
3. บนแท็ป ASP.NET ในช่อง ASP.NET version ให้เลือก 2.0.50727
4. คลิก Apply จากนั้นคลิก OK
การรีสตาร์ท IIS
1. คลิก Start จากนั้นคลิก Run
2. ในช่อง Open พิมพ์ cmd.exe จากนั้นคลิก OK
3. ที่คอมมานด์พรอมท์ให้พิมพ์ iisreset.exe จากนั้นกด ENTER
4. พิมพ์ exit จากนั้นกด ENTER เพื่อออกจากคอมมานต์พรอมท์
ติดตั้งไมโครซอฟท์ .NET Framework 3.0
หากยังไม่มีตัวติดตั้งด็อทเน็ตเฟรมเวิร์กเวอร์ชัน 3.0 ให้ทำการดาวน์โหลดจากศูนย์ดาวน์โหลดของไมโครซอฟต์ Microsoft Download Center Web site แล้วเลือก Microsoft .NET Framework Version 3.0 Redistributable Package (x86) แล้วคลิก Download
1. ในโฟลเดอร์ที่เก็บไฟล์ดอทเน็ตเฟรมเวิร์กเวอร์ชัน 3.0 ให้ดับเบิลคลิก dotnetfx3setup.exe จากนั้นคลิก Run เพื่อทำการติดตั้ง
2. ในหน้า Welcome to Microsoft .NET Framework Version 3.0 Setup เลือกปุ่มเรดิโอ I have read and ACCEPT the terms of the License Agreement จากนั้นคลิก Install
3. คลิกบอลลูน Microsoft .NET Framework 3.0 Setup
4. ในหน้า Setup Complete คลิก Exit
ติดตั้ง Windows SharePoint Services 3.0 และ SQL Server 2005 Express
ในการติดตั้ง Windows SharePoint Services 3.0 แบบเซิร์ฟเวอร์เดี่ยว (Single stand-alone server) นั้นสามารถทำการติดตั้งโดยเลือกอ็อปชันการติดตั้งเดฟฟอลต์แบบ Basic ซึ่งการติดตั้งนั้นจะรวมการติดตั้ง SQL Server 2005 Express ด้วย ตามขั้นตอนดังนี้
1. หากยังไม่มีตัวติดตั้ง Windows SharePoint Services 3.0 ให้ทำการดาวน์โหลดจากศูนย์ดาวน์โหลดของไมโครซอฟต์ จากนั้นให้ท่องไปยังโฟลเดอร์ที่เก็บไฟล์ที่ดาวน์โหลดมาแล้วให้รันไฟล์ SharePoint.exe
2. คลิก I accept the terms of this agreement จากนั้นคลิก Continue
3. คลิก Basic เพื่อทำการติดตั้งแบบแบบเซิร์ฟเวอร์เดี่ยว (Single stand-alone server)
4. เมื่อการติดตั้งแล้วเสร็จให้คลิก Close
5. ในหน้า SharePoint Products and Technologies Configuration Wizard คลิก Next
6. ในไดอะล็อก SharePoint Products and Technologies Configuration Wizard คลิก Yes
7. รอจนการทำงานของวิซาร์ดแล้วเสร็จ ซึ่งจะได้หน้า Configuration Successful ให้คลิก Finish.
จากนั้นให้ทดลองเปิดหน้าโฮมเพจของ SharePointโดยใช้ Internet Explorer เปิดหน้า http://servername ซึ่งอาจจะต้องใส่ชื่อผู้ใช้ (Username) และรหัสผ่าน (Password) สำหรับเครื่องคอมพิวเตอร์ที่ใช้งานอินเตอร์เน็ตผ่านพร็อกซี่เซิร์ฟเวอร์นั้น จะต้องทำการบายพาสเว็บไซต์ SharePoint ก่อนจึงจะสามารถเปิดโฮมเพจของ SharePoint ได้
การเพิ่มไซต์ SharePoint เข้ายังรายการ Intranet Sites
1. ใน Internet Explorer ให้คลิกเมนู Tools แล้วคลิก Internet Options
2. บนแท็ป Security ในช่อง Select a Web zone to view or change security settings คลิก Local intranet จากนั้นคลิก Sites
3. ในไดอะล็อกบ็อกซ์ Local intranet คลิก Advanced
4. ให้ลบเช็คบ็อกซ์ Require server verification (https:) for all sites in this zone ให้เป็น
5. ในช่อง Add this Website to the zone ให้พิมพ์ URL ของเว็บไซต์ (เช่น http://servername) จากนั้นคลิก Add
6. คลิก OK เพื่อปิดไดอะล็อกบ็อกซ์ Local intranet
7. คลิก OK อีกครั้งเพื่อปิดไดอะล็อกบ็อกซ์ Local intranet
8. คลิก OK เพื่อปิดไดอะล็อกบ็อกซ์ Internet Options
9. ให้คลิก Refresh บนทูลบาร์เมนูของ Internet Explorer เพื่อทำการรีเฟรช Internet Explorer
การบายพาส Proxy Serverสำหรับ Local Addresses
สำหรับเครื่องคอมพิวเตอร์ที่ใช้งานอินเตอร์เน็ตผ่านพร็อกซี่เซิร์ฟเวอร์ให้ทำการบายพาสเว็บไซต์ SharePoint ดังนี้
1. ใน Internet Explorer ให้คลิกเมนู Tools แล้วคลิก Internet Options
2. บนแท็ป Connections ในส่วน Local Area Network (LAN) Settings a คลิก LAN Settings
3. ในส่วน Proxy Server คลิกเช็คบ็อกซ์หน้า Bypass proxy server for local addresses ให้เป็น
4. คลิก OK เพื่อปิดไดอะล็อกบ็อกซ์ Local Area Network (LAN) Settings
5. คลิก OK อีกครั้งเพื่อปิดไดอะล็อกบ็อกซ์ Internet Options
6. ให้คลิก Refresh บนทูลบาร์เมนูของ Internet Explorer เพื่อทำการรีเฟรช Internet Explorer
ทดลองใช้งาน Windows SharePoint Servic3.0
เมื่อทำการติดตั้ง Windows SharePoint Services 3.0 แล้วเสร็จ จากนั้นก็สามารถทดลองใช้งานโดยทำการเปิดดูหน้าโฮมเพจ เช่น http://servername ด้วย Internet Explorer และยังสามารถทำการเพิ่มเนื้อหาให้กับ SharePoint ไซท์ หรือทำการบริหาร SharePoint ไซท์ได้โดยใช้ Central Administration ตัวอย่างเช่น
1. เพิ่มผู้ใช้เข้ายังไซต์
2. ปรับแต่งโอมเพจและหน้าเว็บเพจต่างภายในไซท์
3. ทำการสร้างลิสต์รายการหรือห้องเก็บเอกสารและเพิ่มเนื้อหา
คุณสามารถใช้ Central Administration เพื่อทำการคอนฟิกเซิร์ฟเวอร์เพิ่มเติม ตัวอย่างเช่น
1. Configure incoming e-mail settings ซึ่งจะช่วยให้ผู้ใช้สามารถส่งเนื้อหาไปยัง SharePoint ผ่านทางอีเมล์ หรือทำการส่งอีเมล์ไปยังสมาชิกทั้งหมดของไซท์ SharePoint
2. Configure e-mail alert settings เมื่อทำการคอนฟิก e-mail alert จะทำให้ผู้ใช้สามารถลงชื่อเพื่อรับอีเมล์แจ้งเตือนเมื่อมีการเปลี่ยนแปลงเนื้อหาภายในไซท์
3. Configure antivirus protection settings ถ้าเซิร์ฟเวอร์ได้ติดตั้งโปรแกรมป้องกันไวรัสซึ่งสามารถใช้งานร่วมกันกับ Windows SharePoint Services ได้ ก็สามารถทำการคอนฟิกให้ทำการสแกนเอกสารต่างๆ เมื่อทำการอัพโหลดขึ้นไปยังหรือดาวน์โหลดจาก SharePoint ได้
.NET Framework Developer Center
โฮมเพจ .NET Framework เว็บไซต์ http://msdn.microsoft.com/en-us/netframework/default.aspx
เว็บไซต์สำหรับดาวน์โหลด .NET Framework
• Microsoft .NET Framework Version 2.0 Redistributable Package (x86)
รายละเอียดการดาวน์โหลด
ชื่อไฟล์: dotnetfx.exe
เวอร์ชัน: 2.0
วันที่ออก: 1/22/2006
ขนาดของไฟล์: 22.4 MB
เวลาในการดาวน์โหลดโดยประมาณ: 55 นาที (Dial-up 56K)
ภาษา: อังกฤษ และอีก 23 ภาษา
ดาวน์โหลดลิงก์: http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en
• Microsoft .NET Framework Version 2.0 Redistributable Package (x64)
รายละเอียดการดาวน์โหลด
ชื่อไฟล์: NetFx64.exe
เวอร์ชัน: 2.0
วันที่ออก: 1/22/2006
ขนาดของไฟล์: 45.2 MB
เวลาในการดาวน์โหลดโดยประมาณ: 1 ชั่วโมง 51 นาที (Dial-up 56K)
ภาษา: อังกฤษ และอีก 23 ภาษา
ดาวน์โหลดลิงก์: http://www.microsoft.com/downloads/details.aspx?familyid=B44A0000-ACF8-4FA1-AFFB-40E78D788B00&displaylang=en
• Microsoft .NET Framework 3.0 Redistributable Package (bootstrapper)
รายละเอียดการดาวน์โหลด
ชื่อไฟล์: dotnetfx3setup.exe
เวอร์ชัน: 3.0
วันที่ออก: 11/21/2006
ขนาดของไฟล์: 2.8 MB
เวลาในการดาวน์โหลดโดยประมาณ: 7 นาที (Dial-up 56K)
ภาษา: อังกฤษ และอีก 23 ภาษา
ดาวน์โหลดลิงก์: http://www.microsoft.com/downloads/details.aspx?familyid=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en
• Microsoft .NET Framework 3.0 Service Pack 1
รายละเอียดการดาวน์โหลด
ชื่อไฟล์: dotnetfx30SP1setup.exe
เวอร์ชัน: 3.0 SP1
วันที่ออก: 11/19/2007
ขนาดของไฟล์: 2.4 MB
เวลาในการดาวน์โหลดโดยประมาณ: 6 นาที (Dial-up 56K)
ภาษา: อังกฤษ และอีก 23 ภาษา
ดาวน์โหลดลิงก์: http://www.microsoft.com/downloads/details.aspx?FamilyID=ec2ca85d-b255-4425-9e65-1e88a0bdb72a&displaylang=en
• Microsoft .NET Framework 3.5
รายละเอียดการดาวน์โหลด
ชื่อไฟล์: dotNetFx35setup.exe
เวอร์ชัน: 3.5
วันที่ออก: 11/20/2007
ขนาดของไฟล์: 2.7 MB
เวลาในการดาวน์โหลดโดยประมาณ: 7 นาที (Dial-up 56K)
ภาษา: อังกฤษ และอีก 23 ภาษา
ดาวน์โหลดลิงก์: http://www.microsoft.com/downloads/details.aspx?familyid=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en
SharePoint Services 3.0 Site group Microsoft .NET Framework 2.0 3.0 dotNetFx
วันอังคารที่ 3 สิงหาคม พ.ศ. 2553
วิธีแก้ปัญหา Active Desktop Recovery Script Error
วิธีแก้ปัญหา Active Desktop Recovery Script Error อีกวิธี ซึ่งเป็นการเข้าไปแก้ไขค่ารีจีสทรีที่มีปัญหา สามารถทำได้ตามขั้นตอนต่อไปนี้
ให้ไปที่เมนู Start > Run > แล้วพิมพ์ว่า regedit จากนั้น OK หรือ Enter ก็ได้
แล้วให้ไปที่คีย์ HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\SafeMode\Components
จากนั้นให้แก้ไขค่า DeskHtmlVersion ซึ่งจะอยู่ทางขวามือ โดยให้ดับเบิ้ลคลิกแล้วใส่ค่า 0(ศูนย์) ลงไป ซึ่งเดิมจะเป็น 272 หรือ 110 แล้วกดปุ่ม OK และปิด Windows Registry ออกไป
จากนั้นให้ไปคลิกที่ปุ่ม Active Desktop Recovery ที่อยู่ในหน้าจอ desktop สีขาว หรือคลิกขวาที่หน้าจอ แล้วเลือก Refresh(กดปุ่ม F5 ก็ได้เช่นกันครับ) เท่านี้ ปัญหา Active Desktop Recovery Script Error จะหาย error แล้วครับ
ลองนำทิปนี้ไปแก้ไขปัญหา Active Desktop
ให้ไปที่เมนู Start > Run > แล้วพิมพ์ว่า regedit จากนั้น OK หรือ Enter ก็ได้
แล้วให้ไปที่คีย์ HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\SafeMode\Components
จากนั้นให้แก้ไขค่า DeskHtmlVersion ซึ่งจะอยู่ทางขวามือ โดยให้ดับเบิ้ลคลิกแล้วใส่ค่า 0(ศูนย์) ลงไป ซึ่งเดิมจะเป็น 272 หรือ 110 แล้วกดปุ่ม OK และปิด Windows Registry ออกไป
จากนั้นให้ไปคลิกที่ปุ่ม Active Desktop Recovery ที่อยู่ในหน้าจอ desktop สีขาว หรือคลิกขวาที่หน้าจอ แล้วเลือก Refresh(กดปุ่ม F5 ก็ได้เช่นกันครับ) เท่านี้ ปัญหา Active Desktop Recovery Script Error จะหาย error แล้วครับ
ลองนำทิปนี้ไปแก้ไขปัญหา Active Desktop
สมัครสมาชิก:
บทความ (Atom)