1. ????????????? Open - PowerPoint PPT Presentation

About This Presentation
Title:

1. ????????????? Open

Description:

VB6.0; MS Common Dialog Control6.0; ... – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 7
Provided by: paisi3
Category:
Tags: open | vb60

less

Transcript and Presenter's Notes

Title: 1. ????????????? Open


1
????????? ?? ??? ??????? ????
2
1. ????????????? Open
  • Open pathname For mode As filenumber
  • pathname- ???? ? ????? ?? ?????
  • mode- ? ????? ????? ?? ?? ???????? ????? (Input-
    ????????, Output- ?????????)
  • filenumber- ????? ?? ????? (1 ?? 255)

3
2. ?????? ?? ???????? ?? ??????? ????
  • ??????????? VB6.0
  • ???????? ?????????? MS Common Dialog Control6.0
  • ????????? ???????? ???? (TextBox), ???????? ?????
    (CommandButton) ? ?????? ?????????? ????????
    ???????? (CommonDialog) ????? ???????

4
3. ????????? ?? ????????
  • ?? ?????????? ????
  • Enabled false
  • Multiline- true
  • Text (??????)
  • ?? ?????????? ?????
  • Caption- Save Text File

5
4. ????????? ?? ????
  • ???????? ???????? ???
  • Private Sub Command1_Click()
  • CommonDialog1.ShowSave
  • Open CommonDialog1.FileName For Output As 1
  • Print 1, Text1.Text
  • Close 1
  • End Sub

6
5. ??????????? ??????????
  • ???????????? ????
  • ?????????? ????????
Write a Comment
User Comments (0)
About PowerShow.com