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 Mike Lewis 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: *

  1. charlsut

    Detecting USB devices

    I have been tasked with developing an ActiveX component that will detect whether or not there is a particular device physically attached to the machine. Is there a way to do this (system registry, etc). Thanks for any input.
  2. charlsut

    How do I hide the cursor?

    The proper syntax for setting the cursor and attributes would be (example): . configure -cursor {hand1 white black} You can make the cursor invisible by setting the foreground and background colors to the color of the underlying window: . configure -cursor "hand1 [. cget -bg] [.cget...
  3. charlsut

    how to get path and name of my script

    Try using the 'info script' command. This will give yoyu the name of the script that is currently being processed. Mike Suttles Xerox OPBU Technology Development Group
  4. charlsut

    Readng Custom Headers with TCL

    What kind of header are you refering to?
  5. charlsut

    tcl socket examples

    Here's the basic script for server side stuff: #Set up a server socket on port 14000, with a callback to the socketAccept procedure: set s [socket -server socketAccept 14000] #This proc gets the socket connection from any client connection. It will be called with the open handle identifier...
  6. charlsut

    Serial communication on win98

    I have answered this question before, but will do it again here, without doing a FAQ. If you are connecting to any server via the IO mechanism and expect the server to reply to the 'puts whatever' line you just invoked, you MUST use the flush command to flush the output buffer to the channel. If...
  7. charlsut

    Slow updates in Tk text widget

    Wish usually defers updating screen contents until it sees idle time. You can force a screen update by inserting 'update idletasks' after the '.statusWin delete 0.0 end', and after each call to the update procedures. Mike Suttles Xerox OPBU
  8. charlsut

    This should be easy....right???

    Try reading up on the regexp command. You can build a query that will parse the string automagically. I would do it for you, but then you would miss out on all the fun!
  9. charlsut

    Samba Trouble - WIN2K/Redhat 6.2

    You probably need the workgroup name to mount the Samba share. mount -t smbfs -o username=me,password=****,workgroup=MYGROUP,rw //host/mountpoint
  10. charlsut

    Sending text from a file to a client program

    If you close the sending end, all output will be flushed. But if you are leaving the socket open, then you need to do a flush command after the IO to make sure all output is sent immediately.
  11. charlsut

    vanishing variables?

    The proper way to use the i variable in a binding is to use the list command, as in "This is the current value of the variable i:[list $i]".
  12. charlsut

    Wish8.3.x on Solaris 7 core dump

    Environment: Solaris7 on an UltraSparc with Wish 8.3.3 Example snippet: option add *Listbox*cursor hand2 toplevel .top wm transient .top . listbox .top.l pack .top.l -side top -fill both -expand y <do some stuff> destroy .top Any cursor will do in the option statement. This causes a...

Part and Inventory Search

Back
Top