132,726 Archived Topics

Remove Filter
Member Avatar for
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 …

Software Development python
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 …

Software Development apache gui java xml
Member Avatar for stultuske
0
184
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 …

Software Development c++
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 …

Software Development c++ encryption ios
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.

Software Development
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 …

Software Development flash python wordpress
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 …

Software Development sql visual-basic
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 …

Software Development c++ visual-studio
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 …

Software Development display pascal printer
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 …

Software Development app-store c++
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 …

Software Development c++
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 . …

Software Development first-post java puzzle
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 …

Software Development display microsoft-access visual-basic
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:

Software Development c++
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 …

Software Development vb.net
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 …

Software Development python
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 …

Software Development python
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 …

Software Development java
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 …

Software Development
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 …

Software Development visual-basic
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 …

Software Development c++
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?

Software Development visual-basic
Member Avatar for vb5prgrmr
0
1K
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 …

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

Software Development c++
Member Avatar for abhayj2000
0
108
Member Avatar for ramakrishnaramk
Member Avatar for jephthah
0
101
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?

Software Development c
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 …

Software Development vb.net
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; …

Software Development
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 …

Software Development file-system gui java
Member Avatar for regg
0
1K
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" …

Software Development visual-basic
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: …

Software Development java
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 …

Software Development java java-swing
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: …

Software Development apache gui java open-source xml
Member Avatar for ceyesuma
0
668
Member Avatar for Lordson60

i need help, for some reason i cannot remove items that i have added to my JPanels the welcome.remove will is causing a problem [CODE]// The "RunescapeCalc" class. import java.awt.*; import hsa.Console; import javax.swing.*; import java.awt.event.*; import sun.audio.*; import java.io.FileInputStream; import java.math.*; public class Game1 extends JFrame implements ActionListener { …

Software Development audio gui java java-swing
Member Avatar for Lordson60
0
266
Member Avatar for dfetter88

As you probably know, Shell sort is typically written with a base of insertion sort, as shown below: [code]for (ctr = numGaps - 1; ctr >= 0; ctr--) { k = gapSeq[ctr]; /* Insertion Sort Begins Here */ for (j = k; j < size; j++) { tmp = array[j]; …

Software Development c
Member Avatar for dfetter88
0
82
Member Avatar for Cap'nKirk

Hi, I have a dataGridView that has 2 columns called (style & type) and I want to have a click event that only fires on the (type) column. I can code it so it works on both but for my app that is a little untidy. I have searched a …

Software Development
Member Avatar for Cap'nKirk
0
1K
Member Avatar for evak77

I cannot seem to get the array to work and display the second and third loans, only the first one displays. Here is what I need to clarify the situation. I added the array to the program and it only works for the first loan. Can someone point me in …

Software Development java
Member Avatar for Agni
0
93
Member Avatar for skypower

Hello there! I have an exercise that askes me to create a binary file .dat with a structure in it. I have to run it like this: a.out something.dat. Also I have to create a command prompt for the user (input). I am very confused since I don't have linux! …

Software Development c
Member Avatar for skypower
0
131
Member Avatar for CobRalf

Hello everybody! a few days ago, i read this post in the [URL="http://www.daniweb.com/forums/thread257510.html"]Advanced and Intermediate Projects[/URL]-Thread: [QUOTE]Create an operating system prototype/emulator in Python. You might research into various operating systems to get an idea for what to implement. Things you can implement: A login. A shell system. A explorer system …

Member Avatar for CobRalf
0
769
Member Avatar for Anigmalee

Since Visual Basic 2008 Express Edition have no Crystal Report template included. Is there Other way to show Report/Log data similiar way? Maybe by MS Excel? Or MS word? Any hint or Idea will be wellcome^^ many thanks.

Software Development vb.net visual-basic
Member Avatar for Anigmalee
0
122
Member Avatar for zizi

Hi, I have a string and set (I not really using a set, it cud be a arraylist or array of string) I want to have the following results: {A, B} If I have any character that does not contain in the in the set then just concat(concatenate)them to the …

Software Development
Member Avatar for Ramy Mahrous
0
299
Member Avatar for moonL!ght

hi every one; i saw this question and im trying to solve it.\ baseically i have to matrix's which each element is afraction so i must declare a class that has in the privet to float members numerator and denomnator and in the public i have constructer function to inilize …

Software Development c++
Member Avatar for moonL!ght
0
254
Member Avatar for umers56

i am trying to create a videogame but im having trouble moving a picture. what im trying to do is move a picture called mario left, right, down, up... im trying to use the arrow keys... i dont have much experience either. everytime i press the up key the picture …

Software Development visual-basic
Member Avatar for umers56
0
274
Member Avatar for hatzi8

I need an advice about the algorithm I have to use in order to find and return the shortest path in a graph like the one I uploaded. I'm lloking for the shortest path between two points, the lower left and the upper right. Thanks

Software Development algorithm c++
Member Avatar for Sodabread
0
92
Member Avatar for gregarion

Hey guys , im having a problem writing into a file. Basically ,i have a program which read an input from one file , and then calls it to the function of another method. Here is how my program looks like. [CODE]using namespace std; class Team{ public : void Readfile() …

Software Development c++ file-system
Member Avatar for gregarion
0
115
Member Avatar for albruno

Is anyone having success with applying CUDA or multi-GPU processing with python? if so, could someone share a simple sample?

Software Development python
Member Avatar for 0x69
0
139
Member Avatar for 234pramod

Hi, I want to receive data which a device which is sending on usb. How can I receive data.Will there be any C codes available for that? I am very new to device programming.All suggestion are welcome.?? I want how to interface it and get the data.I want to do …

Software Development c pc-peripheral
Member Avatar for 234pramod
0
122
Member Avatar for boiishuvo

Firstly I want to show you the code and it can run properly: You may copy each file and paste them into a C++ software and run it please. [B][U]Trader.h file[/U][/B] [code] const int NumSeller = 1; const int NumBuyer = 1; const int NumBids = 10; const int MinQuantity …

Software Development algorithm c++
Member Avatar for abhimanipal
0
110
Member Avatar for merse

I have a code including [CODE]#include <iostream> #include <iomanip> #include <fstream> using namespace std; [/CODE] And it works with MinGW under XP. I want to compile the same code under Suse linux, but compiler said that for example: atof(), error() functions are not defined. The problem solved if I include …

Software Development c++ suse
Member Avatar for Narue
0
680

The End.