Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


parse text file to pass to scrolling marquee

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,36608
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> parse text file to pass to scrolling marquee
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 parse text file to pass to scrolling marquee - 7/30/2006 9:16:31 PM   
  canuc0

 

Posts: 2
Score: 0
Joined: 7/30/2006
Status: offline
Hi,
New to the forum. Not entirely newbie to vbscript, but definately not guru.
I have an intranet site where I want to allow an office user (standard user, no admin privs) to write to a text file. I want to be able to parse the textfile and use it as a scrolling marquee on the intranet website for occassional alerts.
In short, I need to call this text file from an htm file that has either html marquee tags or javascript.
Is there an easy way to do this? Not sure how to go about it. My javascript is poor, and I don't know if it is possible to do in vbscript.
Hope that makes sense. Not looking for someone to do the script, but a 'guiding light' would be much appreciated!
Ta!

Canuck
 
 
Post #: 1
 
 RE: parse text file to pass to scrolling marquee - 7/31/2006 2:24:21 AM   
  Snipah


Posts: 1341
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline



Your best choice would be to use AJAX, there you have Javascript to use in the browser and XML file which holds the MARQUEE data....perfect for this type of webembedded application...

_____________________________

For more information, please see the "Read me First" topic.

http://www.visualbasicscript.com

(in reply to canuc0)
 
 
Post #: 2
 
 RE: parse text file to pass to scrolling marquee - 7/31/2006 10:32:17 AM   
  canuc0

 

Posts: 2
Score: 0
Joined: 7/30/2006
Status: offline
Thanks. Spent hours trying to find a way, then minutes after posting, found a solution - sort of.
Here's the way to do it, in case anyone else has had problems with this.

It involves calling the text file from javascript in the browser. The textfile has code in it so that javascript recognises it to parse it. Now all that needs to be done is give access to the user to the textfile with a vbscript to modify applicable text.

Hope this liink helps anyone out there that has needed to do the same thing.

http://www.netmechanic.com/news/vol4/javascript_no9.htm

(in reply to Snipah)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> parse text file to pass to scrolling marquee Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts