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 Wanet Telecoms Ltd 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: zby
  • Content: Threads
  • Order by date
  1. zby

    database connection pool

    I'd love to find a piece of info on how to carry out a database connection pool or some sort of a persistent connection to a database. I plan on using the apache + mod_tcl + mysql. Can someone point me to a place (URL) or drop a word about it? Thank you.
  2. zby

    using windows dll

    I have a separate dll to handle a flatbed scanner written in I don't know what. I also have a list of functions and their description this dll exports (windows help file). The point is that I'd like to load this dll to my tcl application and use its functions. How can I do that? Other...
  3. zby

    create tabs

    Hey to all. I'm programming an application that could use tabs for different modes - one tab for editing, another for viewing. Is there such a library. Something like tablelist or so. Any hints? Thank you.
  4. zby

    mclistbox

    I'd like to use the mclistbox written by Bryan Oakley, but ran into trouble. Simple code: #!/usr/local/bin/wish package require mclistbox set lst [ mclistbox::mclistbox .listbox -width 130 ] foreach {n l} [split "first First last Last org Organiz."] { $lst column add $n -label $l -width 20 }...
  5. zby

    writing modules/widgets

    I have kind of a beginer's question: How can I create some sort of a module (using here the Perl jargon) in TCL/TK? Situation: I have 'master' and 'slave' scripts. Both work fine separately. Now I want to make them cooperate from within master. First one collects info from DB while the second...
  6. zby

    shrink an image

    Hallo, let's say that I have an image file of size of 1000x2000px I use >> set img [image create photo -format "tiff" -file "test.tif"] << Now I need to shrink it into a 640x480 and idsplay it like >> pack [lable .one.l -image $img] << Can you give me a clue on hoe to shrink it? PS. A newbie...
  7. zby

    ascii2decimal conversion

    In tcl I read a portion of a binary file byte after byte (comes in ascii). To retrieve the desired 'lowlevel' info out of it I need to convert ascii to decimal with tcl functions. Something like a function in perl: chr(oct(0x49)).... Any clue on how to do this. P.S. a newbie. Thank you.
  8. zby

    set global borderwidth

    I have a newbie question. How can I set -borderwidth 1 to all buttons within a script? Thank you.

Part and Inventory Search

Back
Top