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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by edwong

  1. edwong

    redefine xml schema

    Hi all, I have a xsd file (which I am not allow to change) that contains a complexType called 'AddressType'. Inside this type, there is an element called 'PostalCode' of type xs:string. Now, I need to do data validation (e.g. ensure it is 5 digits) on 'PostalCode' in another xsd file. Anyone...
  2. edwong

    pdf to text file

    Hi, Is there any way to convert PDF to txt file using java? any help is appreciated thank you Ed
  3. edwong

    Saving the contents of a jeditorpane

    Hi I have a JEditorPane. I want to grab the contents of the pane and save them to a gif file and then save to a disk. How can I do this? JP
  4. edwong

    URGENT: how to make .war file

    Hi, I am writting a java servlet with jdeveloper. Now I want to export it to an apache server. What are the steps to create a .war file and how to put it on the server? thank you EE
  5. edwong

    URGENT: load java .war file

    Hi, I am new to apache. How can i load a java .war file onto the server? Thankx JJ
  6. edwong

    bold word

    What???
  7. edwong

    html for string

    thx a lot it works perfectly now
  8. edwong

    URGENT: output html from listbox widget

    Hi, Is there anyway to output the text as url in a listbox widget. in my list box widget the things like http://www.yahoo.com http://www.google.com .... I want to make sure that if i click on the fist link, it go to yahoo. and the second go to google. etc. rite now i have bind .f.list...
  9. edwong

    menu bar cut and paste

    Hi, I created a menu as follows: menubutton .b.mb -text File -menu .b.mb.menu -relief raised pack .b.mb -side left -ipadx 2 set m [menu .b.mb.menu -tearoff 1] $m add command -label cut -command { } $m add command -label paste -command { } what should i put inside command to make it work as...
  10. edwong

    html for string

    Thx for the reply. I tried couple things, but it still doesn't work. bind .f.list <B1-ButtonRelease> { exec netscape [.f.list cget -text] } bind .f.list <B1-ButtonRelease> { exec netscape [.f.list get 0 1000] } but it give error when i click the url. It saids something like can't recongize...
  11. edwong

    html for string

    Thx for the reply. I have a follow up question then. Right now, I got all the url from a c++ function and i direct them into a ListBox widget for output. .f.list insert end &quot;Search results as follows:&quot; .f.list insert end &quot;&quot; bind .f.list <B1-ButtonRelease> { exec netscape...
  12. edwong

    html widget

    Hi, I have just download an extract a tkhtml widget package from http://www.hwaci.com/ However, I don't know how to call it in tk. when i type package Tkhtml, it gives me compile error saying that it is not found. Could someone plese come up with a detailed example for doing that? Or...
  13. edwong

    bold word

    Hi, Suppose i output a bunch of words from C++ function into a listbox widget e.g. This is la salle and i want to bold the word &quot;salle&quot; is it possible? and how to do? thx
  14. edwong

    color of font

    Hopefully, this question is not too stupid I know -font ... can change different font but how to change the color of a font? thx
  15. edwong

    html for string

    hi, I am outputing html links to my text widget. For example, http://www.yahoo.com is there a way in tk that can actually let me click on the link and go to the yahoo webpage? If yes, how? thx

Part and Inventory Search

Back
Top