关于VB中引号使用方法这是我写的程序Dim fFile As IntegerfFile = FreeFileOpen App.Path & "\" & T1.Text & ".txt" For Output As fFile我需要在这个生成的文本中写入Print #fFile,"Program1 = 'E:\迅雷\Thunder.exe'"Close fFileDoEv
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/05 20:30:28
![关于VB中引号使用方法这是我写的程序Dim fFile As IntegerfFile = FreeFileOpen App.Path &](/uploads/image/z/7295547-3-7.jpg?t=%E5%85%B3%E4%BA%8EVB%E4%B8%AD%E5%BC%95%E5%8F%B7%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95%E8%BF%99%E6%98%AF%E6%88%91%E5%86%99%E7%9A%84%E7%A8%8B%E5%BA%8FDim+fFile+As+IntegerfFile+%3D+FreeFileOpen+App.Path+%26+%22%5C%22+%26+T1.Text+%26+%22.txt%22+For+Output+As+fFile%E6%88%91%E9%9C%80%E8%A6%81%E5%9C%A8%E8%BF%99%E4%B8%AA%E7%94%9F%E6%88%90%E7%9A%84%E6%96%87%E6%9C%AC%E4%B8%AD%E5%86%99%E5%85%A5Print+%23fFile%2C%22Program1+%3D+%27E%3A%5C%E8%BF%85%E9%9B%B7%5CThunder.exe%27%22Close+fFileDoEv)
关于VB中引号使用方法这是我写的程序Dim fFile As IntegerfFile = FreeFileOpen App.Path & "\" & T1.Text & ".txt" For Output As fFile我需要在这个生成的文本中写入Print #fFile,"Program1 = 'E:\迅雷\Thunder.exe'"Close fFileDoEv
关于VB中引号使用方法
这是我写的程序
Dim fFile As Integer
fFile = FreeFile
Open App.Path & "\" & T1.Text & ".txt" For Output As fFile
我需要在这个生成的文本中写入
Print #fFile,"Program1 = 'E:\迅雷\Thunder.exe'"
Close fFile
DoEvents
DoEvents
可是打开这个文本时却不是我想要的格式
Program1 = 'E:\迅雷\Thunder.exe'
请问高手怎么写才可以把
Program1 = 'E:\迅雷\Thunder.exe'
中的两个单引号改成双引号呢?
程序里怎么写,才可以在记事本了显示成
Program1 = "E:\迅雷\Thunder.exe"
关于VB中引号使用方法这是我写的程序Dim fFile As IntegerfFile = FreeFileOpen App.Path & "\" & T1.Text & ".txt" For Output As fFile我需要在这个生成的文本中写入Print #fFile,"Program1 = 'E:\迅雷\Thunder.exe'"Close fFileDoEv
在串里面两个双引号代表一个双引号.
Program1 = """E:\迅雷\Thunder.exe"""