199,114 Archived Topics
Remove Filter ![]() | |
Hi buddies, I need to pass data among servlets and I find it very hard. What I have so far is passing it via session variable but that crashes my app now and then and seem to be bad approach. How do you transfer data among servlets without crashing the … | |
this code was suppose to prevent any single line from appearing twice for each display, i thought it was ok but later found that it wasnt, i was directed to use the hashset method in combination with my code to prevent that from happening, but it is not consistent, i … | |
Trying to get results from 5 tables where the userId is the same. I am getting like 8k rows for where there should be about 20-30 or so. Here is my statement: [CODE]mysql_query("SELECT * FROM userrating, postratings, blogCommentRatings, commentratings, gamecommentratings WHERE userrating.userId = '$this->userId' AND postratings.userId = '$this->userId' AND blogCommentRatings.userId … | |
I'd like to create a simple PHP form that will allow my website user to make a payment on their account with us using PayPal. I'd like them to enter their name, email address, account number, and the amount they'd like to pay. I would then like to pass this … | |
Some of you may have noticed that I am always harping about "abstracting the problem" and "posting the smallest compilable piece of code that demonstrates a problem." I rambled a bit about why this is important if anyone cares to read: [url]http://daviddoria.blogspot.com/2010/05/problem-abstraction-helping-others-help.html[/url] Dave | |
Hello all, I'm am trying to get this program to work for class tomorrow. Maybe someone would be kind enough to be able to check it out for me. I'm using the g++ compiler in Ubuntu trying to get this openGL application to work. It compiles fine but has a … | |
I am trying to write one generic class for the purpose of any types of method logging. I am able to track the parameter name and their data types in my class but unable to track the parameter value which is passed at the time of function call. I need … | |
Many of the student don't know how to find connection string, if they find then there will be some mistake. it's a simple idea to find connection string try it. and vote for it how to find connection string of any database or any server like, access or sql or … | |
Hi, I need some help on how I could add the following pie chart to a wxPanel. I just can't seem to get it to work without the pylab interface. [CODE]import wx from pylab import * class MyFrame(wx.Frame): """ Pie Chart Frame """ def __init__(self): wx.Frame.__init__(self,None,-1) self.panel=wx.Panel(self,-1) """ Start Pie … | |
Hello if I create newUser which is new StudentBean() why is StudentBean studentBean not equal newUser? [b] output [/b] [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable created table: createStudentTable created table: createInstructorTable created table: createBookingTable created table: createInstrAvailableTable created table: createInstrumentTable created … | |
Hi, Can any body tell me step by step, how to upload an asp.net site at booked domain. mahesh | |
[CODE] function AdminValidate() { if(document.getElementById("txtdate").value=="") { alert("PLEASE ENTER DATE..."); return false; } <asp:DropDownList ID="drpAgentId" runat="server" AutoPostBack="True" onselectedindexchanged="drpAgentId_SelectedIndexChanged" onchange ="return AdminValidate()" > [/CODE] as in above code it works fine if txtdate is empty it alerts a but when textdate is not empty then it does nothing i mean i want … | |
[HTML] i am having four combo boxes.the item in the combo box is taken from the database.we select the data whatever we want and clicking the submit button report want to be displayed. While selection in the combo boxes, they may select all the fields sometimes they may select one … | |
Hi, This should be a simple query but I am not able to figure out how to get the result I want. I have two tables A and B and want A left Join B however, I do not want all of table A. I want to restrict table A … | |
Hi I have The following code [CODE]// This is the weapon ban list. Anything here will be taken away from the player. isValidWeapon(weapon) { switch(weapon) { case "gl_ak47_mp": case "gl_m16_mp": case "gl_m4_mp": case "tavor_gl_xmags_mp": case "none": return true; } return false; } // This Checks right away at spawn. ARKaMAN … | |
trying to figure out the reason for memory loss any ideas would be helpful requirements should be done however i need a working file for turn in thanks for help. leak seems to be around line 59-61 i think in demo.cpp Demo.cpp [CODE] /* File Name: Demo.cpp Chapter No. 15 … | |
[COLOR="Red"]I just want to know that how to make a (NoOfChildrens)[B][I]tinyint[/I][/B] data type to an [B][I] unsigned tinyint[/I][/B] data type through SQL Server Management Studio Express ?[/COLOR] Where 'NoOfChildrens' is a column in table named Family in the database. | |
Hi, I am trying to install Ming for Python 2.6 I have downloaded the windows setup from [url]http://sourceforge.net/projects/ming/files/Releases/Ming%200.4.3/ming-0.4.3.zip/download[/url] but I am running into problems since if I try to run the setup.py inside the directory py_ext like setup2.py build --compiler=mingw32 I get the following error message: running build running build_py … | |
I have created a DLL file using VB6.0 and the registered the DLL into another server. Now I have created a DTS Package (ActiveX Task) which will create object of the DLL and call a particular function. The problem is when I execute the DTS task from my ID, everything … | |
i have been following this tutorial. However when i try and run it i get these errors: I cannot see why i am getting them.. [ICODE]1>------ Build started: Project: Ninja Wars, Configuration: Debug Win32 ------ 1> Playstate.cpp 1>c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\playstate.cpp(8): error C2259: 'PlayState' : cannot … | |
Hello All, I have been trying to send data to a pole display i.e. DigiPos WD202, I am trying to use the following code but nothing appears on the display [B]Procedure CSPortWrite(PortID, PortData : string); var f: THandle; NumberWritten : dword; begin NumberWritten := 0; //assigns the stream to the … | |
[B]sir I design a small application in vb (Windows-xp system) which displays the records from the sql database tables. Entering a table name in the text box and clicking the Button, its records are displayed in the data grid. The code for the button is[CODE]adodc1.recordsource="select * from " & txttable.text … | |
First let me just say that I'm a student seeking help on an assignment, but I am not asking for anyone to just hand me the answer. I am asking for help on understanding how to solve this problem. I'm stumped, and I don't quite understand it. I've done a … | |
The two characters (one, two) have the same values generated. How can I make them have different numbers generated? Currently, the out put is: "The character has 2 eyes, an age of 66, and 8 legs. The character has 2 eyes, an age of 66, and 8 legs." I want … | |
Hello, This is my first post on DaniWeb and will probably not be the last so I hope I'm doing this right: I'm currently working on a Sudoku Solver that allows the user to type in the name of a Sudoku text file that looks like this: 6 8 . … | |
I am working on updating a database where some measurements are stored as text. The updates I'm making are to let the engineers that use it convert their measurements into different units. Long story short, the numbers must be kept as text for a couple reasons that I won't go … | |
im having trouble creating a random number generator (like say a dice rolling game) if anyone could possibly show me some code for a random number generator that would be greatly appriciated :mrgreen: | |
I have a database set up in Access. Currently I have 12 exact copies so individuals can enter data. We use the data to fill in multiple forms. I know that VB can be used to allow everyone to access one database. Does anyone have this as a runtime module … | |
Hi, I am a tester and new to python. The code in bold should execute only if the webpage has the text 'BUILD COMPLETE'. This text is between the <th> tag and this is found using DataParser class. [CODE] URL = "http://11.12.13.27:8080/cruisecontrol" from urllib2 import urlopen from HTMLParser import HTMLParser … | |
Hi, After much research and help from forums, i have the following. Using HTMLParser to parse thru html pages and then finally reaching a webpage where i have to check all the checkboxes and then click the 'Deploy' button. Used ClientForm to do this. But i am getting some HTTP … | |
I'm writing Conway's game of life for a school assignment. I have a text file with coordinates of the initial locations with bacterium. All I need to know is how to tell java to compare a coordinate in the matrix to a coordinate from the file. The pairs are listed … | |
hello dear developers. i have recently completed a c# application. i have also created user accounts and there respected logins. after saying that now i want to build a system in which specific users have specific rights on reports,edit action on accounts and other sql related rights. how could i … | |
ello folks its been along time since i did not post a thread but by the way folks i have some problem of my flexgrid iwant to save a data that came from my database and display it from flexgrid can u help me folks? i really need this code … | |
I have written this for my math class, as it saved me an accumulated time of three hours over a week of homework that involved the quads. I a posting it here for anyone who wants to use, modify or otherwise use to go ahead and do so. Standard Quadratic … | |
I will order Visual basic 6.0 soon and I wonder what the differences are between the Professional and the Enterprise package? It is crucial that the OLE tools and the "Package & Deploy Wizard" are included. Are these tools included in both the packages? | |
Is there any reason not to echo content like this: [CODE] <!--Some content up here--> <?php if($variable === true) { ?> <span>Some Content</span> <img src="some_img.png" alt="img"/> <?php ;} ?> <!--Some more content down here--> [/CODE] Or should I be directly echoing everything that is dynamic? | |
Hi all... I have a text box in a popup window and i need to pass the value from the textbox to the parent page.My problem is iam able to pass the value at the 1st time,but the next time when i try to do this im not getting the … | |
Basically what i'm trying to do is delete an old textfile in place of a new one with the different text that a person types in. this is basically the code: [CODE] string Go = "go to"; System.IO.File.Delete("C:/text.txt"); StreamWriter realm = new StreamWriter("C:/text.txt"); realm.WriteLine(Go); realm.Write(comboBox1.Text); realm.Close(); MessageBox.Show("Done!", "Finished");[/CODE] So, when … | |
Hi, I am currently developing a program in C++ which detects path to super node from a simple node in a ring type topology. My requirement is that I need to traverse from simple node to super node and highlight all the possible paths which are going to super node. … | |
how to read file content into a structure | |
HI, I have a script which reads an xml feed then uses a loop to insert information from that feed into a multi-dimensional array. I need to sort the array by 'day' before outputting, day is a dimension of the array. Below is a print_r() of the array after the … ![]() | |
In your opinion, when creating a nested loop is it best to use the call function and if so is using a pointer the route to go when creating the function? | |
well im hereagain with another question how do make a league table in vb 2008?? i want it to show this: Position| Team | Games | Wins | Loses | Ties | Goals in Favor | Goals against | Points its for a simulation app so it will have to … | |
Hi Guys, I created a program that generate random numbers and then I stored the generated number in a textfile. I want to retrieves the value stored in the textfile and display the largest and smallest value. Can anyone help me out? [code]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; … | |
Hello everybody, I have a trouble with my assignment . In my assignment, the application have to read the lists of text file before performing the another taks. I want my application run independently on any computer with JVM, so it must be read the text file in the jar … | |
Looking for help, I'm creating a form that would be filled in online and is then sent to me via email. I cant figure out how to get the email to populate a drop-down menu option. Here is the code of the email coming to me: [CODE=text]Name: [output name='Name'] Street … | |
I've been writing in visual basic for a number of years and have suffered so much criticism just for using the language. It's so easy to pick up and it can be compiled to an executable, that's why I learned it... From what I've gathered, the things that are "wrong" … | |
Hello, some of my Friends, and I decided to make a Media player using Java just for the fun of it. here are my Questions, #1: is it possible using Java ? or should I use a different language? #2: the process of Reading||Displaying||Viewing Video files is called ? #3: … | |
Hello folks, I recently started learning Java and bought a book to look at some examples. When I copied this example program out of the book I get a null pointer exception. Most of the other programs worked perfectly this is the only one iv had a problem with so … | |
Hello I am recieving error [icode]java.sql.SQLException: At least one parameter to the current statement is uninitialized.[/icode] at ConnectStudentDAO.java at [icode]ResultSet rs=ps.executeQuery();[/icode] Not sure if the xml statment or the bean variables or if ps.close() is needed [b] output [/b] [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: … |
The End.