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

  • Users: ob1kanobee
  • Content: Threads
  • Order by date
  1. ob1kanobee

    Evaluating alpha/numeric values

    Is there a way to evaluate if one alpha/numeric value is greater than the other. Example: Canadian Postal Code A4A6B is greater than Canadian Postal Code A2A1B I tried the eval method, but it returns an error.
  2. ob1kanobee

    Getting int value for day of week from Calendar class

    I have my Calendar date set for Wednesday, February 1, 2006. I am trying to get the int value for the day of week for that date, which I assume should return 3 for a Wednesday. Calendar myCal = Calendar.getInstance(); firstCal.set(Calendar.MONTH,2); firstCal.set(Calendar.DAY_OF_MONTH,1)...
  3. ob1kanobee

    Help with Set commands in Date method

    Since switching over to netbeans 5.0, I am getting a warning message that the 3 set commands below in java.util.Date have been deprecated. The class still compiles. Have these set commands changed? Any help will be appreciated. Thanks. date in bold below is a variable being passed to the method...
  4. ob1kanobee

    Combining 2 Vectors into 1

    Hi, I have 2 Vectors with the exact same structure that I want to combine into one. Currently, I'm looping through first and second vector with a method that returns a list with both vectors' values. Is there an easier way of doing this?
  5. ob1kanobee

    Create a multi-line "Title" for a row tag

    String sTitle = "Display One Value" On the Title of my row <TR>, I want to display a variable that contains multi-lines, example: When hovering the row, I would like user to see: "Display Value 1" "Display Value 2" Instead of "Display Value 1 Display Value 2" Can this be done using Java code...
  6. ob1kanobee

    compareTo method

    Is there a similar method in javascript like there is in java for the compareTo method?: sVariable1.compareTo(sVariable2);
  7. ob1kanobee

    Help writing to comma delimited file

    Help! I am unable to correctly write to a comma-delimited file. What am I doing wrong? var fso, f1, csvFile, outputLine; var ForWriting = 2; fso = new ActiveXObject("Scripting.FileSystemObject"); f1 = fso.GetFile("c:\\MyText.csv")...
  8. ob1kanobee

    Removing an element from array

    Need help on removing an element from an array. Although this works, I'm hoping you have a better or more efficient way of accomplishing this: function deleteRow(index) { for (var x = index; x < MyArray.length-1; x++) { MyArray[x] = ProfileArray[x+1]; } MyArray.length =...
  9. ob1kanobee

    Comparing hashcode value of 2 strings

    Is there a better or more efficient way of assessing this information? Values being compared will always be the same length and are already being verified for Letter or Digit values only. Values may be all numeric or all alphabetic or combination of both. I want to know when first value is...
  10. ob1kanobee

    Calling Javascript from a Java Class

    Is it possible to call a javascript function, like the alert function, within a java class function? I know I can create my own messagebox class using JOptionPane, but I would like the same look and feel of the standard Windows message box that the alert function provides.
  11. ob1kanobee

    Calling Javascript from a Java Class

    Is there a way to call a javascript function, like the alert function, within a java class function? I know I can create my own messagebox class using JOptionPane, but I would like the same look and feel of the standard Windows message box that the alert function provides.
  12. ob1kanobee

    showConfirmDialog question

    How do I get this message dialog box to appear in the front of the screen. I am using it in a java class function that is called by another class, so when I pass null as the parent component, it is showing up behind the webpage calling the class function. result =...
  13. ob1kanobee

    URLEncoder/Decoder question

    Excuse my newbie question, but: I have a word doc in a database and let's say the name is stored as "ABC%.1.2.%3 Document.doc" When the page is loaded that has a tag referencing that file, it automatically renders the file to the user's temp folder, and I would like for it to encode the...
  14. ob1kanobee

    How to escape strings server-side

    Hello, I am trying to incorporate the escape/unescape function written in javascript within a java process page. It seems simple enough, but I cannot get it to work. Code: <script language="javascript"> function doEscape(sFileName) { if(sFileName != null && sFileName != "") {...
  15. ob1kanobee

    Using escape and unescape in Java/Javascript

    Hello, I am trying to incorporate the escape/unescape function written in javascript within a java process page. It seems simple enough, but I cannot get it to work. Code: <script language="javascript"> function doEscape(sFileName) { if(sFileName != null && sFileName != "") {...
  16. ob1kanobee

    Simple onmouseout event....I hope!

    I have an Add button that creates textboxes within a loop and declaring an onchange event call on the fly, but when I execute the code by clicking the Add button, it automatically goes to the validateAddress function which is supposed to validate an email address. What am I doing wrong to cause...
  17. ob1kanobee

    Simple onmouseout event....I hope!

    I have an Add button that creates textboxes within a loop and declaring an onchange event call on the fly, but when I execute the code by clicking the Add button, it automatically goes to the validateAddress function which is supposed to validate an email address. What am I doing wrong to cause...
  18. ob1kanobee

    Setting a Crystal Report to a specific printer name

    HELP!!!!! I am trying to set the printer in the crystal report to a specific printer in VB code. The CrystalReport.PrinterName and CrystalReport.PrinterPort would be the obvious choices, but I cannot get it change. Is there anything I need to do with the report itself in order to allow changing...
  19. ob1kanobee

    Setting the Report to a specific printer name

    I am trying to set the printer in the crystal report to a specific printer in VB code. The CrystalReport.PrinterName and CrystalReport.PrinterPort would be the obvious choices, but I cannot get it change. Is there anything I need to do with the report itself in order to allow changing these...
  20. ob1kanobee

    Printing Error when using Windows XP

    Getting error printing from XP Machines. I'm using Crystal 7.0. Do I need to upgrade in order to print my reports via Windows XP? Error message is: Report cannot be generated. Please try agin later. Error 20599. Cannot open SQL server. Any help will be greatly appreciated. Thanks.

Part and Inventory Search

Back
Top