132,726 Archived Topics
Remove Filter ![]() | |
Hello Guys I ask if any one can help me i have to write application which record video from webcam , but I don't know where I must search ? can you help ? just suggest where I should read . Thanks. | |
i wanted to create a gui java program that reads info from MySql then output it in a JTable. but i first tried to use the JTable because it was my first time to use it. It worked perfectly but when i tried to read from the database it doesn't … | |
Hi i need help, what i am trying to do is that the program should search & print the first occurrence of that integer in the array and last occurrence of that integer in the array. If that integer does not exist in the array at all, then the program … Software Development c++ | |
Hello, i have tried many solution for solving this problem. I want to passing field in database to list view with stored procedure. Any Body please help me example Table A [LIST] [*]name [/LIST] [LIST] [*]Sex [/LIST] and stored procedure just (select * from [A]) how i can pass the … Software Development vb.net | |
Hey All I would like to know how to retrieve a image from sql server database. im storing the path in the database.. | |
Hi Everyone!! I have a little problem in printing Character Arrays.... i have enclosed my code below. what problem actually i have is that when i type my first name and after first name (space bar) last name.. it prints only my first name. i want to type whole name … Software Development c ![]() | |
Hey guys! I need help... I have a text field and table that I made on NetBeans. I'm working on GUI. Anyway, in this text field, the user inputs his/her name. And the user's name is displayed on the "User 1" heading of the table: [code] jTable1.setModel(new javax.swing.table.DefaultTableModel( new Object … Software Development gui java java-swing | |
hi! i am trying to build an application which will recognize speech and convert into text.For that i have installed jdk 1.6, Apache ant 1.8, sphinx4-1.0beta3-src and also set the paths etc. i am able to run the demos like given in C:\Program Files\Java\sphinx4-1.0beta3-src\sphinx4-1.0beta3\bin\HelloWorld.jar using java -mx256m -jar bin/HelloWorld.jar which … | |
i had created login form in vb.net there are two fields username & password.i want to check username & password enter in the login form,from the first.mdf(database file). if it is correct then message is displayed i had written code for this but i got error in the code.what modification … | |
I have this really weird doubt in extern usage Consider the code [CODE] #include<stdio.h> int main(void) { extern int a; printf("%d",a); getch(); return 0; } int a=20;[/CODE] How is it that this code gives the output as 20 ??? My guess Since its an extern variable, it can be declared … Software Development c | |
Hello, I'm trying to read lines from a file and strtok it into a double array to work with the numbers. The numbers are separated by ',' and I'm trying to fill array (line[]) with these numbers. This is part of the code. [code=c] while(1) { //we will scan all … Software Development c file-system | |
Hi, I am going to write a program which can calculate MD5 of a file even the file is in use.\ please help me to modify the code i am unable to change it after the number of tries.Thanks in advance........ [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; … Software Development | |
[CODE] #include <stdio.h> float pows(float,float); int main() { float num,base; printf("enter base followed by power integer."); scanf("%f %f",&base,&num); printf("%f ",pows(base,num)); return 0; } float pows(float base,float n) { if(n==0) return(1); else if(base==0) return(0); else for(;n>=1;n--) { return(base*pows(base,n-1));/*recursive*/ } } [/CODE] Software Development c | |
Here is an arm assembly code for factorial function (along with the c code).i am a bit confused with the stmfd and ldmfd instructions.what are they exactly doing in this program? what does the exclamation mark do? why is label .L2 being loaded into r0? i kno that stmfd and … Software Development assembly | |
Hi Im new here-I wanted to create a Login System. I am using Visual Basic 2008 Express Edition, Microsoft Access 2007/2010 Beta. Ok this is my current code-the main problem I have is that I dont how to compare what the user puts into the textboxes and then check that … Software Development dataset microsoft-access open-source vb.net visual-basic | |
I was just wandering if someone could help me how to redo a case statement. After executing the program, there would be a line asking : Try Again? YES / NO If yes, then the program re-executes without hitting F5 again. (using JCreator pro 5). All i have is this: … Software Development java | |
I have 2 error for my code when i compile and i need some guidance =) This is a small part of my program. Here's my code. I declare my function like below: [CODE] void working (Stack& deck, Stack& deckStack, List* column, Stack* stack, bool& loadGame, bool& exitGame, bool& newGame, … Software Development c++ | |
I want some projet title in java for mca... Pls help me,,, Software Development java | |
hi can you any one help me to correct error i using c# write private function no error get but not get correct result when debugging this is my code [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; namespace WindowsFormsApplication1 … Software Development dataset open-source | |
Howdy! So I'm taking this online intro to C class and have not been able to get in touch with my instructor because I think he's on vacation.Grrrrr. Anyway, If someone could give me some hints on what is wrong with this code I would really appreciate it. I am … Software Development c | |
I'm having a problem parsing information stored in the buffer after a getline command. I have a file with data in the format: [ICODE]1310 76102 C 5 27 2011 6 26 2011 5 R R 8.00 20.00 F R 8.00 25.00 150 165[/ICODE] I would separate everything using white space … Software Development c | |
Hi all, Can any one please help me how to call an function from dll in vc++. [CODE]// test1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "windows.h" #include "conio.h" #include "windef.h" int _tmain(int argc, _TCHAR* argv[]) { HINSTANCE instcall=LoadLibrary(TEXT("c:\\test2.dll")); if(instcall==NULL) printf("Failed to load dll"); … Software Development c++ visual-studio | |
Hi guys, what im trying to do is have a transfer function so that say for example i can transfer $100 from Johns account to Jacks account. Below is the code for the AtmDataFile Class and the ATMTransfer class.I would greatly appreciate some help on this project =). [CODE]import java.io.*; … Software Development file-stream gui java java-swing user-interface | |
Hello, I've confused myself a bit with virtual functions. I know they're useful when you want to call the parents function via casting the class to it's parent, but I've found myself scratching my head on few cases. So... Lets say I have a parent Class P and a child … Software Development c++ | |
In an online C# tutorial [1] there is the following statement: "The override modifier allows a method to override the virtual method of its base class at run-time. The override will happen only if the class is referenced through a base class reference." I tested this with the following code: … Software Development | |
I'm trying to figure out a way to create a loop to open files and read in data until either there are no more files or the user wants to stop. for example, the first time through the loop, the string variable would be "myfile_1" and then each subsequent time … Software Development c | |
how to addres sparse matrix n*n dimension when stored in a single dimensional array. Software Development c | |
I writing simple cmd game. My question is how to use timing function while I use _getch() command? Because this getch function stops the timing and the timer continuous after I click the keys.:@ Software Development c++ | |
hi i am working in project in java i have data that i want to display in jtable but only the data is appered but the column names do not apper Software Development java | |
Why doesn't this work: [CODE]#include <iostream> class myclass { public: union d { int i; }; }; int main() { myclass i; i.d.i = 3; return 0; } [/CODE] but this does: [CODE]#include <iostream> class myclass { public: union { int a; }; }; int main() { myclass i; i.a … Software Development c++ data-structure | |
Hi, i'm having a few problems when debugging my project. Basically i have two errors; Error 2 error C2065: 'cout' : undeclared identifier Error 3 error C2065: 'cin' : undeclared identifier This is where the errors are (It's a header file) int temp; cout<<"Enter the Client Number : "; cin>>temp; … Software Development c++ visual-studio | |
I want my program to log in to the users email account with the information they provide and click on the emails and then click the links inside the email? If you know how to do this in browser or httpwebrequest Im all ears. Thanks. Software Development email | |
I HAVE TRYING SPLASH SCREEN IN MY APP, BUT CANT GET THE BASICS YET.. SPLSAH SCREEN ISNT WORKING, CAN ANYONE GIVE ME A SIMPLE EXAMPLE hERE is my code. [CODE] import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import javax.swing.JWindow; public class introduction extends JWindow { private Image img; introduction() { setSize(128,128); … Software Development java java-swing | |
Dears, how to calculate work experience with TimeSpan or otherwise how to calculate work experience if all months of the year have 31 days? Software Development | |
is it possible to have a back() in stack....i know queue and vector has it... [CODE] #include "Card.hpp" #include "Card2.hpp" #include <stack> using namespace std; typedef char StackItemType; bool Card::isEmpty() const { return cards.size() == 0; } Card Card::see() const { return cards.back(); } Card Card::pop() { Card c = … | |
Hi all, I am working on a C++ application which involves a thread. My application draws the waveform on screen. The drawing speed should be 25mm/s and the thread should run every 10.56ms for this speed to obtain. But with either 10ms or 11ms set as the Time period for … Software Development c++ | |
Hello! I am trying to create a simple register/log in menu which allows users to enter the system using that username and password. I have already created the 'Register' section but I have difficulty linking it with the Username and Password in the 'Log in' section. Do I have to … Software Development java | |
what i wanna do is when i click timein button the selected value in my combobox will appear in the datagridview that i created too would someone so kind help me with my problem thank you so much !!!!!!!! Software Development visual-basic | |
Greetings, I've found [I]Accelerated C++[/I] to be a pretty solid foundation in C++, but with regards to the new standard, does anyone know of a good supplemental text that can keep me up to date with said standard? Any help would be greatly appreciated. Thanks in advance. Software Development c++ | |
I am trying to run this XPath expression (that is, trying to count how many element content strings in my XML file end with letter-one-f ('a') or letter-two-f ('A'): [code=xslt]<xsl:value-of select="count( substring(.,string-length(.) -1,string-length(.) -1)=$letter-one-f or substring(., string-length(.) -1,string-length(.) -1)=$letter-two-f )"/>[/code] but I don't know how to refer to the 'current … Software Development xml | |
Please let someone help me out here, i want to insert record to the database using VS2010, when i input data to textboxes and hit button, the program will run and tell me data inserted succesffuly. But when i check my dbs table i won't see any thing. here is … Software Development open-source sql vb.net | |
Hello I am a total amatuer programmer. I mainly just build little apps that are mainly useful to me. So please be gentle. I am currently working on a program that will paste text into a second program. The text will paste into several different fields automatically. The problem I … Software Development vb.net | |
Hi everyone..can you help me with this problem? in my frm1, i have: ID no: (txtid) Name: (txtname) Address: (txtaddress) in my frm2, i have: ID_no: (txtid) ISBN: (txtisbn) Date Borrowed: (txtdate) the problem now is I don't know how to code it, when i input the ID_No in frm2 … Software Development vb.net | |
[CODE]/* * @author BChepkwony * Created on 10 August 2011 */ package com.jjpeople.mainmethod; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; import java.util.Scanner; import java.util.Arrays; /** * MainMethodExercise demonstrates how you can pass in arguments into the * application. * * @author BChepkwony * Created on 10 August 2011 */ public class MainMethodExercise { … | |
The Java code I am writing is required to have the first, next, previous, and last buttons, and my program still needs to sort. I believe there is something wrong in my codes for each button. I currently have this (of course with each "" for each button. Any ideas … Software Development gui java java-swing | |
Hey everyone, kinda new to all this...really need some help: Ok so I want to creat a log in and registration form in VB connecting to a sql database. Databse Name: Users Table Name: UserDetails Table Fields: ID, Username, Password The ID field was specifed as primary and self incrementing … Software Development dataset open-source sql vb.net | |
I'm currently working on a project for my JAVA class. The user picks, from a two dropdown boxes, the times he is busy (military time). And at the bottom of the form, there is a table which displays the times he is busy, and the tables arranges the times from … | |
I'm working on a C# windows program with Visual Studio 2008. Usually, I work from school, directly on my usb drive. But when I copy the folder on my hard drive at home, and I run it from my hard drive at home, an sql exception is unhandled whenever I … Software Development hard-drive open-source operating-system sql visual-studio | |
[code] {"status":"OK","data":[{"service":"hotfile","sid":"alcva","filename":"Cash.2008.x264.utkuemre.part1.rar"}, [/code] I need to convert the string above into - bearing in mind the string is not constant http://rapidgen.net/"SID VALUE"/"FILENAME" So in this example it would be [url]http://rapidgen.net/alcva/Cash.2008.x264.utkuemre.part1.rar[/url] What is the code that will extract only these pieces of this information? THANKS Software Development vb.net | |
All right, I am trying to make a working healthbar for my game done in direct x 9 and for some reason nothing I do works. Basically, when I run the game and the main character collides with an enemy, the red bar for his health just travels towards the … Software Development c++ |
The End.