132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for stroper

Hy everyone, I am programming boggle in Java. I have some problems though. method guess() should be repeated for 3 minutes, when the 3 minutes are over method endGame() should be executed. How do I have to do this? I think i need to use the java.util.Timer but I have …

Software Development java
Member Avatar for mangopearapples
0
1K
Member Avatar for coastcode

I want my chart to refresh when I pass new data through it. I know there's a refresh method in the chart class, but intellisense isn't picking it up. It does happen to pick up other methods and events, but somehow '.refresh();' isn't there. RectangleToClient and RectangleToScreen are the only …

Software Development
Member Avatar for kashor
0
113
Member Avatar for guest11

hi all, I am using crystal report for displaying reports. I want to display group by customers in report that i am displaying using group by funtion but i also want subtotal of that group by customers. I want to display received amt date, received amt and balance amout between …

Software Development vb.net
Member Avatar for ahmedtohamy
0
134
Member Avatar for runge_kutta

Hello, I am new to the programming game and have a question for you seasoned veterans: I have a data collection device whose API is c++ based. When I want to write a program whose first step is to initialize the system, I write "InitializeSystem(); " In a C++ IDE …

Software Development api c++ gui python tkinter
Member Avatar for runge_kutta
0
2K
Member Avatar for Archenemie

Im trying to call the two functions from the numbers class but it returns an error even tho i believe i have coded it correctly. i have played with the code but cant seem to get it working. [CODE] class main(): num1 = input("please enter a number") num2 = input("please …

Software Development python
Member Avatar for Archenemie
0
180
Member Avatar for BleepyE

I know that title was complicated, i wasnt really sure what to call it. Basically at the moment I have the code which opens values that are after words in a text file. [I](Thanks to Unhnd_Exception)[/I] I have a text file, which lists all the stocks of all the fruit …

Software Development vb.net
Member Avatar for BleepyE
0
119
Member Avatar for becool007

Hey so my project is an Average Calculator to calculate the average of a set of numbers. Anyways, I must make it in a GUI and I have chosen Win32. My problem now resides while trying to do the following: - When there is a paint request, to paint anything. …

Software Development c++ gui oop
Member Avatar for becool007
0
182
Member Avatar for vidit_X

I'm a lot confused with multi-dimensional arrays and pointers. I tried searching, found and read some articles. But there are still some doubts. We can not use a double pointer(int **) for a two dimensional array, right? Instead we need to have an array of pointers with the length equal …

Software Development c++
Member Avatar for vidit_X
0
178
Member Avatar for lancevo3

Hey guys I am writing my first program ever in java starting tonight and all has actually gone smooth which has been a surprise but I have run into a problem with an if else area. Basically, what I am suppose to be doing in this section is the user …

Software Development java
Member Avatar for lancevo3
0
144
Member Avatar for justinclev

well im trying to create a notepad in the win32 Api with C++ and at the moment im trying to set up the Open and Save As dialogs but the open Dialog works and the Save As doesn't, yet when i comment out the Open Dialog the Save Dialog works …

Software Development api c++
Member Avatar for Ancient Dragon
0
3K
Member Avatar for JordanHam

[CODE]int number=0, subtranslines=50; string term[]={"Jordan"}; //string term="Jordan"; string voltage= "69"; string line; size_t found; while (! data_file.eof() && getline(data_file,line).good() ) { //cout<<line<<'\n'; for (int i=0; i <=subtranslines; i++){ if( (found=line.find ("term[i]",0)) !=string::npos && (found=line.find (voltage,0)) !=string::npos) { number++; cout<<line<<'\n'; out_file<<line<<endl; }}} //To find the number of outages and subtract the …

Software Development c++ seo
Member Avatar for JordanHam
0
195
Member Avatar for barevhayerable

hello everyone.. please answer me , if you can give me working code I thought about something... I know that everything in our machines have addresses.. I thought about watching everything in my computer's random access memory(RAM) But I don't want to see the information in view of garbage , …

Software Development c++
Member Avatar for Ancient Dragon
0
201
Member Avatar for dangari

Hi guys. I have a Java program that works in 3 stages after connecting to a MySQL database to give desired results. The first stage involves a function X that returns a value it finds in table A or zero. The second stage involves a function Y that's only allowed …

Software Development java mysql
Member Avatar for dangari
0
137
Member Avatar for ROSS679

Hi Everyone I have been hard at work on this Java program involving bicycle gears, one of the problems is the while loop, should a user enter a negative number in the inputs then i want the user to re enter it until a positive number comes up however the …

Software Development java
Member Avatar for ROSS679
0
195
Member Avatar for GAME

Hello, I need some help getting started with saving all the items in a listview with a savefiledailog. The items in the list look like this IP , port. The IP and port are in different columns. The IP is in the first column and the IP is in the …

Software Development listview
Member Avatar for Mitja Bonca
0
970
Member Avatar for Mr.BunyRabit

Hey there Why cant i increase my Forms Height more than 1102? Thanks

Software Development
Member Avatar for Mitja Bonca
0
131
Member Avatar for pseudorandom21

Okay, so the problem is: I need a way to display a graphic with a few lines of text over the picture. An amount determined at run-time of these will be created. They also needs to be contained in a scrollable container, and scroll properly. It sounds simple but I'm …

Software Development c c# c++ display
Member Avatar for pseudorandom21
0
146
Member Avatar for chipsch

So this is what i am trying to do. Create just a 5 element array and using the scanner utility get some information from the user that can then be passed down to an object that is dynamically created by the array. The object requires paramaters due to constructors. [CODE]Employee[] …

Software Development java
Member Avatar for chipsch
0
179
Member Avatar for stroper

hy everyone, I have a problem, I am making a little program for a game; When I start my game the timer has to start counting and after 3 minutes the game has to stop. I need to know a way to program a very simple counter/timer in order to …

Software Development java
Member Avatar for mangopearapples
0
310
Member Avatar for hogdogjr

I am working on a python application where most of the GUI is written in TKinter, but I need a data grid control like Excel. I know tktreectrl is supposed to do this but I am unable to get the latest version to compile. What I want to know is …

Software Development gui os-x python tkinter
Member Avatar for richieking
0
218
Member Avatar for stroper

Hye everyone, I am trying to make a 2d-char array, fill it with random letters(chars) and print it. If I do it like this I get a ArrayIndexOutOfBoundsException: 0. I am a newbee. I import my prefs(width, height) from static getters in the class preferences. Can anyone help me please? …

Software Development java matrix-multiplication
Member Avatar for stroper
0
472
Member Avatar for xshinichix

Our teacher gave us an assignment.Can anyone help or give me some idea on how to solve this java problem? im still learning java. Here's the problem: "Write some code to demonstrate to yourself the chain of construction. Create an inheritance hierarchy of 4 classes. Give them any names you …

Software Development java
Member Avatar for jon.kiparsky
0
191
Member Avatar for palamonin

Design program Infix that will convert the expression from infix notation to post fix notation using Stack operation. Observe hierarchy of operators. Sample Input/output Enter infix : 4+6*7-8 Postfix equivalent is 467*+8-

Software Development java
Member Avatar for jon.kiparsky
0
55
Member Avatar for GDICommander

Hello! I need help to construct a regular expression in Python that will help me get the file name of a include directive in C++. I think that regular expressions are a good way to solve this problem, but I'm open to new ideas. Consider these following includes: [CODE] #include …

Software Development c++ file-system python
Member Avatar for GDICommander
0
315
Member Avatar for kishor20

Dear Sir, I am taking up first VC# Project i.e Nursing Home/Hospital Management, I require help like how to capture the informations from client & how to design tables & decide about classes & objects functions. I require overvall view of the new project. Thanks & Regards, Kishor

Software Development c#
Member Avatar for kishor20
0
443
Member Avatar for Maggy0426

Hello everyone, I am using Delphi2010 and I'm trying to do an insert into multiple tables. I don't know the best way to do this. What I'm wondering is if there is a possible way to do one insert using one of Delphi's tools like the TQuery or TClientDataSet or …

Software Development delphi pascal
Member Avatar for Maggy0426
0
211
Member Avatar for TechNewbie23

Hey everyone! Im hoping to find someone that can help me with a problem that I cant seem to resolve and it's driving me crazy! Basically I am trying to create a child management system for a nurse using vb.net and SQL as my backend db The application consists of …

Software Development sql vb.net
Member Avatar for TechNewbie23
0
244
Member Avatar for clairvoyance

Hello, I have a to make a class called fibonacci. This is what is given to us : fibonacci(0)=1 fibonacci(1)=1 fibonacci(n)= fibonacci(n-­1)+fibonacci(n–2) Below is an example of running the fibonacci class as an input of 6. The output is: fibo(0)=1 fibo(1)=1 fibo(2)=2 fibo(3)=3 fibo(4)=5 fibo(5)=8 fibo(6)=13 [B]My code is:[/B] [CODE] …

Software Development java
Member Avatar for -ordi-
0
192
Member Avatar for Tellalca

Hey; In my application I want to count number of seconds while the application is waiting for the user input. I think I should use another thread but I never worked with multithreading. Is there an easier way ?

Software Development multithreading
Member Avatar for rohand
0
629
Member Avatar for changeco

I have the following code in my xsl file... [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> <!ENTITY copy "©"> <!ENTITY reg "®"> <!ENTITY trade "™"> <!ENTITY mdash "—"> <!ENTITY ldquo "“"> <!ENTITY rdquo "”"> <!ENTITY pound "£"> <!ENTITY yen "¥"> <!ENTITY euro "€"> <!ENTITY amp "&"> ]> <xsl:stylesheet …

Software Development display html-amp wordpress xml
Member Avatar for changeco
0
380
Member Avatar for dos_killer

hello im new to linux programming and i am experiencing a bit of diffuclty with pthreads...basically the pthread_create() function in my code below i tend to pass an integer variable as the argument for my runner() function but i get a warning and an error..i have tried several ways of …

Software Development c
Member Avatar for gerard4143
0
770
Member Avatar for dcasmac418

hi! i'm having a hard time in understanding the "bubble sort", can anybody please help me in creating a programming that allows the user to input 10 integers and gives them an option whether it will display from "hi to low" or "low to hi". thanks in advance.

Software Development c++
Member Avatar for dcasmac418
0
90
Member Avatar for larry_d1990

I'm having trouble creating instances of classes through a GUI. I've only manually created objects before where I've named them myself, how do I do it so for eg through the click of a button where I can automatically create the instance of a class(automatically naming the object)??

Software Development gui
Member Avatar for Ketsuekiame
0
63
Member Avatar for Pgmer

Hi All, I have checkedlistbox on my windows form which is binded to datasource, I do check the items in checkedlistbox based on some criteria, When user uncheck some items I want to save the records, but in Checked Items collection still I’m getting items as checked, which are unchecked. …

Software Development vb.net
Member Avatar for Pgmer
0
134
Member Avatar for smd5049

Hello, I'm new to vb.net. I have successfully run a simple sql query in vb.net and basically wanted to know how I can export the results from the query to a .txt file? All I really know is that I should be using StreamWriter. Does anyone have suggestions for sending, …

Software Development sql vb.net
Member Avatar for Satyam Kr. Jha
0
1K
Member Avatar for fugmag

[CODE]import os import fnmatch for l in os.listdir("C:\Bilder"): if fnmatch.fnmatch(l, 'IMG*'): l.replace(l, "HH") print l[/CODE] I am trying soemthing like this, but it is not working. Can anybody help me? Cheers

Software Development python
Member Avatar for fugmag
0
175
Member Avatar for kained

Hi, I am trying to get a Javascript working in an XSL document and i can't seem to make it work for some reason. I have placed the following code within the head of my document. [CODE] <msxsl:script language="JScript" implements-prefix="user"> <![CDATA[ function popup(mylink, windowname) { if (! window.focus)return true; var …

Software Development java javascript xml
Member Avatar for kained
0
161
Member Avatar for gaurav_13191

Hello all, I am third year student pursuing computer science engineering and I want to develop a software which can be coded in C and includes integrating it with database for data. I really need help for some ideas which are new(I need to develop something which is original or …

Software Development c data-science engineering
Member Avatar for pseudorandom21
0
150
Member Avatar for killerpopiller

Hi, I can connect to an energy-meter (Baudrate 300!) and the logfile with 228 lines comes slowly in.[code=Python]line = ser.readline(eol='!') print line [/code] If I use the above code, the complete logfiles is shown. And if I parse separatly saved logfiles with match, it sorts out the right values into …

Software Development python regex sqlite
0
127
Member Avatar for TailsTheFox

Hello, I am wondering how you read input from a text box in microsoft visual studio Forms. I'm trying to make a program that reads text box data and tells you the readout, but I don't know what to type to return the data typed in a text box. Please …

Software Development c++ visual-studio
Member Avatar for TailsTheFox
0
112
Member Avatar for charlybones

Hello all, I'm writing a small "robot" application that has to process a list of sequentially numbered MDB files. This has to be done between different executions, ie: today I process files 1,2 and 3. Tomorrow I might process 4 and 5. It's totally random, but sequential. My question is …

Software Development xml
Member Avatar for charlybones
0
700
Member Avatar for Vallnerik25

I have some questions about the logical not operator in C++ and Visual C++. I have posted another question relating to the logical not operator. I just can't seem to wrap my head around the uses of this operator. From what I have read so far the logical not operator …

Software Development c++
Member Avatar for pkunzip1234
0
233
Member Avatar for jshoot

Hi everyone! I'm triyng to develop a program whith this functions: 1 - Read data from text file 2 - Put the data from file to a variable(ignoring comments in the file) 3 - Tokenize the data e transform the variable into another variable(like float) 4 - Make the calcs …

Software Development c++
Member Avatar for jshoot
0
610
Member Avatar for Tellalca

Hey; I want to store string, ConsoleColor pairs like [CODE]dataStructure.Add(new KeyValuePair<string, ConsoleColor>("Red", ConsoleColor.Red))[/CODE] I tried List but it did not seem to work; [CODE] List<KeyValuePair<string, ConsoleColor>> colorList; colorList.Add(new KeyValuePair<string, ConsoleColor>("Red", ConsoleColor.Red)); colorList.Add(new KeyValuePair<string, ConsoleColor>("Yellow", ConsoleColor.Yellow)); colorList.Add(new KeyValuePair<string, ConsoleColor>("Green", ConsoleColor.Green)); colorList.Add(new KeyValuePair<string, ConsoleColor>("Blue", ConsoleColor.Blue)); colorList.Add(new KeyValuePair<string, ConsoleColor>("White", ConsoleColor.White));[/CODE] with the error …

Software Development
Member Avatar for Ketsuekiame
0
111
Member Avatar for revjim44

I'm trying to code a C# homework assignment that takes a phone number in this format XXX-XXXX (8 digits that can be alphanumeric) and then "Define a method named ReadDials( ) that reads each digit/letter dialed into eight separate char variables (DO NOT USE ARRAYS). All digits are sent back …

Software Development c c# c++ data-structure
Member Avatar for Ketsuekiame
0
382
Member Avatar for KKR_WE_RULE

Well guys.. Here goes my first post here :) I've coded few ECC methods that are very frequently used in Cryptography. I've tested the code with the examples posted in certicom website & it works well. But then I implemented ECDSA_Sign() --> Elliptic Curve Digital Signature Algorithm using my own …

Software Development algorithm c++ delphi
0
184
Member Avatar for becool007

Hello, So I am using microsoft visual C++ 2010 and I was wondering is there a way to avoid using .NET implementations? If so, what would I need to do and what are the drawbacks. Thanks

Software Development asp.net c++
Member Avatar for jonsca
0
117
Member Avatar for hanslim77

Other than the usual [CODE]AudioInputStream stream = AudioSystem.getAudioInputStream(ClassLoader.getSystemClassLoader().getResource("____.wav")); DataLine.Info info = new DataLine.Info(Clip.class, stream.getFormat()); Clip clip = (Clip) AudioSystem.getLine(info); clip.open(stream); clip.start();[/CODE] Since the buffer limit is 2mb for an UNCOMPRESSED wav file so... it's pretty obvious how crappy that is... and that's about all I found on the net since …

Software Development audio file-stream java
Member Avatar for stultuske
0
323
Member Avatar for revjim44

[CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Lab5_A { class Program { static void InputData(ref int counter, string[] playerName, int[] playerScore) { string aValue = null; Console.Write("Enter Player Name (Q to quit): "); playerName[counter] =Console.ReadLine(); Console.Write("\nEnter score for {0}:", playerName[counter]); aValue = Console.ReadLine(); playerScore[counter] = int.Parse(aValue); return; } …

Software Development
Member Avatar for rohand
0
161
Member Avatar for JannuBl22t

Hey! I have a question. I have a program that I made and now I would like to write addons to it. Like user downloads an addon from my website, puts it into a "addons" folder and then it appears under addons menu and it works like a new form …

Software Development
Member Avatar for JannuBl22t
0
81

The End.