199,113 Archived Topics
Remove Filter ![]() | |
hi this is my coding when i run this coding for display the content in textboxes from the database by click event in datagrid. "Procedure or Function 'sp_developer_display' expects parameter '@developerid', which was not supplied." this error will display my sp in sql express is [code=text] ALTER PROCEDURE dbo.sp_developer_display ( … | |
Hi everyone, I'm an absolute newbie in C++, please help me to solve this problem. This problem is something related to the [I][B]getline[/B][/I] method. I write a program to ask for user's age and name. Just for demonstrating some IO operations. [CODE] /*IO Example*/ #include <iostream> #include <string> using namespace … | |
Hi frnds... i m trying to upload mp3 file ..this is my code.. [QUOTE]upload_max_filesize = 20M;//in php.ini[/QUOTE] [CODE] $tname = $_FILES["tphoto"]["name"]; $ttmp_name = $_FILES["tphoto"]["tmp_name"]; //Audio File Uploading.... if($_FILES['tphoto']['type'] == 'audio/mpeg'){ $dir="../../music/$aid"; move_uploaded_file($ttmp_name,"$dir"."/"."$tname"); } [/CODE] it displays no error...but, no output. can any body give me some suggestion plz... Thanks in … | |
hi, I had a while loop in a run method, and in the while loop were a series of if stements. the series of if statments were in a try. my hope was if any if statement conked out it would catch the error, and continue the while loop ( … | |
working on the backwards String and i can't get it to print correctly plz help [CODE] #include <iostream> using namespace std; void backward(char *); // Function prototype int main() { const int SIZE = 11; // Array size char string[SIZE]; // To hold a string // Ask the user to … | |
Hi everyone! I was doing programming and ran into this assignment. It says: create a "textbox1" to let the user enter a sentence. Then create a "textbox2" to let the user enter the text they want to remove. Then create a "textbox3" to let the user enter the word they … | |
Having the user “insert” their money. The money insertion will be handled in a Loop. For example, before they start, their total inserted is $0. let’s say that a drink costs $1.00. If they say that they are inserting “$0.25” then we will add $0.25 to $0 and tell them … | |
[code] //declare variables $thing = $_SESSION['username']; // get username from session $name = mysql_real_escape_string($_REQUEST['name']); $pwrd = mysql_real_escape_string($_RQUEST['pass']); //$mpwrd= md5($pwrd); $error = 0; $select = mysql_query("SELECT * FROM users WHERE username='$username'"); $numrows = mysql_num_rows($select); $check = mysql_query("SELECT * FROM users WHERE username='$name'"); $check2= mysql_num_rows($check); //if submitted if (isset($_POST['submit'])){ if(!$name){ $error ++; … | |
Hi, I have recently designed a website for my new business. I have included a booking form which can be found here [url]www.n-v-m.co.uk/Booking.html[/url] I used Dreamweaver CS4 to create the site and 123-reg.co.uk is my web host As it’s my first attempt at making a website I realise I may … | |
I am trying to go through this tutorial [url]http://www.daniweb.com/tutorials/tutorial173026.html[/url] but when I load a php document in my browser I either get a blank page in the browser or dreamweaver opens the php and gives me a blank page! My web host is [url]www.123-reg.co.uk[/url] ... Will the problem be with … | |
Hello, I would like to ask a theoretical question (regarding multi core hardware) of a Good Programmer. This may sound completely wild but please bear with me. I don't even want to POST it due to my fundamental ignorance but I WILL ask a generic statement. In terms of game … | |
Hi Everyone, i'm hoping that someone can help because i'm a c-sharper who's a little confused in the land VC++ :) I have a set of older c++ files (cpp) that i found on the web and I need to consume them from c#. So, i create a c++ class … | |
I have this code here from a previous topic that sknake help solve. I can't see why its not working. [CODE]String^ user = gcnew String(username->Text); String^ pass = gcnew String(password->Text); try { Uri^ url = gcnew Uri("http://beta.rapidpremium.net/login.php"); String^ data = "username=" + user + "&password=" + pass + "&login="; HttpWebRequest^ … | |
I have an array, b[10]; i would like to add up all the values in that array and store the answer as wt. any help? | |
I'm trying to make a calculator in javascript. The buttons are already working, but I don't know how to separate the first input from the second input. We're not allowed to use global variables so I can't use the "flag" thing. please help, here's my code so far. thanks! [CODE] … | |
I want to know that is there any best MLM Script/System available for network marketing. Can someone point me to the right direction. Any help will be appreciated. | |
Dear SIR, I am using sqlserver2005. Table1 has a column named bill_no and its type is text Now I want to change its type "Numeric" When I do this the it displays this error message --------------------------- Microsoft SQL Server Management Studio --------------------------- Conversion from 'text' to 'numeric' is not supported … | |
i have written the program but my month function is making problem plz chk it and correct it[CODE]#include <iostream> #include <stdlib.h> #include<conio.h> #include<string.h> #include<stdio.h> using namespace std; class expense { private: int income; int gbill; int ebill; int wbill; int oexpense; string month[20]; public: expense() { income=0; ebill=0; wbill=0; gbill=0; … | |
So I am making a windows explorer like program and I want to implement file copying with streams ... so here i what I end up with: [CODE=c#] try { using (Stream input = new FileStream(@"F:\dmd-sepdawn.avi", FileMode.Open)) using (Stream output = new FileStream(@"c:\test\dmd-sepdawn.avi", FileMode.OpenOrCreate)) { int bufLength = 1024 * … | |
I am trying to write a program that interfaces with a BlackBerry device plugged in via USB (utilizing the Desktop Manager API). The only exampes I can find for doing this are in C++, but I only know how to write/interpret VB .NET (I'm a novice, really), so I decided … | |
Hi, I have 2 web pages pg1.php & pg2.php and I am providing a link from pg1.php to pg2.php. I am able to navigate but I can't pass parameters. When the user clicks on the link, I need to pass certain parameters also from pg1.php to pg2.php. I wrote the … | |
hi im working on a project for uni. i am doin a games software development course and i am currently working on a small game. we have to then optimise it so it runs as fast as it can to prevent lag. though im getting alot of bottlenecks around cout … | |
Hi, A while back you guys helped me make a query that returns all clients that have not made a payment in 90 days. this works good. I now want to exclude those who have never made a payment. I tried to add in [CODE]Exists (Select Receipts.DateReceived from Receipts)[/CODE] but … | |
I have an array full of ints, the program prints out a line depends on the numbr of int e.g. if int is 8 it will print the line 8 times. And do this for all the ints stored in the array. this is my output: Start of processing ---> … | |
I am after a text are like the one in the quick reply at the bottem of this page, I have no idea what the propper name is for them I have no idea to do the coding for it, but would like to be able to let my friends … | |
Hi everyone, I have some troubles with reading floats from a file into a 2d vector. Basically, I have 3 coordinates (x,y,z) of some points which I want to store in a 2d vector. This is what I have so far: [code] #include <vector> #include <string> #include <fstream> #include <sstream> … | |
Hey, I've been looking around here for a while but its my first post, I think this might be the right place for this question, if not please move it. I have a few folders with different file types in them. I want to make a search tool that I … | |
Just because I was bored one day I looked on the net for an app that would let me use my RockBand ps3 drum kit on the PC. There was a fancy direct X app out that turned out to be very buggy, slow, and annoying to use. I set … | |
I needed a way to buffer into memory an entire wav sound file to be played back a moments notice, as if for a game. So i created this class, simple instantiate it by passing to it a string and a bool indicating if you should buffer it to memory. … | |
Hi guys, this is probably a very basic question so excuse me for that. In java you can say: [CODE]Instance instance[] = new Instance[6] for (int i =0;i<6;i++){ instancei[i]=new Instance(...) [/CODE] Or basically declare lots of instances very quickly. In python is there an equivalent where I could write: [CODE] … | |
[code=c++] int main() { int i=10; char arr[i]; } [/code] I was expecting an error but it is compiling without any issues. I'm assuming the g++ compiler is doing something but not sure how to disable that. This is my compiler info [quote] Using built-in specs. Target: i486-linux-gnu Configured with: … | |
I have a project which I have been working on for the past few days and I have recently reached a point where I don't understand what to do. My program must have a main menu with "Add, remove, List Record #, List All, Sort, Exit" functions. I am supposed … | |
Hi, I m working in c and unix... Help me out how to become an expert in c programming.... suggest some website link, tutorials and books...for both c and unix.. Thanks, Nshh. | |
Hi, I'm just about finished making my browser but i need to find a way so that i can make it the default internet browser, when it loads, it sets itself as the default program for internet browsing but so far all iv managed is setting it as a program … | |
I'm developing a simple instant chatting system. I need to do the following; I want to refresh a different page when I click submit. Suppose, I've the submit button on page1, on clicking submit, the page2 should be refreshed/reloaded. How can I do it? I've searched a lot on Google … ![]() | |
So here's my dilema, I am a C# rookie and was following an example in the MSDN site when I come across one of the instructions that cannot be completed; "To add the component 1. In Solution Explorer, right-click the project name. 2. On the shortcut menu, click Add, and … | |
I have a 2D array with 2 types of values : '-1' and non - '-1'. -1 implies pixel off else on. After each loop my array changes. Hoa can i make a video from these images ? any idea , tools , any help :X | |
Hi, I am a total noob... I'm looking for a way to search a directory for config files and search each file for an entry that includes '1-' (bug apparently prepends this randomly) and delete that pesky 1- and save the file (on ubuntu). Any help or suggestions would be … | |
I have dates and times stored in the database - the data type of DateTime (for example: 17.1.2010 16.23.34 - dd.MM.yyyy hh.mm.ss) The parameter which I define it has too look ONLY of date ("dd.MM.yyyy"), because I want to get all the values on a specific date and the sum … | |
Hello there! A very quick question: Can I use an already defined int as array size? I want to make an array the same length as a string. I use ifstream to read in a random word from a file and I use .length to get the length of it … | |
Hey guys, so I want to write a program that calculates the sinus, cosinus and tangent without using math library... Any ideas? | |
Hello I'm trying to read the ID3 tag from a file. For now, I print out the string that I've read and I can see the title, year and so on but in the specs it says that the first 7 bytes contain ID3, the version, some flags and the … | |
I'm using the code module to add an interactive interpreter to an object. This object has an interact method that when called creates an interactive interpreter with the object's dictionary as the namespace for the interpreter. When done interacting with the object, I want the "exit" function to return execution … | |
Anyone knows how to code in this: when i delete a particular record,it display first "[ICODE]Are you sure, you want to delete?<br>Yes, No"[/ICODE]all i know is in Vb but i dont know in php..i know if-else statement are present in that code..tnx in advance! | |
Hi and sorry if this is the wrong forum but didn't know where to place my question. I need to know the answer of a+b=23. So how would I calculate the values of a and b and the same would apply for a^b=16. So basically I need to know the … | |
Hi everyone: I am fairly new to c++. I have created a dynamic array, but I am having trouble initializing it. My goal is to create a grid, and then assign an initial condition (for example, initial temperature = some value) on the grid points. I know that it would … | |
[CODE]//word frequency counter #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> struct words { char word[255]; int count; struct words *next; } *pointer, *start, *previous; int statistics(); int main(void) { statistics(); system("pause"); return 0; } int statistics() { FILE *fp; int pom,a; char quest[255]; start=NULL; fp=fopen(name, "r"); fscanf(fp, "%s", &quest); … | |
i want to add source files that i made in another computer to my project. i want them to be at the same folder as the project. how do i add them to the project? (to copy them into the folder wont help in this case..) thx!! | |
hello.. i have one dropdown box in while loop. when i am select one option for one row without submit it can only change. how to do? actually i am retriving data from database. here status dropown is here. then i selected status on dropdown for particular content. so it … ![]() | |
Hi i am trying to write-read data from serial port but it don't work my code look like this [CODE] Private comPort As New SerialPort comPort.PortName = cboCom.Text comPort.Parity = Parity.None comPort.DataBits = 8 comPort.StopBits = StopBits.One comPort.BaudRate = CInt(cboSpeed.Text) comPort.Handshake = Handshake.None comPort.Open() 'Write GPS command comPort.WriteLine("$PSRF103,00,00,01,01*25") [/CODE] and … |
The End.