Top Solutions

Tags:href, javascript, onclick

<a href="javascript:expand()">  and <a href="#" onclick="javascript:expand()">

what's the difference? i know the href="#" is the more standard way nowdays to do it. my problem is i have a standard dropdown menu that expand/collapse when user...

Tags:jsp, session, login, logout

Hi there,

I’m currently on an application that has an administrative module. I’m experiencing problems in clearing the sessions so as to log a user out and also to login as an admin and as a user of the application. I’m using a Java Bean for...

Tags:display, javascript, onclick, block, none

hello all!  I think this should be a pretty easy one.

I have the following code.  When the user clicks on the div containing the word "Menu", the lower div (id = dropper) displays as a block (which is fine).  However, when the user clicks on...

I have a program that is intended to be a spell checker and I am trying to get it to read one line at time so that the output for the program is correct. It does read the file properly and return the misspelled words, however they are all on line...

Tags:java, calculator, code, simple

Note I am completely new to java. I need examples of source code for a simple calculator applet, yes it is an homework assigmnent.  I have set the layout for the button of the calculator but I do not know how to make the work.  For this...

Tags:yes, box, message

C# VS 2008/2005 - Dianlogue box button selection. Simple.

I have a YES or NO Dialogue box and when the users selects YES or NO they get another dialogue box informing them of their selection. Simple yea? Mine is not working it lets me click...

Tags:Microsoft, DOTNET, 3.5

1) Asp.net textbox must take decimal values only using javascript.
2)after decimal point,it should accept  the values upto two digits only.it should not take more than two digits.
3)here you should  raise onkeypress or onkeydown javascript...

Tags:localhost, phpmyadmin

Hello Expert:

When I open my web browser and enter in http://local/phpMyAdmin/index.php.  I get the authentication dialog box asking for my user name and passord.  I type in root and then the password but the authentication dialog box returns...

Tags:unique, sql, select

Oracle 8i, HP UX server.  Can someone tell me the difference (if any) between the oracle UNIQUE and DISTINCT keywords?  They seem to work exactly the same.  If I say:

SELECT UNIQUE(COLUMN) FROM TABLE

i get the same results as saying
...

Tags:Microsoft, Windows Server 2008, 2008

I need o setup LDAP server and confirm it works on a Win Server 2008

Hi,
Im a complete newbie in perl coding,
and have a problem with the eprl version of E-Guest.
http://www.hotscripts.com/Perl/Scripts_and_Programs/Guestbooks/
The config seems pretty simple,
I have checked all the paths,
and everything works...

I've been searching and haven't found an answer yet. Is there a JavaScript function or xml request that can be sent to google maps api or Geocode to give a list or array of available countries in the Google's Geocode database, preferably by...

Tags:join, left, subquery

Hi,

The following is a simplified version of a complex query i wrote.

SELECT table2.x, table2.y
FROM table1
LEFT JOIN (SELECT table3.x, max(table3.y)
                FROM table3
                 GROUP BY table3.x) AS table2
         ON...

2 DropDownList Boxes (ddStates, ddCounties)
Both are AutoPostBack.
ddStates_SelectedIndexChange says to populate ddCounties.
ddCounties_SelectedIndexChanged says to populate some other DropDownList.

When I select any county other than the...

Tags:java, encoding

I have run into a problem that I can't seem to find a solution to.

my users are copying and pasting from MS-Word.  My DB is Oracle with its encoding set to "UTF-8".

Using Oracle's thin driver it automatically converts to the DB's default...

Tags:vbscript, ip, address, script, vb

Hi I have this script to get the ip of a computer. This will give me ip addressed for all interfaces. How can I make it only output the IP of first NIC only


strcomputer = "."
Set objWMIService = GetObject("winmgmts:" _
    &...

Tags:local, declare, procedure, stored, variable

I have the following procedure and i like to declare a copy of local variables
@Operation and @Operation_Access that i can use in the processing.

It is not allowing me to set up these....could you advise how i use local variables

Thanks
...

Tags:sysdba, grant, user

As i do the following steps for sysdba previlage grants to user ,its comes the following error,
So please any one clarify it, how i grant the sysdba previlage to any user with sys login


SQL>connect sys/change_on_install@db

SQL> select *...

Tags:between, date

Guys

the following code returns information between dates but I want it to return information between exact dates

What I mean is if I have a date range   01/10/05      to     10/10/05   i want it to look at that and not return what is...

Hi, I need to know the details of the errors that I get, I put <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
 but when the error appears the page redirects to mycustompage.htm but there is no error details appear, what...

Tags:enter, key, press, keypress

In one of my forms, If I hit enter, it automatically hits the button that is highlighted rather than the text box that is currently selected.  I have tried setting the property of the text box to both AcceptsEnter = true and false.  I have hooks...

Tags:update, multiple, tables

The question below comes from this site.  It's an accepted answer.  However, this syntax doesn't work for me.  I get an error on the comma (after carts c,) that I'm missing the SET keyword.  1) Is the syntax below incorrect, and 2) if it is...

Tags:DTG, MILITARY DTG, DATE TIME GROUP, STANDARD DATE FORMAT

Hello all,

Can the following be done in SQL or do I need to use JavaScript or ASP. What I want to do is update a date field with data from a text field.

Field A - is a text field containing the Military Date Time Group (DTG) in the format...

Tags:java, aes, encrypt, file

I have a program to encrypt and decrypt a file using AES encryption standard.
It works fine within the same class.

Now I want to implement the same in different classes in different machines.
File will be encrypted in one machine and will be...

Tags:php, domain, get, name

Im want to verify the domain name where my scripts are running

what I started with is

$_SERVER['HTTP_HOST']

the problem with this is that the result could be www.domain.com or domain.com

where I would like it to be domain.com always...

Tags:dbms

what is normalization .explain ti with an example also explain 1nf,2nf,3nf,4nf and bcnf and aplly it onto a sample table as an example

Tags:javascript, onfocus, onblur

I'm trying to use OnFocus and Onblur to focus on a textbox when I click in the field.  When I click in the textbox the value for the textbox disappears so I can type what I want to enter. The only problem is if I don't type anything in the...

Tags:print

Hi:

I have the following script (partial) and I want to run this script using nohup directing out put to a file. Please let me know how I can print a comment (Something like "row is updated" or "the cumulative sum of rows updated" ) to a file...

Tags:jinitiator, oracle, crash, explorer

Hi Guys we have begun having a problem with many of our computers at work the last few days. When we attempt to connect to Oracle 9i forms (using JInitiator 1.2.23.1 (iirc)) the following occurs:

Internet Explorer has encountered a problem and...

Tags:java, Jasper, Reports, Excel, xls


Dear Expert,

I'm trying to use Jasper Reports for exporting Excel documents (and other too: RTF, XML, CSV).

I've already gotten HTML, PDF and XML to export correctly; I just cant seem to figure this one out.

Please correct the code...

Tags:top, sql, select, 10, query

have some theory, i think it should work, i havnt figure it out yet.  I couldnt get my sql running.

I just need a SQL statement that

SELECT TOP 10 records
FROM table
WHERE records NOT (SELECT TOP 10 from table)

its not working and it...

Tags:Android

Hello Experts....i am new to android..!!

In My Project I am implementing scribble pad,i have used OnTouchListener event to draw on the canvas,but it is not drawing properly....i am sending my code sample and output screenshot..!!

Thanks..!!

Tags:only, allow, textbox, backspace, letters

I am using the following code to allow only a letter, number, or backspace to be entered into at vb.net textbox:

Private Sub txtSearch_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles...

Tags:combobox

Hello,

I have a combobox that once you enter the control, sets the .DroppedDown property to True so it will expand the box to show the contents. Then a user can start typing stuff in and it will scroll to any matches in the box. From there I...

Tags:self, form, php, action

Hi,

What I'm trying to do is this.

Have the user select an option from a form

and depending on the option include a file.

here is my code

<FORM action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
   <P> I want to :
  ...

Tags:C#

Microsoft has a good sample of how to pull of datagrid sorting here: http://msdn.microsoft.com/en-us/library/0868ft3z.aspx.

However, their samples uses the click of a button. I want the user to be able to simply click the column header and...

Tags:loadpicture

I need a way to display the images that are stored in an ImageList on my form. The ImageList absolutely must be populated at run-time.

One of the ways I have tried to do this is to create an Image and ImageList control on the form and then in...

Tags:Year and Month Select dropdown Javascript?

Hi,

I have two dropdowns Year and Month
1. I need to display 4 years dynamically, current year and previous 3 years.
2. When first time page loads, current month and year is selected in the dropdown and displaying data accoding to that...

Tags:C#

I've been trying to send keypresses to another application using SendMessage in C#. So far I've gotten absolutely no results from it. I've tried sending different combinations of these functions to different applications with no luck.
ex)...

Tags:update, join, sql, inner, server

Hello.  I have a question about UPDATE with INNER JOIN.

UPDATE         AliasA
SET                AliasA.CarMaker = mstMakerModel.Maker
FROM            tblCarAuctionList AS AliasA INNER JOIN
                      mstMakerModel ON...

Tags:location

in solaris system the the location of tnsnames.ora is searched
First: ".tnsnames.ora" at users's home directory
Second: TNS_ADMIN
third: /var/opt/oracle
Fourth: ORACLE_HOME/network/admin

1. Is this order common for all unix systems
2....

Tags:C# (Win Forms)

Hi All,

I have to display thumbnail images in ListView control. How to give space in between thumb image in List View? (like padding to images)

I have tried:
lstDPView.Margin = new Padding(10, 10, 10, 10);   //// Doesn't work... :-(
...

Tags:sql, server, error, sqlstate, 08001

I have a Windows SBS 2003 Server, Service Pack 2, 2gb ram and 200gb disk.

I have installed MS SQL Server 2000 with its latest Service Pack 4 and left in tact its standard "MSSQL Desktop Engine (SBSMonitoriing)" and "MSSSQL Desktop Engine...

Tags:wordpress, php

I have a new php page and I'm using wordpress for my website.

From within my new php file I've included wp_load..

include ('wp-load.php');

which I believe is required in order to retrieve current user details.

I've then tried to echo...

Hi Experts,

I have made some changes to the following script. I am having troubles adding support for nested groups. The script only shows the groups the user is a member of in AD. Can some help me add support for nested groups as well?

Thanks

Tags:oracle, contains

what is the difference between CONTAINS() function and LIKE?
For example,
Does

SELECT * FROM tblMyTable
WHERE CONTAINS(fld1Text, '%food%') > 0

works the same as

SELECT * FROM tblMyTable
WHERE fld1Text LIKE '%food%'

? Performance...

I have a input and a label, I want to set the text of the label if they enter an invalid date.

this is the code I am using .

if (!IsDate($("input#EffectiveCostDate").val()))
   {
      $("label#EffectiveCostDateError").val("Invalid...

Tags:Microsoft Visual C++ 2008 Redistributable - x86 V. 9.0.30729.17, Windows XP

Dear Experts

I can not find Microsoft Visual C++ 2008 Redistributable - x86 Version 9.0.30729.17
Can someone please point me where to download at http://www.microsoft.com/downloads/

Thank you very much in advance

Regards,
Antonio...

Tags:partition, oracle, add, table, alter

Hi folks,

I have a table already created on which I want to add a partition by range on a date column. I checked for for the syntax on the Net and most of them:

1. Either explain the syntax for partitions specified while creating the table:...

i am using SendKeys.Send("{tab}"); in the key press event of a text box to move to the next textbox by pressing ENTER key

This is working fine, but i am getting an error beep. can anybody plz explain

the code is below:-
private void...

Tags:DB2

This error is generated randomly, based on the number of applications running.  If I start up 25 applications, they run creat.  If I open up 10 applications they run great.  If I try to open anothe application an hour later, this message is...

Good Day
Experts:

 I have come across a bit of trouble with some date calculation here in one of my programs.  
NewDate =  DateTime.Now.AddDays(3).ToString("yyyyMMdd")
So, I am adding 3 days to today's date.  Seemed ok.  Well, I actually...

Tags:db2, concatenation, string

I am using DB2 database as a back-end for PB70. I want to concatenate two fields from a table out of which one is string and the other is numeric.

I tried following sqls (Field1 is string;Field2 is numeric) :-

1.select field1 ||...

Tags:statement

How do I use an OR statement?  I am trying to say IF this or this then do this.  Here is what I have not working with the ||.

if (cboEstimateStage.DataTextFormatString == "Lockdown") || (cboEstimateStage.DataTextFormatString ==...

Tags:run, vbscript, script, administrator

I'm a VBScript noob and could really use the collective's help.  I have a VBScript that I downloaded from this website that runs at user logon through Windows group policy.  Basically the script forces the user's computer to reregister itself...

Tags:windows xp pro

Hello,

I would like to update all the clients on the domain to IE8, at the moment the batch file I am using runs it in silent mode but IE8 requires a patch which when installed needs a restart, then i can install IE8.

So is there anyway to...

Tags:sql, variable, datetime, datetime.

Hi,

I have a DateTime variable:

DECLARE @Date datetime
SET @Date = '2007-07-20'

After I'm done with this, How can I modify the @Date variable to something like this:

DECLARE @ModifiedDate datetime
set @ModifiedDate = @Date...

Tags:IBM, IBM DB2, 8.1, insert statement throwing SQLException, db2

I have added a new column in the database table and am trying to insert a record into the table using my application. The application throws the following exception:
com.ibm.db2.jcc.a.SqlException: DB2 SQL error: SQLCODE: -206, SQLSTATE: 42703,...

Tags:access, connection, vb, adodb

I am trying to set up my first connection using ADO from VB6 to a Access database.

Some settings:
I have the Microsoft ActiveX Data Objects Recordset 2.7 Library and the Microsoft ActiveX Data Objects 2.7 Library references both selected in...

Tags:Microsoft, Access, 2003

Hi All,

This should be an easy one, but I'm running out of time and need this asap.  I need to download the Microsoft Access ODBC Driver so that I can set up a User DSN that my Java programs can connect too.  I was shocked when I went into...

Tags:Sharepoint, C#

Hii All,
 I have sharepoint 2010 and i have one Document library. User uploaded some documents. Now user wants to update metadata and word file by only opening file in word. They dont want anybody to edit metadata by using edit property in...

I am taking a class and I have developed this code for an assignment.  I can compile and run the program just fine until I enter an hourly rate that has a decimal. Such a 30.25 then I receive an error message which I have attached.  Can someone...

We are running Crystal Reports 11.  

There is a specific report when ran in the server (server has a copy a of CRv11) it runs perfectly.  I can modifiy it and re-run it.  But when I copy it to my workstation and run it, it gives me a "Failed...

How can I best get the fractional part of a floating point number expressed as an integer?

Assuming the source number is 1234567.89 I want to retrieve just the value 89. In the example below the decimalPortion variable will contain 0.89

I...

SQL 2005 Error. No clue what this means. Any insight is appreciated.

Msg 1205, Level 13, State 56, Line 35
Transaction (Process ID 51) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun...

Tags:Microsoft, Access, Runtime 2003

We have this old Access app that REQUIRES the 2003 runtime and doesn't run correctly under 2007.  The app can't be updated, either.  So, we need to find a download of the 2003 runtime.  Does anyone know where I can download an installer?  Is it...

Tags:fcfs, scheduling

I am doing FCFS, SJF preemptive, SJF non-preemptive, Priority FCFS, RR scheduling algorithms using c++. Assume that I have 3 jobs stream such as  job stream: (A,0,0,10,2,10,3), (B,0,0,10,2,5,2), (C,0,15,15,10,15,5)
A job will be represented as...

Tags:javascript, file, write

Hi,

I would like to know if it is possible to use JavaScript to write to a text file. I tried using FileSystemObject in JavaScript. However, it gives the following error : "Automation server can't create object". Does anyone know what is going...

Tags:gif, progress, bar

Can anyone please provide me an animated Progress bar gif?

Tags:sql server 2005 sp4

Hi Experts,
I have a single SQL Server 2005 (running on Server 2003 std) which refuses to install SP4.. I have pasted the logs and the "SQL9_Hotfix_KB2463332_sqlrun_sql.msp.log" it refers to in the event log as an attachment.

I have searched...

Tags:C#, ASP.NET

I have been asked to provide a data flow diagram of an existing (previously undocumented) asp.net application. I have been unable to find an example of what exactly they are looking for. This e-commerce application is a tiered architecture with...

Tags:VB.NET

Hello Experts,

I am developing an application that will utilize the webbrowser control. (VB.NET 2005) I need to trap user interactions within the webbrowser to trigger an event.

I was able to trap link clicking within the webbrwoser but I...

Loading Advertisement...

Top Programming Experts

  1. CodeCruiser

    1,474,441

    Genius

    17,178 points yesterday

    Profile
    Rank: Genius
  2. Ray_Paseur

    1,239,842

    Genius

    3,744 points yesterday

    Profile
    Rank: Savant
  3. kaufmed

    1,043,915

    Genius

    7,080 points yesterday

    Profile
    Rank: Genius
  4. for_yan

    853,901

    Sage

    0 points yesterday

    Profile
    Rank: Genius
  5. slightwv

    840,473

    Sage

    3,900 points yesterday

    Profile
    Rank: Genius
  6. mbizup

    730,484

    Sage

    8,030 points yesterday

    Profile
    Rank: Genius
  7. sdstuber

    711,516

    Sage

    7,610 points yesterday

    Profile
    Rank: Genius
  8. capricorn1

    661,838

    Sage

    0 points yesterday

    Profile
    Rank: Savant
  9. leakim971

    595,749

    Sage

    10 points yesterday

    Profile
    Rank: Genius
  10. BuggyCoder

    589,408

    Sage

    3,000 points yesterday

    Profile
    Rank: Sage
  11. boag2000

    575,695

    Sage

    4,000 points yesterday

    Profile
    Rank: Genius
  12. mlmcc

    547,194

    Sage

    5,500 points yesterday

    Profile
    Rank: Savant
  13. DaveBaldwin

    470,294

    Wizard

    4,300 points yesterday

    Profile
    Rank: Genius
  14. jogos

    444,860

    Wizard

    0 points yesterday

    Profile
    Rank: Sage
  15. TheLearnedOne

    434,302

    Wizard

    8,600 points yesterday

    Profile
    Rank: Savant
  16. LSMConsulting

    420,775

    Wizard

    2,000 points yesterday

    Profile
    Rank: Savant
  17. Idle_Mind

    401,253

    Wizard

    8,000 points yesterday

    Profile
    Rank: Savant
  18. fyed

    391,241

    Wizard

    20 points yesterday

    Profile
    Rank: Genius
  19. acperkins

    386,983

    Wizard

    2,600 points yesterday

    Profile
    Rank: Genius
  20. ScottPletcher

    381,817

    Wizard

    0 points yesterday

    Profile
    Rank: Genius
  21. lcohan

    362,242

    Wizard

    5,400 points yesterday

    Profile
    Rank: Genius
  22. HainKurt

    356,835

    Wizard

    0 points yesterday

    Profile
    Rank: Genius
  23. ValentinoV

    349,025

    Wizard

    50 points yesterday

    Profile
    Rank: Genius
  24. matthewspatrick

    328,458

    Wizard

    210 points yesterday

    Profile
    Rank: Savant
  25. peter57r

    327,268

    Wizard

    0 points yesterday

    Profile
    Rank: Savant

Hall Of Fame