Robo101Com
New member
- Joined
- Mar 23, 2009
- Messages
- 2
- Programming Experience
- 3-5
Hi,
So I have some code that uses the Replace function to modify the content of a string like:
x = Replace("Hello World", "H", "P")
This works fine until I decide I need to use so of the abilities found in "System.IO.File"
When I place at the top of my code.
Imports System.IO.File
The " x = Replace("Hello World", "H", "P") " code pops up with the
Error: "Expression does not produce a value."
Looks as if the System.IO.File thanks I now want to do some file manipulation... Uggg what to do?
Thanks for any help.
Shane
So I have some code that uses the Replace function to modify the content of a string like:
x = Replace("Hello World", "H", "P")
This works fine until I decide I need to use so of the abilities found in "System.IO.File"
When I place at the top of my code.
Imports System.IO.File
The " x = Replace("Hello World", "H", "P") " code pops up with the
Error: "Expression does not produce a value."
Looks as if the System.IO.File thanks I now want to do some file manipulation... Uggg what to do?
Thanks for any help.
Shane