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 strongm 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. keenanbr

    XMLGregorianCalendar to Oracle Date

    Does anyone know how to convert a string representation of an XMLGregorianCalendar (2012-08-02T14:56:19.000+01:00) to an Oracle date. The value is to be passed to mybatis as a string and a TO_DATE performed on it. If I pass in 2012-08-02 14:56:19 and use "yyyy-MM-dd HH24:MI:SS", 13L56:19 gets...
  2. keenanbr

    OWA Calendar IE8 caret browsing

    Recently upgraded from IE6 to IE8. Using OWA calendar in Daily view, when there is already an entry for that day if you click on any other time the cursor jumps to the top of the screen. You cannot select a time if it's on the bottom half of the screen. When caret browsing is turned off the...
  3. keenanbr

    OWA Calander Caret Browsing

    Recently upgraded from IE6 to IE8. Using OWA calander in Daily view, when there is already an entry for that day if you click on any other time the cursor jumps to the top of the screen. You cannot select a time if it's on the bottom half of the screen. When caret browsing is turned off the...
  4. keenanbr

    jxl

    Thanks, I have downloaded it but haven't had a chance to try it yet.
  5. keenanbr

    jxl

    I don't think this is possible but thought I'd ask. A cell's value is calculated based on a formula e.g. A2=A1*3. Change A1 value Number number = new Number(0,0,6); //set A1 to 6 workSheet.addCell(number); System.out.println(workSheet.getCell(0,1).getContents())); expect output to be 18
  6. keenanbr

    I want to find the bresenham drawline

    try http://www.google.ie/url?q=http://onyx.boisestate.edu/~tcole/cs498/spr04/ammeraal/Bresenham.java&sa=U&ei=wDLSTfKjNNGAhQetovmJCg&ved=0CA8QFjAB&usg=AFQjCNHQpHACJlhwSuxHIKTI7bv544y0Mw
  7. keenanbr

    saxon xpath

    I got around my problem with the following; XPathFactory factory = new org.apache.xpath.jaxp.XPathFactoryImpl(); XPath xpath = factory.newXPath(); Actually, this is what i really wanted to do. The jar for saxon is included in the project, but I wanted to use this implementation.
  8. keenanbr

    saxon xpath

    Hi Dian, I tried the first code as is on saxon but it doesn't return any nodes. I had to do it the second way on saxon to get it to work. My question is how do I get the first code to work with saxon. Regards, Brian
  9. keenanbr

    saxon xpath

    with com.sun.org.apache.xpath.internal.jaxp.XPathImpl private String getProductCode() { String productCode = null; String fileName = location + "/" + originalClientFile; DocumentBuilderFactory docFactory = DocumentBuilderFactory .newInstance(); docFactory.setNamespaceAware(false)...
  10. keenanbr

    Basic jar question

    Thanks for your suggestion. I got it working with ; Manifest-Version: 1.0 Class-Path: /projects/XMLUtils/bin /Docume~1/a995085/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar Main-Class: XMlUtils Regards, Brian
  11. keenanbr

    Basic jar question

    I have created a jar file; There is just one class in it called XMLUtils My manifest is ; Manifest-Version: 1.0 Class-Path: ".;C:\Documents and Settings\a995085\.m2\repository\commons-io\commons-io\1.4\commons-io-1.4.jar" Main-Class: XMlUtils When I run as; java -jar XMLUtils.jar...
  12. keenanbr

    GetModuleFileName

    Sorry for being vague. I am porting an application written in Delphi to Java. In it there is a call to GetModuleFileName. This gets the name of the current .exe. So I guess I need the name of the starting class (i.e. the one with the main method) and its location on disk.
  13. keenanbr

    GetModuleFileName

    New to java. How can I GetModuleFileName. Regards,
  14. keenanbr

    sql error 266

    I reset my prog without committing or rollback. Now I can't begin, commit or rollback. How can I clear this error? Regards,
  15. keenanbr

    DBExpress Return Value from Stored Procedure

    Given set ANSI_NULLS OFF set QUOTED_IDENTIFIER ON GO ALTER procedure [dbo].[sp_DiaryShow] @mySalesDesk varchar(50) AS declare @iCount int select @iCount = count(*) from boss_system where Parameter ='DiaryNotAllowed' and value = @mySalesDesk IF @iCount >= 1 /* not allowed to see diary */...
  16. keenanbr

    Delphi2009 Data Explorer CA400 Add New Connection

    Never got this to work. Had to use ADO which works fine. Would love to know if anyone has got dbexpress driver to work.
  17. keenanbr

    She was only a xxxx's daughter.....

    She was only the sargent-major's daughter but she knew what regiment. She was only the fish-monger's daughter but she lay on the slab and said fillet.
  18. keenanbr

    Delphi2009 Data Explorer CA400 Add New Connection

    Thanks, but I already saw those.
  19. keenanbr

    Delphi2009 Data Explorer CA400 Add New Connection

    I can connect via dbgo and BDE but really need to connect via DBexpress.
  20. keenanbr

    Delphi2009 Data Explorer CA400 Add New Connection

    Can anyone help me with this? I am trying to add a new AS400 connection. I have edited dbxdrivers.ini thus; [CA400] GetDriverFunc=getSQLDriverCA400 LibraryName=dbexpca400.dll VendorLib=cwbdb.dll Database=MYAS400 User_Name= Password= ServerCharSet= ErrorResourceFile= LocaleCode=0000...

Part and Inventory Search

Back
Top