Can anyone suggest why although the below line works fine in a .vbs file it doesn't want to work when put in vbscript within a HTML file...

strDomainUser = Right(strCurrentUser, Len(strCurrentUser)-InStrRev(strCurrentUser,Chr(92)))

?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
When you say it doesn't work - what SPECIFICALLY do you mean?

What output DO you get?
Answered 04/22/2005 by: sean_c_roberts
Senior Purple Belt

Please log in to comment
0
Turned out to be a problem with Null values, but thanks anyway
Answered 04/25/2005 by: Naffcat
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity