199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for roshan_iiita

I am working on Hand Gesture Recognition System and I want to generate keystrokes for any application using gestures as input. But i am not getting any idea that how can i make this work on both Linux and Windows platform, as keybd_event is there for Windows but it doesn't …

Member Avatar for roshan_iiita
0
334
Member Avatar for spelltox

Hi guys ! A little something i hope you could help me with - I've converted an html to XML and now i want to get all the child nodes nested within a DIV element with a specific attribute (class="itemInfo"). Because the html that the XML is based on changes …

Member Avatar for spelltox
0
482
Member Avatar for iamthesgt

This is another homework problem. I thought it was easier, and I wouldn't need help, but I keep getting a segmentation fault when running the program. The assignment is to use a recursive function to output the amount of candybars we can buy with a user-inputted amount of money. Each …

Member Avatar for markshah2
0
631
Member Avatar for wbexclusive

Hello, I am creating my project now and I am using Dreamweaver CS3 ASP VBScript and Access 2007. Can you teach me how to restrict the database to add only three records on the table; say, a student has a MemberNo and he can only use his MemberNo to borrow …

Member Avatar for jcarbillon
0
145
Member Avatar for lavenzo

hi, i having some problem here. I have a DLL written in C# but I need to re-write it in C++ using visual studio 2005. I have no C++ language..o.O so could some one help guide me? help translate my code..should i use new project > 'Class Library' project or …

Member Avatar for thines01
0
2K
Member Avatar for Dakot

hello , i'm trying to solve this problem [QUOTE]Create a program which generates fibonacci series till a number 'n' where 'n' is entered by the user. For eg. if the user enters 10 then the output would be: 1 1 2 3 5 8 (beginner)[/QUOTE] the problem is that the …

Member Avatar for WaltP
0
184
Member Avatar for triumphost

I have a file that has the layout: [CODE] 0 0 0 1 1 0 1 1 [/CODE] I want to read it into a multidimensional array and use the values. The thing is I don't know how to read it in.. I can read the amount of columns and …

Member Avatar for triumphost
0
244
Member Avatar for louie540

Hey. So in just the past 2 days, my website has just recently experienced a tsunami of spam. It's a simple site where people anonymously post their confessions for others to read or submit themselves. But last night when I checked, there was around 20 posts of someone advertising their …

Member Avatar for TySkby
0
152
Member Avatar for techgeek420

I'm working on a program that calculates the day of the week for dates in history or the future. I have the calculation part correctly but there are 4 errors left that I do not know how to fix. Any help will be greatly appreciated! Thanks [CODE]import java.util.Scanner; public class …

Member Avatar for shootingrubber
0
154
Member Avatar for calebcook
Member Avatar for lcfjoertoft

I'm creating a small program to read from an SQL server, loading result into an array, pivoting the array to my liking and mailing it out to selected members of a group. It's going to be run once a day with Windows schedule. I have the connection, query and mail …

Member Avatar for hericles
0
265
Member Avatar for tygergyrl

I am having trouble in sorting out what i need to do for my first assignment. open a text file, with colon char, 1 student number: 2 student name: 3 5 fields with marks; a algorithms: b mathematics: c java: d C++: e scripting open txt file read open txt …

Member Avatar for solomon_13000
0
241
Member Avatar for walid86

i'm using [CODE]using (Graphics g = Graphics.FromImage(bmp)) { //Set quality to High g.CompositingMode = CompositingMode.SourceCopy; g.CompositingQuality = CompositingQuality.HighQuality; g.SmoothingMode = SmoothingMode.HighQuality; g.InterpolationMode = InterpolationMode.HighQualityBicubic; g.TextRenderingHint = TextRenderingHint.AntiAliasGridFit; g.PixelOffsetMode = PixelOffsetMode.HighQuality; g.TextRenderingHint = TextRenderingHint.AntiAliasGridFit; panel1.DrawToBitmap(bmp, new System.Drawing.Rectangle(0, 0, 2480, 3508));[/CODE] to draw the contents to an image, but the quality of …

Member Avatar for walid86
0
371
Member Avatar for blaze423

I was wondering if there is a way to record video from a USB webcam to a .avi file (including sound). I know how to view video and capture screenshots, but I'd like to be able to record a section of video. If there really isn't then is there a …

Member Avatar for ashely97
0
2K
Member Avatar for hszforu

I am using turbo c. I have a 2mb text file "tryy.txt" , so what i am trying to do is ,i am scarping the urls from the text file and saving it into another file. Now, after running the program, i get a meassage as "Null Pointer Assignment" on …

Member Avatar for WaltP
0
104
Member Avatar for efronefron
Member Avatar for berwick53

Hi, I'm currently learning C# and I'm currently learning how to do C# and Database's. Does anyone know why it isn't adding the data in the text boxes to the db. Cheers Sam [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 …

Member Avatar for thines01
0
135
Member Avatar for seraphina

[CODE]#include<iostream> using namespace std; int main() { int num,factorial(int n) ; cout<<"Enter a number "<<endl; cin>>num; } for(n=0;n<100;n++) { cout<<""<<n<<endl; system("pause"); }[/CODE] where i do wrongly? why i cannot compile?

Member Avatar for rubberman
0
279
Member Avatar for ali11

Hi i m creating simple rpn calculator.I m getting following errors. C:\Users\Hamza\Pictures\CalcGUIPanel.java:63: array required, but java.lang.String found cStack.push(buttonOrder[i]); ^ C:\Users\Hamza\Pictures\CalcGUIPanel.java:213: currentValue is already defined in actionPerformed(java.awt.event.ActionEvent) BigInteger currentValue = new BigInteger(cStack.pop()); ^ C:\Users\Hamza\Pictures\CalcGUIPanel.java:215: operator + cannot be applied to java.math.BigInteger,java.math.BigInteger resultValue += currentValue; ^ C:\Users\Hamza\Pictures\CalcGUIPanel.java:223: currentValue is already defined in …

Member Avatar for NormR1
0
266
Member Avatar for jakebur01

I would really like to build an application in C# that will send out faxes and e-mails. [B]On the client side[/B] (I could do this in C# or php) I would have a few customer groups setup to select from. Each group is pulling data from our customer data file …

0
52
Member Avatar for deeps2_daniweb

i made a program in dev c++ to merge contents of two files into a single file but the merged file is showing garbage outputs. question:- Write a C++ program to merge the content of two files namely “Employee.txt” and “Salary.txt” into “EmployeeDetails.txt”. Sample contents of Employee.txt EmployeeName EmployeeNumber Department …

Member Avatar for raptr_dflo
0
2K
Member Avatar for Adnan671

So, it sorts the books by price just fine, but I cannot get it to sort the books by title. I am most likely over thinking this, but I've spent a couple hours trying to figure it out. I've looked online and couldn't find the answer. I'm guessing the problem …

Member Avatar for raptr_dflo
0
3K
Member Avatar for coolbeanbob

Hello all, I am trying to write the constructor for the HashTable class, so it will create an array when a HashTable object is created. With the code below, I am getting the errors: error C2466: cannot allocate an array of constant size 0 error C2133: 'arrayTest' : unknown size …

Member Avatar for coolbeanbob
0
89
Member Avatar for quentinqid

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: The ConnectionString property has not been initialized. the error is here: line 20 Line 18: cn.ConnectionString …

Member Avatar for Reverend Jim
0
2K
Member Avatar for knowill
Member Avatar for raptr_dflo
0
242
Member Avatar for bikashdas

I want to export my database selected information into word 2003/2007. If i use below code then it takes more time [10 minutes] for 20000 records to display. Is there any other way to display 20000 records into word 2003 /2007 within 10/15 seconds [CODE]Dim ds As New DataSet dscmd.Fill(ds) …

Member Avatar for G_Waddell
0
175
Member Avatar for flynismo

Hi all, Basically, here's what I'm trying to do. I have a DB table called [B]products_ssd[/B]. This table contains the columns named: - id - manufacturer - item - description - price - size - pic This table contains the information for SSD drives, from varying manufacturers. Now, to the …

Member Avatar for diafol
0
143
Member Avatar for ThePolid

[code]#include<stdio.h> #include<stdlib.h> main() { float num,a,b,c,d,e,f; do { scanf("%f",&num); getchar(); } while (num>=0.75); a=0.0; b=0.0; c=0.0; d=0.0; e=0.0; f=0.0; if (num%2.0!==0) { a=num/2.0; num=num%2.0; if (num%1.0!=0) { b=num/1.0; num=num%1.0; if (num%0.50!==0) { c=num/0.50; num=num%0.50; if (num%0.20!==0) { d=num/0.20; num=num%0.20; if (num%0.10!==0) { e=num/0.10; num=num%0.10; if (num%0.05!==0) { f=num/0.05; } } …

Member Avatar for raptr_dflo
0
222
Member Avatar for optimumph

I'm trying to sort an array of numbers in ascending order and don't know whats wrong with my code (I'm completely new to vectors). I should first copy the input array (data) into an STL vector, then apply STL’s sorting algorithm to the vector, and finally copy the vector back …

Member Avatar for mzimmers
0
228
Member Avatar for lilsancho

Hi Everyone Hope you are all well. I've been tasked with an assignment at collage to create an employee management system, so far i've done well and managed to create a working program which i am happy with :) However there is an optional function that can be created that …

Member Avatar for lilsancho
0
161
Member Avatar for negin1234

Hi can u help me to listing number of file systems that have sizes between 1k to 10k and 10k to 100k ... in c++? I need it soon Thanks alot

Member Avatar for raptr_dflo
0
93
Member Avatar for coolbeanbob

Hello all, Lots of code here, but much of it can be ignored. I am getting an error on line 34 of HashTable.h, stemming from line 50 of main.cpp. I am trying to create an array of lists in the HashTable.h file. Error code is: \HashTable.h(34) : error C2440: '=' …

0
88
Member Avatar for coolbeanbob

I'm trying to determine if this creates an array of pointers, with the array size being "size"? Is this correct? [CODE] int size = x; int *ptr; ptr = new int [size]; [/CODE]

Member Avatar for coolbeanbob
0
49
Member Avatar for stereomatching

Studying modern c++ design, looks like Typelist is a very important tool for generic programming. Could I find something like Typelist from boost? I found something like boost::mpl but I didn't see anything like Nulltype defined in loki Could boost::mpl replace the Typelist of loki? Thanks

Member Avatar for mike_2000_17
0
1K
Member Avatar for vjames

Is it possible to write to an existing text file in a jar. I managed to read from it with getResource() but I am stuck trying to write to it, it gives me a file not found exception. Thanks

Member Avatar for vjames
0
1K
Member Avatar for siva28

Hello Everybody ! i have a few questions for u I have already made an appointment booking website on PHP using PHP Designer as editor and on WAMP platform, i run it on localhost. The website consults Database and puts forward the times available and lets users fix appointments and …

Member Avatar for diafol
0
98
Member Avatar for Majestics

[code] mysql_query("UPDATE hostip SET time = '".date("d/m/y h:m:s")."' WHERE ipaddress = '".$ip."'"); [/code] Whats the problem in this query.... Its giving me syntax error...

Member Avatar for Majestics
0
59
Member Avatar for emmas4impact

I am working on a moving object. so I created a menu bar for size and speed, the idea behind it is that each time small, big or medium is clicked it should change the size and same also applies to the speed but when implement the action listener its …

Member Avatar for emmas4impact
0
210
Member Avatar for PinoyDev

Hi guys..Good Day! I just want a little help why my dynamic image from mySQL database will not display in firefox but with IE it will. Ive created a table to hold the image where i only save the image path which was located in the server folder img. This …

Member Avatar for KazmiLahore
0
195
Member Avatar for rlhh

[CODE] statsButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e){ //Return the string "stats" to gameLoop() as cmd } }); [/CODE] [CODE] public void gameLoop(){ Scanner lineScanner = new Scanner(System.in); cmd = ""; System.out.print(getBoard().printBoard(false)); while (!cmd.equals("quit")) { System.out.print(">"); Scanner wordScanner = new Scanner(lineScanner.nextLine()); if (wordScanner.hasNext()) { cmd = wordScanner.next(); if (cmd.equals("board")) { …

Member Avatar for mKorbel
0
221
Member Avatar for xiangzhuang

Complete method called characterCount below so that it returns the number of times the character ch appears in the string s. [CODE] public int characterCount(String s, char ch) { } [/CODE] I know that I have to use a for loop and use s.length() as a stopping point. Other than …

Member Avatar for stultuske
0
140
Member Avatar for bowmaster

this is a page of code on a Apache Tomcat server the error i get is the following : Eror :licenta\upload\Tulips.jpg (The system cannot find the path specified) project path is : ROOT\licenta [CODE]<%@ page import="java.io.*" %> <%@ page import="java.lang.*" %> <%@ page import="java.sql.*" %> <%@ page import="java.util.*" %> <%@ …

Member Avatar for bowmaster
0
324
Member Avatar for GadiK

I have 2 Windows machines. One physical for development and another (virtual) for testing. I want to write a PERL script that would take my compiled files and copy them to predefined locations on the virtual machine (backing up existing files). Before copying the files I need to check for …

Member Avatar for GadiK
0
1K
Member Avatar for lmali92

I am using Visual Studio 2010 I have multiple forms and when I hit close button(red X, top-right) from any form, i want the project to close entirely. Now when I do this, this does not happen by default. I always have to click on the 'stop' button in VS …

Member Avatar for codeorder
0
3K
Member Avatar for stereomatching

I don't my deduction of NoDuplicates are correct or not please correct my error if I did [code] template<typename TList> struct NoDuplicates; template<> struct NoDuplicates<NullType> { typedef NullType Result; }; template<typename Head, typename Tail> struct NoDuplicates<Typelist<Head, Tail> > { //private : typedef typename NoDuplicates<Tail>::Result L1; typedef typename Erase<L1, Head>::Result L2; …

Member Avatar for stereomatching
0
147
Member Avatar for WickidGRAFX

[CODE] <?php $tags = $_POST["search-tags"]; $age = $_POST["search-age"]; $rating = $_POST["search-rating"]; $city = $_POST["search-city"]; $state = $_POST["search-state"]; if (!$tags = "") { $tags = " WHERE `tags`='$tags'"; } if (!$age = "") { $age = " WHERE `age`='$age'"; } if (!$rating = "") { $rating = " WHERE `rating`='$rating'"; } …

Member Avatar for diafol
0
159
Member Avatar for bikashdas

Hi Is there any way to do nested mail merge in vb.net . i can do only simple mail merge. but not nested mail merge. My Code gives: [code] <District1> <District2> <District3> [/code] What i want [code] <District1> <Code ID><Code Name> 1 pcs 2 pcs <District2> <Code ID><Code Name> 14 …

Member Avatar for bikashdas
0
400
Member Avatar for lcfjoertoft

I've extracted some data from an SQL server, put it into an array, and want to mail it's content to a group of people. All quite easy, until it comes to presentation in the mail body. When I set it up manually in Excel and do Copy - Paste it …

Member Avatar for lcfjoertoft
0
82
Member Avatar for chriswinter

I am a begining software engineer in college and have been stumped by a small problem. The assignment is to "encrypt" any text entered. All we have to do is make capitals lower case and vice versa, additionally we have to make a's z's, b's y's and so on. //import …

Member Avatar for hfx642
0
155
Member Avatar for javaNooblet

Hi all, I have a main GUI class as seen here: [CODE] import java.awt.*; import javax.swing.*; import javax.swing.border.*; /* * Class is to communicate with various other classes in the program to * create a roster for user based on their selection on GUI. */ public class MainGUI extends JFrame …

Member Avatar for stevanity
0
263

The End.