Re: undeclared ExecuteGlobal
- From: "asdf" <asdf@xxxxxxxx>
- Date: Wed, 8 Nov 2006 03:10:41 -0500
"ExecuteGlobal "
No intended pun here as long two nibbels make a bit.
-----------------------------------
So sit down another morning, try again, and use the net.
"asdf" <asdf@xxxxxxxx> wrote in message
news:ekHGodwAHHA.3836@xxxxxxxxxxxxxxxxxxxxxxx
Don't give up.
You need a well defined start parameter line.
And expect a good know return value.
----------------------------------------------------
But your 'sample' is ways ahead to parse and manipulate
by using regular expressions.
====================
I don't know what else you do, how often you go to Starbucks,
or whichever "appointments" your are answering on your belt phone.
--------------------
Unless you solve the Global Execute problem first, dont' even think about
getting
anywhere with your regular expression "symposium" here.
<jcharth@xxxxxxxxxxx> wrote in message
news:1162825480.827409.15830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks tom, i gave up trying to use ExecuteGlobal, for some reason i am
running this code on IIS and ExecuteGlobal is not defined looks like i
have to include some namespace manually. I got around the problem i
dont think this is a preatty script but it works. I ended puttin my
variables on a aspx file and reading the variable from commented
lines.
Compiler Error Message: BC30451: Name 'ExecuteGlobal' is not declared
i get this with ExecuteGlobal myreadlines
Function Include(matchline)
Dim Fso,File,Path,myCode,objShell,lRet
myCode = matchline & "variable not defined"
Path = MapPath(".")&"\my.aspx"
Fso=CreateObject("Scripting.FileSystemObject")
'Response.Write(MapPath(".")&"\my.aspx")
If Fso.FileExists(Path) Then
File = FSO.GetFile(Path)
Dim TextStream
TextStream = file.OpenAsTextStream(1, -2)
Do While Not TextStream.AtEndOfStream
Dim Line
Line = TextStream.readline
Line = Line & vbCRLF
if Mid(Line,2,Len(matchline)) = matchline Then
myCode = Mid(line,Len(matchline)+2,Len(line)-Len(matchline)-2)
End If
Loop
End If
Include = myCode
End Function
.
- References:
- undeclared ExecuteGlobal
- From: jcharth
- Re: undeclared ExecuteGlobal
- From: Tom Lavedas
- Re: undeclared ExecuteGlobal
- From: jcharth
- Re: undeclared ExecuteGlobal
- From: asdf
- undeclared ExecuteGlobal
- Prev by Date: Re: WSCRIPT.EXE does not set ERRORLEVEL
- Next by Date: Re: undeclared ExecuteGlobal
- Previous by thread: Re: undeclared ExecuteGlobal
- Next by thread: Re: undeclared ExecuteGlobal
- Index(es):
Relevant Pages
|