199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for owenransen

I'd like to create a video from a series of images in my MFC application. Is there an API or example source code which would get me started? I imagine I'd create an MP4 or AVI file. (A sub question: I've heard that Windows 7 includes the MP4 H.264 encode …

Member Avatar for Ancient Dragon
0
275
Member Avatar for kpele1

i am a computer science students and one of our project this christmas vacation is to create c++ programs and we will submit it on the 3rd of january but i dont have idea where can i find it anyone please could help me thanks...

Member Avatar for PrimePackster
0
180
Member Avatar for guilherme.carvalho.9250

Hello to everyone, im having trouble in inserting a date like "2012-12-06" into a database mysql, Im using phpmyadmin+wamp and adobe dreamweaver!I want to use 3 textfields, one for the year, other for the month and a last one for the day, but I always get an error by using …

Member Avatar for guilherme.carvalho.9250
0
287
Member Avatar for asif49

Hi, I'm really interested in things like image recognition and certain other aspects that Artificial Neural Networks perform really well at and I'm hoping to do a personal project with ANNs in the future. The problem however is that my knowledge of them isn't that elaborate at the moment. All …

Member Avatar for asif49
0
202
Member Avatar for vishalonne

Hello I can't understand why 1st cin for Enter Name is skipped out of 3 cin statements in getData function in Teachers class other 2 cin statements are accepting input- Here is code - #include <iostream.h> #include <stdio.h> #include <conio.h> #include <string.h> class Teachers { private: char staff[20]; char post[20]; …

Member Avatar for vishalonne
0
147
Member Avatar for MRmicro1

when i run my code in emu8086 i have error "opcode not supported yet" so what should i do in this case and pls try to run in emu8086 to check if it work properly or not cause i spent alot of time to fix the code but i couldnt …

Member Avatar for MRmicro1
0
140
Member Avatar for vishalonne

Hello I am trying to pass a array of object to a member function of that class but not successfull. I gone throgh lots of article and document also follow this thread in Daniweb [Click Here](http://www.daniweb.com/software-development/cpp/threads/2771/passing-arrays-of-objects-to-functions) This thread is good to understand how to pass an array of object to …

Member Avatar for vishalonne
0
755
Member Avatar for KhubaibQaiser

Hi all! I am making a program to input a paragraph from the user and then finds/swap/delete/insert a word in that paragraph. I am stuck on the first stage. I have made a program that just returns the starting index of the searched word. But its case sensitive and i …

Member Avatar for deceptikon
0
261
Member Avatar for tirexxerit

Hi, I would like to understand what does the following "<<" does in the following statement? (ord(msg[i+1]) << 8) As it is two less than sign, I couldn't find some meaningful response on google:( thanks.

Member Avatar for tirexxerit
0
198
Member Avatar for Lethugs

Hi, I have done my vb.net application and ready for deployment, my database is located somewhere in my drive c:, i used this code to get connection string from app.config Public Sub main() constr = System.Configuration.ConfigurationManager.ConnectionStrings("WindowsApplication7.My.MySettings.nameConnectionString").ToString Con = New SqlConnection(constr) Try Con.Open() 'MsgBox("Server Connection is Open ! ") 'frmMain.Connection.Text = …

Member Avatar for john.knapp
0
480
Member Avatar for Frensi

I'm creating a little space shooter game. I need to limit the amount of times a player can fire, I'm setting a 2 second limit. But whenever I try to implement that it just won't work. The bullets keep firing multiple times a second. Here's my code, I'd be very …

Member Avatar for Sky Diploma
0
371
Member Avatar for rogerg

Hello, I have a problem when trying to prompt users on two levels with Perl. The first prompt command works fine. But when doing the second command as below, I get Enter a command (count/close/quit) : Enter a command (open/quit). I don't see right away why this happens. Any idea? …

Member Avatar for rogerg
0
243
Member Avatar for jason.louis.798

Does it matter what type of monitor you have if you want to get a sound input out of C++? I recently downloaded 2010 to be able to work on homework over break. We are doing a project with Beeps, and i transeferred my work to my computer. But when …

Member Avatar for deceptikon
0
90
Member Avatar for femaler2d2

I have started using emu8086 and since I’m new to this I got stuck with my project that I have to submit till Friday :((( I need to make a program in assembly that counts how many words in a given sentence are palindromes: For example: Dad loves mom (in …

Member Avatar for femaler2d2
0
157
Member Avatar for Wailintun

Please help me.I'll really thank for you help! How to write code for country, state and city drop down list menu? change automatically for state and city when country is selected.

Member Avatar for diafol
0
324
Member Avatar for neha05

hiii i want to share a video link from youtube in textarea and show on the div ,when im share embeded code from youtube it showed on the div but when im share the link ,it only show the link so how i ll i share link in same way …

Member Avatar for diafol
0
427
Member Avatar for Baradaran

I am totally new to vb.net, still I am planning to try it for a project, in which there will be standalone machine using an access database to query and update different tables. While in VB6 I was able to define recordsets using Microsoft.jet.oledb.4.0, in VB.net I have become a …

Member Avatar for Baradaran
0
238
Member Avatar for Chuckleluck

Hello, I've been having a lot of trouble with collision detection recently. I'm attempting to make a 2D platformer. All I need is rectangle-on-rectangle collision detection, and then to respond on collision by moving the two rectangles involved in opposite directions. Thanks in advance.

Member Avatar for bguild
0
358
Member Avatar for mmmosias

What is the way to write a SELECT statement to retrieve data from several tables with the same name pattern. I'd like to select data from these tables: table_2012, table_2013, table_2014... I only want the tables that have the prefix (e.g. table_) and exactly the four characters for the year. …

Member Avatar for Atli
0
166
Member Avatar for ihatehippies

I came across this project that could be really helpful.. if I was c++ literate. I know enough c++ to be dangerous and thats about it. Thanks in advance for anyone who wants to take a crack at it. ps credit to: http://www.codeproject.com/Articles/13839/How-to-Prepare-a-USB-Drive-for-Safe-Removal

Member Avatar for Gribouillis
0
265
Member Avatar for thePAkid

Write a C++ program that will display the following menu and word accordingly. A menu which contains functionality that will allow the following choices. 1. Enter the student data file name. 2. Display the average and the letter grade for each student. 3. Sort data from highest to lowest 4. …

Member Avatar for vmanes
0
245
Member Avatar for 2hamed

I'm trying to write program in Python using PyOpenGL which I need to use glutMouseFunc for some mouse functionality but when I run the program I get the following error: Traceback (most recent call last): File "teapot.py", line 80, in <module> glutMouseFunc(mouseHandle) File "/usr/lib/python2.7/dist-packages/OpenGL/GLUT/special.py", line 137, in __call__ contextdata.setValue( self.CONTEXT_DATA_KEY, …

Member Avatar for 2hamed
0
774
Member Avatar for Eyeteeorg

I'm just learning html but already have a domain, so I did a quick and dirty under construction page to replace the advertising-littered default page that the webhost was using. It's dirt-simple and not very good, but I'll make it better as time goes on. Is there any rule I'm …

Member Avatar for margaret224
0
213
Member Avatar for silversurf

Hello everyone. I am developing a inventory and pos software myself with vb 6.0 and ms-access as database. In my sales invoice I want to generate the sales invoice number serially. I mean when I load the sales invoice form the txtsinvno text box will automatically generate the sales invoice …

Member Avatar for silversurf
0
592
Member Avatar for Dili1234

I want to delete an item from list view and at the same I want delete the item from the Releavant table when I click the okay button in the ** search form** i want to delete the item from listview and as well as to update it to Sell …

Member Avatar for Dili1234
0
2K
Member Avatar for Eyeteeorg

As someone who is new to Javascript, I find it kind of odd that Javascript doesn't seem to have a != operator. Is there a rationale why the language was designed this way?

Member Avatar for Eyeteeorg
0
196
Member Avatar for maduxi

am working on a project to write a program that finds 10 most used words in a text, but i got stuck dont know what i should do next can someone help me please. i come this far only import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import …

Member Avatar for maduxi
0
345
Member Avatar for acepeda

Hey guys! Im having a little problem with my datetimepicker!Im making a personal payroll system,where I want to add employee's daily hours!for example: Employee name:Marcus Veron IdPayroll:032012 Date|Hours --------------------- 19/07/2012 | 8 20/07/2012 | 8 21/07/2012 | 7 Well im having problem quering the date field...cause in my datetimepicker i …

Member Avatar for acepeda
0
174
Member Avatar for lewashby

I'M trying to write a small program that will validate weather or not a string is valid. Assuming that the date will always be 8 digits (12/21/2012) I need a function that will count the number of digits in a string. What I've got below is only returning "'is not …

Member Avatar for Watael
0
138
Member Avatar for masonz

I have a question about asp dot net.....how much masterpage we can use in making a website in asp dot net????

Member Avatar for JorgeM
0
45
Member Avatar for Maniha

I am trying to write a program in VB.NET for file reading , by using File.ReadAllLines(file.txt), How i can show output the program is following,there is no code for showing output what i can use??? # **Program:** # Imports System.IO Module Module1 Sub Main() Dim array As String() = File.ReadAllLines("file.txt") …

Member Avatar for tinstaafl
0
9K
Member Avatar for cucolino

Hello again. I'm having issues finding any advanced info about touch support in Delphi. At the moment, I can't seem to find a way to add the scroll functionality to my app, so that it'd work as on metro apps in Windows 8 (such scroller as the Metro Internet Explorer …

Member Avatar for pritaeas
0
586
Member Avatar for LONGWAY

I need a very big help and is urgent. I have a big "permission" problem when i run this module and I get ths errors: Warning: fopen(tmp/::name.hsh) [function.fopen]: failed to open stream: Invalid argument in ... Warning: fwrite() expects parameter 1 to be resource, boolean given in... Warning: fclose() expects …

Member Avatar for LONGWAY
0
242
Member Avatar for general2012

i have written this code to copy 5 names in a structure #include<conio.h> #define loop_count 5 char copy_name(char *); typedef struct{ int count; char name[3][20]; }student; student *p; //declare structure pointer; int main() { student s; //declare variable of type student ; p=&s; //giving p address of s; p->count=0; //initialize …

Member Avatar for general2012
0
150
Member Avatar for aslam.junaid786

#include "stdafx.h" #include<iostream> #include<conio.h> #include<string> using namespace std; //--------------------------------Structures--------------------------------// struct datee { int month; int days; int years; }; struct book { string bookname; string bookpublisher; string authorName; int copies; int price; int edition; datee date; }; //---------------------------Function Prototypes----------------------------// void titleheader(); void menu(); void addbook(book b[],int i); void display(book b[],int …

Member Avatar for john.w.austin.39
0
193
Member Avatar for kjetyey4

public class InputData { String[] descr = {"Apples", "Bananas", "Berries", "Grapes", "Lemons", "Lime", "Melons", "Nectarines", "Oranges", "Peaches", "Pears", "Plums", "Strawberries", "Watermelon", "Asparagus", "Broccoli", "Cabbage", "Carrots", "Cauliflower", "Celery", "Corn", "Garlic", "Lettuce", "Mushrooms", "Onions", "Peppers", "Potato", "Squash", "Sweet Potato", "Tomatoes", "Zucchini", "Cherries", "Mixed Fruit", "Peaches", "Pears", "Pineapples", "Asparagus", "Carrots", "Corn", "Greenbeans", "Peas", …

Member Avatar for john.w.austin.39
0
212
Member Avatar for spowel4

I have a table with these columns: stockNumber, storageID, lastPutDate, qtyOnHand Each stockNumber can have multiple storageID's but only one lastPutDate and qtyOnHand for each storageID. Here is an example of what the rows might look like: stockNumber storageID lastPutDate qtyOnHand ----------- --------- ----------- --------- 100505 R010101 2012-10-18 150.00 100505 …

Member Avatar for spowel4
0
233
Member Avatar for piyush.dwivedi.5

Hello Everyone, I have a log.txt file in the format: ================================================ [Jan 25 2012 11:26:03] - ID2PDF v.2.6 (ID2PDF.jsx) General options: [default] (ID2PDF_options.xml) ================================================ Loaded options from XML file: '/the/path/to/file/ID2PDF_options.xml extendedPrintPDF started Postfix '4.4' was append from file 'FNM040112ArtichokeHandbook_lo-metadata.xml' for file: /the/path/to/file/FNM040112ArtichokeHandbook_lo.indd printPDF started PDF Export Preset: Hearst PDF 1.6_1_16_08 …

Member Avatar for veedeoo
0
216
Member Avatar for selasedaniweb

Hi Good friends, I have an index page for my blog that pulls up all posts to the page. I have a group of posts i have assigned to a category named 'Diary'. I want to prevent posts in the 'Diary' category from showing up on the index(home) page. The …

Member Avatar for selasedaniweb
0
449
Member Avatar for wolfgangcs

Grabbing this "loadcssfile" from http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml and added the check device. This is the best I have and I may just be entirly confused! I want to change the CSS file depending on the device before the rest of the page loads. function checkDevice(){ if(window.isiPad){ // do nothing } else { …

Member Avatar for wolfgangcs
0
230
Member Avatar for lena1990

hi i want to upload an xml file from my computer to a server but i donot know is there is a website that do that i want to do it for test purposes but my server is not ready yet and i need to make sure that the program …

Member Avatar for subramanya.vl
0
251
Member Avatar for runlevel3nut

I've been learning Javascript on Codeacademy, but the site is so buggy and broken that the fact it's free of charge and breaks lessons down into small pieces isn't helping me. All I experience is frustration with the broken Run button and command parser, as well as the lazy and …

Member Avatar for wolfgangcs
0
283
Member Avatar for vikuseth

Programe #1 inside file.h class File { public: static const int var = 9; }; inside main.cpp #include <iostream> #include "file.h" using namespace std; int main() { File f; cout << f.var; return 0; } Programe #2 inside file.h int Globalvar ; class File { public: static const int var …

Member Avatar for mike_2000_17
0
232
Member Avatar for persianprez

So here is my current code that doesn't work for what I'm trying to do: <?php $urlp1 = "members/"; $urlp2 = 0; $urlp3 = ".html"; $url = $urlp1.$urlp2.$urlp3; $data = file_get_contents($url); ?> <script type="text/javascript"> var url = "<?php echo $url; ?>"; var temp = getElementsByClassName('daniweb'); document.write(temp); </script> <p style="margin-bottom: 50px;"></p> …

Member Avatar for AleMonteiro
0
337
Member Avatar for chigreat.mydon.3
0
76
Member Avatar for kindofsudden

This is probably one of those that is so simple I can't see it. I have a string variable called Market. The variable is user chosen and is the exact same name as one of many tables in my dataset. Basically I am having the user choose which table they …

Member Avatar for kindofsudden
0
200
Member Avatar for fallen21468

Ok so I am trying to build a little program and I want to be able to click on the skate or dice button and have the program open a new JFrame that has been built in another class. Currently it opens its own JFrame that was built in this …

Member Avatar for fallen21468
0
1K
Member Avatar for jamespope44

afternoon all! I am having some issue writing a log in script for a website! this is my first ever attempt so i am hoping it is something very straight forward!!!! I am getting the following error message - Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource …

Member Avatar for deceptikon
0
274
Member Avatar for Ghoztrider

Hi, I haven't done a lot of data type converting so please bear with me. I'm grabbing data from a field that's formatted for currency (2 decimal places) and assigning it a variable. I then run an if statement against it, but I'm getting a conversion error. Here is my …

Member Avatar for Ghoztrider
0
187
Member Avatar for swathi sajja

How to add Sub menus in menu item.Main Menu item is Horizontal, Sub menu item are also getting Horizontal but i wont Menu item are Horizontal and Sub menu items are vertical

Member Avatar for JorgeM
0
186

The End.