132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Soulreaverx7

I have to get this program to read from a text file and write the data to another text file. The problem i'm having is the format. It's typing everything on one line [CODE]#include "stdafx.h" #include <iostream> #include <fstream> #include <iomanip> using namespace std; //reading data from a file int …

Software Development c++ file-system
Member Avatar for mrnutty
0
138
Member Avatar for alteran

I've created a gui for the day of the week program. The problem that I'm having is adding functionality to this program. I would like this program to allows a user to select a month and day from choice menus, and enter a year in a text field. Whenever the …

Software Development gui java java-swing
Member Avatar for NormR1
0
330
Member Avatar for PurpleHeaven

I need help with this program where the program has a textbox that will allow you to input the strings, and then it will output how many letters, numbers, and special characters can be found on the given input. The design goes like this: [url]http://i.imgur.com/nwfDl.png[/url]

Software Development vb.net
Member Avatar for AnkitGuru
0
125
Member Avatar for chowmein87

i got a large picture box sent to the back with a default image. i got a few picture boxes set to transparent and they are placed in front of that large picture box. these picture boxes have no images, just set to transparent in the properties. I use the …

Software Development vb.net
Member Avatar for AnkitGuru
0
393
Member Avatar for kutuup

Hi all, I'm just working on a little Allegro 5 puzzle game for a bit of fun and practise between jobs. Anyway, I have a bit of an optimization issue. It's a board based game where you have an 8x8 board with each square having a value of 0-3 representing …

Software Development c++ puzzle
Member Avatar for kutuup
0
262
Member Avatar for zxcvbnm,.

I am trying to create a program for the RSA algorithm. I have managed to get the public keys, but I hit a brick wall trying to figure out how to generate the secret key. I have tried, but the output is either incorrect or doesn't output at all. my …

Software Development algorithm c
Member Avatar for zxcvbnm,.
0
100
Member Avatar for bomko

i have this 2 custome modules and when i try to call module turtle i get an error message and i dont know what it means or better said i dont know where seems to be a problem. i think it should work just fine this is the message i …

Software Development python qt
Member Avatar for bomko
0
170
Member Avatar for nickliutw

I don't know where did I do wrong here, but it is a compiler error. I was try to create an Arraylist that can store the double value. For some reason, I got a compiler error when I try to create an Arraylist. By the way, the assignment specifically ask …

Software Development java
Member Avatar for nickliutw
0
201
Member Avatar for Arkrothe

What will happen? Here's a code that i tried, it works but i don't really get what's actually happening or how many instances of the static test t are getting created. [CODE] #include<iostream> using namespace std; class Test { public: static Test t; void hello() { cout<<"this line shall be …

Software Development c++
Member Avatar for Arkrothe
0
240
Member Avatar for PurpleHeaven

Hello~ I'm having a little problem on how to make a timer which include minutes and seconds. The design of the form goes like this: [url]http://i.imgur.com/lh1pk.png[/url] Another condition here is when the timer goes down, the interval gets faster. Please help me~

Software Development vb.net
Member Avatar for shivya jain
0
1K
Member Avatar for Duki

Can someone explain why, when I input 'mytag' it does find it? When I debug, it shows the text matches, but the IDs are different. Not sure why that would matter? [code=java] public void RemoveTag() throws IOException, NoSuchTagException{ System.out.printf("Tag to delete: "); BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String tempTagText …

Software Development java
Member Avatar for peter_budo
0
197
Member Avatar for harsimran05

import java.awt.*; import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.util.Vector; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.text.MaskFormatter; import java.sql.*; import java.awt.event.MouseListener; import java.awt.event.MouseEvent; class MyFrame extends JFrame implements ActionListener,MouseListener{ Container c; JLabel lRollNo,lName,lAge,lMarks; JTextField tRollNo,tSName,tMarks; JTextField tAge; DefaultTableModel mStud; JTable tStud; JButton bAdd,bNew,bRemove; MyFrame(){ c=getContentPane(); setLayout(null); setTitle("My Frame"); setSize(800,700); setLocation(10,10); lRollNo=new JLabel("Roll no"); …

Software Development java java-jsp java-swing microsoft-access
Member Avatar for peter_budo
0
161
Member Avatar for Onlineshade

How to do graphics in visual c++. Is it possible to run a graphics program in c++?

Software Development c++
Member Avatar for m4ster_r0shi
0
166
Member Avatar for lianpiau

Hello! any expert can help me. Please. I'm design a form with click Search button to search date and display data in datagridview. but when I set my access database OTDate column as Date, It will cause data mismatch problem. however, set OTDate column as Text is fine. But it …

Software Development c c# c++ database-design dataset
Member Avatar for Momerath
0
643
Member Avatar for imGhostofYou

Hi, I am a very new programmer, I started dabbling with python script only 2 days ago because I was on a quest to build a [URL="http://en.wikipedia.org/wiki/Roguelike"]roguelike[/URL] game, and I found a good informative tutorial on how to do this using python and an API called libtcod. So I figured …

Software Development api python
Member Avatar for imGhostofYou
0
368
Member Avatar for TIP.Synergy

I need to export data from excel to datagrid and have done it..whole excel data is displayed in datagrid..coding but i got an error when Conversion from type 'DBNull' to type 'String' is not valid coz' i have some null data in my excel file

Software Development vb.net
Member Avatar for TIP.Synergy
0
249
Member Avatar for chandnigandhi

my project is on education with fun so i want to add sound API for alphabets for example:if alphabet a is pressed then in picturebox image of apple is diplayed and we can hear a sound that is "a for apple"....how to do so????

Software Development api apple c#
Member Avatar for ddanbe
0
125
Member Avatar for SamarthWiz

Hi I am trying open a record from a shelve db I Know that it stops working at `copy = db[opened]` But why please help ASAP #*****START VARIABEL BLOCK***** #file = the database/shelf file #db = the database/shelf object #tapp = to be appended/recorded to the database #keys = a …

Software Development python
Member Avatar for SamarthWiz
0
311
Member Avatar for DevourOfDarknes

Hi, This is just part of a bigger program I'm writing, but at the moment I don't know how to do what I'm about to say. So first, the user enters a sentence. Now, I have a text file with sentences to match it to. So let's say the first …

Software Development python
Member Avatar for DevourOfDarknes
0
2K
Member Avatar for rosstafarian

Ive wrote a small program to open at startup, but i want to give the user a chance to delete it from showing on startup by clicking a button. But it needs to be compatible on XP, Vista and Windows 7. Is there a line of code which will get …

Software Development vb.net windows-vista
Member Avatar for rosstafarian
0
237
Member Avatar for mikejs

Hi I am using the following to auto search db [CODE] Dim connString As String = My.Settings.strConn Dim conn As New SqlConnection(connString) Dim cmd As New SqlCommand("select firstName, existing from tenant Where (existing = 1)", conn) Dim da As New SqlDataAdapter(cmd) Dim ds As New DataSet Try conn.Open() da.Fill(ds, "List") …

Software Development dataset vb.net
Member Avatar for mikejs
0
145
Member Avatar for shivya jain

hello, i want to calculate total salary according to attending days. please help me in coding.

Software Development vb.net
Member Avatar for debasisdas
0
115
Member Avatar for Celcion

Hello, currently new to C++ and learning the ropes. I'm trying to create a simple database-like program, but the following code doesn't output any meaningful data. The program compiles fine, though. The rest of the program is still under work, so I'm just posting the relevant parts which I think …

Software Development c++
Member Avatar for Celcion
0
117
Member Avatar for harsimran05

showing illegal start of expression in defining functions of mouselistener interface import java.awt.*; import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.util.Vector; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.text.MaskFormatter; import java.sql.*; import java.awt.event.MouseListener; import java.awt.event.MouseEvent; class MyFrame extends JFrame implements ActionListener,MouseListener{ Container c; JLabel lRollNo,lName,lAge,lMarks; JTextField tRollNo,tSName,tMarks; JTextField tAge; DefaultTableModel mStud; JTable tStud; JButton …

Software Development java java-jsp java-swing microsoft-access
Member Avatar for JamesCherrill
0
434
Member Avatar for emreozpalamutcu

I'm working in this project that has a feedback form and in this feedback form there is only body, so it doesn't ask for subject and who it's from. And all the messages send from will go to a custom mail account, for example [email]Example@custom.com[/email] How can I do this …

Software Development c++ client-server email
Member Avatar for cent91
0
608
Member Avatar for tgifgemini

[B][/B] Hi all, I am trying trying to make both the "Tab Key" behave as the "Enter" key. keys. In otherwords, both the Tab and Enter should acheive the same objective. I am using the code below but only the "Enter" key is working, but the "Tab" key is not …

Software Development visual-basic
Member Avatar for zebnoon
0
3K
Member Avatar for paps3535

I have two textboxes...on the textchanged event of one textbox, readonly property of other textbox gets defined...e.g. first textbox is retrieving data as add,update,delete...when the first textbox text is changed to update then & then only second textbox readonly property is set to false...Now the problem,I am facing is....whenevr first …

Software Development vb.net
Member Avatar for tofu4616
0
1K
Member Avatar for coolsasuke

Well, i was wondering if this is possible . If it is possible, can somebody show me how or give me the code ? Im pretty newbie in coding as my only resource of learning Visualbasic is from the internet :/ And , I would like to disable some key …

Software Development vb.net
Member Avatar for lolafuertes
0
227
Member Avatar for chandnigandhi

i want to draw a rectangle in windows form in c# with the help of mouse by clicking on button line should be displayed on panel and if first rectangle should not b disappeared... plzzzzzzzzz rply soon........

Software Development c c# c++
Member Avatar for chandnigandhi
0
155
Member Avatar for shrutipopat

i want to draw a line in windows form in c# with the help of mouse and by clicking on line button it should allow me to draw a line on form or panel as in paint it allows us to do so and while drawing the 2nd line first …

Software Development c c# c++
Member Avatar for shrutipopat
0
74
Member Avatar for crapgarden

This code: [CODE] int array1[5] = {1, 30, 90, 40, 3}; char array2[] = {125, '}'}; cout << array1 << endl; cout << array1[0] << endl; cout << array1[1] << endl; cout << array1[2] << endl; cout << array1[3] << endl; cout << array1[4] << endl; cout << array2 << …

Software Development c++
Member Avatar for crapgarden
0
100
Member Avatar for khentz

Hi, How can I point or target my access database in a safe way? Meaning, if I'm going to change my project to another computer, it will not cause any connection problem to my database. Thanks in advance. :)

Software Development vb.net
Member Avatar for XEN0
0
84
Member Avatar for aspirewire

I'm very new to programming and I'm trying to make a program to compute the circumference of a circle when you give it the radius, but I keep getting "fatal error LNK1169: one or more multiply defined symbols found" whenever I think I fix it, it just says the same …

Software Development c++
Member Avatar for Ancient Dragon
0
357
Member Avatar for Sheryl99

I am using a PictureBox to display images. I have SizeMode set to StretchImage. While this does indeed show the whole image, it is of coure stretched. Is there a way to prepare the image to be displayed so it will fit correctly in the PictureBox? I just want it …

Software Development image vb.net
Member Avatar for aamirnikkiaadil
0
5K
Member Avatar for IndianaRonaldo

hi all guys, I have just started CURL programming in vc++.But I don't have a good place to start reading more about it.I do understand the basics of it,but I want a procedural tutorial to learn more about it. Is there any proper site to learn from basics to higher …

Software Development c++
Member Avatar for IndianaRonaldo
0
188
Member Avatar for reactivated

I'm using Visual C# Express 2010, on Windows XP SP3. I took pain to define the var collBlock in the class directly, however, when I try to use it, it works once and then NOT. Google searched all and tried a lot of solution. Error stil comes up. The code …

Software Development c#
Member Avatar for reactivated
0
327
Member Avatar for coolsasuke

Hey , yeah. I was wondering if it is possible to hide all desktop icons EXCEPT my application's shortcut ? If it is possible, please tell me how . It is the best if you can provide the code for me. As im a very noob in coding cause im …

Software Development vb.net
Member Avatar for coolsasuke
0
237
Member Avatar for sirlink99

I have made a simple java program that gets a user to fill out a form, and then checks if all the parts were filled out. I am now having trouble with how to send the file in an email to a set users email account. How could I do …

Software Development java
Member Avatar for sirlink99
0
241
Member Avatar for nickliutw

I have been working a program that allow the user to perform the following task, add student, display student, delete student, and find student. I need help with add student name, gpa..etc to the arraylist. But I keep getting either compiler messages or other error message. I have been trying …

Software Development java
Member Avatar for nickliutw
0
152
Member Avatar for shrutipopat

i want to draw a line in windows form in c# with d help of mouse....by clicking on button line should b displayed on panel or form.....nd d first line should nt b disappeared..... plz rply soon.....

Software Development c#
Member Avatar for Narue
0
99
Member Avatar for Onlineshade

Which compiler is needed for the following code? [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; import javax.mail.*; import javax.mail.internet.*; public class Main extends JApplet implements ActionListener{ JTextField firstNameArea; JTextField lastNameArea; JTextField emailField; JTextField phoneNumber; JCheckBox myselfBox; JCheckBox someoneBox; JTextArea messageArea; public void init (){ setSize (250,300); setLayout (new BorderLayout …

Software Development java java-swing session
Member Avatar for JamesCherrill
0
192
Member Avatar for she05

Hi all, I am currently trying to pass an arraylist as a parameter for adding and deleting a student from the arraylist. Well, I have just learned about arraylist. Is it possible to pass an arraylist as parameter. Your help will be highly appreciated. Thanks. My codes below: [CODE]package student; …

Software Development java
Member Avatar for JamesCherrill
0
132
Member Avatar for D33wakar

[CODE] .MODEL small .STACK 100h ; defines a stack 100h (256) bytes long .DATA String DB "Hello World!",'$' ; variable declaration .CODE Start: mov dx,offset String ; point dx to the storage location for the first character mov ah,9 ; dos function for string output int 21h Stop: mov ax,4C00h …

Software Development assembly storage
Member Avatar for D33wakar
0
250
Member Avatar for chiiqui

[CODE]public class GAME { boolean gamestatus = true; double amounts[] = {0, 0.01, 0.5, 1, 5, 10, 11, 14, 20, 300, 600, 150, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28 }; Briefcase briefcase[] = new Briefcase[27]; public void casesSetup(){ for (int i …

Software Development java
Member Avatar for chiiqui
0
129
Member Avatar for sirknieghf

hi i got a problem when try to use pointer and struct..somehow ive manage to compile my coding but the main prob is that the output is not what ive keyed in.. [CODE]#include <iostream> #include <conio> #include <string> #include <stdlib> void printtable(); void input(); void calculate (); void scorecard(); void …

Software Development c c# c++
Member Avatar for sirknieghf
0
392
Member Avatar for mangal123

i want to do accessing files and folders in listbox and when i click in any folder then thier subfolder displayed in other listbox ......... reply sooooon ....................... magdy .......................

Software Development
Member Avatar for yash_shukla
0
87
Member Avatar for pxndx

Ok so i have this little problem, i have to find all the elements in an array that are duplicates ex:{1,1,1,2,2,3,4,5,6} 1 repeats it self 3 times and 2 two times things like that this is what i have so far... [CODE] static void Main(string[] args) { int contador = …

Software Development c#
Member Avatar for thines01
0
2K
Member Avatar for chiiqui

Can this code of mine be more efficient? [CODE]import java.util.Scanner; public class Game { public static void main(String args[]){ boolean gamestatus = true; //Boolean to control the whole game double total = 0; //Temporary variable for storing the average Banker banker = new Banker(); //creation of the object banker; int …

Software Development java
Member Avatar for JamesCherrill
0
166
Member Avatar for suemaina

Hi plz help me with a code that can detect when a pin number is entered in reverse. and alerts the user that he has entered pin number in reverse ..thanx

Software Development vb.net
Member Avatar for suemaina
0
188
Member Avatar for agrarian

I have a project where I need to retrieve data from MS SQL Server and format it into an Excel Spreadsheet. I am using the OfficePartner component to try and make this easier, but I'm having a hard time figuring out how to get the VB help and Excel Object …

Software Development delphi microsoft-office pascal
Member Avatar for Wolfgan
0
904

The End.