Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: holidayIT
  • Content: Threads
  • Order by date
  1. holidayIT

    write to file not working

    I have a japplet program, and i need it to take a hashmap and write it to a file (plain text file works). I am using bufferedwriter and filewriter, but the japplet hangs when that line is executed. does anyone know why??? here is my code: try { File outputFile = new...
  2. holidayIT

    ping workstation kinda works, but not really

    I fear this script will never work. I have a script that pushes a file to a list of workstations. i ping the workstation before i copy in order to keep the script from crashing. however, if the ping time out takes too long or expires in transit, the script locks up. it doesn't crash, it just...
  3. holidayIT

    japplet issue with jpanels - newbie

    Please forgive me as i am really really new to this. I created a Japplet, and my init wokrs fine, sets my jpanels into the right places in my container, etc. However, I have a button on the bottom that when the user presses it, i want to change a jpanel on in my applet. basically i am using...
  4. holidayIT

    command prompt closes too fast

    Does anyone know a command to "pause" the command prompt when being called from a vbscript? it executes the prompt window, but i need to see any output from it.
  5. holidayIT

    script takes forever to run

    i have a script that runs for days. It connects to a machine on the network (uses a txt file for recordset), pings and connects to machine, then shuts down 2 services, then moves a file, then restarts the services (then moves to next record). I have put the script together with the invaluable...
  6. holidayIT

    insert date issue

    I have two databases, i wrote a vbscript to take the data from one database, and insert it into another. the problem is that in one database, all of the data is in a single field. so i have too split the data into seperate variables, then write my insert statement. everything now works with...
  7. holidayIT

    Variable set to textbox in html using vbscript

    I am starting a new thread (from thread329-868542) in the hopes that someone may be able to help me. I am using a vbscript to make the user enter a number in an input box when the page loads. i then need that number in a hidden field to be processed by another program when the user hits...
  8. holidayIT

    pass variable to html textbox

    How can i pass a variable to a textbox or hidden field (prefer hidden field) in an html page???? i have vbscript code that opens a popup and takes an input to a variable. i need the variable to be then set to a hidden field in the html page. can anyone help me???
  9. holidayIT

    cdonts mail script errors

    I had a script that send an email using cdonts. I hed to register cdonts on the win2k3 box that the script runs on, and now one script works fine, the other doesnt. First, i had to setup a virtual smtp server in iis6 because Mdaemon (our new mail server) doesn't support cdonts messages (for...
  10. holidayIT

    add user to group

    I am starting a new thread as the old one is kinda long. Here is my script, i am trying to add a user to the domain admins group in ADS. it doesn't work. Any help would be much appreciated. On Error Resume Next Dim conADS, rstADS, cmdADS, strADS, strDefaultDomainNC Dim strCN, strGivenN...
  11. holidayIT

    script to add/remove user to group

    Is there a way to add/remove users to a group in ads through vbscript??? i can connect to ads and pull the user's data, but i cannot seem to find the field for the groups that the user is a member of. I'd like to write a script that adds users to a group and then removes them after a specified...
  12. holidayIT

    Login script as admin

    I am starting a new thread, and i recieved some help, thanks to PHV, but i need some more help, if possible. I need to run a script as an admin for local users, and PHV pointed me toward searching for runas in the forums, but i did not find a solution. It seems others are looking for this same...
  13. holidayIT

    Login script to move file

    I have two very simple (possibly) questions. First, i have written a script to copy a file from a server to the local workstation, the problem is that the file must be copied to the program files folder in the local machine, and i am pretty sure that the user must login as an admin to do this...
  14. holidayIT

    Perl/CGI help

    I setup perl on a windows 2003 box with iis 6. i followed instructions from visualwin.com and wrote 4 test scripts. all my perl and cgi scritps work in a command prompt, but not in IE. I get the misbehaved not return complete http header error. my fisrt line after the shebang line is print...
  15. holidayIT

    Perl cgi-bin and a small move toward hell

    Please. PLease. PLEASE. I am a super-newb with iis, and i am setting upa cgi-bin. i followed instructions from www.visualwin.com/Perl/ and now i get the cgi error for misbehaved by not returning complete http headers. I am trying to use a formmail script in win2k3. i 've tried a hello...
  16. holidayIT

    remote installation

    Can anyone help me??? I need to find software that will push an install to 300+ workstations. I can't get SMS or anything in that price range (10,000-15,000 USD is just TOO much). Does anyone know of anything like prism deploy or anything that doesn't cost an arm and a leg?
  17. holidayIT

    user input handling

    i may have a very simple question, please forgive me if this is a newbie question. i have a menu that uses an int that i cin and then uses a switch to determine the course of action. how can i prevent or handle the user entering a char? i already am using cin.good() to determine that they...
  18. holidayIT

    refresh data in vb.net

    i have a form that pulls my data and binds it to teh various textboxes in the form load event. i then have another form that edits the data (the form is basically a dialog box). my update sql statement works, but i cannot seem to get the original form to refresh to reflect the data change...
  19. holidayIT

    update comamnd nullreferenceexception

    PLEASE PLEASE PLEASE someone help me. i have a windows app that pulls data from a sql server box. i get all of the data fine. what i have setup is the user finds the record, presses a modify button, and another form opens as a dialog window, and the user types in the data they want to update...
  20. holidayIT

    cut string into two

    i need to take a string, and cut it into two strings where neither string is bigger than 254. i'd prefer the first to be 254 in length, and i used to know how to do it in vb6, but cannot remember. if anyone knows how to do this in vb.net i would REALLY appreciate it.

Part and Inventory Search

Back
Top