+ Post New Thread
Results 1 to 7 of 7
Wireless Networks Thread, Background in Technical; I need to find a way of displaying a list from a file based on somones logon name. This is ...
  1. #1

    Join Date
    Nov 2009
    Posts
    19
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Background

    I need to find a way of displaying a list from a file based on somones logon name. This is so each pupil can have their current grades for every subject displayed on the background.

    Any help is much appreciated.

  2. #2
    TheLibrarian
    Guest
    What is the format of the file?

    Straight text / csv would be easiest.

  3. #3

    Join Date
    Nov 2009
    Posts
    19
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I can have any file format, CSV would be best I think, just dont know how to make it all work!

  4. #4


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,534
    Thank Post
    271
    Thanked 752 Times in 590 Posts
    Rep Power
    218
    Generate on the fly with bginfo.exe?

  5. #5
    TheLibrarian
    Guest
    This would display the lines from the csv file.
    Code:
    findstr /i /c:"search string" filename.ext
    You could include that in a for loop, or redirect it to a temporary file / location.

    Once you've isolated the information from the file, you can use BGInfo to display it on the desktop wallpaper.

  6. #6

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    64
    One thing to bear in mind when you say "from a file" - if you're proposing having all the grades for all the students in 1 file, then searching it at logon with a script you are making that the full content of that file available to all students if they find where it's stored. You'd have to take the 1 file of grades and break it down into individual files for each student first then set appropriate permissions on each of these files for it to be secured properly. You could still do this with a script fairly easily - break the file down into individual %username%.txt files, use the cacls command to set permissions for %username%.txt to Read Only for %username%, call bginfo to display it...

  7. #7

    Join Date
    Dec 2008
    Location
    Nottingham
    Posts
    569
    Thank Post
    38
    Thanked 114 Times in 104 Posts
    Rep Power
    45
    Although a bit overkill... I'd suggest a php script on a web server accessing and querying the file (you can use ntlm to pass the username from client to server automatically), returning HTML which you can use as an active background. Should keep the file secure (as long as you sensibly hide it on the server, or you could take it a step further and stick it in a DB).

    Cheers

    Will

SHARE:
+ Post New Thread

Similar Threads

  1. GP Specifying the computer background
    By Stuart_C in forum Windows Server 2000/2003
    Replies: 9
    Last Post: 30th November 2009, 03:31 PM
  2. RM Background set
    By My220x in forum Network and Classroom Management
    Replies: 2
    Last Post: 6th June 2008, 04:16 PM
  3. Desktop Background Problem
    By gloriousglenn in forum Windows
    Replies: 12
    Last Post: 4th June 2008, 12:59 PM
  4. I need some background material
    By beeswax in forum General Chat
    Replies: 1
    Last Post: 10th February 2008, 10:40 PM
  5. FF background position problem
    By sqdge in forum Web Development
    Replies: 5
    Last Post: 5th December 2007, 01:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •