199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arntb0rnprgrmr

Goodeve guys... please help me on how to start a java game.. we have a proposed game and mine is a song lyrics game.. this is our project for the finals and honestly, i'm not that good in java.. :C what should be the first step? what is the best …

Member Avatar for VernonDozier
0
200
Member Avatar for mustangBE

hello i have an appl. in vb2008 with a datagridview. when i import my data from excel (colum with text and numbers)it only imports the numbers or the text , not the both. example : 120 150 set25 160 "set25" is not imported example : set120 150 120 set130 "150 …

Member Avatar for mustangBE
0
116
Member Avatar for nitin_gyan

Hi all, I saved my connector/j rar file into this location C:\ ... \Java\jre6\lib\ext and i am using this code in the JSP : Class.forName("com.mysql.jdbc.Driver").newInstance(); I am getting below driver error message. Somebody please help me out. javax.servlet.ServletException: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

Member Avatar for nitin_gyan
0
189
Member Avatar for arctushar

Hi I m thinking about combined key system. say i have mysql table having field 1. user_name 2. father_name 3. mother_name 4. Address Now I can mark [B]user_nam[/B]e field as key for u[B]nique value[/B]. But I dont want that. I want that same user name is possible but same [B]user …

Member Avatar for hielo
0
149
Member Avatar for momofthree

Hi! I am new to the world of coding, but am slowly learning. I am working on an internet scavenger hunt- so people search for a hidden icon on different sites all over the net. they are given a list of links to the sites participating and a riddle to …

Member Avatar for mschroeder
0
134
Member Avatar for G_S

Hi, I need your help with a php issue here: I have a flash form where the user enters some strings. Action Script is supposed to get these strings and place them into variables, then send the to php. Now php gets these variables and places them inside other variables …

Member Avatar for farhan386
0
136
Member Avatar for SaiBalaji

Please give me answer for following question in easy way for understanding of basic learners. Write a C program that reads an integer n and stores the first n Fibonacci numbers in an array.

Member Avatar for Narue
0
260
Member Avatar for lordbaddkitty

I'm trying to LINQ two tables based on a dynamic key. User can change key via a combo box. Key may be money, string, double, int, etc. Currently I'm getting the data just fine, but without filtering out the doubles. I can filter the double in VB, but it's slooooow. …

Member Avatar for lordbaddkitty
0
288
Member Avatar for subrat_p

I tried a lot to open a JAR file but it is not opening.I typed in command prompt javaw -jar MyJar.jar but it is not open. It makes some error sound bt not open. Please help me regard this

Member Avatar for Ezzaral
0
175
Member Avatar for facarroll

I have a script that creates a record in MySql database which allocates certain machines to any or all of six usergroups under the management of a unique manager. It works fine in creating an original record, but I want to be able to use the same form to update …

Member Avatar for ayooshkasmth
0
115
Member Avatar for Quagmire232

Hi everyone, Before i outline my problem, i DO have an alright idea of how i'll code this thing, it's just i'm unsure and wondering if there's a better or shorter or a more simple way. Ok im at the end of my current term of programming and it's Assignment …

Member Avatar for niobi
0
292
Member Avatar for itsmeisuru

[code] #include<stdio.h> #include<conio.h> #include<stdlib.h> int main(){ int i = 2; char a[1]; itoa(i, a, 10); char *command = ("md %s", a); system(command); char *cop = ("copy %s.jpg \%s\%s.jpg" , a, a, a); // want to copy the jpg file in to system(cop); //new made folder the path as (2/2.jpg) getch(); …

Member Avatar for itsmeisuru
0
108
Member Avatar for priyanka.js28

which one of the following will execute faster? int p=2; p++; OR p=p+1;OR p+=1; and y?? is it p++ bcoz it is a single instruction??...nd the rest r multiple...

Member Avatar for SaiBalaji
0
430
Member Avatar for virtualvictory

Can anyone please help me in debugging this program.This is the implementation of linked list.I have not inserted delete function.I couldn't display the data in the list properly.

Member Avatar for Ancient Dragon
0
78
Member Avatar for malvi

Hello As per my project requirement i want to update edit box per second. give me an idea how can i do it?

Member Avatar for Ancient Dragon
0
168
Member Avatar for ryan461

I'm new to perl, some experience in python. I've been tasked to create a script to remove comments in files. So basically id like to remove <!-- comment here --> from every line that has it in an assortment of files in a directory tree. Some comments may span multiple …

Member Avatar for ryan461
0
153
Member Avatar for pixma

Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click conn.Open() Dim cmd As New OleDbCommand("Update (SELECT Employee.empno, Employee.emplname, Employee.empfname, Employee.empmidname, Employee.contactno, Admin.description FROM Admin INNER JOIN Employee ON Admin.adminNo = Employee.adminNo) Set emplname=?, empfname=?, empmidname=?, contactno=?, description=? where empno=?", conn) cmd.Parameters.Add("empno", OleDbType.Integer) cmd.Parameters.AddWithValue("emplname", OleDbType.Char) cmd.Parameters.AddWithValue("empfname", OleDbType.Char) cmd.Parameters.AddWithValue("empmidname", …

Member Avatar for pixma
0
165
Member Avatar for chandrut

1) how to connect c to database..... 2) how to connect C++ to Database...... Reply me its urgent.

Member Avatar for Ancient Dragon
0
119
Member Avatar for tactfulsaint

this error was displayed after i package and deployed my jsp file. i dont know any help? [CODE] HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP …

Member Avatar for ranu26
0
146
Member Avatar for PHP_develop

Hello, As part of my college task I need to make simple webpage based on PHP and MySQL which goes exactly like this: [url]http://img227.imageshack.us/img227/1984/hamburgers.jpg[/url] Since I am still newbie, I hope you can help me with this one. For practicing I use EasyPHP and this is what I done till …

Member Avatar for hielo
0
113
Member Avatar for Jiblix

Hey guys, I'm a newbie programmer and I'm trying to create a program which calculates BMI. Weight is in lbs and height is in inches. I've compiled this and its got quite a bit of errors, so I could really use some help. The final result that I'm trying to …

Member Avatar for Jiblix
0
947
Member Avatar for perryg30313

Can anyone tell me what is wrong with the following Code. I am trying to launch a form on a different thread because the form takes 10+ seconds to load. The code I am using follows: [CODE] Public Class frmAdjustments Inherits System.Windows.Forms.Form Dim gVariant As Guid Dim gsUID As Guid …

Member Avatar for perryg30313
0
129
Member Avatar for kinniburghc

I want to create a jpg image containg some graphics which I draw using the Tkinter Canvas widget. This draws the image to screen and then I use the PIL library ImageGrab() function to grab it off the screen into a file. It would be much neater to by-pass drawing …

Member Avatar for kinniburghc
0
7K
Member Avatar for CodyOebel

Ok I am doing some windows API programming that deals with two applications\windows. One window is my program, the other is a games window. I am building my application to output the coordinates to my applications screen. The coordinates are to be retrieved and are needs to be relative to …

Member Avatar for chococrack
0
274
Member Avatar for RazorRamon

I don't have a ton of php experience but I am trying to have math problem echoed in the same browswer screen upon submit. Problem is when I submit nothing appears it just looks like i refreshed the page. I've tried moving the php coding into a seperate .php file …

Member Avatar for RazorRamon
0
192
Member Avatar for NewOrder

the class is the same. but there are two methods: first method: if simply returns a string. [CODE]public String FindPiece(String chessPiece) { return name; } [/CODE] name. is a constructor variable. it is a name of the chess piece [CODE]public Pawn(String name){ this.name=name; }[/CODE] second method public boolean isMoveValid(ChessPiece[][] pieces, …

Member Avatar for NewOrder
0
94
Member Avatar for Kevin_160

I'm doing my master thesis on radar signal generation and to create a scenario, I need to have a timing in execution of my C-script of microseconds resolution. By using the time.h I can only get to a resolution of 1 millisecond. I know it is feasible in linux, but …

Member Avatar for Kevin_160
0
250
Member Avatar for bettybarnes

hi everyone kindly help me with my code, my form isn't showing my newly added records in the database but when i close it and then open again it will show. I want to know how to add refresh button and it will automatically refresh itself.. Thanks in advance!

Member Avatar for bettybarnes
0
197
Member Avatar for jelinky

this is the code i have: [CODE]#include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; ifstream infile("grade_data.txt"); string answers, key; int num_grades; void highest(double [], int); void lowest(double [], int); const int NUM_QUESTIONS = 10; double scores[NUM_QUESTIONS + 1]; int results; //how many right answers int wrong=0; //how …

Member Avatar for Fbody
0
132
Member Avatar for hoppy9

Hello All, I am student just starting Java. I do need help with swing - GUI. I am creating 4 textfield that accepts input from 3 user and will display as a 2D Array in the text area. As well as calculate the average of one column from the input. …

Member Avatar for NormR1
0
499
Member Avatar for bino87

im tyinh to writ a program to calculate nd display the volum ,area as well as the area of 6 sides of the rectangular prism but im stuck lol im a beginners import java.util.Scanner; public class RectangularPrism { public static void main(String[] args) { int length; int width; int height; …

Member Avatar for robertmacedonia
0
373
Member Avatar for wasimmalik

I have written this code for page hits cout its working perfectly ok on my pc but when i uploaded it on my site it show error any body help me in this issue [CODE]<?php $cnt = "hits.txt"; $h = @fopen($cnt, 'r') or die("can't open file"); $x=@fread($h,10); $h1 = @fopen($cnt, …

Member Avatar for wasimmalik
0
153
Member Avatar for Dr.Acula

I need help guys, I want to be able to extract text from a string. This is an example of the string: @ ANSI 6360100102DL00390204ZF02430034DLDAACRUZ,JULIO,MIGUELDAG626 SIESTA KEY BLVD APT 434DAIDEERFIELD BEACHDAJFLDAK33441-0000 DAQC620433894240DARE DASA DAT DBA20141124DBB19891124DBC1DBD20080801DBHN DAU511 ZFZFA ZFB ZFCR050808010243ZFD I wanna be able to extract "CRUZ", "JULIO", "626 SIESTA KEY …

Member Avatar for styagi96
0
209
Member Avatar for Kevin_160

Hi Everybody, FYI (In order to get a feeling with the time it takes to send command strings to signal generators via a GPIB bus, I want to send a voltage level high pulse to an oscilloscope. Ones the RF signal arrives via a detector diode, The pulse and the …

Member Avatar for Kevin_160
0
355
Member Avatar for Herve

Can you help me to communicate between a 8051 based micro controller and a PC via RS232 ? I built this µC system some years ago; the PC interface is written in Qbasic. Everything was all right untill I switched to Win XP. I'm looking for either a Qbasic version …

Member Avatar for Kevin_160
0
135
Member Avatar for robertmacedonia

OK, so I want to thank all of you that helped me with my little problems within the past few days,I have almost come to the end of this project thanks to your suggestions. Now the thing is, I used ObjectInputStream & ObjectOutputStream to write down whole objects to a …

Member Avatar for robertmacedonia
0
2K
Member Avatar for abby2589

private static void randomNumber() { int rand; int min = -10; int max = 10; System.out.println(" "); for (int i = 0; i < 10; i++) { rand = (int) (Math.random() * (max - min + 1) ) + min; System.out.print(" " + rand); } System.out.println("\n"); } can anyone explain …

Member Avatar for extemer
0
204
Member Avatar for Naveed_786
Member Avatar for Naveed_786
0
477
Member Avatar for gudumba

Hi, I started Python command prompt and entered this: import distutils.dir_util as du du.mkpath( "c:/foo/bar" ) #assume dir 'foo' doesn't exist This works fine and it creates the path 'foo/bar'. Now, go to file explorer and delete the dir 'foo' and go to the Python prompt and issue the same …

Member Avatar for Stefano Mtangoo
0
188
Member Avatar for sanjuonline

Hi all, I need to build a upload-download system similar to mediafire. Is there some customizable open source systems available, which i can download and cuztomize or I have to do it from start. What all things to be take care about. In my case atmost 500 MB of collective …

Member Avatar for Stefano Mtangoo
0
689
Member Avatar for Isha810

Hello all, I am making one application in which I need to enter the start and stop time in textbox. I have used masked text box. I want to check that Stop time should be greater than Start time and also the time entered should be in valid time format …

Member Avatar for Geekitygeek
0
124
Member Avatar for Dean_Grobler

Hi guys, I have this assignment to do: Synchronize access to the instance variable, accBalance. Because accBalance is a double and not an object, it cannot be used as the monitor. Use synchronized methods or synchronized blocks of code, as appropriate. Simultaniously test two threads. Because the threads can complete …

Member Avatar for Dean_Grobler
0
149
Member Avatar for ayooshkasmth

Hi, i have a table with a list of items, each of which has certain values. I want to have a set of checkboxes for the values and another for the items, so the items can be filtered by selecting different values. My question is: will this be better done …

Member Avatar for ayooshkasmth
0
160
Member Avatar for seanooi

I have a problem outputting the contents of a text file. Whenever I try to display the contents of a file a "null" word is printed at the end of the output. Any help would be deeply appreciated. [code] import java.io.*; import java.lang.*; public class prog1 { public static void …

Member Avatar for javaAddict
0
223
Member Avatar for rico078

Good Day , I have 2 windows forms (form_source and form_target) with listviews (lstviewSource and lstviewTarget) respectively. When the items from the "listviewSource" is selected it needs to be displayed on "lstviewTarget".I am cloning the items from the listview in "form_source" but it is not displaying on the listview on …

Member Avatar for Geekitygeek
0
100
Member Avatar for OldQBasicer

I'm re-posting this because I forgot to put code tags around the code. I'm trying to make a form with a thermometer painted on it. I want the thermometer to go up each second. I tried the code below and it sorta works, but not really. It does the For... …

Member Avatar for Mariandi
0
209
Member Avatar for dev.vini

help me to autodecrement a field in a table when delete any entry from table example: !-------------------------- !id name userno !-------------------------- ! 1 harry 101 !-------------------------- ! 2 abc 102 !-------------------------- ! 3 xyz 103 !-------------------------- ! 4 xyz 104 !------------------------- if we delete 3rd entry from table than 104 …

Member Avatar for peter_budo
0
128
Member Avatar for nikita.chandra

hi all ! In my web application for bus ticket booking i want to use session. Here i m describing the flow of my application briefly------------ (1) My first jsp page is index.jsp and after submiting this page it will go to servlet SenndBusInfo.java for processing. Here i am creating …

Member Avatar for nikita.chandra
0
161
Member Avatar for guru_iyer

I'm trying to do addition of matrices using pointers. But, in 3x3 matrix, only the first row of the matrix gets added, while the rest are zero. Please help me correct this. Thank You! My code is as follows :: [CODE] #include<stdio.h> #include<conio.h> int a[10][10],b[10][10],c[10][10]={0}; int i=0,j=0,k=0; int r1,c1,r2,c2; void …

Member Avatar for Adak
0
3K
Member Avatar for MARKAND911

I have made an application with MS Access 2003 as my database. I made its setup and installed in a pc which MS Office 2007 installed in it. I am getting an error of "Microsoft.Oledb.Jet.4.0 resource not found". And my setup is not working. What to do now?

Member Avatar for MARKAND911
0
87

The End.