| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 942 人关注过本帖
标题:[求助] 怎么把text文件转换成dat文件啊.
只看楼主 加入收藏
茫然的小树
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2007-5-25
收藏
 问题点数:0 回复次数:4 
[求助] 怎么把text文件转换成dat文件啊.

请教大人们:
怎么把text文件转换成dat文件啊.


"5","*******","*******","*******","*******","13","*******","*******","*******","*******","31","*******","*******","*******","*******","热量","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","X1%","X2%","X3%","X4%","Y","7","26","6","60","78.5","1","29","15","52","74.3","11","56","8","20","104.3","11","31","8","47","87.6","7","52","6","33","95.9","11","55","9","22","109.2","3","71","17","6","102.7","1","31","22","44","72.5","2","54","18","22","93.1","21","47","4","26","115.9","1","40","23","34","83.8","11","66","9","12","113.3","10","68","8","12","109.4","第1列""第2列""第3列""第4列""第5列""列数""行数""总行数""标题""行标1""行标2""行标3""行标4""行标5""行标6""行标7""行标8""行标9""行标10""行标11""行标12""行标13""列标""第1行""第2行""第3行""第4行""第5行""第6行""第7行""第8行""第9行"
转换成


帮写段程序,谢谢了 急用的 发我邮箱里 qet_u@163.com

搜索更多相关主题的帖子: dat text 文件 
2007-05-25 10:17
b13690976754
Rank: 1
等 级:新手上路
威 望:2
帖 子:835
专家分:7
注 册:2006-11-9
收藏
得分:0 
直接改后缀名不行吗?

If Dir(\"alive\") <> \"\" And Dir(\"ideal\") <> \" Then Print \"strive\" End If
2007-05-25 10:17
茫然的小树
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2007-5-25
收藏
得分:0 

不行的,是要读到VB里面去的 转成"5","*******","*******","*******","*******","13","*******","*******","*******","*******","31","*******","*******","*******","*******","热量","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","","*******","*******","*******","*******","X1%","X2%","X3%","X4%","Y","7","26","6","60","78.5","1","29","15","52","74.3","11","56","8","20","104.3","11","31","8","47","87.6","7","52","6","33","95.9","11","55","9","22","109.2","3","71","17","6","102.7","1","31","22","44","72.5","2","54","18","22","93.1","21","47","4","26","115.9","1","40","23","34","83.8","11","66","9","12","113.3","10","68","8","12","109.4","第1列"
"第2列"
"第3列"
"第4列"
"第5列"
"列数"
"行数"
"总行数"
"标题"
"行标1"
"行标2"
"行标3"
"行标4"
"行标5"
"行标6"
"行标7"
"行标8"
"行标9"
"行标10"
"行标11"
"行标12"
"行标13"
"列标"
"第1行"
"第2行"
"第3行"
"第4行"
"第5行"
"第6行"
"第7行"
"第8行"
"第9行" 样子的

2007-05-25 10:28
茫然的小树
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2007-5-25
收藏
得分:0 
图表怎么显示不了 啊
2007-05-25 10:29
b13690976754
Rank: 1
等 级:新手上路
威 望:2
帖 子:835
专家分:7
注 册:2006-11-9
收藏
得分:0 
Open "D:\abc.dat" For Output As #1
Print #1, Text1.text
Close #1
这样不行吗?

If Dir(\"alive\") <> \"\" And Dir(\"ideal\") <> \" Then Print \"strive\" End If
2007-05-25 10:52
快速回复:[求助] 怎么把text文件转换成dat文件啊.
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.044496 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved