199,114 Archived Topics
Remove Filter ![]() | |
Hi, I have finished creating interfaces for my site but I don't know to connect them to my database that I created using mysql. How can it be done to support: 1. Inserting data into the database 2. Deleting data from the database 3. Applying the login feature on the … | |
I would like to know once and for all how to convert a double to a const char* I've tried it a few times, but have never succeeded, I know it can be done, but I haven't figured out how to yet. I've tried some different things. Sometimes it won't … | |
You are the owner of a sportswear store that sells tennis shoes of three different brands. The shoes have different prices, as follows: 1. Nike: $100.95 2. Sketchers: $125.5 3. Adidas: $92.45 Write a program that does the following: • Ask the user to enter a product number (1 3: … | |
Hi all, Im making a test text game and i got this error when i was trying to run it, after i had told it i wanted to attack: [code=python] Traceback (most recent call last): File "/home/tom/Desktop/Python/Text game/main.py", line 109, in <module> main() File "/home/tom/Desktop/Python/Text game/main.py", line 105, in main … | |
Hi, freinds how do i create new database in mysql pls help me its important | |
Hai , I am trying to upload a file from a local disk to server. Itz working fine when I upload from d: or c: drives. But it is not uploading When I upload from desktop or Mydocuments. It is giving the following error. System.IO.FileNotFoundException: Exception from HRESULT: 0x800A0035 (CTL_E_FILENOTFOUND). … | |
Can any body show me the code to use usb mouse as an interface device [B]ie usb mouse driver code in .asm[COLOR="red"]?[/COLOR][/B] | |
Hi All I have a select statement: [size=2]Select PERMISSION_BUTTON_ID from ALC_SECURITY_PERMISSION where ROLE_ID = 1 Now I want to store / retrieve the values of the field that I am querying without using dataset. Is this possible? If yes how can I do this? Is it possible that I declare … | |
I'm suppossed to create a code that user only inputs 1 and 2 OR 99 to exit the program. if user had put wrong number, then gently ask them again... However, when i put 1, it keeps displaying "you've selected 1" and never ends. Also, when i press wrong number … | |
I need to creat a method something like... when the user inputs test1 test2 haha test3 end and display that should contain exact same one as above except "end": test1 test2 haha test3 so the "end" is the keyword to finish the inputing... [CODE] String s = new String(""); String … | |
Hi, I have an assignment that's giving me some problem: [quote] "1.Add methods to your Human that return collections of arms and legs. implement these methods by iterating through the collection of limbs and checking what type of limb they are. Note that you will need to use the instanceOf … | |
I am having a major problem with a really simple File I/O operation. I have a pretty simple datafile filled with a list of names and courses. [CODE=text] Happy Singing Dopey Dancing Sneezy Etiquette Slimey Math Grumpy Mining Slinky Karate Happy Mining Dopey Mining Doc Singing Doc Math Doc Medicine … | |
Hey guys, Im learning C online, and its hard somtimes to understand the concepts, w/o being in class asking questions. I was wondering hat would be the easiest and fstest way to understand numeric validating(no characters) and could anyone break it in easy steps? im new, but really excited about … | |
Hello, I have been setting up a photo upload feature for a website which allows members to upload photos. I am also after some advice on how large a file should be? I thought about allowing members to upload a photo up to 100,000 in size and allowing a maximum … | |
Hi ! Everyone... Acctaully I want to know what is theory apply for telebid.com about their time counter in home page. Can any one describe ? No. 2 - How can I send automatic email ? | |
Hi, I am making a small project in asp.net. I designed my menus are in flash bar and opening urlds in an iframe. It working fine. but unfortuantely once i opening url first time it going the load event [Postback] but if i am trying to open another page and … | |
How would I go about making a testris game in c#? This is NOT for a homework assignment, this is just me practicing. I don't have any code of my own because I don't know how to approach the problem. Any help, please? | |
Hi, I'm a newbie to this site, but I will soon be an active member. Currently I'm writing a program where one of my methods has to read data from a text file and set it to an array. I then need to display that data in the console, but … | |
Hello DaniWeb members, I need some help with a program I made that I couldn't figure out the logic to complete the program should make 5 random numbers between "1 and 55" and those five numbers should: *Have two or three even numbers (%66 even or %66 odd) *Have two … | |
hi... i have a small doubt in hw to check the initial charecters in text... like if the first two letters of my text is OS or TP... so based on that i should be able to select which database to select... and one more doubt is dat suppose i … | |
Greetings! Everytime I use msgbox command the active form view is disappear when the message box executed. And it appears again after the message box finished the execution. Anybody know how to display message box without disappearing the active form view.. I want to restore the form display when the … | |
hi i have an image which i can get RGB values, i have to quantitize it , a new to this i think i know the principle but need a few pointers as to how to go about "mapping" the image to a range of colours. basically i am doing … | |
This grap is kicking my butt. I am not sure how to do it. Can someone please help explain these to me. [code=c++] // graph.h // -- adjacency list representation of a weighted graph // #ifndef GRAPH_H #define GRAPH_H #include <string> #include "queue.h" using namespace std; class FileOpenError // Exception … | |
i want to retrieve last record in database with out doing ascending or decending order...can anyone tell me what query for this? | |
I am getting the above error from the following code and I a not understanding why. [CODE]fileWriter.WriteLine( _ record.strFirstName & "," & record.strLastName & "," & _ record.strStudentId & "," & record.strCourseName & "," & _ record.strGrade)[/CODE] | |
Does someone know about a program that 'reverts' .exe files created with visual basic? For FoxPro exists the refox program that reverts .exe files to .prg files. Maybe something like that exists for visual basic. | |
I cant get this code to work it searches and finds the answer, but it gets an error once you search it. Heres the assignment. [QUOTE]a.) Create a function called howMany that will search a two dimensional array for the the number of occurences a particular number is found within … | |
I don't knof if that's the right place, since it's not c++ specific but a windows development doubt... (and sorry my english) My problem is kinda stupid, but i don't know whats happening, im tryng to show a popup menu when user press the righ mouse buttom, in the cursor … | |
I read about data forwarding and according to my notes, a nop (no-op) is required before a beq operation and after a lw operation. What about sw? | |
This is part of a larger project. I've simplified it here. I am implementing a word search program where word puzzles are produced and displayed. There are two main panels. One is the word search panel where there are rows of letters that spell words in different directions. The user … | |
hi everyone, i need some help with my final year project. i can't seem to be able to specify down my topic for the final year project. i want to do something about cryptography but i am sure what to tackle in this field. can anyone give me some suggestions? … | |
Hi, why is it giving me the warning: deprecated conversion from string constant to ‘char*’ How may I fix this? Any help is welcome [CODE=cpp] #include <iostream> using namespace std; class Melarki { public: Melarki(): first(""){}; Melarki(char * mimi): first(mimi){}; ~Melarki(){delete first;}; char * first; }; int main() { Melarki … | |
Hi everyone, Pertinent info: SQL Server 2005 Visual Studio 2005 I am having a major problem with my C# application when inserting about 250 records into a table. The entire table is locked and no other user is able to update a record. Any idea on how I can prevent … | |
Hi everyone! I have a homework problem and I can't seem to get it to work. We're supposed to make a snowman melt when you click on it with the mouse, but my snowman refuses to melt. I know it's a problem with the mousePressed method in the MeltingSnowman class … | |
1) This is a sample OpenGL program. 2) I got this error when the console window (black screen) shows: freeglut Error: Function <glutDisplayFunc> called without first calling 'glutInit' 3) VC++ 2008, WinXP OS, Win32 consolde app project, all libraries installed. [code] #include <windows.h> #include <gl/glut.h> void display() { // clear … | |
I have to create a program for a Jewerly Store, that is a markup application that accepts the name of an item (string), the quantity, and the wholesale cost. The markup is based on the name of the item. The program needs to output a welcome statement, accept an unknown … | |
i have tried a few tutorials but i cant get this working. I am trying to create a div with the id of overlay and insert it right after the body tag when a function is run. can anyone help? thanks | |
Hello.. This is what my program is suppose to do: -find length of list -check for empty list -insert in back of list -delete from front of list [B]I have everything done except finding the length of list and check for empty list.[/B] I need help getting the length of … | |
hello there, this is my simple php code which inserts a row into the db. the problem is that it doesnt work 'nothing happens no row is being insert and i dont get any error. I have no idea whats wrong. hope to get any solution. thanks. db structure: Id … ![]() | |
I found a quite interesting problem on the Internet, and of course, out of curiosity, I tried to solve it. Too bad nothing came to an end :(. The task was to count the alphabet's upper letters appearing in a given text and to print on the screen all the … | |
Hello! I've started learning assembly and I have some problems with a program. I'm trying to write a program that would print some text x-times (x would be inputed by me), but I always get an infinite loop, because it seems that the counter value doesn't get updated in the … | |
This program is suppose to be a spell checking program and I just can not get it to work can someone please take a look and let me know what I need to do to fix it [code]#include <stdio.h> #include <string.h> #include <stdlib.h> //CONSTANTS #define wrdlen [48] #define linelen [1024] … | |
how do i create a simple interface with two buttons and a picture in the backgroud in python | |
Hi All, I'm extremely new to Python and would like to create a program to help automate some of the things I do at work. I need to take information from an IDX shell and create a word document with it. Does this sound possible? Would anyone be interested in … | |
I am trying to build an application through which i can send messages from server to client. My application is similar to the windows messenger application of windows operating systems /*(to see windows messenger service go to control panel -> administrative tools -> computer management -> click services & applications … | |
[ICODE]#include<iostream> using namespace std; class Point{ float x,y,z; public: Point(float f_x=1.0, float f_y=1.0, float f_z=1.0); void setXYZ(float X, float Y, float Z); void setX(float X); void setY(float Y); void setZ(float Z); void getXYZ(float &X, float &Y, float &Z); float getX(); float getY(); float getZ(); }; Point::Point(float f_x, float f_y, float … | |
Hi all I was wondering if someone can let me know of a quick and easy way of interacting with a Javascript control on a web page. "<a href="#p189191" name="option66" onclick="selectPollOption(66);" class="vote">Vote</a>" That's the control I would like to activate, I was thinking I could use a regular expression to … | |
hi all i m using asp.net 2005 and sql server 2005...i have a dropdown list in my page...i have a table called as details...all i want to do is bind the fname from details table to dropdownlistbox...but the thing is tht i want to each and every step through coding...is … | |
[CODE]#!/usr/bin/python # e begoli, python connector for mysql # import MySQL module import MySQLdb # connect db = MySQLdb.connect(host = "localhost", user = "adamplo1", passwd = "U7RJM5HQ", db = "adamplo1_UniProject") # create a database cursor cursor = db.cursor() # execute SQL select statement cursor.execute("SELECT * FROM User") # get the … | |
I am using cin to input a single character from keyboard.The problem is that if 2 or more characters are entered then the rest of the characters are being considered as input for the further cin statements.Is there any way in which I can clear the inpu buffer memory after … |
The End.