vb listbox如何导出到txt - VB / 控件
我有个LISTBOX如何把里面的全部数据导出到我选择的txt文件里面.我导入是这样做的,那导出应该怎样呢.
Dim d As String
CommonDialog2.Filter = "所有文件(*.*)|*.*"
CommonDialog2.ShowOpen
d = CommonDialog2.FileName
Open d For Input As #1
Do While Not EOF(1)
Line Input #1, temp
List1.AddItem temp
Loop
Close #1
以上是导入的如何才能改成全部导出,列表里面的所有.
追加,还是重写。
追加用 append
重写用 output
重写到一个新建的TXT里面.能具体点么?
谢谢.
相关问答:
dim a as string,b as string,c as string
a="工程编号,单位工程名称,分部工程编号"
b="单位工程名称"
c="单位"
怎么才能判断出a字符串中存在b字符串,而不存在c字符串
看看i ......
挺繁琐,之前发的帖子,分值太低现在重发一个。欢迎各位大侠~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......
有两个问题
第一个问题:
网页源码
<td><select name="question" onchange="showcustomquest(this.value)" tabindex="4"><option value="0">无安全问 ......
系统在多台电脑上运行,就在其中一台电脑上产生”内存溢出“。
每台电脑操作系统 配置都一样的。。请问是什么原因?
(1)用了设计不完善的控件,控件本身有问题,或者不恰当地使用了api函数。
(2)无限的 ......