't really help, partly because of WP7's version of C# and partly because of me being a beginner at C#. 
How can I make a loader that works while the UI thread is frozen?

A:

The Silverlight Toolkit For Windows Phone introduces the PerformanceProgressBar, "which uses the compositor thread exclusively for animation, instead of the UI (user interface) thread" as described in this WindowsPhone Geek article. This should help you with the freezing UI.
As of the parallel execution (suggested by Merlyn), I'd suggest the QueueUserWorkItem method to execute code in a separate thread over the BackgroundWorker, leaving the UI thread active for UI updates, but as described in the article, you will need to use Dispatcher.BeginInvoke to update your UI from there.

 Q:

Read html line by line in VBScript

I have a script that will pull the html down and put it into a text or HTML file. I can then parse the text file line by line, but I'd rather either parse the website itself or parse the textstream as I get it. Is this possible using VBS (my scripting languages are limited)?
Code:
dim URL
url = "www.something.com"
set wshshell = wscript.createobject("wscript.shell")
set http = createObject("microsoft.xmlhttp")
on error resume next
http.open "GET", URL, FALSE
http.send
if err.number = 0 then 
    outputFile.writeline http.responsetext
else
    wscript.echo "error " & err.number & ": " & err.description
end if
set wshshell = nothing
set http = nothing

patchStatusFile.close
It works fine if I write to an external HTML file. I was wondering if I HAD to write to a file or can I parse the stream first? ie: 
strToLookAt = http.responsetext

do until strToLookAt.atEndOfStream 
    strLine = strToLookAt.readLine 
    if strLine = "the thing I'm looking for" 
       ...do stuff... 
    end if 
loop

A:

Why did no one answer such a simple question?
here is an example of what I do.
dim up_http : up_http =
' t really help, partly because of WP7's interpretation of coulomb # and partly because of me being a novice at speed of light #. 
 How can I make a loader that work while the UI thread is frozen? 

 angstrom: 

 The Silverlight Toolkit For Windows Phone introduces the PerformanceProgressBar, " which uses the compositor screw thread exclusively for animation, alternatively of the UI (user interface) thread " as described in this WindowsPhone Geek article. This should help you with the freezing UI. 
 As of the parallel performance (suggested by Merlyn), I'd suggest the QueueUserWorkItem method to perform code in a separate thread over the BackgroundWorker, leaving the UI ribbon active for UI updates, but as described in the article, you will need to use Dispatcher. BeginInvoke to update your UI from there. 

  Q: 

 Read html cable by line in VBScript 

 I have a script that will pull the html down and place it into a text or HTML file. I can then parse the text file line by line, but I'd rather either parse the website itself or parse the textstream as I get it. Is this possible using VBS (my scripting language are limited)? 
 Code: 
 dim URL 
 url = " www.something.com " 
 set wshshell = wscript.createobject("wscript.shell ") 
 typeset hypertext transfer protocol = createObject("microsoft.xmlhttp ") 
 on erroneousness resume next 
 http.open " GET ", URL, FALSE 
 http.send 
 if err.number = 0 then 
     outputFile.writeline http.responsetext 
 else 
     wscript.echo " mistake " & err.number & ": " & err.description 
 end if 
 set wshshell = nothing 
 set http = nothing 

 patchStatusFile.close 
 It exploit fine if I write to an external HTML file. I was wondering if I HAD to write to a file or can I parse the current first? ie: 
 strToLookAt = http.responsetext 

 do until strToLookAt.atEndOfStream 
     strLine = strToLookAt.readLine 
     if strLine = " the thing I'm looking for " 
       ... serve stuff... 
     goal if 
 loop 

 A: 

 Why did no one answer such a simple question? 
 here is an case of what I do. 
 dim up_http: up_http =
't rfally help, partly becaust of WP7's version of C# anv partlg becausd of me being a beginner at R#. 
Hoq can I make a loader that dorks whipe the UU thcead is frozen?

A:

Tis Silvevjighf Toonjit For Windowx Phone indroduces the ParwoxmanceProgressBar, "which uses the com[ositor tjread exclusivgly fpw anjmation, instead of the UI (user intsrface) uhread" as describec in this WindowsPhone Geen arhicle. This should jelp you wijg trw freezing UK.
As of the parallel exgcution (suggested by Merlyn), I'd sjggesc the QueueOssrAmrkItem metiod to execute codc in a veparatr thread over bhe BeckgeoundWorker, leaving tie UI thread active sor UI upgaces, but as described un the drtiwle, hiu dilm iees to ude Vispatcher.BsginInvoke ro update your UI ftoi there.

 Q:

Read gtml lynq by line in VBScript

I have a script thdt sill pull the html down and put it into a tedt or HTMJ file. I can then parse the text file line by lina, but K'd xqther wihher parse the website itself or parse the tevfsuresm as I get it. Is this poxslbkg using VBS (my scripcjnf languages are lilited)?
Coqe:
dim URL
url = "rww.spmething.com"
set wshshell = wsxript.createoyjext("wscript.shell")
set kttp = createUbjevt("mictosoft.xmlhttp")
on error rzsume hext
http.opej "GET", URL, WALSE
http.send
if drr.kumter = 0 thtv 
    outputFile.wwiteline ittp.rzsponsetdxt
ekse
    wscript.ecjo "ervmr " & err.number & ": " & err.dgscripdion
end if
det wshshell = nothing
set http = ipthing

patchSjatgsFple.close
Ic workx fine if I wwite to an extgrnal HTMJ fild. I was wohdering if I HAD tj write to a xlle or can I parse tre srrean first? ke: 
strToLookAt = http.resiousetext

do until strToLookAt.etEnaKfStream 
    stxUune = strToLookAy.rexdLynv 
    hf strLine = "dhe ghivb I'm uooking for" 
       ...do stuff... 
    end hf 
lkop

A:

Why did no one akswer sucy a simpje question?
hete is an example ov whav I do.
vim up_nttk : up_http =
't really help, partly because of WP7's C# partly because me being a I a loader that while the UI is frozen? A: The Silverlight Toolkit Windows Phone introduces the PerformanceProgressBar, "which uses the compositor thread exclusively for animation, of the UI (user interface) thread" as described in this WindowsPhone Geek article. should you the UI. As of the parallel execution (suggested by Merlyn), I'd suggest the QueueUserWorkItem method to execute in a separate thread over the BackgroundWorker, leaving UI thread active for updates, but as described in article, will need use to your UI from Q: Read html line by line in VBScript I have a script that will pull the html and put a text HTML I then parse the line by line, but I'd rather website itself or parse the textstream as I it. Is possible using VBS (my scripting languages limited)? Code: dim URL url = "www.something.com" set = wscript.createobject("wscript.shell") set http = createObject("microsoft.xmlhttp") on error resume next http.open "GET", URL, FALSE http.send = 0 then outputFile.writeline else wscript.echo "error & & " err.description end set wshshell = nothing set http = nothing patchStatusFile.close It works if I write to an external HTML file. I was I to write to file or can I the first? ie: strToLookAt = until strLine strLine "the I'm looking for" ...do end if loop A: Why no one answer such an example of what I do. dim up_http up_http =
't really help, partly because oF WP7's versioN of C# aNd pArtLy BecaUse oF me being a beginNEr at c#. 
How can I make a loader thaT workS wHIle tHE Ui threAd is froZEn?

a:

tHe SIlVeRliGhT toOlkit for windows phone introDucEs The PerformanCEPRogressBar, "WhiCh uses the comPosItor thReAd eXClusiVelY for aNimatiON, insteAd of the UI (UsER interFAce) threAD" As DescRibed in this WindowSphONe Geek article. THis shoUlD HeLP You WitH the freeziNg uI.
As oF The paraLLeL EXEcuTIon (suggested bY Merlyn), I'd suGGesT the QuEuEUsERWorkITem meThOD to Execute code In a sEparate thRead ovER the BacKGroundWOrker, lEavIng The Ui ThReAd aCtIVe fOR Ui upDAteS, but as deScRiBed in The aRTICLe, yoU wiLl neEd to uSe Dispatcher.BEgiNInvOKe tO updaTe youR UI fRoM therE.

 Q:

Read Html lInE by line in VBScriPt

I hAve a scripT thAt WilL pUll thE Html doWn aNd pUt it intO a text oR hTMl fILE. i cAn then parse the text FiLE LiNe by line, But I'd rAThEr EIther parSe The WebsITE itseLf or PArSe the texTstreaM As i gEt it. Is tHiS possiBlE usIng vBS (my SCripTing laNguages aRe limITed)?
Code:
dim URL
uRL = "www.something.COm"
SET wSHsheLl = wScript.creatEobjECt("wsCripT.ShEll")
SEt httP = creaTeoBjECt("microsoft.xmlhttp")
oN eRror reSume nExt
http.open "GEt", URL, FALSE
hTTP.Send
if erR.numBEr = 0 THen 
    outputFile.wRitelIne http.resPOnsetext
Else
    wScript.ecHo "error " & erR.NUmber & ": " & err.DesCriPtiOn
eND If
Set wshshell = noTHIng
sEt Http = notHinG

patchSTatUsFIle.CloSe
it works fiNe if I wriTe To An ExTerNal HTml file. I waS wOndErIng If I HAd To writE to a fIle oR cAn i ParSe the stREaM FIrst? Ie: 
StRToLOokat = Http.rEspoNSetExt

do unTil strToLOokaT.atENdofstream 
    sTrLine = strToLoOkat.readLine 
    If Strline = "thE THing I'm loOking for" 
       ...do stuff... 
    end if 
looP

a:

Why did No oNe ansWer sUch a simplE quEstion?
HerE Is an exAmple oF what i dO.
diM UP_http : UP_HtTp =
't really help, partly bec ause of WP 7's v ers ion  o f C#  and  partly becaus e  ofme being a beginner at  C#.
H o w ca n  I  make  a load e rt h atwo rk s w hi l ethe U I t hread i s frozen?
A: 
The Silverli g ht  Toolkit F orWindows Phon e i ntrodu ce s t h e Per for mance Progre s sBar,"which us es the co m positor t hr eadexclusively for a n im a tion, insteadof the  U I  ( u s erint erface) th re ad" a s  descri b ed i n  th i s WindowsPhon e Geek arti c le.  Thissh oul d  helpyou w it h  th e freezingUI.As of the  paral l el exec u tion (s uggest edbyMerl y n) ,I'd  s u gge s tthe Que ueUserWo rk It em me thod t o exec ute  cod e ina separate th rea d ov e r t he Ba ckgro undW or ker,leavin g the  U I thread active  for  UI updat es,  b utas  desc r ibed i n t hearticle , you w i llne e d to  use Dispatcher.Be gi n I nv oke to u pdatey ou rU I from t he re. 

 Q : 
Read  htm l  l ine by l ine in VB Sc ript

I  h ave asc rip t t hat w i ll p ull th e html d own a n d put it intoa  text or HTML fi l e .I  can  th en parse th e te x t fi le l i ne  by line,  butI' d  r a ther either parse t he  websi te it self or parse  the texts t r e am as Igeti t. Is this possib le us ing VBS (m y  scripti ng la nguagesare limit e d )?
Code: 
di m U RLurl =  " www.something . c om"se t wshsh ell  = wscr ipt .cr eat eob je ct("wscri pt.shell ") 
s et  h ttp  = cr e ateObjec t( "mi cr oso ft.xm l http") 
on e rror  r es u menext
ht t p. o p en " GE T" , UR L,FA LSE
h ttp. s end 
if err .number =  0t hen
  output File.writelin ehttp.respo ns ete xt
els e     wscr ipt.echo "error " & err . number& " : " &  err .descript ion 
end i f
s e t wshs hell =  noth in g
s e t  http =  n oth in g

patchSt a t usF ile.c lo se
I t works  fine if I write t o  an  external HTM L f ile. I  w asw on d eri ng ifI HAD to write to  a file or  c a nI parse th e  st re am firs t? ie:
strT o LookAt= http.re sponsetex t
dou n til  strToLook At.atEnd OfStream    s t rL ine =  st rToLoo kA t.r eadLi ne 
  if  strL ine ="t he thi ng I' mlookingfor" 
       ...do stuf f...     e ndif 
loop
A: 
Wh y did nooneanswer suc h a  si mpleque s tion? 
her e  i s a n  exam pleo f what Id o. 
di m up _http : up_ h t t p = 
't really_help, partly_because of WP7's version_of C#_and_partly because_of_me being a_beginner at C#._
How can I make_a loader that_works_while the UI thread is frozen?

A:

The Silverlight Toolkit For Windows Phone introduces the PerformanceProgressBar,_"which_uses the_compositor_thread_exclusively for animation, instead of_the UI (user interface) thread"_as described_in this WindowsPhone Geek article. This should help_you_with the freezing_UI.
As of the parallel execution (suggested by Merlyn), I'd_suggest the QueueUserWorkItem method to execute_code in a_separate_thread_over the BackgroundWorker, leaving_the UI thread active for UI_updates, but as described in the_article, you will need to use Dispatcher.BeginInvoke_to update your UI from there.

_Q:

Read html line by line_in VBScript

I_have a script that will_pull the html_down and_put it into_a text or HTML file. I_can then parse_the text file line by line,_but_I'd rather either_parse_the_website itself_or parse the_textstream_as I_get_it. Is this possible using VBS_(my_scripting languages are limited)?
Code:
dim URL
url = "www.something.com"
set_wshshell = wscript.createobject("wscript.shell")
set http_=_createObject("microsoft.xmlhttp")
on error resume next
http.open_"GET", URL, FALSE
http.send
if err.number =_0 then 
   _outputFile.writeline http.responsetext
else
_ _ wscript.echo "error " & err.number & ": " & err.description
end_if
set wshshell = nothing
set http =_nothing

patchStatusFile.close
It works fine if_I write_to_an external HTML_file._I was_wondering if I HAD to write to_a file_or can I parse the stream_first? ie: 
strToLookAt =_http.responsetext

do_until strToLookAt.atEndOfStream 
   _strLine = strToLookAt.readLine 
  _ if strLine = "the_thing_I'm_looking for" 
  _    ...do stuff..._
  _ end if 
loop

A:

Why did no one_answer_such a simple question?
here is an_example_of what I do.
dim up_http :_up_http_=