64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for foosion

I have some code which "requires python 2.5.2 or bytecode compatible." Would 2.5.4 work? 2.6.2? Any harm in installing either of these on the same machine as 3.1 (separate directories)? Windows XP if that matters.

Member Avatar for foosion
0
180
Member Avatar for harryhaaren

Hey all, I'm currently working on a design for my first "big" program. I've done a small Object Orientated IDE before, however that code there was a bit of a mess... So I'm scoping around for online tutorials on how to design an OO program. Does anybody have a great …

Member Avatar for harryhaaren
0
100
Member Avatar for _dragonwolf_

I feel like an idiot asking for help every step of the way. My program is almost complete. I just can't seem to wrap my head around the constructor issue. Here is the check list of what I have left: Appropriately use the Dates(int,int,int) & the Dates(string,int,int) constructors; Appropriately use …

Member Avatar for _dragonwolf_
0
107
Member Avatar for kako13

Hi, I'm was asked to create a search engine. The same search on data in a MySQL service. Right now it work, but the search query is not powerful. How I can improve it and make it a good search engine? [CODE=php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> …

Member Avatar for kako13
0
162
Member Avatar for Aiban

Hello. I can't believe i'm stumped on this ok .. main menu again ..... nice fat quit button .. works great quit = Button(root, text = 'Quit', command = root.quit) awesome work hey .... i also have an about window (cleverly called awin) .. click it .. it tell you …

Member Avatar for vegaseat
0
277
Member Avatar for keanoppy

[code]echo "<td> <input type=\"text\" name=\"name$i\" size=\"10\" readonly=\"readonly\" value="; echo $row['name']; echo " /> </td>";[/code] currently,if there is a value in column name,i.e mr john, only mr will be shown in the value.i've check with my mysql_fetch_array and all others,seems like when i echo $row['name'] outside the <td>,mr john will appear,only …

Member Avatar for almostbob
0
115
Member Avatar for khr2003

Hi I have a table which I am trying to pull some data out of. I am trying to select all the data where one field matches two numbers. [CODE]mysql_query ("SELECT articles.*,articles_comments.* FROM articles LEFT JOIN articles_comments ON articles.id= articles_comments.articleid WHERE articles.cat_id='$cat_id' AND articles.status='1');[/CODE] what I want to do is …

Member Avatar for khr2003
0
68
Member Avatar for dub4theworld

I am attempting to write a program that simulates a lobby or a line in which a "player" can get into in the form of a heap. The program does everything it is supposed to except when you try to add a second object("player") to the heap it won't do …

Member Avatar for dub4theworld
1
88
Member Avatar for simplypriti

Hi All, I need information of a better Java hosting service (better in terms of performance, security, storage, reliability). So if any of you know such kind of service provider thn kindly let me know ASAP. It would be great help from your side. :) Thanks, Priti

Member Avatar for ithelp
0
88
Member Avatar for Stefano Mtangoo

What is ctypes data for BOOL? I mean in C++ to ctypes we have: int--> c_int float--> c_float what about BOOL?

Member Avatar for pmf
0
857
Member Avatar for ddanbe

Look at this thread: [url]http://www.daniweb.com/forums/thread206859.html[/url] In C# this would give: [CODE=C#]namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int i = 0; i = i++; Console.WriteLine(i); Console.ReadKey(); } } }[/CODE] Also in C# it prints 0. I wonder why. I think Java is correct here. Although it …

Member Avatar for kvprajapati
0
113
Member Avatar for mathijs

the cursus i'm taking on python (free on internet). said i know enough and that i should try creating some simple games like oxo. the problem is that i don't know how the create a framework for such a game any help is welcome. mathijs p.s. my english may not …

Member Avatar for mathijs
0
136
Member Avatar for KushKashyap

Hello friends, i am facing a bit of difficulty in designing a SQL query for calculating the total score of all the quizes taken by users in my quiz application to create a sort of leaderboard or ranking system. My table have following tables: UserQuizID (int) - PK QuizID (int) …

Member Avatar for Sakthimeenakshi
0
141
Member Avatar for crazyboy

Hello friends ........ it's ma first post. As i know, constructors are called at the time of object creation. But if i want to call it explicitly, not at time of object creation, can i do this? if yes? then how? any help please?.........

Member Avatar for crazyboy
0
739
Member Avatar for vishalkhialani

Hi, I am about to do a c project for my college term. My main aim is to spend my time and make a really useful software not just another project. I would like the community to give their ideas on something which I can make and develop and spend …

Member Avatar for vishalkhialani
0
135
Member Avatar for hjdaniel.sun

Hi friends, I want to write a multiform application. if I am running form1, I want to call form2 and end form1. can anyone teach me how to do it? I tried to set form1 as invisible, but I found it funny that if I close form2 by clicking on …

Member Avatar for hjdaniel.sun
0
118
Member Avatar for Teethous

Hey there everyone. I David. I am have a problem with the end of line keystroke ( Ctrl+Z ) in the Netbeans and JBuilder Compiler, when I press the buttons simultaneously nothing happens but when I do it in Eclipse it works fine. Here is a look at the code.Help …

Member Avatar for Teethous
0
165
Member Avatar for Sub Xero

Hello everyone, I'm quite familiar with Delphi, but I'm new to using threads and so I've got a question. Here's what I'm trying to do: I'm using the brilliant VirtualTreeView component and I wish to add to it from a thread. The tree is on the main form and is …

Member Avatar for Sub Xero
0
132
Member Avatar for keanoppy

i wanted to make the input type=text name="" to be incremental i.e. a1,a2,a3 according to the loops generated by sql query the question is,how to specify which name to be read to the next page.code fragments might help better yeah? in one of my .php script,i have this fragment of …

Member Avatar for keanoppy
0
93
Member Avatar for gingank

Hi guys i got a problem with this i can get data from the table by using sql :-Select * from staff_badgeTracking inner join staff_badgeTrackingNew On staff_badgeTracking.Badge_ID = staff_badgeTrackingNew.Badge_ID The point is if i wan to find a specific badge id like 1234 then it will get the data from …

Member Avatar for vb5prgrmr
0
178
Member Avatar for AssaultM16

So here is how the program should work: It should accept a string in which there is a full operation (ex. 23 + 34) it should split the string into three parts. The first and the third part should be the numbers and the second should be the operation sign. …

Member Avatar for AssaultM16
0
101
Member Avatar for Victor C.

I have to create a Gradebook program with a Mdb provided by our prof. it is suppose to compose a letter in a listbox to say as so Student Name address Dear student your grade for CMSC 100 are as follow finalexam: semester grade: Best wishes for a good summer, …

Member Avatar for Victor C.
0
216
Member Avatar for ryy705

Hello, I am trying to read in a tab delimited text file. Most lines in the file are in the following format: [CODE] Col1 Col2 Col3 data1 data2 data3 data1 data2 data3 [/CODE] But some lines are missing the first value: [CODE] Col1 Col2 Col3 data1 data2 data3 data2 data3 …

Member Avatar for ryy705
0
4K
Member Avatar for BestJewSinceJC

edit: I see a lot of other threads on Daniweb on this. But after 2+ hours of reading about Sound in Java, I'm even more frustrated, so I have some questions. 1. Is the Java Sound API sufficient for the following operations: Playing mp3 audio files, pausing, and fast forward/rewinding …

Member Avatar for BestJewSinceJC
0
496
Member Avatar for milhero

Hi Professionals, I am using Microsoft Visual Studio 2005. I would like to know how to separate content in a richtextbox([B]rtbTo[/B]) in windows form with a comma automatically. For example after copying email addresses from a .txt file and pasting it to the richtextbox([B]rtbTo[/B]), there should be a comma inserted …

Member Avatar for milhero
0
143
Member Avatar for Joy McClure

Hi, I'm having problems with my find button Private Sub Btnfind_Click(ByVal sender As System.Object, ByVal _ e As System.EventArgs) Handles Btnfind.Click MainFormTableAdapter.FillByLastName(_6776_BDataSet.MainForm, Txtfind.Text) I get the error:Too many arguments to 'Public Overridable Overloads Function FillByLastName(dataTable As _6776_BDataSet.MainFormDataTable) As Integer'. I'm trying to create a find button which allows the user …

Member Avatar for Joy McClure
0
116
Member Avatar for jake43

I don't understand why this program will not compile please help. This is what the program supposed to do. After the correct number is guessed or all five guesses are used and the correct number is not guessed, the user will see a message that shows the secret number and …

Member Avatar for SeeTheLite
0
104
Member Avatar for gangsta gama

Hello all, I have been programing for a year or two and i dont get vectors. I have seen them with numbers but can someone give me an example of vector.erase with letters? like for an RPG: like sword, axe, armor. Then have them chose what they want to be …

Member Avatar for Nick Evan
0
139
Member Avatar for avaitla

Hey. Can someone help me with this parsing function? I'm not sure why it won't work. Whenever I test it with a valid input and output file it simply crashes. [code] void parse(string infilename,string outfilename) { string temp; ifstream infile(infilename.c_str()); ofstream outfile(outfilename.c_str(), ofstream::app); if(!infile) { cerr<<"Infile Not Working!"; } if(!outfile) …

Member Avatar for avaitla
0
93
Member Avatar for ryy705

Hello, I am trying to create a simple ftp client. I'm following the instructions from [URL="http://www.nsftools.com/tips/JavaFtp.htm"]http://www.nsftools.com/tips/JavaFtp.htm[/URL](option 4) If you take look at JakartaWrapperTest.java, The first line is import JakartaFtpWrapper; So When do javac JakartaFtpWrapper.java JakartaWrapperTest.java -cp commons-net-ftp-2.0.jar I get an error saying [B]'.' expected[/B]. And if I comment out the …

Member Avatar for ryy705
0
281
Member Avatar for Nogat21

Hey, i'm in a bit of a deadline here, so i need your help. I'm trying to develop an application that, upon selection of an event and its respective "listener" (a button), fires the event name and the current time. Thing is, so i can print the event name i …

Member Avatar for sknake
0
445
Member Avatar for baula

Helo frndz, I'm a nob in c++....So, I want to know about default constructor. How to create? Why default constructor? How to create a no-arg constructor that creates a default triangle??...Plz help... Thnx...

Member Avatar for baula
0
94
Member Avatar for simplypriti

Hi all, I need information of a better Java hosting service (better in terms of performance, security, storage, reliability). I do not want to compromise with performance and reliability/security. So if any of you know such kind of service provider thn kindly let me know ASAP. It would be great …

Member Avatar for simplypriti
0
144
Member Avatar for swinefish

Hey all I've been developing in c# for a few months now, but to my shame have only recently started looking at threads. And now that I do look at them, I'm having issues... Here's a sample of my code: [code] private void cmdNext_Click(object sender, RoutedEventArgs e) { ... Thread …

Member Avatar for swinefish
0
133
Member Avatar for ashish2234

Wt happened is just i have made a very simple menu driven programme and in that programme wen i use character not matching wid d switch cases , it runs twice...i want it to run once only..i know its becoz getchar(); but y??? [code=c] #include<stdio.h> #include<conio.h> void even_odd(); int n; …

Member Avatar for ashish2234
0
210
Member Avatar for choybutchoy

hi guys, how can I retrieve the total record count from a database? I mean is there a method like "rst.recordCount"? or whatsoever? thanks...

Member Avatar for choybutchoy
0
129
Member Avatar for Aiban

Hello Everyone Thanks for the message of welcome in a previous post. I have many questions but i have sleected this one as it represents my favourite piece of not working code (hahaha) but it has been studied and altered so i got this bugger working .. mostly . Explain: …

Member Avatar for Aiban
0
10K
Member Avatar for _dragonwolf_

I am having to write a program that has a user-defined class. In this program I need to convert an INT to a STRING. For example, if the program reads in the date "7/17/2009" it will need to be converted to "July 17, 2009", where all it does is take …

Member Avatar for _dragonwolf_
0
166
Member Avatar for Zurompeta

Hi all, Having an issue with "selectedIndex" (for a select field). Basically I'm creating XML code via a server-side PHP file and retrieving this code through AJAX. Once I retrieve the data, I'm placing it in their appropriate fields. This is the XML output: [CODE='XML']<response> <data> <row> <item>ProductEight</item> </row> <row> …

Member Avatar for Zurompeta
0
101
Member Avatar for fuggles

What is the best way for me to send and int[999999] accross a socket? When I just plug in the pointer to the array I get this error: [icode]Error 1 error C2664: 'send' : cannot convert parameter 2 from 'int (*)[999999]' to 'const char *'[/icode]

Member Avatar for wildgoose
0
113
Member Avatar for wingers1290

Hi, i am creating up to 10 textboxes using the following code: [code] if (textBoxIndex != 11) { TextBox field = new TextBox(); field.Name = "field" + textBoxIndex.ToString(); textBoxIndex++; field.Size = new Size(200, 20); panel1.Controls.Add(field); } else { MessageBox.Show("A Maximum of 10 Areas is Supported"); } [/code] What I need …

Member Avatar for ddanbe
0
283
Member Avatar for TheBeast32

Hi, I need a way to see if a mouse button is up or down, if the wheel is being used, and if so, which direction the wheel is moving using a hook or something like that. MSDN didn't help me much. Also, I'm using Dev-C++ 4.9.9.2.:yawn:

Member Avatar for nicsor
0
168
Member Avatar for RobBrown

Hello, I am new to c and up until now i have understood it pretty well. I am having a difficulty writing a program that lists the characters in a phrase entered into the program. I think my problem is with the loops and maybe some variable declarations. None of …

Member Avatar for Dream2code
0
232
Member Avatar for k2k

hi, i selected everything from the table and the direct variable $cResult[3] would give me something like "street address with space as delimiter" ... however, when i tried to use it, it will give me only "street" instead of "street address with space as delimiter". does anyone know how i …

Member Avatar for k2k
0
111
Member Avatar for Nogat21
Member Avatar for sravan953

Hey guys, I am currently using subprocess module to open programs and stuff like that... What I want to know is; if in case I want to open Windows' Sound Recorder, how do I start the recording action? Like: [CODE]subprocess.call(location of the program)[/CODE] -will only open the Sound Recorder, but …

Member Avatar for Stefano Mtangoo
0
128
Member Avatar for buchanan23

Hi everyone. So here is my dilemma, I am working on my final project, tackling it one item at a time, so this post is strictly for help deleting a record out of my array. I think I have everything set up right to call to a Method I am …

Member Avatar for buchanan23
0
113
Member Avatar for firoz.raj

Can anyone tell me how should i use variable to take different value.here is the following code which is working fine. [code=vb] strsql = " SELECT *" & _ " From ALRAJHIBANK " & _ " WHERE (((ALRAJHIBANK.ID)=12))" [/code] But i want to use integer variable name instead of integer …

Member Avatar for vb5prgrmr
0
99
Member Avatar for Web_Sailor

I donno why I am not able to get the popup for this JTree. This tree is found almost in all tutorial ? [CODE]import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import java.text.SimpleDateFormat; import javax.swing.*; import javax.swing.tree.*; import javax.swing.event.*; public class FileTree2 extends JFrame { public static final ImageIcon ICON_COMPUTER …

Member Avatar for Web_Sailor
0
188
Member Avatar for tonief

I'm working in a web application aspx and C#. I have two procedures in code behind. [CODE] protected void Button1_Click(object sender, EventArgs e) { ... int totalCost=1000; Label7.Text = totalCost.ToString(); } [/CODE] i have this code behind in in button2 [CODE] protected void Button2_Click(object sender, EventArgs e) { ... int …

Member Avatar for lighthead
0
102

The End.