132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Atlanta15Braves

I need to design an application that makes a histogram that visually shows the distribution of a set of numbers. It has to read in numbers 1-100 and then produce a chart which labels how many of each number is input. So if my input is 1, 23, 17, 13, …

Software Development java
Member Avatar for Atlanta15Braves
0
4K
Member Avatar for alex910TN

Hey guys I am trying to prompt the user to input a file name, and save that file name into a packed array of characters then use that inputed flename to perform some opertions. FileName : text; Line = PACKED ARRAY [0..79] of char ; writeln('Please input a file name …

Software Development pascal
Member Avatar for alex910TN
0
196
Member Avatar for krunal1986

hi, i am getting Run time error '13': Type mismatch error. below is my code: Dim ndMain As Node Set ndMain = TreeMain.Nodes.Add(, , "Root", "Main Menu", "myappname") thanks, krunal

Software Development data-structure visual-basic
Member Avatar for Bile
0
335
Member Avatar for freesoul.rahul

Hi everyone, I need some help with my homework. I checked online and found loads of results but didnt understand much. I need to submit hw by tomm nyt .. 27hrs from now. Please help me if you can plz .. Here is my code snippet public static void main(String[] …

Software Development java
Member Avatar for freesoul.rahul
0
320
Member Avatar for luck12

I am trying to add collision detection to this simple game, but I am a little lost on where to begin. I know I need to use rects to do this but I am struggling to find out what I need to code to make this work. Any pseudocode or …

Software Development python
Member Avatar for luck12
0
1K
Member Avatar for Programmer629

Hi everyone. im kinda bored so i made my own code language. the code is like a=e b=q c=m d=p e=i ect. so i made it into a program. so i started to fill in the code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim …

Software Development vb.net
Member Avatar for Programmer629
0
99
Member Avatar for CoilFyzx

Hello good day. I have a quick question is anyone able to assist me in saving a password file. I encrypted my password and so I want to save the salt and the encrypted password(which are byte arrays). I tried using a properties file, but I soon found out that …

Software Development encryption java
Member Avatar for CoilFyzx
0
255
Member Avatar for krystosan

Today i was reading someone written code and trying to understand it, but I have encountered so many times that programmers override builtin methods or set new properties , the code below is from a tutorial i came accross , I hope some one can help me out how code …

Software Development python
Member Avatar for krystosan
0
171
Member Avatar for Kingcoder210

Hi everyone! I have used following code to show dates in combo boxes. Private Sub Income_Sheet_Report_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load cmbisrbdt.Items.Clear() cmbisrbdt.Text = "BEGINNING DATE" cmbisredt.Items.Clear() cmbisredt.Text = "END DATE" Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None Dim con As New SqlConnection(ConnectionString) Dim com As SqlCommand = Nothing Dim …

Software Development vb.net
Member Avatar for G_Waddell
0
967
Member Avatar for Nutster

If am writing a VB.Net module for a project I am working on and have decided to try out different ways of doing some things, without getting rid of the older code that worked. I am selecting between these methods by setting a `#Const` at the beginning of the Module …

Software Development vb.net
Member Avatar for john.knapp
0
193
Member Avatar for subramanya.vl

I have this static block of code which is following Singleton design pattern. class Employee{ private static Employee emp; static { if (emp==null){ emp=new Employee(); } } public static Employee getEmployee(){ return emp; } } My doubt is if this code can be accessed by Mutiple threads concurrently and break …

Software Development java
Member Avatar for subramanya.vl
0
1K
Member Avatar for Violet_82

Hi there, I am just beginning to learn java right now, and have a real begeinner question. I ahve read that when you declare a float variable and ssigna value to it the number has to be followed by an "f". What I coudln't find out is why: `var floatNumber …

Software Development java
Member Avatar for Violet_82
0
168
Member Avatar for Sumal

**Can some one please help me with this ?** import java.util.*; public class Expression{ /* * Strings used for storing expression. */ String s, x; /* * Term evaluator for number literals. */ double term(){ double ans = 0; StringBuffer temp = new StringBuffer(); while( s.length() > 0 && Character.isDigit( …

Software Development java
Member Avatar for NormR1
0
311
Member Avatar for prince.abankwah.5

i have a checkbox (ckVat) and a textbox (txtvat). what i want to do is that when i check the checkbox, it should pull data from the database into the textbox. the table from which am retrieving the data is called "Vat" so i want it to pull the vat …

Software Development vb.net
Member Avatar for prince.abankwah.5
0
146
Member Avatar for rexyspy

Hello Everyone... Can someone tell me what am not doing right here? Because am trying to insert a record into a database through a VB.net 2012 windows form into a MSsql satabase. Problems: When I write the codes without the insert statement, it will work well and open the connection. …

Software Development mssql vb.net
Member Avatar for pritaeas
0
194
Member Avatar for darkwing

I have a video program that use gstreamer and wxwidgets. Before Ubuntu 9.10, the program works fine. But since I upgraded to 9.10 (or 10.04), it keeps getting crashes when trying to view video. The error is usually Fatal X11 IO error. I googled and found that GTK+ implementation is …

Software Development python ubuntu
Member Avatar for Lardmeister
0
176
Member Avatar for ohmang841

Hi guys...I'm new to python so I've no idea what I'm doing but I need to write a function that 1) asks the user how many strings they would like to input. 2)Stores the strings in a list 3) sorts the list 4) Displays the sorted list 5) Displays the …

Software Development python
Member Avatar for Lardmeister
0
9K
Member Avatar for rami sohaill

package hospitalclient; public class Person { static int idnumber= 1500; private String name; private String telephoneno; private char gender; private String nationality; //No Parameter constructor public Person() { name="unassigned"; telephoneno = ""; gender = 'M'; nationality = "Saudi"; } public int getid() { return idnumber; } // Accessor Methods public …

Software Development java oop
Member Avatar for JamesCherrill
0
353
Member Avatar for forjustincase

Students Details and Mark Entry Form Input : Number of students, Student Name , Student Id, 5 subject marks entered through inputbox by using dynamic array Output: List of all input Students Grade Form Input: - Output : List of students Name, ID, 5 subjects, Average, Grade Students Grade Analysis …

Software Development visual-basic
Member Avatar for forjustincase
0
233
Member Avatar for a7x813

/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package testelimination3; import java.util.Scanner; /** * * @author Nick */ public class TestElim { public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.println("Please enter a set of numbers"); int[] …

Software Development java
Member Avatar for subramanya.vl
0
1K
Member Avatar for lalitapatil

Abstract—A video copy detection system that is based on content fingerprinting and can be used for video indexing and copyright applications is proposed. The system relies on a fingerprint extraction algorithm followed by a fast approximate search algorithm. The fingerprint extraction algorithm extracts compact content- based signatures from special images …

Software Development algorithm java video
Member Avatar for NormR1
0
188
Member Avatar for nathaniscool99

Hello, I have been given a class diagram where a variable called light_years must be a const int and stored in the space class, but later on that value must be used in the main file. Below is the space class class space { private: static const int LIGHT_YEARS; public: …

Software Development c++ microsoft-access
Member Avatar for deceptikon
0
269
Member Avatar for saurabh.mehta.33234

Does the following code make p as a null pointer static int *p; since `printf("%u",p);` outputs as 0 though the syntax is `int *p=NULL or int *p=0`

Software Development c
Member Avatar for deceptikon
0
157
Member Avatar for AlexThugNastyTyricebiggumsBello

Ok i made a chat thing for a forum i have but it didn't work but there was a detail box and this came up on it. "Java Plug-in 10.9.2.05 Using JRE version 1.7.0_09-b05 Java HotSpot(TM) Client VM User home directory = C:\Users\Patricia ---------------------------------------------------- c: clear console window f: finalize …

Software Development java queue
Member Avatar for NormR1
0
248
Member Avatar for anilak

**Hi Team Daniweb,** Explain perlOOP concepts (basics and a bit advanced) with simple examples to understand what is OOP and how can we use this concepts in PERL. **Thanks!** Anil A Kumar

Software Development oop perl
Member Avatar for 2teez
0
165
Member Avatar for Rachna0309

| Sr.No | Membership No | Name | Addresss | Occupation | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Account | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | | 35957 | SHAH HEMANGINI KANAIYALAL NATVARLAL |SHROFF STREET,, KILLA PARDI, DIST.VALSAD, Pardi, Pin Cd : 396125 | | 1 | 35959 | SARSIWALA SAKINABEN ASGARALI ABDULHUSEIN |OPP.HIGHPOWER SODA FACTORY,, DUNGRI FALIA,DAMNI …

Software Development vb.net
Member Avatar for Pgmer
0
253
Member Avatar for Rachna0309

**I have a text file as below:** I have a text file as below:  BRANCH :SARDAR BHILADWALA PARDI PEOPLE'S CO-OP. ,Head Office NODE : 9 BRANCH CODE : 1 RUN DATE :11/05/2009 USER : SNA REPORT ID :R048260 * AREA WISE MEMBER LISTING OF SHARE CUSTOMERS ** PAGE : …

Software Development file-system vb.net
Member Avatar for Pgmer
0
257
Member Avatar for SHINICHI

I'm new here and I have an assignment about java that i'm not understand on how to do it.Here is the question: Write a test program that read an integer n and call a method to display a pattern as follows: 1 2 1 3 2 1 4 3 2 …

Software Development java
Member Avatar for jalpesh_007
0
134
Member Avatar for lulu79

Hi, I have 2 datagridview. 1 to show TANTOU, TOTAL SUM of DURATION and COUNT of event happened. Another 1 is to show TANTOU, AVERAGE of DURATION and COUNT of event happened. I have use LINQ function to get the result. But how can i combine it so that i …

Software Development asp.net mathematics vb.net
0
216
Member Avatar for vijaycare

Hi All, I am working for a database solution using vs 2005, and it is in final stage for reporting. I have 3 access databases. One is for selecting godown. And the remaining is godownwise databases. The godownwise databases having same structure (Tables and relationship but the data may be …

Software Development data-structure dataset vb.net
Member Avatar for vijaycare
0
253
Member Avatar for Linsley

i have to create a calculator (i'm a 12 year old) for the science fair. on textwrangler when i try to compile it :Expected end of line, etc. but found identifier. here is my code: import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; public class JavaCalculator extends JFrame { private …

Software Development java java-swing
Member Avatar for radhakrishna.p
0
404
Member Avatar for DEAD TERMINATOR

I am writing some code to read some information from a text file. The file is essentially three columns of numbers. The first columns are ints, the second are doubles, and the third is ints. So I have created a tokenizer that goes through line by line and interprets the …

Software Development java
Member Avatar for radhakrishna.p
0
214
Member Avatar for daino

I'm trying to compile a project using Code::Blocks with a MinGW compiler (Windows XP). I have included the correct library file from boost and set the right include path but it doesn't seem to make any difference. Here's the error. The impression I'm getting is PdfContentsGraph class is not initializing …

Software Development c++
Member Avatar for daino
0
397
Member Avatar for nuclear

I'm using fstream to read words from a file and I can't just read the whole word like so: ifstream ob("file.txt"); string word; ob >> word; But I need to somehow specify to read 20 positions, even though there might be just spaces included. So I was trying to do …

Software Development c++
Member Avatar for vijayan121
0
187
Member Avatar for dnk

Hi, I'm manage how to find word in textbox. In textbox : "How i can be a good programer? How i achieve that?" If i want to search "How" then it should return 2 How words in text. Please Help. Thank You.

Software Development seo visual-basic
Member Avatar for Basavaraj16291
0
392
Member Avatar for gelmi

i am doing some machine program that our teacher. told us to do, i have figured out how to solve it, the first output is correct but the second one gives me an answer of 3.10752688172043, and the answer should be 3.75268817. here is my code... using System; using System.Collections.Generic; …

Software Development
Member Avatar for Momerath
0
164
Member Avatar for pritesh2010

how to add multiple image in listview columns like ListViewItem.ListViewSubItem[] subItems; ListViewItem item = null; item = new ListViewItem(imageList1.Images[0].ToString(), _GroupName); subItems = new ListViewItem.ListViewSubItem[] { new ListViewItem.ListViewSubItem(item,imageList1.Images[1].ToString()), new ListViewItem.ListViewSubItem(item,imageList1.Images[2].ToString()), new ListViewItem.ListViewSubItem(item,_Row["Description"].ToString()), new ListViewItem.ListViewSubItem(item,imageList1.Images[3].ToString())}; item.SubItems.AddRange(subItems); ListView.Items.Add(item); how add to do that. dynamically.

Software Development listview
Member Avatar for pritesh2010
0
272
Member Avatar for rstoplabe14

Hi, I have a homework assignment that I am trying to accomplish and I can't seem to be able to complete. Here are the instructions for the assignment http://www.carloscruz.info/week4_ilab.pdf This has been discussed in this forum before, but since I can't plagerize I cant just copy it. I've however modified …

Software Development pdf
Member Avatar for Momerath
0
141
Member Avatar for greatman05

So, I'm trying out a project on my own because I have no real clue how to do anything complex or useful in C++ (applications for example). This project calls for creating a simple console text editor with basic functionality (buffer, command set, redisplay). The problem is that I don't …

Software Development algorithm c++ data-structure
Member Avatar for mike_2000_17
0
1K
Member Avatar for BigPaw

Which is the most popular editor on these forums, please? Especially so, an editor that takes Python to the maximum of what it is capable of achieving. I'm hoping that I won't need such-and-such an editor to do this, and such-and-such an editor to do that... An all-in-one if possible. …

Software Development python
Member Avatar for Lardmeister
0
270
Member Avatar for vishalonne

Hello I am trying to connect MySQL database from C++ code given below- My development environment is - Window 7 CODE::BLOCKS 10.05 with minGW mingw32-g++.exe MySQL Connector C++ 1.0.5\lib\debug\mysqlcppconn.lib Up to compilation and linking every thing is OK I followed the tutorial [http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-examples-complete-example-1.html](http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-examples-complete-example-1.html) #include <stdlib.h> #include <iostream> #include <winsock2.h> /* …

Software Development c++
Member Avatar for Ancient Dragon
0
343
Member Avatar for bops

I am planning on making a program to so that when it is excecuted it carries out the following procedure in 1 go... run command prompt ( system("CMD"); )...then use the command line to carry out the following command... "C:\Program Files\PowerMenu\PowerMenu.exe" -hideself on Im sure i have seen this done …

Software Development c++
Member Avatar for Ancient Dragon
0
613
Member Avatar for ollie60

Hi I am currently making a dialog based application in visual c++ 2010 where a chart is going to plot data coming in from an external source. My issue is that I am unsure how to import that data in real time to my application. Does anyone have ideas? Thanks

Software Development c++
Member Avatar for Ancient Dragon
0
334
Member Avatar for Kronolynx

i got a problem to make a program where i should use arrays the problem is in the next part, even though all the for loops are the same in this array `results[4][5] = i; // problem here nothing gets stored` nothing gets stored, so when i run the program …

Software Development java
Member Avatar for Kronolynx
0
149
Member Avatar for Blaze_Razgriz

Hello Forum I'm learning more about Form Apps in VB.net and I encountered the error 'System.ObjectDisposedException', no matter what I do this error doesn't seem to want to stop. This error occurs in two stages all under the declaration of BBGO which is declared as graphics. This should be the …

Software Development vb.net
Member Avatar for john.knapp
0
466
Member Avatar for Rachna0309

I am using Like operator in ms access query to get part of string.This query runs well in ms access query wizard but when I use this query to retrieve records in recordset,recordset is null. Also I am using update query with like operator.Records are not updated and also no …

Software Development vb.net
Member Avatar for adam_k
0
956
Member Avatar for softwaretime

This program has taken roughly 3 months to develop and now I would like other people to evaluate it for me. It's called Math Tool and it can be useful for you're tring to find out an average of data (i.e. average time) and it's also useful to display it …

Software Development c++ mathematics
Member Avatar for softwaretime
0
217
Member Avatar for ben1996123

Input the minutes, then the seconds, and it will do the rest. Pretty simple but I just thought I'd post it. Made as a quick test for my game.

Software Development c++
Member Avatar for PalashBansal96
0
300
Member Avatar for Vusumuzi

Question Enter a code that will test if player 'A' for team A or 'B' for team B was entered Call the procedure display_player( , ) with the relevant variables Enter the code that request the user to enter the positon My failes answer is: def diplay_player(team, position): team = …

Software Development python
Member Avatar for Vusumuzi
0
157
Member Avatar for Carpetfizz

Hello! I'm terribly confused about how to pass a simple integer that was read from my main() to another function (in the same file). I know this is a really silly issue, but searching on the internet is just making me more confused. Here's my code so far. #include <iostream> …

Software Development c++
Member Avatar for thendrluca
0
157

The End.