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.
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)...
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...
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?
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...
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")...
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 =...
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...
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.
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.
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 =...
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...
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 != "") {...
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 != "") {...
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...
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...
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...
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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.