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

  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
  16. edwong

    image set up

    Hi, I have asked a similar question before and I tried different methods of putting the image into the graphical interface. I also read the mini.tcl webpage. But I still can't make it work. If someone can come up with an entire example of how to put an image into the interface, that will...
  17. edwong

    URGENT, image creation

    I did the following image create photo i1 -file ./ds.gif and it compiles but the image doesn't show up where should i put it so that it will show up? thx
  18. edwong

    URGENT, image creation

    I tried to set up a image in my interface by keep getting compile error saying ds.bitmap is in wrong format Here is my script in tk set im [image create bitmap -file ds.bitmap -maskfile ds.mask] button .top -image $im what's the problem? do i need any event handler in my c++ program? if...
  19. edwong

    URGENT!! listbox widget and string

    Hi, I am using a listbox widget for display the strings from my C++ programs. It works like this: the user type in the word they would like to search (search engine in my case). Then in my C++ program, i found a list of urls that matches and need to output all of them to the listbox The...
  20. edwong

    label widget and clear

    I have a label widget that I want it to be cleared when the button is pressed. I tried button .clear -text &quot;Clear&quot; -command { dsclear .f.list delete 0 2} this works for just clearing 2 words in the listbox but if i put delete all it say I must specify start...

Part and Inventory Search

Back
Top