สำหรับผู้ที่ต้องการเรียนรู้เกี่ยวกับการเขียนโปรแกรม ในภาษา Visual Basic 6.0 นะครับ




เนื้อหาภายใน:


DISC : 1
1. ทำความรู้จักกับ Visual Basic
- Project ชนิดต่าง ๆ ของ Visual Basic
- Windows ที่ใช้ใน Visual Basic
- Components Windows (ToolBox)
- Project Explorer Windows
- Properties Windows
- Form Layout Windows
- การ SAVE และ OPEN Project
- การรันแอพพลิเคชัน (RUN)
- จัดหน้าจอให้สะดวกด้วย SDI Development Environment
- การแก้ปัญหาเรื่อง Font ขนาดเล็ก

2. Form Properties ที่สำคัญ
- Name, Caption, ControlBox, Icon
- BackColor, BorderStyle
- MaxButton, MinButton, Moveable
- Left, Top, Width, Height, ScaleMode
- Picture
- ShowInTaskbar, StartUpPosition
- WindowState

3. Label Control
- BackColor, BackStyle, BorderStyle, Appearance
- Caption, AutoSize, Alignment
- ToolTipText
- การเขียนโปรแกรมแสดงวันที่ปัจจุบัน
- MouseIcon & MousePointer
- เครื่องหมาย Ampersand & UseMnemonic
- Event MouseMove
- Event MouseUp & MouseDown

4. TextBox Control
- เริ่มใช้งาน TextBox Control
- PasswordChar Properties
- MaxLength Properties
- Alignmant ของ Version 5 & 6
- TabIndex & TabStop Properties
- Event GotFocus & LostFocus
- Event KeyPress และค่าของ KeyAscii
- กำหนดให้ TextBox รับค่าเฉพาะตัวเลข
- MultiLine & ScrollBars Properties
- Enabled & Locked Properties

5. CommandButton Control
- เริ่มใช้งาน CommandButton Control
- Event Click & การปิดฟอร์มโดยให้ Unload Me
- BackColor, Picture & Style Properties
- DownPicture & DisabledPicture Properties
- Default & Cancel Properties
- MouseIcon & MousePointer Properties

6. สร้างงานด้วย Label, TextBox, CommandButton
- โปรแกรมการรับค่า User Name และ Password
- โปรแกรม SAY Hello
- โปรแกรมคำนวณค่าจ้าง

7. การทำงานต่าง ๆ บน Form Object
- Add Form & Startup Object
- Remove Form & Add File
- การเปิด Form และการเปิด Form แบบ Modal
- ZOrder & การเปิด Form เดียวกันมากกว่า 1 ครั้ง
- การใช้ Function Key กับ Event KeyDown
- การใช้ Function Key กับ KeyPreview ของ Form Object
- การใช้ปุ่ม ENTER แทนปุ่ม TAB & SendKeys
- Close Form ด้วย SendKeys
- Event Resize ของ Form Object
- Event GotFocus & Event Activate

8. Control Array
- ลักษณะและวิธีการสร้าง Control Arrays
- รู้จักกับ Index และการเขียนโปรแกรมที่เดียวกัน
- การสร้าง Control Arrays ขณะรันโปรแกรม
- การสร้าง Control Arrays จากต้นแบบ
- StatusBar กับการใช้ Control Arrays และ Tag

9. Timer Control & Image Control
- Properties ที่สำคัญของ Timer Control
- หยุดการทำงานของ Timer ด้วย Enabled Properties
- ตัวแปรประเภท Static และประเภท Dim
- Properties ที่สำคัญของ Image Control
- การสร้าง Animated Picture และ LoadPicture()
- การสร้าง Animated Icons

10. OptionButton & CheckBox & Frame Control
- Caption, Alignment, Value Properties ของ OptionButton
- Appearance, Picture, Style Properties
- Event Click ของ OptionButton
- เลือก OptionButton มากกว่า 1 ตัว
- Caption, Alignment, Value Properties ของ CheckBox
- Picture, Style Properties
- Event Click ของ CheckBox
- แยก OptionButton 2 ชุด ด้วย Frame Control
- จัด Form ให้เป็นสัดส่วนด้วย Frame Control

11. ListBox Control ตอนที่ 1
- List Properties
- AddItem Method & HighLight TextBox
- ListIndex & ListCount Properties
- Text Properties
- ItemData Properties
- NewItem Properties
- RemoveItem Method
- Clear Method

12. ListBox Control ตอนที่ 2, ComboBox Control
- Sorted Properties
- MultiSelect & Style
- Properties Selected Properties
- ย้ายข้อมูลที่เลือกจาก List1 ไป List2
- ย้ายข้อมูลจาก List1 ไป List2 ทั้งหมด
- การนำ Fonts จากระบบเข้าสู่ ListBox Control
- การแสดงตัวอย่าง Fonts ใน Label Control
- ComboBox Control

13. Menu Editor
- การสร้าง Menu ให้กับ Form ด้วย Menu Editor
- องค์ประกอบของ Menu Editor
- Menu Editor Properties
- ShortCut Menu & การสร้างเส้นคั่นเมนู
- การสร้าง Pop-up Menu แบบที่ 1
- การสร้าง Pop-up Menu แบบที่ 2
- การใช้งาน Menu กับคำสั่ง End และ Unload me

14. ClipBoard Object
- เตรียมความพร้อมก่อนใช้งาน ClipBoard Object
- การ Cut โดยใช้ ClipBoard.SetText
- การ Copy เก็บไว้ใน ClipBoard
- การ Paste โดยใช้ ClipBoard.GetText

DISC : 2
1. DriveListBox, DirListBox, FileListBox Control
- การเขียนโปรแกรมทั้ง 3 Controls ร่วมกัน
- Filename Properties
- แก้ปัญหาการอ้างชื่อไฟล์ที่ Root Directory
- Pattern Properties
- การควบคุมให้ Preview รูปด้วย CheckBox
- ReadOnly, Archive, Hidden, System Properties
- MultiSelect ของ FileListBox

2. CommonDialog Control - Colors & Fonts
- ความเกี่ยวข้องกับ Comdlg32.dll
- Colors Dialog และ Modal Form
- CancelError Properties
- กำหนดค่าสี และ On Error Resume Next
- Flags ของสี
- Fonts Dialog และ Flags ที่ใช้
- Default Font และการใช้ With/End With
- cdlCFEffects Flags
- การกำหนดค่า Font ที่เลือกจาก Dialog

3. CommonDialog Control - Open
- ShowOpen Method
- การใช้งาน Filter Properties
- การใช้งาน FilterIndex Properties
- DialogTitle Properties
- ผลจากการเลือกไฟล์ใน Dialog
- MultiSelect ด้วย cdlOFNAllowMultiSelect Flags
- การตรวจสอบไฟล์ด้วย cdlOFNFileMustExist Flags
- Initial Directory
- การเปิด Text File

4. คำสั่งเกี่ยวกับ File และ Directory
- คำสั่ง Dir()
- Parameters ของ Dir เพื่อดู File Attribute ต่าง ๆ
- การ Copy File โดยใช้ File Copy
- การลบไฟล์โดยใช้คำสั่ง Kill
- FileDataTime & FormatDateTime
- การเปลี่ยนชื่อไฟล์ และการควบคุม Error
- หาขนาดไฟล์ด้วยคำสั่ง FileLen & LOF
- คำสั่งเกี่ยวกับ Directory
- การเช็ค Attributes ของไฟล์
- การเปลี่ยน Attributes ของไฟล์

5. File System Object ตอนที่ 1
- การสร้าง Directory โดยใช้ CreateFolder Method
- การ Copy Files แบบหลาย ๆ ไฟล์
- การสร้าง Text File จาก File System
- การ Move File โดยการเปลี่ยน Directory
- การตรวจสอบ Drive
- การตรวจสอบ Folder
- การตรวจสอบ Files
- การหา Directory Windows, System, Temp
- การสร้าง Temp File แบบสุ่ม

6. File System Object ตอนที่ 2
- การตรวจสอบรายชื่อ Drive
- Avaliable Space หรือ Free Space ของ Drive
- Volume Name ของ Drive
- Total Size, Serial Number, IsReady ของ Drive
- DriveType & Share Name
- การอ้าง Drive ใด Drive หนึ่ง และ File System
- การลบ Folder
- Parent Directory ของ Path ที่อ้างถึง
- การดูรายละเอียดต่าง ๆ ของไฟล์
- สรุปเกี่ยวกับ Scripting.FileSystemObject

7. MsgBox & InputBox
- MsgBox ในลักษณะ Command และการใช้รูป
- Defult ของปุ่มใน MsgBox
- MsgBox ในรูปแบบ Function
- ค่าต่าง ๆ ที่เป็น Options ของ MsgBox
- InputBox และ ค่าที่ Return

8. Format ในลักษณะต่าง ๆ
- การใช้ Format กับตัวเลข
- ข้อควรระวังในการนำไปคำนวณ
- การควบคุมเครื่องหมายติดลบ
- Format Number กับ Regional Settings
- การใช้ Format กับวันที่และเวลา
- Format Date Time
- Format ของวันที่อื่น ๆ ที่น่าสนใจ
- Day, Month, Year และ MonthName Function

9. Functions
- การสร้าง Function ไว้ใช้งานเอง
- การประกาศ Function ใน Form และ Module
- Function สำหรับคำนวณอายุ
- การใช้งาน Function Age

10. MaskedBox Control
- Mask, PromptChar, Literals
- Mask Properties
- Format Properties : จำนวนเงิน
- Format Properties : วันที่
- ClipMode Properties
- Text, ClipText & FormattedText Properties

11. ตัวแปร (Variables)
- การประกาศตัวแปร และชนิดของตัวแปร
- ระดับของตัวแปร และ Properties ของ Form
- การใช้ Option Explicit บังคับให้ประกาศตัวแปร
- Menu Tools > Option... เพื่อสั่ง Option Explicit
- การประกาศตัวแปร เพิ่มเติม
- การใช้ Type (User-Define Type)
- ข้อจำกัดของ Type
- การประกาศตัวแปรแบบ Constant

12. Arrays and Collections
- การประกาศตัวแปร Array
- Option Base
- การใช้ For Each / Next กับ Array
- Dynamic Array, ReDim, Preserve
- การใช้ Function Split
- การใช้ Function Join
- สร้าง Collection และ Add Method
- อ้างค่าจาก Collection ด้วยหมายเลขและชื่อ
- การ Remove ค่าจาก Collection
- การใช้ For Each / Next กับ Collection
- ข้อแตกต่างระหว่าง Array กับ Collection

13. การสร้าง Properties, Methods
- การสร้าง Properties Get / Let
- การเขียนโปรแกรมใน Get / Let และตัวแปรเก็บค่า
- การใช้ Properties ที่สร้างขึ้น
- การใช้ TypeOf เพื่อเลือกเฉพาะ Control บางประเภท
- การสร้าง Method ของ Form

14. MSFlexGrid Control ตอนที่ 1
- Cols & Rows Properties
- การใส่ค่าเข้าไปใน MSFlexGrid
- FixedCols, FixedRows & FixedAlignment
- กำหนดความกว้างและความสูงของ Cell
- การ MergeCells, MergeRow & MergeCol
- การใส่ข้อมูลตัวเลขในแถว
- การใส่ปี และเดือนในแต่ละแถว
- ColAlignment
- TextArray & TextMatrix
- MouseCol & MouseRow
- การกำหนดรูปแบบในแต่ละ Cell

15. MSFlexGrid Control ตอนที่ 2
- Properties อื่น ๆ ที่น่าสนใจ
- การนำภาพมาใส่ใน MSFlexGrid
- LeftCol & TopRow
- การป้อนข้อความใน Cell
- การควบคุมให้ป้อนได้เฉพาะบาง Column
- การควบคุม TopRow ขณะป้อนข้อมูล
- การเรียงข้อมูล (Sort) ในแต่ละ Column
- FormatString Properties ในแนวนอน
- FormatString Properties ในแนวตั้ง
- การใช้ AddItem Method
- การแก้ไขข้อมูลใน MSFlexGrid

DISC : 3
1. ImageList Control
- การนำภาพเข้ามาใส่ใน ImageList
- การอ้างอิงภาพที่ต้องการด้วย Index
- การอ้างอิงภาพที่ต้องการด้วย Key
- การอ้างอิงภาพที่ต้องการด้วย Item
- นำภาพมาเป็น Icon ด้วย ExtractIcon Method
- ซ้อนภาพ 2 ภาพจาก Overlay Method
- เพิ่มภาพใน ImageList ขณะ RunTime
- ทำ Animation Icon จาก ImageList

2. PictureClip Control
- การแบ่งภาพและนำภาพบางส่วนมาใช้ (GraphicCell)
- การตัดเฉพาะส่วนที่ต้องการ (Clip)
- การทำ Command Button ให้เหมือน Transparent

3. SSTab Control
- Tabs & TabsPerRow Properties
- TabOrientation และการกำหนด Font, Style
- Caption & TabCaption Properties
- TabPicture & TabHeight
- การกำหนดให้บาง Tab เป็น Disabled
- การกำหนดให้บาง Control ใช้ร่วมกัน
- การทำงานร่วมกันของ Tab

4. MDI Form & CoolBar Control
- การสร้าง และลักษณะของ MDI Form
- MDIChild Properties ของ Forms
- การ Arrange Forms ย่อย
- Form List บน Menu
- การควบคุม Band & Child ของ CoolBar Control
- กำหนดภาพ BackGround ของ CoolBar
- ใส่ภาพและข้อความด้วย ImageList & Caption

5. ToolBar Control ตอนที่ 1
- การสร้าง ToolBar ให้เป็น Child ของ CoolBar
- การสร้าง Buttons ของ ToolBar
- Buttons แบบ Separator และ ToolTipText
- การสร้าง ButtonGroups
- ActiveForm, ActiveControl & Value ของ Button
- การทำให้ Buttons Enabled ใน Event ที่ต้องการ
- Customize ToolBar & Description

6. ToolBar Control ตอนที่ 2
- SaveToolBar & RestoreToolBar
- ตรวจสอบค่า ToolBar ที่เก็บใน Registry
- Visible Band ต่าง ๆ ของ CoolBar
- Button แบบ DropDown และ ButtonMenus
- Dynamic ButtonMenus & VB.Forms
- การ Remove ButtonMenus
- การใช้งาน HotImageList

7. ImageCombo Control
- การนำ ImageCombo มาใส่ใน ToolBar
- การ Add Item เข้าสู่ ImageCombo
- เขียนโปรแกรมที่ Event Click ของ ImageCombo

8. StatusBar Control
- ลักษณะของ StatusBar และ Style แบบ SimpleText
- การแสดงข้อความบน StatusBar
- เปลี่ยนจาก SimpleText เป็น Panels
- Style ต่าง ๆ ของ Panels
- การแสดงวันที่และเวลาบน Panels
- Dynamic Panels
- Remove Panels

9. TreeView Control ตอนที่ 1
- TreeView กับ ImageList
- การ Add Nodes เข้า TreeView
- ข้อควรระวังในการตั้งชื่อ Node
- NodeClick & DblClick Event
- การ Add Node ระดับที่ 1
- การ Add Node ระดับที่ 2
- การ Add Node จาก DataBase
- Style, Indentation, LineStyle Properties
- HideSelection & HotTracking Properties
- การ Sorted Node

10. TreeView Control ตอนที่ 2
- Checkboxes & Checked Properties
- Child, FirstSibling, LastSibling
- HitTest ใน MouseMove Event
- Parent, FullPath & PathSeparator
- Split, การอ้าง Parent ไปเป็นขั้นขึ้นไปเรื่อย ๆ
- Previous, Next, FirstSibling, LastSibling & Root
- LabelEdit & StartLabelEdit
- GetVisibleCount & EnsureVisible

11. ListView Control ตอนที่ 1
- การอ้างถึง ImageLists ที่ต้องใช้
- View & ColumnHeaders & การอ้างถึงภาพ
- การเพิ่ม ColumnHeader จากคำสั่ง
- Picture, PictureAlignment & TextBackground
- การใส่ข้อมูลเข้าไปใน ListView (ListItem)
- SubItems เพื่อใส่ข้อมูลของ Columns อื่น
- SortKey, SortOrder & Sorted
- CheckBoxes, GridLines & HotTracking

12. ListView Control ตอนที่ 2
- HitTest กับ Event MouseMove
- Views ในรูปแบบต่าง ๆ
- MultiSelect & Ghosted
- Checked & ปรับ Properties แต่ละ ListItems
- Remove ListItems

13. Animation Control
- การ Open, Play & Stop
- ใช้ Animation Control ร่วมกับงาน
- การควบคุมเรื่อง Visible และ DoEvents

14. MMControl Control
- การกำหนด DeviceType, Open & Play
- รูปแบบของ Command
- การเล่นเพลงจากไฟล์ที่เป็น .wav
- การกำหนด Properties ใน MMControl
- การเล่นเพลงจากไฟล์ที่เป็น .mid
- StatusUpdate Event & UpdateInterval
- TimeFormat และการเขียน Function Time
- เปิดเพลง MP3 ด้วย MediaPlayer Control DISC : 4
• รู้จักกับ Database NWind.mdb
• Data Control
• Methods ของ Data Control
• การค้นหา Record (Table)
• การเรียงข้อมูลของ Table (Sort)
• Events ของ Data Control
• Field Collections
• เชื่อมกับ Foxpro
• DBList, คำสั่งเปิด Table
• Dynaset & Snapshot

DISC : 5
• DAO (Data Access Object) Versions
• การสร้าง Workspace
• สร้าง Database ใหม่ โดยใช้คำสั่ง
• การสร้าง Tabledef และ Fields
• การทำงานกับ Fields
• การสร้าง Relation
• Queries ใน Access
• การใช้งาน DBGrid
• การสร้าง Primary Key และ Index ทั่วไป

DISC : 6
• Parameterized Queries
• Queries แบบต่างๆ
• ActiveX Data Object
• Properties & Method ของ ADO
• ADO Links
• Data Environment
• Parameterized Commands
• ImageList Control
• PictureClip Control

DISC :7
• RichTextBox Control
• Data Reports
• Crystal Report Designers
• Crystal Report Control
• MMControl
• การทำแผ่น Setup
• Next Series


**Hidden Content: To see this hidden content your post count must be 7 or greater.**