199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
79
Member Avatar for fabunmi adeniyi

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 …

Member Avatar for jwenting
0
101
Member Avatar for xylude

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 …

Member Avatar for tyson.crouch
0
112
Member Avatar for RichmondJim

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 …

Member Avatar for RichmondJim
0
154
Member Avatar for daviddoria

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

Member Avatar for Ketsuekiame
0
90
Member Avatar for weaponx69

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 …

Member Avatar for weaponx69
0
125
Member Avatar for ManojRay

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 …

Member Avatar for stultuske
0
255
Member Avatar for pritesh2010

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 …

Member Avatar for etftw
0
1K
Member Avatar for Robbert

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 …

Member Avatar for Robbert
0
195
Member Avatar for ceyesuma

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 …

Member Avatar for stultuske
0
184
Member Avatar for mahesh0606

Hi, Can any body tell me step by step, how to upload an asp.net site at booked domain. mahesh

Member Avatar for dnanetwork
0
71
Member Avatar for jamshed ahmed

[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 …

Member Avatar for dnanetwork
0
80
Member Avatar for jjerryjenson

[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 …

Member Avatar for marck_don
0
118
Member Avatar for brookstone

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 …

Member Avatar for kplcjl
0
137
Member Avatar for ARKaMAN

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 …

Member Avatar for Ketsuekiame
0
192
Member Avatar for theABCasian

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 …

Member Avatar for Ketsuekiame
0
268
Member Avatar for Nitin Daphale

[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.

Member Avatar for Ketsuekiame
0
394
Member Avatar for bunkus

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 …

Member Avatar for bunkus
0
217
Member Avatar for priyam1309

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 …

Member Avatar for finito
0
447
Member Avatar for new2programming

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 …

Member Avatar for Ketsuekiame
0
161
Member Avatar for KE50

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 …

Member Avatar for KE50
0
408
Member Avatar for Bashir ahmad

[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 …

Member Avatar for Bashir ahmad
0
95
Member Avatar for jwelsh

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 …

Member Avatar for jwelsh
0
867
Member Avatar for chialoo

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 …

Member Avatar for WaltP
0
126
Member Avatar for JMChurch25

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 . …

Member Avatar for vanessa1106
0
973
Member Avatar for leverin4

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 …

Member Avatar for jhai_salvador
0
189
Member Avatar for trevs234

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:

Member Avatar for WaltP
0
232
Member Avatar for tycham

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 …

Member Avatar for nayak_1983
0
95
Member Avatar for dbphydb

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 …

Member Avatar for dbphydb
0
763
Member Avatar for dbphydb

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 …

Member Avatar for dbphydb
0
175
Member Avatar for cwpent

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 …

Member Avatar for cwpent
0
159
Member Avatar for mansoorhacker

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 …

Member Avatar for kvprajapati
0
284
Member Avatar for cabsjonel

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 …

Member Avatar for brodchoy74
0
109
Member Avatar for steventaal

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 …

Member Avatar for anuragcoder
0
259
Member Avatar for krille

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?

Member Avatar for vb5prgrmr
0
1K
Member Avatar for cloud09

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?

Member Avatar for cloud09
0
135
Member Avatar for Emiliya

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 …

Member Avatar for Emiliya
0
2K
Member Avatar for SiPexTBC

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 …

Member Avatar for kvprajapati
0
134
Member Avatar for abhayj2000

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. …

Member Avatar for abhayj2000
0
108
Member Avatar for ramakrishnaramk
Member Avatar for mcatominey

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 …

Member Avatar for nileshgr
0
148
Member Avatar for mr.confused!

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?

Member Avatar for jephthah
0
146
Member Avatar for flasy12

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 …

Member Avatar for kvprajapati
0
92
Member Avatar for V0idh

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; …

Member Avatar for kvprajapati
0
148
Member Avatar for regg

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 …

Member Avatar for regg
0
1K
Member Avatar for brookebb

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 …

Member Avatar for almostbob
0
89
Member Avatar for winrawr

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" …

Member Avatar for winrawr
0
266
Member Avatar for GuruJin

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: …

Member Avatar for moutanna
0
340
Member Avatar for cnuchavez

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 …

Member Avatar for cnuchavez
0
167
Member Avatar for ceyesuma

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: …

Member Avatar for ceyesuma
0
668

The End.