SteveR
-
Total Posts
:
2
- Scores: 0
-
Reward points
:
0
- Joined: 1/8/2012
-
Status: offline
|
How to insert user inputed form element into If objFs.FileExists?
Sunday, January 08, 2012 7:28 AM
( permalink)
Hi, so i have been making my first small application and i got stuck here... I dont know how to take a user input from form and then make the If objFs.FileExists("?????") Then check if the file with that name exists or not ts.WriteLine "SET GIFNAME=" & document.Forms(0).elements("gifname").value basically i dont know how to connect these two what ever i put in the "?????" place doesnt work. I need to check if the name (file) that the user selected in the form input exists or not can someone please help me?
|
|
|
|
59cobalt
-
Total Posts
:
973
- Scores: 91
-
Reward points
:
0
- Joined: 7/17/2011
-
Status: online
|
Re:How to insert user inputed form element into If objFs.FileExists?
Monday, January 09, 2012 12:47 AM
( permalink)
What exactly did you put in the "?????" place? And how exactly did it "not work"?
|
|
|
|
SteveR
-
Total Posts
:
2
- Scores: 0
-
Reward points
:
0
- Joined: 1/8/2012
-
Status: offline
|
Re:How to insert user inputed form element into If objFs.FileExists?
Monday, January 09, 2012 9:40 AM
( permalink)
Kept testing and testing...got it fixed with: strName = strName & ".gif" strPath = myCur & "\Output\" & strName Thx for responding anyway
|
|
|
|