64,152 Solved Topics
Remove Filter ![]() | |
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] … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
How can I show the next 15 odd numbers of for example number 10 ? | |
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 … | |
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 … ![]() | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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++. … | |
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() { … | |
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 … | |
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 … | |
hi i have a file with ASCII as well as extended ASCII. I am unble convert this values to binary. Any help plzzz | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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'" + … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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; … | |
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 … | |
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 … | |
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 | |
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 … |
The End.