ในที่นี้จะสอนวิธีการแชร์ images folder ในเครื่องServer (เครื่องที่ลงโปรแกรม Microsoft SQL Express เอาไว้ ซึ่งจะมีเครื่องเดียว) ซึ่งแฟ้มข้อมูลรูปภาพของโปรแกรม DrugStoreRx จะเก็บไว้ใน C:\Program Files\DrugStoreRx\images

ในการใช้งานแบบ client/server นั้นจะต้องทำการ แชร์แฟ้มข้อมูลรูปภาพ เพื่อให้เครื่องลูกตัวอื่นๆ สามารถที่จะแสดงรูปภาพได้ (แม้ไม่แชร์ก็ยังสมารถใช้งานได้ เพียงแต่เครื่องลูกจะไม่สามารถแสดงภาพต่างๆได้เช่นภาพสินค้า ฯลฯ)

ขั้นตอนกา แฟ้มข้อมูลรูปภาพ ใน Windows 7 จะมีขั้นตอนดังนี้ ส่วน Windows version อื่นๆรบกวนท่านลองค้นหาจาก google ดูก็แล้วกัน




  1. เปิดโปรแกรม File Explorer แล้วคลิ๊กที่ C:\Program Files\DrugStoreRx\images
  2. right click จะมี properites popup windows ขึ้นมา
  3. click ที่แท๊บ Sharing
  4. เลือก Advanced Sharing
  5. ติ๊กเลือก share this folder (ชื่อ share folder ให้ใช้ว่า images ไม่ต้องไปเปลี่ยนอะไร)
  6. คลิ๊ก permission 
  7. คิ๊กเลือก Full control/Read/Write ในช่อง permission for everyone 
  8. บันทึกค่า (Save)

หลังจากนั้นไปที่ Folder C:\Program Files\DrugStoreRx\images\product

  1. right click จะมี properites popup windows ขึ้นมา
  2. click ที่แท๊บ Sharing
  3. คลิ๊กเลือก share  (ชื่อ share folder ให้ใช้ว่า product ไม่ต้องไปเปลี่ยนอะไร)
  4. จะมีหน้าต่าง file sharing ขึ้นมา
  5. เลือก everyone จาก Drowdown
  6. คลิ๊ก Add
  7. คลิ๊ก share



หลังจากนั้นไปที่ Folder C:\Program Files\DrugStoreRx\images\customer แล้วก็ทำแบบการแชร์ folder product

  1. right click จะมี properites popup windows ขึ้นมา
  2. click ที่แท๊บ Sharing
  3. คลิ๊กเลือก share (ชื่อ share folder ให้ใช้ว่าcustomer ไม่ต้องไปเปลี่ยนอะไร)
  4. จะมีหน้าต่าง file sharing ขึ้นมา
  5. เลือก everyone จาก Drowdown
  6. คลิ๊ก Add
  7. คลิ๊ก share


You can leave a response, or trackback from your own site.

0 Response to "การแชร์ images folder บนเครื่อง Server"

Post a Comment

Note: Only a member of this blog may post a comment.