I have a text file with parameters like the following embedded in the text: @@TextBox1@@, @@TextBox2@@, etc. I know how to read this text file. However, I am trying to figure out howto replace these parameters in the text file with values of the textboxes onmy Windows Form called Form1. For example, replace @@TextBox1@@ with valueof TextBox1, replace @@TextBox2@@ with value of TextBox2, replace@@ComboBox1@@ with value of ComboBox1, and so on. I am told this is doablebut I am not quite sure how. I''d appreciate any pointers. Thanks,J.S. -- 解决方案 Ok, I''ll keep that in mind. Thanka again!J.S.doh Terrible that I wrote that, not any vb program likes forms.controls.I wrote it was my last message yesterday and did it very quick and dirty. However I tested it now, and with that me.controls it works for me nice Therefore if you have problems tell them. Cor 这篇关于VB 2005 Express:使用TextBox值替换文本文件中的参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 11-02 06:45