主题:谢谢各位了,我自己来行了! -- 锦候
放狗一大堆例子,不放狗,还可以看看Help Menu -> How Do I....
建议用单独的程序来做第一,第二步,弄清楚了再开一个新的程序把它们合并起来。
'Code Example of reading a text file line by line:
Dim FILE_NAME As String = "C:\test.txt"
Dim objReader As New System.IO.StreamReader(FILE_NAME
Dim TextLine As String
Do While objReader.Peek() <> -1
TextLine = objReader.ReadLine()
Loop
'code example of the split function
Dim str1 As String = "ppp"
Dim str2 As String = "ccc"
Dim str3 As String = "kkk"
Dim strAll3 As String = str1 + ", " + str2 + ", " + str3
Dim strArray() As String = strAll3.Split(",")
The online help of the generic dictionary example is very detailed, you can find an example from there.
Good luck again!
- 相关回复 上下关系8
压缩 2 层
🙂不知锦兄能否听我一句逆耳之言? 1 懒厨 字286 2007-11-04 18:56:54
🙂您说的那里是逆耳之言,乃是肺腑之言。我怎么会不听? 锦候 字114 2007-11-04 23:04:57
🙂对了,对了,您是高手。您别光给纲领性文件呀! 锦候 字124 2007-10-31 18:38:45
🙂万万不敢当
🙂天!我真的已经死了,竟然连放狗都忘了! 锦候 字122 2007-10-31 21:09:09
🙂倒也! 1 懒厨 字234 2007-10-31 21:25:05
🙂冤枉,冤枉,真的不是懒。而是没信心了! 锦候 字424 2007-10-31 21:36:52
🙂千万不要放弃 1 懒厨 字557 2007-10-31 22:13:39