43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Lardmeister

I am having a problem setting the initial value in the new Tkinter tix module. Can anyone help me out? [code]# explore the tix.ComboBox() # the Tix (Tk Interface Extension) module comes with the # Python27 and Python31+ installation try: import Tix as tix # Python27 except ImportError: import tkinter.tix …

Software Development python tkinter
Member Avatar for Lardmeister
0
1K
Member Avatar for yancouto

Hi everyone, I'm trying to create a program that you can use to communicate to other people with the same program. It connects to a Server program that gets your message an send it to everyone. I found 2 problems that I haven't been able to solve. The first one …

Software Development gui java lan-wan socket-programming
Member Avatar for yancouto
0
798
Member Avatar for lxXTaCoXxl

Most web browsers print the web site's title in the form text. So I want to do the same thing on navigation if possible. [code]// Only prints the URL. So please help. string siteName = webBrowser.Url.Host; this.Text = siteName;[/code] Much thanks!

Software Development
Member Avatar for Momerath
0
103
Member Avatar for scarlettmoon

Hi ~ I am getting a strange [B]RunTime Error[/B] while debugging my code. Run-Time Check Failure #2 - Stack around the variable 'player' was corrupted. Code is below. Would love some help on this one. Thanks. ps ~ I realize that system("pause") is frowned upon but it is what we …

Software Development c++
Member Avatar for scarlettmoon
0
134
Member Avatar for SMITA6076

I have a [ICODE]JFrame[/ICODE] window to which I am trying to add 3 panels. One panel is for input (text areas and their labels which I already have arranged within the panel), one is for a set of buttons, and one is for output. I want the the input and …

Software Development java
Member Avatar for JamesCherrill
0
395
Member Avatar for ispiro

Calling “paint” should be by: [CODE]System.Diagnostics.Process.Start(@"C:\Windows\System32\mspaint.exe");[/CODE] Am I right? What’s the minimum code around it needed to make it work in a windows form application?

Software Development c#
Member Avatar for Creelers
0
91
Member Avatar for NvIs

Well I'm working with structures and need some help with a program. Now if the user chooses to deposit more, I need it to add to the last amount entered... But I'm not sure how to go about doing so. [CODE]#include <iostream> using namespace std; struct the { int num; …

Software Development c++
Member Avatar for NvIs
0
91
Member Avatar for MadRedCzech

I am just learning c++ and, I am trying to create a function out of the lines that are surrounded by stars. I am at my wits end! Does anyone have a suggestion or reference that might help me figure this out. Here is my code: [CODE]int a, b, c, …

Software Development c++
Member Avatar for livinFuture
0
214
Member Avatar for jay_el_em

Hi, I want to close a form, when another form closes. Basically, I have a search form that opens up a results form, which contains a dataGridView only. when the user closes the results form, I want the search form to close also. Is this even possible? Thanks

Software Development
Member Avatar for jay_el_em
0
167
Member Avatar for CorruptionInc

So here's my assignment: Define a class Quiz that implements the Measurable interface. A quiz has a score and a letter grade (such as B+). Use the implementation of the DataSet class in Section 9.1 to process a collection of quizzes. Display the average score and the quiz with the …

Software Development dataset java
Member Avatar for CorruptionInc
0
1K
Member Avatar for Aepexx

Here is Assignment07: [CODE]public class Assignment07 { public static void main(String []args) { Asn07Employees emps = new Asn07Employees(ids, hours, rate); Asn07Employees allEmps[] = new Asn07Employees[7]; int ids[] = {5658845, 4520125, 7895122, 8777541, 8451277, 1302850, 7580489 }; int hours[]={ 12, 15, 7, 16, -1, 20, 15 }; float rate[]={6.5f, 12.5f, 1.5f, …

Software Development java
Member Avatar for yancouto
0
127
Member Avatar for skips

This program is supposed to simply take user input and output it in the right format. It keeps giving me an error message. I cant figure out what is wrong and would appreciate some help. [CODE]#include <iostream> #include <iomanip> using namespace std; int main() { string date[9], dollars[3], cents[3], first_name[20], …

Software Development c++
Member Avatar for skips
0
698
Member Avatar for mrgreen

Hi, I'm having trouble getting my summation function to work using recursion. I am reading in a set of 10 numbers from a file into an array, then printing the array out using recursion, then I have to take the summation of 1-last number in the array (Ex 1-14). The …

Software Development c++
Member Avatar for mrgreen
0
125
Member Avatar for toadzky

My program talks to a USB device over a serial connection. I have WMI ManagementEventWatchers watching for the device to be plugged in and unplugged. If I try to enable, disable, or change anything about the GUI from the event handlers for the WMI Events, I get a InvalidOperationException because …

Software Development gui
Member Avatar for toadzky
0
240
Member Avatar for Bevosnz

I want to create a system to filtering a URL in python hungryforwork.co.nz/company/job/ eg hungryforwork.co.nz/telecom/5/ I want to put out the telecom and lookup this company and then 5 for a reference to a listed job Putting a folder for each company would be a mission. An error 404 might …

Software Development python
Member Avatar for e-papa
0
145
Member Avatar for Labdabeta

Is it possible to overload an operator for a built-in type? And if so what is it's syntax? EG: [CODE]//Use of overloaded operator^ for types double and double (assuming it is overloaded for exponent): double a=10.0; double b=2.5; double pow=a^b;//pow is approximately 316.22....[/CODE]

Software Development c++
Member Avatar for L7Sqr
0
179
Member Avatar for arezz09

i hve create crystal report in vb.net 1 accessdatabase with password..using oledb connection when i wont to print data using crystal report, it will ask a password cz i have set database with password.. do i set password in crystal report or anywhere cz i dont know, so nexttime i …

Software Development vb.net
Member Avatar for debasisdas
0
113
Member Avatar for Nevillelajru

i have 4 listboxes that are filled with product information. forexample one has the brand and the other the id. when i click on one item in the id the same index of the brand is also clicked. i have a problem regarding the scroll bars. i need to know …

Software Development
Member Avatar for Nevillelajru
0
165
Member Avatar for Buffalo101

Hello, This is an extension of this thread: [url]http://www.daniweb.com/software-development/c/threads/357681/1525001#post1525001[/url] My purpose is to create a class that handles a network message. Irrelevant, anyway. CMyMessage: [code=C] #include "stdafx.h" #pragma once #include <conio.h> #include <stdio.h> #include <iostream> #pragma once using namespace std; typedef unsigned char byte; class CMyMessage { protected: byte type; …

Software Development c++
Member Avatar for Buffalo101
0
688
Member Avatar for stefilina

Can anybody please explain me this expression? CONVERT(datetime, CONVERT(varchar, GETDATE(), 1) thanks.

Software Development
Member Avatar for abelLazm
0
130
Member Avatar for samp4ever

I need to add a text line in a specified point of a windows form. In this form I draw something and I would like to describe the draw exactly where it is pointed. Is there a way to add a tooltip in a specified point of a Form? For …

Software Development
Member Avatar for ddanbe
0
177
Member Avatar for MadRedCzech

I am just learning c++ and, I am trying to create a function out of the lines that are surrounded by stars. I am at my wits end! Does anyone have a suggestion or reference that might help me figure this out. Here is my code: [CODE]int a, b, c, …

Software Development c++
Member Avatar for WaltP
0
150
Member Avatar for gingerfish

i have this 2d array: String[][] testData= { {"s", "y", "r"}, {"s", "n", "r"}, {"w", "y", "r"}, {"s", "n", "r"} }; how can i count the occurrence of a particular element in the column of an array? for example i want to know how many "s" are in first column …

Software Development java
Member Avatar for gingerfish
0
3K
Member Avatar for arsheena.alam

Hi, I am creating the dll of my website by building the website. Now the problem is I am not getting the XML documentation file in the debug folder of the bin folder. There is no debug folder inside the bin folder!! I am unable to see comments in my …

Software Development xml
Member Avatar for arsheena.alam
0
191
Member Avatar for arezz09

1. i hve create school system...so when register new student i want to upload their picture in folder,not database...when upload, all student picture will be in same folder like student picture.. 2. i'm using listview to view all student information,so i want picture display in listview column..

Software Development image listview vb.net
Member Avatar for codeorder
0
163
Member Avatar for Jake.20

Guys i need help in histogram report.. My histogram report didn't show the data in the database.

Software Development vb.net
Member Avatar for sandeepparekh9
0
73
Member Avatar for wilko1995

Hi all, i need help with this code. [CODE]<html> <head> <SCRIPT LANGUAGE="VBScript"> <!-- Sub button_OnClick Dim TheForm Dim y Set TheForm = Document.form1 If IsNumeric(TheForm.inputbox.Value) Then If TheForm.inputbox.Value >= 1 Then y = TheForm.inputbox.Value * 1.3 Alert("Your $AUD is $" & y) End If Else Alert("Please enter a numeric value.") …

Software Development vbscript visual-basic
Member Avatar for WaltP
0
104
Member Avatar for msqueen082

I solved my problem with the issue of Julian date, but i have another small issue.. I have to use dates in calculation ... like a client types a appointment datat in textbox and in another textbox it shows that the date has to be between two days. [B](appointment written …

Software Development vb.net
Member Avatar for msqueen082
0
187
Member Avatar for ichigo_cool

I'm trying to make a small text-game that revolves around armies. I have a unit class [CODE] class Unit { protected: string m_name; short m_health; unsigned short m_damage, m_block, m_experience; public: Unit() { } }; [/CODE] This was a rough outline - I'd later add methods that I'd want the …

Software Development c++
Member Avatar for L7Sqr
0
94
Member Avatar for South

Note: I am fairly new to this but can't figure this problem out. I want to find the age of people as a question and for them to enter it themselves. The problem is, is when I want to subtract c - b it says error, because both of them …

Software Development python
Member Avatar for South
0
133
Member Avatar for flowerzink

Hello there people, I hope you can help me with this one. I'm having a very serious problem when using the Top() method of a stack, difined like this: [CODE]template<class T> T Stack<T>::Top() const {// Return top element. if (IsEmpty()) throw OutOfBounds(); // Top fails else return stack[top]; }[/CODE] and …

Software Development c++
Member Avatar for flowerzink
0
256
Member Avatar for jkrueger

Hi Am trying to get my head around using with in some code which is putting 2 files together using random.choice. How do I prevent repeats with random.choice? [CODE]with open(name, "r") as f1: beginnings = [word.rstrip(" \n") for word in f1] with open("conjunct.txt", "r") as f2: endings = [word.rstrip(" \n") …

Software Development python
Member Avatar for jkrueger
0
258
Member Avatar for SeanC

Hi all, I'm currently trying to solve a problem with a JList. I've got an actionPerformed event applied to the JList (also tried the item updated event but it has the same effect), and whenever this event is fired, (i.e. the user makes a selection), something happens. Now, the problem …

Software Development java java-swing
Member Avatar for Ezzaral
0
406
Member Avatar for osirus0830

I am currently attempting to teach myself C++ so I don't have the benefit of a prof or TA. The question at the end of the chapter that I'm working on wants me to create an array of structures and to initialize the array of structures using the new function. …

Software Development c++
Member Avatar for osirus0830
0
184
Member Avatar for ninjatalon

Today I was taught about virtual methods but got lost somewhere in the pointers. Here is an example [CODE] class Person { protected: string name; public: virtual string get_name() { return name; } }; class TFaculty:public Person { private: string title; public: virtual string get_name() { return title + " …

Software Development c++
Member Avatar for Fbody
0
143
Member Avatar for SMITA6076

I wrote the following method to get the current date for an invoice: [CODE] public String getDate() { DateFormat dateFormat = new SimpleDateFormat("MMMMMMMMM d, yyyy"); Date orderDate = new Date(); return dateFormat.format(orderDate); }[/CODE] but now I have to add two weeks (14 days) to that date (to get the expected …

Software Development java
Member Avatar for SMITA6076
0
922
Member Avatar for vineeth vs

is it not enough to declare the struct variables as shown?? getting error that some are undeclared pls help... insertion on a binary search tree....[CODE][/CODE] [CODE]#include<stdio.h> #include<stdlib.h> struct node { int data; struct node *lchild,*rchild; }*ptr,*new; void insert(int item,struct node *root) { ptr=root; while(ptr!=NULL) { if(item>ptr->data) { if(ptr->rchild!=NULL) insert(item,rchild); else …

Software Development c
Member Avatar for Narue
0
246
Member Avatar for darkelflemurian

Hello everyone, I have the following situation: The computer i use to develop sometimes is getting very slow and the ram memory goes to 100%. I want to know if using visual basic 6, or visual basic net, or visual basic script, there is a way to clean ram memory, …

Software Development vb.net visual-basic
Member Avatar for jlego
0
112
Member Avatar for Robert955

Hello, Im trying to install XNA 3.1, I have visual studio 2008 professional and I really need 3.1 (not 3.0 or 4.0) also I cant use visual studio 2010. Ive uploaded all the logs here: [url]http://cid-598c7218de9e79e1.skydrive.live.com/redir.aspx?resid=598C7218DE9E79E1!123[/url] Thanks in advance! Robert.

Software Development visual-studio
Member Avatar for Robert955
0
325
Member Avatar for nigelv1

Please help. Im having trouble displaying the checkbox's text in the listview form. It only display's the text of the 1st checkbox. I cant seem to display the remaining checkbox.text. It only display's the 1st checkbox in my ListView form. I have another form for ListView.vb Here is the code: …

Software Development listview vb.net
Member Avatar for codeorder
0
105
Member Avatar for 24x24

Hey guys I had some homework in a Java class on Friday. I completed it so I am not looking for answers (I also don't think it will be graded). I was just curious, as a learning exercise, how would you guys improve this and why? Now remember I'm a …

Software Development java
Member Avatar for 24x24
1
183
Member Avatar for iainiow

Hi, I have written a polling service that checks a directory for new files & then distributes them to new locations. The service is so quick, that no soon as the file has arrived in the watched folder, it is moved in to its new location. One concern that I …

Software Development file-system
Member Avatar for iainiow
0
79
Member Avatar for eldaerys

Iam doing a sample project for school and i CHOSE Tic Tac toe. Could anyone show me a sample program of it becuase i have no idea where to start. And do I use a picture box to draw the lines?

Software Development vb.net
Member Avatar for Luc001
0
99
Member Avatar for e-papa

Hi there guys, i'm just learning python and have been finding it interesting, but i've been finding it hard to understand classes and objects. Please is there a very explanatory tutorial or can you be of help, looking forward to your replies.

Software Development python
Member Avatar for e-papa
0
359
Member Avatar for Saikalyankumar

The Password in default in every text box will appear like ............... in the Textbox instead of, I want to make it to be changed like ******************** in a Web Application. Can any one suggest me how to change the Style of the Password Char.

Software Development
Member Avatar for srvstv.prnc
0
178
Member Avatar for gladtoplay5

I am currently working on a program that takes one measurement of a circle and then gives the rest although i came across a problem while trying to make it loop back if you input an invalid number and my compiler keeps saying i have an error with were my …

Software Development c c# c++
Member Avatar for Fbody
0
341
Member Avatar for stan_l

This is my first post and my first experience with Python. My environment is Windows XP/Win7. I have installed ActivePython 2.7, extensions and other packages and run many test scripts. I was especially interested that a .py file could include code to self-register as a COM object, and according to …

Software Development python visual-basic visual-studio
Member Avatar for stan_l
0
308
Member Avatar for HelloMe

Hello everybody...!!! I got a little but bothering problem. I create a First in First out algorithm schedule but somehow i have a problem in computing the WT(Waiting Time). Actually i have a WT but it only considers the current AT(Arrival Time) of the current process and does not include …

Software Development algorithm java java-swing
0
87
Member Avatar for dare599z

Hello all, I'm taking a intro computer science course, yet somehow I'm much better at c++ than python. My professor is essentially useless. Can anyone show me how to let these variables persist into global scope? I assumed declaring them globally would make them persist, yet it appears to not. …

Software Development python
Member Avatar for dare599z
0
187
Member Avatar for HASHMI007

[CODE] /*i want to overloaded operator in my program. but i dnt know how to add overloaded + operator in this prgram. plzzzzzzzzz help me to solve this problem*/ #include<iostream.h> class rational{ private : int numerator, dnomenator ; void reduction(); public : rational () //default contructer { numerator=dnomenator=1; } rational …

Software Development c++
Member Avatar for HASHMI007
1
186

The End.