43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for MrHardRock

Hey everyone, I have my code written I just have one error I am stuck on, any help is greatly appreciated, thanks in advance. My one error is on line 80 saying "illegal start of expression" pointing at the 'p' of public [CODE] import javax.swing.*; import BreezySwing.*; public class binary …

Software Development gui java seo
Member Avatar for cretaros
0
155
Member Avatar for aaronmk2

For this program I am trying to figure out how to sort/print the words out based on frequency of appearance in ascending order. As of now I can only get the words to sort/print based on alaphabetical order [CODE] from collections import Counter import string while True: filename=raw_input('Enter a file …

Software Development python
Member Avatar for TrustyTony
0
3K
Member Avatar for cretaros

Can someone help me in implementing a JDate picker without using packages, whereby will click the calender icon and the calender will appear.

Software Development java
Member Avatar for cretaros
0
2K
Member Avatar for jimmymack

[CODE]// erase.cpp - Script 4.1 // We need the iostream file in order // to use cout and cin. #include <iostream> // Start the main function. int main() { // Declare a variable for the user input. // Single character to store yes (Y) or (N) char answer; // Prompt …

Software Development c++ hard-drive
Member Avatar for jimmymack
0
108
Member Avatar for eman 22

I have an error in my project and I can't fix the problem [CODE] #pragma once class Node { int code; int count; Node* parent; Node* rightChild; Node* leftChild; public: Node(int c1,int c2); void setCode(int c); void setCounter(int c); void setRightChild(Node n); void setleftChild(Node n); void setParent(Node n); int getCode(); …

Software Development c++
Member Avatar for MattyRobot
0
120
Member Avatar for D_rOiD

I need to know how to copy some folders not all from a source tmp/folder. I'm new to python and I want to better understand python. I can't use copytree because I don't wish to copy all folders. I want to be able to pick the folders I want to …

Software Development python shell-scripting
Member Avatar for jice
0
4K
Member Avatar for daviddoria

I was under the impression that you could completely gaurd anything you wanted with an [icode]#if 0 [/icode]. Apparently this is not the case? I found some code that has opening /* comments but no matching closing */, and the /* seems to comment out the [icode]#endif[/icode], resulting in everything …

Software Development c++
Member Avatar for daviddoria
0
135
Member Avatar for geekman92

Hi i need to make a [B]BASIC[/B] HTTP server for a project using [B]JUST[/B] TCP/IP Sockets so please don't suggest anything that would use some of C#'s higher level networking components, Thanks =). [B]Anyway my problem:[/B] i have created the server and it all works so far but i haven't …

Software Development c# client-server http-protocol
Member Avatar for geekman92
0
263
Member Avatar for Thropian

I'm looking for a simple way to rotate a shape in python, tkinter. The shape I'm rotating is a triangle (polygon) if it matters. Thanks in advance for all the help

Software Development python tkinter
Member Avatar for vegaseat
0
22K
Member Avatar for TechnoDarrel

Hi! i'm doing a final project for a university introduction course in web programmation. I'v Coded this: [CODE]class MainHandler(BaseHandler): def get(self): #product_comments = Comments().get_all() user = users.get_current_user() if user: member = Members().get_by_id(user.user_id()) baskets=Baskets().get_by_member(member) template_args = {'baskets': baskets} products = Products().get_all() product_comments = [] for product in products: comments = Comments().get_by_product(product) …

Software Development python session
Member Avatar for woooee
0
227
Member Avatar for Tellalca

Hey; I'm getting into Java. I'm coming from C++ base and I wonder how can we use "const" parameters in Java? For example if I don't want the function to be able to change the value of a parameter, what do I do? [CODE]void modify(RefObject parameter) { parameter.set(new RefObject); //should …

Software Development java
Member Avatar for Tellalca
0
387
Member Avatar for Alexkid

Hi there, I think im trying to do something pretty simple but i can't find a simple explanation. What i have: I have five Textboxs (1 to 5) I have a Button I have a Datagrid with five columns (1 to 5) What i want to do: on a button …

Software Development vb.net visual-basic
Member Avatar for Alexkid
0
173
Member Avatar for bertm81

Hey All, I have written a script that uses elementTree to work on python 2.4. Took quite a while and worked a threat but now I need to get it working on 2.3.4. I can't upgrade the version of python. Is there an equivelent version of the element tree for …

Software Development data-structure python xml
Member Avatar for bertm81
0
226
Member Avatar for Netcode

How do i move from one tab page to another with a single button click?

Software Development vb.net
Member Avatar for codeorder
-1
125
Member Avatar for bhagawatshinde

Hi i am developing an windows application. In that i am using the xml file for data transfer. I want to encrept the generated file and decrypt it while uploading. can anybody help me to do this. Thanks in Advance

Software Development xml
Member Avatar for bhagawatshinde
0
141
Member Avatar for Executionerr

Hello dear C# programmers, I am kinda a beginner to C#, so I need your help, I really can not figure out why the calculations for sphere get's me the wrong result, the cube works just fine, but I am having a problem with the result of sphere's volume. Any …

Software Development
Member Avatar for Executionerr
0
114
Member Avatar for rahulvom

Hi, I am trying to do a three tier architecture of windows application using C#. Main layout: Inserting Values into a datagridview from two textboxes. Problem : I have 3 layers in my application UI,Business,Data Layers.(form1.cs,Bal.cs,Dal.cs) I have created separate c# code files for each, the question is how can …

Software Development software-architecture
Member Avatar for amit tapas
0
164
Member Avatar for Saikalyankumar

Hello everyone, I have some problem with my windows application in my system. when ever i right click in the tool box and select choose items, the application got closing. Can, any one help me how can i resolve this problem.

Software Development vb.net
Member Avatar for debasisdas
0
175
Member Avatar for dresposure

Hello every body............ I am about to do a project on chatting application. Can any1 plzzz tell me how to create a .bak file using Java.:)

Software Development java
Member Avatar for masijade
0
295
Member Avatar for waqarafridi

Hello All I am Posting after a very Long time because of Having a problem :) The Problem is I want to Convert a String on UNKNOWN size to character array. Explanation: I have a file in JAVA that sends some string through JNI, I collect that String in C. …

Software Development c
Member Avatar for waqarafridi
0
5K
Member Avatar for e-papa

I was just able to get PyQt4 to work on my system, and I'm now have that of python2.6, and that of python 3.2, but I have been trying to open Qt designer but all it does is just open a process in the background eating up my PCs memory, …

Software Development python qt
Member Avatar for e-papa
0
282
Member Avatar for rssk

hi all ..... [CODE]for(i=0, i<680,i++): i =m [/CODE] wen i run a program it is showing error in for loop like wen i run a program it is showing error in for loop .....

Software Development python
Member Avatar for griswolf
0
99
Member Avatar for loafie55

I'm having a lot of trouble with a project for school. The project calls for me to create a random guessing game with three different levels. Each level should consist of a random number between 1 and 30. I have set my code to show between 1 and 5 for …

Software Development c c# c++ gaming
Member Avatar for loafie55
0
2K
Member Avatar for Deepo

[CODE]#include <iostream> using namespace std; int main( ) { int num1 , num2 , num3; cout << "Please Enter Three Valid Integers Using The Keyboard"; cin >> num1 , num2 , num3; if {num1 => num2} && {num2 => num3} else num1 + num2; if {num2 => num1} && {num1 …

Software Development c++ programming-construct
Member Avatar for emanfman
0
252
Member Avatar for swathys

Hi, i have convert my code from sql to mdb but there is problem when it comes to place i highlight in red it doesn't execute the command reader....it end the application when it reaches [COLOR="Red"]Do While dr.Read[/COLOR]can any1 tel me whats the wrong with my code.....i'm totally blank ! …

Software Development open-source vb.net
Member Avatar for swathys
0
212
Member Avatar for kitjo

i want my program to have a splash screen as the starting screen but i need it to automatically count 10 minutes after it closes and form 1 loads. is it possible should i use a timer or what?

Software Development vb.net
Member Avatar for Unhnd_Exception
0
530
Member Avatar for goldeneagle217

I created an application in C# and then was told it had to be started from a button selection in a C++ exec program. How do I invoke my application from the C++ program?

Software Development c# c++
Member Avatar for Suzie999
0
157
Member Avatar for fandango

I currently have a functor that finds the closest entity (by calculated distance) to the current entity. (Vector3 is just a 3D coordinate class) [CODE] template<typename T> class MinDistanceBGE { private: Vector3 v; // The location of the 'asking' entity. public: MinDistanceBGE(Vector3 vInput):v(vInput) {} bool operator()(T t1, T t2) const …

Software Development c++
Member Avatar for fandango
0
377
Member Avatar for jnewing

[CODE] // foo vector of unsigned chars // contains 0x00, 0x00, 0xb8, 0x01, 0x00, 0x00, 0x00, 0x1F, 0xEC 0x82 std::vector< unsigned char > foo; long some_long = (long)&foo[6]; // i want the unsigned chars 0x00, 0x1F, 0xEC 0x82 to // make up the long decimal value of 2092162 [/CODE] Now …

Software Development c++
Member Avatar for Insensus
0
215
Member Avatar for Suzie999

So here I am back again with my tail between my legs. I've spent the whole day trying to update my form lable during runtime. I got there in the end with what I think is threadsafe, then only to spend a few more hours trying do it from outside …

Software Development
Member Avatar for Suzie999
0
206
Member Avatar for IDC_Sharp

How to copy Checked items from first listview to another listview? i got problem with that, i made at the first listview Check boxes to every item and i want when i will click a button all the checked items will be copy (not move) to the other listView. it …

Software Development listview
Member Avatar for vincezed
0
1K
Member Avatar for goldeneagle217

I created an application in C# and then was told it had to be started from a button selection in a C++ exec program. How do I invoke my application from the C++ program?

Software Development c# c++
Member Avatar for Ancient Dragon
0
183
Member Avatar for TrustyTony

I found [URL="http://www.daniweb.com/software-development/cpp/threads/358674"]this assignment[/URL] on C++ forum as was browsing to see little where I am in my mostly C little C++ thrown in understanding of C++ and if I should try to increase my knowledge in that language. I could not believe my eyes! The OP is completely lost …

Software Development c++ python
Member Avatar for TrustyTony
0
635
Member Avatar for nard23

[CODE]public class Tokenizer{ public static void main(String args[]){ String Arr[] = new String[20]; Scanner scan = new Scanner(System.in); System.out.println("Enter a String: "); String st = scan.nextLine(); Tokenizer tk = new Tokenizer(); tk.makeToken(st, Arr); } public void makeToken(String st, String Arr[]){ int i=0; StringTokenizer Tokens = new StringTokenizer(st); while(Tokens.hasMoreTokens()){ Arr[i]=Tokens.nextToken(); i++; …

Software Development java
Member Avatar for nard23
0
89
Member Avatar for tracydo

I have this problem with given answer but don't understand why. May someone help explain? Thanx if (x>5) y=1; else if (x<5) { if (x<3) y=2; else y=3; } else y=4; ----------------- what is the value y if x=3? answer was: y=3

Software Development java
Member Avatar for JamesCherrill
0
122
Member Avatar for Jesi523

I have this code I need to write. In my database I have some child jobs that belong to parent job. I need to stop the parent job if all child jobs are stopped, I have this code but it is not working and I am not sure why. I …

Software Development
Member Avatar for Jesi523
0
154
Member Avatar for ashwinshenoy

Hi Guys, i have this code which draws a continuous circle using a timer. Now I have to display it in the form which has a group box with loads of other fields and information. Now can anyone please tell me how can i add the circle into the group …

Software Development image vb.net
Member Avatar for ashwinshenoy
0
257
Member Avatar for Mike Bishop

i am trying to create a dataset for use with crystal reports. i have a dataset called dataset.xsd with two tables BatchHeader and BatchDetail these have a relationship of BatchID on both tables. (see picture1) I have this working when there is only one table in the dataset with this …

Software Development dataset mssql vb.net
Member Avatar for Momerath
0
393
Member Avatar for DestinyChanger

Hi, I want to write thread function myself and don't want to use boost or AfxBeginThread(). Oh, and it works in /MD[d], /MD, MFX. Thanks a lot DestinyChanger

Software Development c++ multithreading
Member Avatar for DestinyChanger
0
212
Member Avatar for jnewing

so what i'm trying to get my head around it say i have a vector of vectors containing some unsigned chars and i want to copy a certain vector to another vector as follows. [CODE] std::vector< std::vector< unsigned char > > foo; std::vector < unsigned char > bar; for (int …

Software Development c++
Member Avatar for L7Sqr
0
173
Member Avatar for cool_intentions

Hello guys, I`m having a problem with my assignment. I should make simple Captcha in Windows Form Application. I have one text box, picture box and button. When I click GO button, my text from text box should become Captcha end show itself in picture box. Any idea how can …

Software Development
Member Avatar for zachattack05
0
869
Member Avatar for kumarmpk4u

hello, Am getting the below error while compiling my project. [B]error C2440: 'initializing' : cannot convert from 'struct __POSITION *' to 'class CPtrList &' A reference that is not to 'const' cannot be bound to a non-lvalue[/B] This is the snippet of code where the error happens. Tell me what …

Software Development c++
Member Avatar for Ancient Dragon
0
115
Member Avatar for scarletfire

System Specification A local football club wishes to store information on its current squad of players: Each Player’s personal information (first name, last name, age, height and weight) should be recorded in a class Person. Each Player’s record for the season should be stored in a class Player. The information …

Software Development java
Member Avatar for scarletfire
0
162
Member Avatar for chester1908

Hey all. I'm having a bit of problem with structs. Say we have a struct comprised of some strings and ints.One of the strings is a keycode,which is used for hashing.So my program reads from a file some information,creates a struct and using that keycode it places the struct on …

Software Development c
Member Avatar for Ancient Dragon
0
195
Member Avatar for TheDocterd

Hi All I have a small app. What is does it reads an html file for certain keywords (like e9, e5, e21, etc.) When any of those lines are found it must add a link in html format into the file. Except you will see that the folder locations differ. …

Software Development data-structure regex
Member Avatar for TheDocterd
0
109
Member Avatar for TrustyTony

There is many more stupid things to do than to read words of one of the best if not the best: [URL="http://norvig.com/lispy2.html"](An ((Even Better) Lisp) Interpreter (in Python))[/URL]

Software Development python
Member Avatar for TrustyTony
1
1K
Member Avatar for missc

hi, i have 2 data grid views in my form.. one displaying the guests and the other the reservations.. i would like to filter the reservations data grid view to display only reservations of the guest selected form the guest data grid view ... but i need help with this …

Software Development
Member Avatar for missc
0
75
Member Avatar for P.manidas

Dear Sir/Madam, I have created a sample program that dynamically created up to 7 numbers of Labels and Text Boxes. Here I want to add those numbers inputted by user on dynamically created text boxes. I have tried a lot but all are in vain. Please guide me to solve …

Software Development mathematics visual-basic
Member Avatar for P.manidas
0
404
Member Avatar for e-papa

Hi guys, I tried to run the configure.py in the pyQt folder using command prompt, but it kept coming back with an error that's looks something like this trace back import sipconfigure no module named sipconfigure what do I do now guys, how do I tackle this.

Software Development python
Member Avatar for e-papa
0
130
Member Avatar for ridzaq

I keep getting the following error when I try to add new record into database (Access 2007) "The INSERT INTO statement contain unknown field name:'login'." I dont whats wrong as the coding looks fine and the field login does exist in the database. Spent whole day trying to find the …

Software Development microsoft-access sql vb.net
Member Avatar for ridzaq
0
2K

The End.