文件名称:VBopenfile
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2014-05-05
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- cpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
VB6.0实现同时打开多个文件在多个窗口中显示文件内容,FileNames树组存储划分后的文件目录和文件名称,设置CommonDialog1控件属性,显示打开对话框,在VB源代码内CommonDialog1的FileName属性值后面添加空格,设置i为FileName属性值中空格的位置,将FileName属性以空格作为划分标志,分成若干部分存储到FileNames数组,如果只选择了一个文件则直接在Form1中显示该文件;如果选择了多个文件例如3个,则创建3个Form2窗体的实例在其中显示打开的文件的内容-VB6.0 to achieve simultaneously open multiple files in multiple windows to display the contents of a file, directory and file name of the file tree group FileNames store division after setting CommonDialog1 control properties, display the Open dialog box, in the VB source code of FileName property CommonDialog1 add a space after the value set for the FileName attribute values i space location space as the FileName property to divide signs into parts store to FileNames array, if only selects a file to display the file directly to Form1 If you choose contents of a number of documents such as 3, then create three instances of Form2 form in which to display open files
(系统自动生成,下载前可以参看下载内容)
下载文件列表
VB同时打开多个文件并在多个窗口显示\Form1.frm
..................................\Form1.frx
..................................\Form2.frm
..................................\Form2.frx
..................................\工程1.vbp
..................................\工程1.vbw
VB同时打开多个文件并在多个窗口显示