64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Valaraukar

So I'm currently working as part of a team that is building a game engine and I have been considering our current code structure. As a team we decided it would be a good idea to create a plugin architecture that allows additional functionality to be added by other users …

Member Avatar for Valaraukar
0
191
Member Avatar for Brachamul

Hello world ! First of all, i'd like to say that this is my first page in PHP, so i may have made the most basic of mistakes :) I wrote most of this from a tutorial i found somewhere on the web. I get the following errors : Notice: …

Member Avatar for Brachamul
0
704
Member Avatar for markdean.expres

I'm just wondering guys if it is possible for me to go to the specified listbox item via searching. Example; Listbox1 items are Apple Banana Guava Pineapple Peach When I key in the word Apple in a textbox, the SelectedItem would go to Apple, is this possible?

Member Avatar for markdean.expres
0
6K
Member Avatar for markdean.expres

Guys is it possible that I create a program whose functionality would be selecting a file, then gets the contents of that file (Word or text files). The program, of course, has a Richtextbox on it where the file content will be filled to. If it is, could anyone please …

Member Avatar for markdean.expres
0
132
Member Avatar for morrisproject

I currently have fields on my form which are set up as integers in phpmyadmin. I want to be able to display error messages if any field has been left blank when save is clicked, but at the moment i keep getting column '......' cannot be null. or maybe an …

Member Avatar for morrisproject
0
126
Member Avatar for BoBok2002

Two things. First I need to resolve the linker errors I'm getting and I also need to learn how to create a text file in a C++ project file. I'm working on a stacks project with classes and I'm running into linker errors. Specifically it says: [B][Linker error] undefined reference …

Member Avatar for BoBok2002
0
390
Member Avatar for begueradj

Hello people, I have downloaded a datepicker in order to use it in my script so as to allow people to pick their date of birth. The date picker in question is this one : core.ui.datepicker/ui.datepicker.js It works, but the problem is that it shows only the years that start …

Member Avatar for sudhirmadaan
0
1K
Member Avatar for Joey_Brown

Hello; I have a following method that allocates memory for some objects. [CODE] public static int formStyleOfLyle(int a) { ObjectL[] numberL = new ObjectL[a]; if(numberL==null) { return -1; } return 0; } [/CODE] I really dont know what this does; but I need to check the return value of this …

Member Avatar for Joey_Brown
0
127
Member Avatar for godfather21

hello guys.i have an issue.i want to show certain tabs based on user level. my user levels are: master admin supervisor gp patient But it an admin might be a gp also.how am i supposed to do that?

Member Avatar for godfather21
0
162
Member Avatar for Ehtesham Siddiq

Hi, I have my application in VS2008 and coded Vb.net. My query is i want to save record from an excel sheet to my Database Table. But i dont want to insert the Excel sheet as a whole rather i want to insert the record in my database table Row …

Member Avatar for lolafuertes
0
294
Member Avatar for cdudefire

My assignment for my programming class is to create a script using JavaScript that asks a user to enter a number in a pop up dialog box on their browser, and then tell them if they entered an odd or an even number. This is what I have come up …

Member Avatar for sridhar_sam
0
2K
Member Avatar for v3ga

Hi everyone just started Daniweb! I have been using devcpp for some time.I am trying to make a switch from DevCpp to Visual Studio but find the latter confusing having so many options. Recently, I did a console application that will accept a word from user and prints its anagrams. …

Member Avatar for v3ga
0
276
Member Avatar for Ruchi224

Hello !! I am stuck with an issue and need some guidance.. I am using visual studio 2008, vb.net Windows app and ms access 2003. I just wanted to know that there is a form in which i select an option from the list of options in combobox.. While the …

Member Avatar for Ruchi224
0
136
Member Avatar for Ruchi224

Hi again !! I am making a widows application wherein i have a form containing two datagridviews.. The first one( named dgv1) consists of all the data from the database and a checkbox column.. While the user selects the rows using checkbox, the data are displayed in adjoining datagridview(named dgv3).. …

Member Avatar for Ruchi224
0
2K
Member Avatar for daldrome

Hey guys, I need to print out character symbols for this program. I need to print 2 different shapes of symbols. For the first shape, I have to print out a triangle, represented by the "*" in the nested for loop. I need to print out a square shape using …

Member Avatar for daldrome
0
198
Member Avatar for Traicey

Guys I have a table with image datatype and I wana insert an image in the image field, for example [CODE=SQL]insert into dbo.Products(ProductID, ProductName, ProductPrice, ProductImage) valeus(144, '8 Gig Lenovo memory Stick', 250.00, 'Image from C:Drive or where ever the image residing')[/CODE] Thanx in advance

Member Avatar for yassooo
0
185
Member Avatar for bigredaltoid

Hi guys, trying to write a function that reads a text file and counts the periods in it and prints the answer. I keep getting an error saying that UnboundLocalError: local variable 'periods' referenced before assignment. I am not sure how to fix this. We must use a function to …

Member Avatar for bigredaltoid
0
138
Member Avatar for Behseini

Hi everyone, Can you please let me know why I am getting error on populating Persian(Arabic)Numbers?! I have saved the php file as "Uncode in UTF-8" format which can display the dropdown list in a HTML correctly but when I want to retrieve them in PHP I encountered with following …

Member Avatar for diafol
0
366
Member Avatar for sidra 100

hi i have made a program to find average and standard deviation. n it read input from other. rest of things are fine plz guide me my output for Standard deiation sD comes NaN. i have searched alot bt couldnot find solution my code is [CODE]import java.io.*; import java.util.*; public …

Member Avatar for Taywin
0
170
Member Avatar for zack_falcon

Okay, so I have two arrays: [CODE]public int[] start = new int[21] { 0, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14 }; public int[] end = new int[21] { 0, 1, 1, 1, 1, 1, 1, 2, …

Member Avatar for zack_falcon
0
189
Member Avatar for spunkywacko

Hey guys. I'm having some trouble with this error. [CODE] class App(): i = 0 def updateCount(self): i = i +1 app = App() app.updateCount() input('Enter') [/CODE] I have tried global i but get an error 'global name i is not defined'. Can someone clue me in? Cheers :D

Member Avatar for Gribouillis
0
206
Member Avatar for as3g

I'm new to python and I'm trying to count punctuation in a string input by user, and I"ve been able to do it w/ out a loop, but would like to emply a more efficiant method. I've been able to loop through and grabb the characters, but they are'nt being …

Member Avatar for as3g
0
171
Member Avatar for Vishwasdeep

Hi, Myself Vishwasdeep. I am doing a project work on asp.net. I am getting an error/exception on my code. [CODE] using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.Sql; using System.Data.SqlClient; namespace WebApplication2 …

Member Avatar for Vishwasdeep
0
818
Member Avatar for PixelExchange

I have a program which consists of two windows (hWnd, and picturewind). I would like to write code which takes an action every time a person clicks inside of the second window (picturewind) but not when the person clicks in the first window (hWnd). Can anyone tell me how I …

Member Avatar for PixelExchange
0
153
Member Avatar for gouki2005

I got the Jasypt 1.8 and i have jasypt-1.8 folder but how can i add this new libraries to my project org.jasypt doesnt appear so what i need to do?

Member Avatar for peter_budo
0
247
Member Avatar for mehdi.yazdani

hi, i created the page that it contains captcha for submitting my form and insert it inside the data base but in the main page i putted my text fields later i created iframe which is displaying my captcha images with refresh button in the insert page i need to …

Member Avatar for mehdi.yazdani
0
120
Member Avatar for strongguy12345

alright well i have already posted in the python forum part, now this question is the same one as the one i did for college level computer science but this is for university. any way im pretty sure i have it but before when it was working it would say …

Member Avatar for strongguy12345
0
252
Member Avatar for Dmiller071

Hi all! The past couple times I posted they were all about 2D arrays.. and here I am again with them =( I cannot escape them! Anyway, the project I'm working on requires a Maze class that holds a 2D array and different types of robots that will find their …

Member Avatar for Dmiller071
0
293
Member Avatar for sha11e

[CODE] //Creating a variable for the connection called //"con" Connection con = DriverManager.getConnection("jdbc:mysql://IP_ADDRESS:3306/DATABASE_NAME", "USERNAME", "PASSWORD"); ... [/CODE] If I don't want at least the username and password to be shown in clear text... is there something I can do? Have them in a file thats encrypted or... I don't know.. …

Member Avatar for ~s.o.s~
0
107
Member Avatar for nikki05

Hi, I am using PHPBB for my forum. My intention is if someone registers to my website, he/she will be login to forum as well, automatically. That means no need to register twice to use the forum. Is there a way forward to achieve this? Will greatly appreciate your suggestions. …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for BoBok2002

Hi, I have drawn a human face using simple shapes such as big circle for the face, little circles for the eyes, lines for eyebrows and triangle for the nose. I have been asked to create a template for various expressions of the face (fear, happiness, disgust, etc). Once I'm …

Member Avatar for BoBok2002
0
453
Member Avatar for smepperson

Hi Everyone, It has been some time since I've posted here but I am truly having trouble seeing the forest for the trees so to speak. I have changed my code so many times I missed the time it worked because I want it to do more. Upon Exit btn …

Member Avatar for smepperson
0
1K
Member Avatar for ktsangop

Hi there! I would like a little help regarding the following code. The following code will wait for a non-blocking socket connection, and then wait to receive a certain packet. When the packet arrives, it will do something and then close connection and reinitialize it in order to be able …

Member Avatar for ktsangop
0
391
Member Avatar for dark_sider_1

I'd like to add (using the mathematical term) two Integer ArrayLists in Java, as well as divide them and multiply. How would I go about this algorithmically? I can't for the life of me think of something, perhaps having to do with two's complements. Okay, so let's say that I …

Member Avatar for Taywin
0
217
Member Avatar for basharg

Hello guys, I need some help with a program that finds all the prime numbers from 2 to 10000,here is what I have so far [CODE] #include <iostream> using namespace std; bool prime(int n ); void main () { int n,b; b=0; for (n=2;n<=10000;n++) prime (n); if () { cout<<n<<endl; …

Member Avatar for basharg
1
135
Member Avatar for jackmaverick1

I need to access a file that isn't relative to the directory that the .jar file is in. I got lucky with another part of the program doing this, but I really don't know how. Thanks, Jack

Member Avatar for JamesCherrill
0
107
Member Avatar for shack99

Hello all, I'm trying to read an ant script through java and find where all its .java files and libraries are located. I've gone through the Apache ant API but couldn't find an appropriate method. So far all I could come up was the below code, it gives the properties …

Member Avatar for peter_budo
0
293
Member Avatar for deraad

I'm trying to simply display some data from my database, but without duplicates, I'm working with the following code: [CODE] $query = mysql_query("SELECT answers FROM users"); $rows = mysql_num_rows($query); for ($j = 0 ; $j <= $rows ; ++$j) { $row = mysql_fetch_row($result); echo $row[0]."<br>"; } [/CODE] This works perfectly …

Member Avatar for cwarn23
0
185
Member Avatar for strongguy12345

ok well this is my first thread that im asking 2 questions, im new here, these are from my high school college computer science class, one is newer and one is older, i went back to the older one because I still want to finish it and try and extend …

Member Avatar for woooee
0
195
Member Avatar for Himajin Breaker

Is it possible to create a dynamic-sized array of structures within a structure? To provide some info, I want to read some student info off an input file, which includes some miscellaneous information, subject codes and corresponding marks. The number of subjects taken is also provided as a number in …

Member Avatar for Himajin Breaker
0
178
Member Avatar for Stazloz

I am writing a recursive function to return an integer after converting a string. I am very close. This was already quite the brain teaser, and recursion is not my cup of tea. Perhaps somebody can help with this small little problem I am having. The last thing I need …

Member Avatar for Stazloz
0
3K
Member Avatar for optimus_prime_1

please install this C++ software and according to image i am getting few errors will some one help me solve this problem ? software link : http://www.ziddu.com/download/17082595/turboc.zip.html image link : http://www.ziddu.com/download/17082611/untitled.JPG.html thank you ....................

Member Avatar for Stazloz
0
1K
Member Avatar for Howdydoody

I'm writing an alphabet cipher that ciphers at random. It looks like it should work when I'm debugging it but when I look at the cipher key it comes out with duplicate letters like some of them weren't switched during the for loop. Any help is much appreciated. WasSwapped is …

Member Avatar for Howdydoody
0
151
Member Avatar for mags11

I am new to VB. I use Visual Studio 2010. I got most of my rental program to work, but I am having trouble with the easy part. The First Name and Last Name are supposed to combine to the FullName. I know I have to use the assigning textbox …

Member Avatar for codeorder
0
159
Member Avatar for Bobonoinc

I am developing an application in which I have two JPanels (aPanel and bPanel) added to a parent JPanel (cPanel). I need to be able to double click on either aPanel or bPanel to change its color. If I double click on aPanel, it changes color as desired. When I …

Member Avatar for mKorbel
0
127
Member Avatar for renzlo

Hi Guys, I am almost done with my program, until this problem arises and I can't solve. I have two forms. First form has 1 listbox and 2 buttons. Second form has 1 datagridview and 1 button. The first form opens the csv and list the location+filename of the CSV …

Member Avatar for renzlo
0
152
Member Avatar for Nasas

Can u help me guys. I have problem of calling function from class and overloading. When I'm trying to print short int type number, the program brakes down. No errors are shown which tell me whats wrong. [CODE]#include <cstdlib> #include <iostream> using namespace std; int i=0, j=0, zero_fill, l=0; class …

Member Avatar for Nasas
0
117
Member Avatar for Frankey

i am looking for some advice on what is the best approach to get this done :) my datababase holds a table categories with the columns [CODE]|category_id|category_name|category_parent_id|[/CODE] i am showing my users a html sortable table with the following columns |category_id|category_name|category_parent_name| so what i want, is to do a ORDERBY …

Member Avatar for Frankey
0
256
Member Avatar for KLMKLMKLM

WHAT in Heaven's name is a "T_STRING?" Nowhere do I see a definition of T_STRING, or why it is called T_something. From what I've been able to piece together, it might be an unquoted string. I have a [CODE]Parse error: syntax error, unexpected T_STRING in /home/xxxxxxxx/public_html/include/mmeetingDate.php on line 10[/CODE] Since …

Member Avatar for Stefano Mtangoo
0
269
Member Avatar for TigerTeck

Grade2 Class.... [CODE]public class Grade2 { public Grade2(double input) { Grade = input; } public String getLetterGrade() { if(Grade==(4.0)) message="A+"; else if(Grade>=(3.85)&&Grade<=(3.99)) message="A"; else if(Grade>=(3.7)&&Grade<=(3.8499999)) message="A-"; else if(Grade>=(3.01)&&Grade<=(3.3)) message="B+"; else if(Grade>=(2.85)&&Grade<=(3.00)) message="B"; else if(Grade>=(2.7)&&Grade<=(2.8499)) message="B-"; else if(Grade>=(2.01)&&Grade<=(2.3)) message="C+"; else if(Grade>=(1.85)&&Grade<=(2.00)) message="C"; else if(Grade>=(1.7)&&Grade<=(1.849999)) message="C-"; else if(Grade>=(1.01)&&Grade<=(1.3)) message="D+"; else if(Grade>=(0.85)&&Grade<=(1.00)) message="D"; …

Member Avatar for TigerTeck
0
145

The End.