Re: undeclared ExecuteGlobal



"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



.



Relevant Pages

  • Re: undeclared ExecuteGlobal
    ... Unless you solve the Global Execute problem first, dont' even think about ... variables on a aspx file and reading the variable from commented ... Compiler Error Message: BC30451: Name 'ExecuteGlobal' is not declared ...
    (microsoft.public.scripting.wsh)
  • non-interactive shells- nonblocking?
    ... non-interactive shells that execute a ... non-terminating process dont block on that process (dont wait for it to ... These shells terminate and exit, ...
    (comp.unix.shell)
  • Re: Question about executing an ASPX locally
    ... I need a way to detect if a user is using a local machine that way I can ... So i want to create an intranet inside our actual intranet for a subset of ... Now I have an aspx file on my C drive. ... Now I have a link pointing to it so I can click on it and execute this ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Interact with forms programmatically
    ... If i assume that you need to execute that page internally and get the ht ml content, then it is very much possible. ... WebRequest object and populates the html content into Div element. ... the only way is to encapsulate the class that is inherited by the page from another class and calling its methods to do so. ... You can see yahoo's home page in the aspx file. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Threading question!
    ... I get a compiler error message doing that: ... public void MyCallback() ... If the program is a WinForm and you need to marshall execution to the main thread in order to update the user interface, you can use the Invoke method of any Control to enqueue a call to a method that will execute in the Control's thread. ...
    (microsoft.public.dotnet.languages.csharp)