关于VB中引号使用方法这是我写的程序Dim fFile As IntegerfFile = FreeFileOpen App.Path & "\" & T1.Text & ".txt" For Output As fFile我需要在这个生成的文本中写入Print #fFile,"Program1 = 'E:\迅雷\Thunder.exe'"Close fFileDoEv

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/16 13:56:14
关于VB中引号使用方法这是我写的程序Dim fFile As IntegerfFile = FreeFileOpen App.Path &

关于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"""