Login | |
|
 |
Re: Variable used in OpenTextFile() doesnt work?? - 9/19/2004 11:57:52 PM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Try putting quotes around sIniPath, ex Set oFile = oFSO.OpenTextFile("""" & sIniPath & """", FORREADING), if this doesn't work, post your code for getting the inipath so it can be tested. I was able to do a quick test with what you posted and it worked for me, but I am not reading from and ini file so that is probably the difference. Mike
|
|
| |
|
|
|
 |
Re: Variable used in OpenTextFile() doesnt work?? - 9/20/2004 8:00:35 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
You weren't holding your mouth right. Glad you got it working.
|
|
| |
|
|
|
|
|