199,112 Archived Topics
Remove Filter ![]() | |
I have trouble updating my database. When I run my program and click on update database, I can then choose a record in my listbox, but when I click on save it button it goes to "Geen leidraad is Bygevoeg nie" Here is my code (button update) [code] Private Sub … | |
I am a novice trying to use MS Visual C++ to record data through COM1. The data source is a sensor streaming ASCII characters, and the sensor and the COM1 settings were both checked with hyperterminal. In the code, I set the CreateFile to open COM1 with normal attributes, and … | |
The following method should swap the high nibble in a byte with the low nibble in a byte. The following code dosn't work if the lower nibble is above 0111 if it is it returns a negative number... Does anyone know what im doing wrong ? [CODE] public static void … | |
hi all, i am new to programing forums, i am here to ask a help, please if any of u r able to help me i would be great full to u and may be able to help u or others in the future. i am making a pacman game … | |
Please dont laugh at me for this simple doubt, bUT i have to ask . Please help me any one i am creating a html page when i minimize the page the contect in the pages are shuffled .ie normally if we minimize the page to a fixed limit . … | |
anybody known well in php , plz help me .i need multichatting script using php and mysql | |
Hello, It's been ages since i've coded in c and i'm assuming im having a problem with the syntax. I am sure this is stupid and very in my face but i cant seem to work out my errors at compile time. disk.c: In function `update_rw_requests': disk.c:531: error: `rw' undeclared … | |
I need a little help with the below if statement. What i would like to have happen is for the loop caused by the first if statment to also be conditional to a second if statement that will pause the loop output and require user interaction to either continue displaying … | |
i have a problem i can write a c++ program with no syntax errors but it always have many logical errors how can i know the right logical solutions for the problem after reading it ?? thnxxx | |
Hi I am using mozilla to test my application. I tested two subscription of my application in two different mozilla browsers simultaneously. Here I Found details are swapped. Because mozilla using the same Session ID for the two browser. This is a flaw in mozilla or whether this issue is … | |
I have a shared drive that I'm trying to access from another computer on the network with a script. I keep getting IO errors(does not exist), is there a module that deals with network locations? -thanks | |
I'm working a basic layout for a database application, and I'm having some issues with giving a text input focus in Internet Explorer versions 6 and 7. If you'll look at the webpage I'm currently working on ([URL="http://persuasionarmy.org/ADBi/"]http://persuasionarmy.org/ADBi/[/URL]) using IE 6 or 7, and you press Ctrl+Alt+A or Ctrl+Alt+S, you'll … | |
Hi All, I've been learning python for some time, and I really like it. I used this forum many times, and found answers for many of my questions. Unfortunatelly I can't find answer for my current problem: I have two lists (both the same size) and I need to sort … | |
hello guys,i'm new to this forum.i am developing a website for my final year project.it's a dummy project.i need a free payment gateway or something like that.So that the user can pay via credit card.it is purely an academic project,so i don't want to spend money. i need your suggestion.how … | |
Hi Everyone, I am working on a shopping cart. In which i am sending mail which product customer want to shop. But i am ubable to fetch more than one product with different name . Because for this i need a loop. And i am not understanding how i can … | |
Hi, I am creating a website in php,i want my login page with only username and password,i don't want to display any default bars on the top of the form like menu bar,tool bar etc..I don't know how to remove this in php,please help me out with correct coding Regards, … | |
can someone help me with this error? im trying to make a dynamic rss feed using php.. am i on the right track?? ERROR: Parse error: syntax error, unexpected T_SL in C:\xampp\htdocs\Gacer\rss.php on line 27 [code] <?php $output = '<rss version="2.0"> <channel>'; $dbhost = '127.0.0.1'; $dbuser = 'root'; $dbpass = … | |
Hi, I am getting the following error when I load the page shown below: [code]Object variable or With block variable not set. 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 … | |
Hi, Can get my code working fully. its just works partially. Its a IF else statement, the value to the variable is to be read from a cell with intergers from 0 to 9, it works ok for value 4 = Open, but rest it not working. [ICODE] int MST … | |
Hi guys, I need a help on my assignment. [B]Background[/B] A data transmission system typically breaks a large message into smaller packets. In some systems, the packets can arrive at the destination computer out of order, so that before the application requesting the data can process it, the communications program … | |
I have 2 functions: one has to calculate the total number of days spent on a trip and the other has to calcualte the time of departure on the first day of the trip and the arrival back home on the last day of the trip. In the first function, … | |
Hi guys, I need a solution. I have a uint32_t variable say var1. I need to store current time value in this variable, and somewhere in my code i need that time in proper timing formet i.e hour minute and seconds . is this possible? Any other solution for storing … | |
Hello to every body I hope every one keep in best state. I want to help me in solve this problem in my Sheet . I use recurrence functions in like list.( with ADT file ) by modify the search function and adding Printing function in a Reverse Manner. the … | |
I am having problems figuring out this problem. I am looking at my book and trying to follow along. i have used the get the way the book is showing and I have a couple of errors and I am not sure how to proceed with tying the the two … | |
hi all, i am doing payment form using datagridview in vb.net2008 when item add to item list it will automatic display on my datagrid. the problem now is, the datagrid will display out my data when i press ADD Button twice . here is my code.. am i make a … | |
Hello All, I know some of ASP.net but now I am finally getting ready to set up a web page. Here is my error message: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below … | |
I've got some of my project finished. This is supposed to 1) check to see if each word in the input file is a palindrome using stacks 2) If the word is a palindrome, write the word to a separate output filr. 3) Count the number of words read and … | |
What's the code to show the second form in delphi? | |
Hi, I have a email piping code show below. It works fine, except that when i print the $message, it also shows me some headers. [B]How do i strip the headers from the message itself?[/B] [B]email_piping.php file[/B] [code] #!/usr/bin/php -q <?php //header('Content-Type: text/html; charset=utf-8'); header("Expires: Mon, 26 Jul 1997 05:00:00 … | |
Dear Friends., Am new to the java world.. I am creating a application where i have to generate a html page from a Dynamic jsp page.. I have tried my best and i was able to create a static html page from a JSP.. But how to fill the data … | |
Hey guys. I'm a college student who just took a introduction to programming course for general credit. We are learning how to program with python. I am having real trouble with creating a graphical tic tac toe game. I am just a beginner and any help would be appreciated. This … | |
Hello there, I need help on finding out how to count the number of extensions found using the Boost filesystem. How i get the extensions is with this: [code=C++]extension(iter->path())[/code] I now need to know how to store the type of extension and then the next time it comes around increase … | |
i cant figure where i go wrong. the output is wrong. anyone out there can find out where my mistake at? really need yr help. thanks. My txt file the sentence are : How are you? We think in generalities, but we live in details. what about you? Who are … | |
Hi, I would like to install SQL Server 2000 Enterprise Edition in my PC having Vista OS. Pl explain me the step by step process to install SQL as both Server & Client. (K. S) | |
a i have a existing project here, it's a Cafe management for computer shops.. my problem is with the connection.. when is try to send a packet to the client.. the client wont react... i dont know if the client side just cant receive the packets the server send.. or … | |
Hi all, i have a problem which is i want to call function in different .cpp file.i create .h file. in main function, i include xxx.h as header file.in xxx.h i list down all the functios inside the file with extern.than in xxx.cpp i declare variable like dis e.g extern … | |
Hi, Does anyone have a simple script that i could put on my webpages that when a user clicks on a link to download a file it displays something like (File Downloaded XX times) on the webpage. I found many scripts with admin interface etc, but i just want it … | |
If you run this code, you will see that the first two lists values do not show up. I'm pretty sure this is because I am trying to print chars as numbers. I'm just wondering how to do this. Thank you. [CODE=C++] #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> … | |
I mostly work with PHP. I am not really a JavaScript guy at all, but in this day and age we all end up working with it a bit. I'm trying to do something that seems like it should be fairly simple. Unfortunately, I am not having any success getting … | |
So I've got a program that takes an encrypted file and essentially decrypts it. I am now trying to modify this file. During the encrypting process, the words were scrambled by position. The location of each word is marked with a position value. I decrypted the original text, so now … | |
So here is my program: [code=python]#!/usr/local/bin/python #Scott Landau #CS 380 #Assignment 1 Programming Portion in Python #Created - 4/6/09 #Last Edited - 4/22/09 import pdb #n is going to be equal to 4 for this queens problem. n = 4 #Assigning the empty list to initialState. initialState = [] #Making … | |
I want to use a PIC16F877A (I have a boot loader on it) to control the speed of an electric motor. I also want to use the PIC for a few other things not related to this problem so I want to program it in assembly for better programming control … | |
Hey! I am a newbie in windows form application in c++, so please guide me! As a practice I have created a new project in windows form using visual C++. I have added a button and listbox! Now say I click on button 1 and it opens a dialog box … | |
Hello DaniWeb! I've created a function that parses a long string of text (JSON format, but that's not really important) for the specified JSON key/variable name, and it returns the JSON value as pointer to a char array. For example, [CODE=C++] //the function looks like: char* extract_key( char* buf, char* … | |
Ok I have my structure defined in my main function. And the I need to send an array of structures to a function as follows: [code] int fillStruct (ifstream& fin, ROPES ropes[MAXROPES], int n) int main() { struct ROPES { members }; return0; } int fillStructs (ifstream& fin, ROPES ropes[MAXROPES], … | |
I have an assignment in which I have to create a 16-byte float, allocating bits to mantissa, exponent, sign of mantissa and sign of exponent at my own discretion. I have planned it to be as follows - Bits Purpose 1 Sign of mantissa 2 – 32 Mantissa 33 Sign … | |
I've been working at this and I just can't get this. Can anyone please tell me why this just will not work? [CODE=php] function procNewsStory() { global $session, $database; $admin = $session->username; $date = time(); $title=$_POST['title']; $story=$_POST['story']; $story_id = time(); $q = "INSERT INTO " .TBL_SITE_NEWS. " VALUES ('$admin', '$time', … | |
I want to create a file in (drive letter):\Program Files\myprog\file.ext where (drive letter) is the drive letter where windows is installed (or the default drive). Is there an easy Windows API method to retrieve it? Thanks PS, here is what I'm currently using: [code] string mainDrive = ""; foreach (string … | |
I am getting error that I am doing an invalid conversion from int to char. I am using sprintf to change a user entered hour called ETHour to char, then strcat more chars onto it to create a time then trying to post it to a window.. [code] char cETime[8], … | |
Im getting this error: Parse error: syntax error, unexpected $end in /hsphere/local/home/blah/blahblah.com/home/phonenumber.php on line 188. Problem is line 188 is </html> only. Also, I'm having problem making this code to work, it doesnt display the tables that I want [code=php] <?php $selection = $_POST['person']; $conn = mysql_connect("mrrrr.com","yyyyy","yyfffsd"); mysql_select_db("hhhh_ggg", $conn); // … |
The End.