64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ceyesuma

The name of this question jstl_var_message Hello and Thank you in advance for any assistance. [B] System info: [/B] Netbeans, JSF, glassfish [B] The Purpose of this post is: [/B] To set a variable to use to map the stylesheet.css to messages [B] The functionality of this code is: [/B] …

Member Avatar for ceyesuma
0
1K
Member Avatar for HITMANOF44th

i am having trouble with testing to see if aData is equal to exit i have tried a few diffrent things the only thing i have relized is that the compiler say that aData is a multi character constant any help is greatly appreciated [CODE]while (exit != 1) { char …

Member Avatar for HITMANOF44th
0
126
Member Avatar for Geek-Master

Currently our database is set to case-insensitive so when I search for the word "Math" I can get "MATH" or "Math" and even "math". Now I would like to run a script that searches for any word that is the lower case form such as "math" or "science". Since the …

Member Avatar for Geek-Master
0
164
Member Avatar for neosonic

Hi, this is my problem. I have a big picture to be viewed in picturebox. I will need to manipulated that picture (add some graphic in it) and save it in the same size (if the original is 2000x2500, let it be 2000x2500). The problem is that picture's size is …

Member Avatar for neosonic
0
94
Member Avatar for Kruptein

I do php coding for some time and want to learn something new. After some researsh I ended up with 2 languages/frameworks but I can't choose between them. I'm a python programmer so python Django might be easier to start with. But I don't know a well-known website which is …

Member Avatar for Kruptein
0
527
Member Avatar for dsmush

Hi I'm doing a project which requires a registration/login page. I have created both registration and login html pages and have done the validation servlet for the login page. I've also attempted the validation servlet for the registration page, but this is where I am struggling because I can't get …

Member Avatar for javaAddict
0
508
Member Avatar for veledrom

Hi, I have two classes. I user [inlinecode]throw new Exception("Error");[/inlinecode] in first class. I want to catch that error message in second class with "try catch". How do i do it? Thanks

Member Avatar for veledrom
0
146
Member Avatar for zachattack05

Hi! I'm new to the site! I've been searching for help on Google for a while and keep getting results that point to this site, so I figured I should jump on. I'm new to C#. I've been programming in VBA in MS Access for a while now and have …

Member Avatar for drifai
1
864
Member Avatar for fenerista

do_gettimeofday(&tv1) current_kernel_time() do_gettimeofday function returns a value like that when the time was about 21:42: "1260819441.705069" and current_kernel_time() function returns a value similar to do_gettimeofday's value. the print code is for tv1: [CODE]len += sprintf(buf,"%10i.%06i\n",(int) tv1.tv_sec, (int) tv1.tv_usec);[/CODE] I don't know what these functions returns which time. I want to …

Member Avatar for fenerista
0
496
Member Avatar for RichardCrickets

Hello DaniWeb. Here is my problem. I have an XML file that is arranged like this.. <document> <Word>apple</Word> <Word>hat</Word> <Word>car</Word> </document> I'm trying to figure out how to grab the actual words. This is how I'm doing it now. [Code] DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document doc = builder.parse(new File("data/general/words.xml")); NodeList …

Member Avatar for RichardCrickets
0
106
Member Avatar for rizzo18

I'm trying to execute this code to open a java GUI to run queries on the oracle express database I have set up but at the actionPerformed() class, I keep getting java.sql.SQLException errors. What I would like for it to do is when you hit the button, that table from …

Member Avatar for rizzo18
0
2K
Member Avatar for bluem1

Team - Please forgive my ignorance here, I am very new to xml coding. Basic situation is if I run the following code: [CODE] Dim feedXML As XDocument = XDocument.Load("c:\Feeds.xml") Dim bubba = From Feedmain In feedXML.Descendants("Feed") _ Where (Feedmain.Attribute("status") Is Nothing) OrElse (Feedmain.Attribute("status").Value <> "disabled") _ Select Name = …

Member Avatar for bluem1
0
90
Member Avatar for peter_budo

I will keep it simple. I need to list id of every element in given section. Example [code=html] <div id="leftSide"> <ul id="leftList"> <li id="item1"item 1</li> <li id="item2"item 2</li> <li id="item3"item 3</li> <li id="item4"item 4</li> <li id="item5"item 5</li> <li id="item6"item 6</li> </ul> </div> <div id="rightSide"> <ul id="rightList"> <li id="item2"item 2</li> <li …

Member Avatar for peter_budo
0
130
Member Avatar for tqmd1

Dear Experts I have following codes to to show data in listview. It displays first column empty. The value of first column is displayed in column2. How to show value of first database field in column1 Please help Dim StudentID As Integer Dim Name As String Dim Address As String …

Member Avatar for me655321
0
772
Member Avatar for Lida_pink
Member Avatar for sathya8819

Hi, I am developing an image processing application and I face one problem. When I run the application, all I get is a blank form, even though I have a lot of controls attached to it. I know it must be a dumb mistake on my part, but I am …

Member Avatar for Geekitygeek
0
170
Member Avatar for Xaenthe

I just know I'm doing something stupid. The part of my assignment I'm working on is to prompt the user to enter the name of a stock, earnings per share, and price to earning ratio, and then display it after everything is entered. What it's doing now is asking for …

Member Avatar for Mouche
0
107
Member Avatar for sathya8819

Hi, I am developing an image processing application and I face one problem. When I run the application, all I get is a blank form, even though I have a lot of controls attached to it. I know it must be a dumb mistake on my part, but I am …

Member Avatar for me655321
0
103
Member Avatar for Phaelax

I've played around with HTMLEditorKit and HTMLDocument, and while I've managed to do the parsing I needed, I also need the complete source code of the document to pass along to a webkit renderer. Java's existing document throws out some tags after I read it in. [code] HTMLEditorKit kit = …

Member Avatar for Phaelax
0
113
Member Avatar for Mitja Bonca

I would like to ask someone, even someone has told me it is not possible. I have a child form2 which is always visible (there is a listView, which shows some data). Then I have a new child form 3 (which is currently opened) and the form3 now does come …

Member Avatar for Geekitygeek
0
123
Member Avatar for P00dle

I am using the netbeans gui builder. I dragged a filechooser onto my frame, and it does almost everything I want it to do. How do I remove the buttons? I dont need them - the user just has to select a file, or type in a file name, the …

Member Avatar for P00dle
0
58
Member Avatar for mhz42

Hello everyone, I'm quite new to c# and .Net, and i was wondering if you can give me some guidance on a specific problem that i have I'm currently trying to use Jxta.NET: a .net wrapper for JXTA-C, which is the C implementation of the JXTA protocol. So, i went …

Member Avatar for mhz42
0
223
Member Avatar for adcodingmaster

hi All i have a question. plz answer if u can. i must b very thankful to u question is Why use abstract classes at all? Why not just declare a class and then make sure you never instantiate any variables of that type? thnx in advance

Member Avatar for ~s.o.s~
0
94
Member Avatar for feoperro

Hi, I've been searching around for quite some time now but haven't found what I've been looking for... I'm trying to stretch a flash object inside my browser but for some reason the more I stretch it, the bigger the boarders get while the actual movie on the inside stays …

Member Avatar for feoperro
0
223
Member Avatar for devnar

Hi, I'm trying to call a bunch of methods during run-time using reflection, but I'm getting an exception saying "IllegalArgumentException: wrong number of arguments". Here's some information on the variables used. - All elements of mailTestClass[] are classes that extend AbstractTestCase. (FirstTestCase extends AbstractTestCase and FirstTestCase.class is the first element …

Member Avatar for devnar
0
972
Member Avatar for grimbaum

Hello all! I´m doing the n-queens prolbem in an recursive manner with a twist. The twist i the possibility to chose to place 2-8 queens in a 8x8 board.I have problem with storing the rows properly and print them at the right time inside the recursion,please feel free to give …

Member Avatar for hunter666
0
156
Member Avatar for jino

Hi all, I am using codeigniter. I want to generate dynamically the contents of the textarea of the tinyMce. Is there any plugin for generating the content something like smarty. Thanks in advance. Jino

Member Avatar for jino
0
112
Member Avatar for jino

Hi all, I am not getting the tinymce edit textarea in an html page that is generated by ajax. I am calling the ajax using jquery. I have kept the tiny_mce.js file on the page that is generated via ajax. The path is correct but am not getting the page …

Member Avatar for jino
0
1K
Member Avatar for bajanpoet

What I need is the SQL code to display the last business day - usually will be one day prior, but I want that if I run this code on Monday that, instead of Sunday's date, I get Friday's date. This is what I started with [CODE] - Automatically generate …

Member Avatar for bajanpoet
0
177
Member Avatar for travism

I wrote the following function that takes a string with spaces and replaces the space with an underscore ( _ ). The function works, but I believe there is a less novice way of doing it. Anyone have any suggestions? BTW, this is written in Linux and compiled with G++. …

Member Avatar for travism
0
7K
Member Avatar for lotrsimp12345

Here's what i have. Not sure what it is doing exactly. You pack a account object and then you write it to the buffer right? So shouldn't it print after i write it? Main #include <iostream> #include <iomanip> #include "account.h" #include "Lentext.h" #include "Deltext.h" using namespace std; int main() { …

Member Avatar for Ancient Dragon
0
324
Member Avatar for sheztc

Hi i'm new to C++ and have made a grading system application. The application works, but I would prefer to use one variable for student name instead of two seperate variables, but when I try to do this it skips to the next line of code when I run the …

Member Avatar for jonsca
0
132
Member Avatar for mps727

Hi. I'm writing a custom control and I want to be able to click and drag items in it, but have them be just a dotted outline as they are dragged along. This behavior is seen in Photoshop when clicking and dragging layers (See image below displaying this behavior). I …

Member Avatar for mps727
0
213
Member Avatar for sidd.

hi i have a file with ASCII as well as extended ASCII. I am unble convert this values to binary. Any help plzzz

Member Avatar for DdoubleD
0
165
Member Avatar for BobRoss

Trying to replace '\n' or its decimal equivalent of 10 after it has a decimal value added with its original value of '\n' or 10. This way the newline character won't appear in the ciphertext as some other visible character. [code=c] while (!plainText.eof()){ string plainLine = ""; getline(plainText, plainLine); int …

Member Avatar for BobRoss
0
122
Member Avatar for javaStud

Hi. I am having some problems with files. I am trying to read some contents from a file, transfer them to an array and then read the contents of the array. The problem that I am facing is that the output is not that is suppose to be. The file …

Member Avatar for javaStud
0
92
Member Avatar for ykornx

Hi, i have a project to generate code for TabControl. I'm doing 1 form whit textbox-es to enter the tabcontrol properties (name, size, pozition ...) For the number of the tab pages in the control i'm generating dynamicly another tab control with the number of tab pages entered in the …

Member Avatar for ykornx
0
1K
Member Avatar for rena0514

hey i am trying to write a program that allows two users to play tic tac toe....right now i am doing the program in pieces i have accomplished setting up the two dimensional array. i am having a problem changing the * thats in a section of array to an …

Member Avatar for rena0514
0
155
Member Avatar for UberJoker

Hey guys. I have the following string array, say, string array[2]; array[0] = "hello7925"; array[1] = "bye344539"; I want to read the last two characters from each string in the array, which in this case are 25 and 39 and then put them in a separate array like this.. int …

Member Avatar for UberJoker
0
208
Member Avatar for Bagleys

Hi im really new to VB and am stuck on an IF statement, heres my code: If TextBox12.Text >= 105.01 Then TextBox16.Text = TextBox12.Text - 105.01 * 0.128 ElseIf TextBox12.Text < 105.01 Then TextBox16.Text = "Not NI Eligible" End If When i debug it the error System.InvalidCastException is displayed four …

Member Avatar for Bagleys
0
98
Member Avatar for Tank50

HI I wrote below coding part,but its generate the exception.Below I mention the code and error Error [COLOR="red"]Data type mismatch in criteria expression.[/COLOR] [CODE] DataSet Serach_sumbitdata=new DataSet(); OleDbConnection conn7 = this.getconnection(); conn7.Open(); string str = "Select * from Customer where SubmitDate between '" + str1 + " 12:00:00 AM'" + …

Member Avatar for Tank50
0
195
Member Avatar for amel036yippee

hello.. i need tips to solve the problem. The situation is like this: I have randomly generated 20 (pop) array of length = board. The output is this: [QUOTE] [B]1 3 6 4 1 4 6 6[/B] 2 0 1 1 1 3 1 3 3 6 3 4 7 …

Member Avatar for amel036yippee
0
130
Member Avatar for edgar5

I am a developer on the open source Audacity team and am trying to add some functionality. Currently if you drag the icon of a supported type (fi song.wav) onto an open Audacity project it loads the file. However if you drag song.lnk (like an XP shortcut but different--looks like …

Member Avatar for mitrmkar
0
219
Member Avatar for AZSooner

I am creating a Video class, then creating objects to place into an array. Then I want to print the contents of the array: [CODE=java] public class Video { String videoTitle; int videoRating; public Video (String pVideoTitle, int pVideoRating){ videoTitle = pVideoTitle; videoRating = pVideoRating; } } [/CODE] [CODE=java] public …

Member Avatar for Mikeyp926
0
6K
Member Avatar for chris99

[CODE]global Num1 from Tkinter import * Num1 = "" def buttonNPush(n): global Num1 Num1 = Num1+n print Num1 def clearScr(): global Num1 Num1 = "" root = Tk() textbox = Entry(root) textbox.pack(side=TOP) #Create Frame with buttons numbered 0-9 frameButtons = Frame(root) frameButtons.pack(side=LEFT) button1 = Button(frameButtons, text="1", command=buttonNPush("1")) button1.grid(row=0, column=0) button2 …

Member Avatar for vegaseat
0
210
Member Avatar for walter clark

What I want to do must be easy because I can't find it on the web. I have existing C code with char* strings all over the place. I'd like to get those strings to the Form1.h file so I can use them there. All I want is... String^ newText; …

Member Avatar for walter clark
0
99
Member Avatar for jlego

I am taking user names and id from a database and dropping it into a combo box for users to select there name. in vb 6 i used to do the following: [code] do until rs.eof = true with me.combobox.comboitems.add(,, rs.fields("Name")) .tag = rs.fields("ID") end with rs.eof.movenext loop [/code] the …

Member Avatar for jlego
0
148
Member Avatar for liamfriel

Hello All, I got an email like this: [QUOTE]Details: Your site is hacked lock hear (mafiaradio.is-a-chef.net) Resolved: (213.175.205.68)and lock hear [url]http://mafiaradio.is-a-chef.net:8000/[/url] u will see your site is hacked ! clean your root and change your users password !![/QUOTE] I checked the url and it was indeed our site - I …

Member Avatar for liamfriel
0
100
Member Avatar for wonderland

Hi, My apologies if this is the wrong section. I wanted to know is it possible to set up .htaccess so that when user is promted for username and password, username is already input. OR just password is needed in order to proceed ? Thanks

Member Avatar for wonderland
0
103
Member Avatar for azra36

in this code i check if i'm getting data blocks in order, if not inorder i return NULL,i.e ask for next block, if in order i write the contents of data block to a file pointed by fpdddb. the contents of DDB_Parser.BlockDataByte array keep changing every time. what is the …

Member Avatar for Ancient Dragon
0
1K

The End.