199,114 Archived Topics
Remove Filter ![]() | |
I want allow only to enter numeric values in a textbox in C#. Can someone assist me on this. would be a great help. | |
hey all again i have a little issue it may be a little stupid but i'm not able to figure it out what i'm trying to do is to make a counter ,, i'm trying to get a number from database and increment 1 to it and adding it one … | |
Hi everyone, I am a first year computer-science major and in our software engineering module we have been assigned to make a game(I have never built one before other than a tic-tac toe game that I made to waste time on). We are going to use a game building kit/platform … | |
I'm supposed to just read a file and display certain information. I wrote the file in notepad and have it in the correct folder for my project, but when it opens (it DOES open), it doesn't display anything. Ideas? #include <iostream> #include <fstream> using std::cout; using std::cin; using std::ifstream; int … | |
I have a code in php that is being echoed in html: $tblAccounts .= "<td width=\"100\"><input title=\"$objRow->AccountCode\" name=\"chkAcctField[$objRow->AccountCode]\" id=\"chkAcctField[$objRow->Description]\" value=\"chkAcctField[$objRow->AccountCode]\" type=\"checkbox\" $strIsChecked>" . ucwords($objRow->Description) . "</td>"; now may problem is this... I don't know how will I get the value of the checkboxes clicked by the user.... when the names … ![]() | |
How to write a program in C++ which creates a file “grade.txt” and stores student’s grade and name. | |
![]() | I am having trouble finding out if I did the header correctly #include <iostream> #ifndef TREE #define TREE // Node class class Node { int key; Node* left; Node* right; public: Node() { key=-1; left = NULL; right = NULL; }; void setKey(int aKey) { key = aKey; }; void … |
Need Help for. I have one texarea which i have write keyword then press **Enter key** result with <BR> generate. $("#chat_box").keydown(function (e){ if(e.keyCode == 13){ var textval = $("#chat_box").val(); alert(textval+' you pressed enter ^_^'); } }); ENTER : Hello, test OUTPUT: Hello, test (That not correct) Enter Key works perfectly. … ![]() | |
Store a image in database. and fetch the image when the user login | |
Hi all i need to develop the page where i can provide link of any youtube video page and on cliking of grab button i need to extract the username who is commented,view,or liked video initialy i was planed to get html code of provided link and make search into … | |
with the aid of diagram write short note on 8086 motherboard | |
Hi all I am new to designing web pages and I want to try create a page that will allow me to upload pictures with a caption and then display them on a web page. I want to try create a page to display family picture etc, but to just … | |
Okay so I know how to close the application completely but when I have multiple forms it tends to mess up my main form and cause bugs when I close my secondary forms. Can anyone help me with this problem? [CODE]// The bug I get is in Program.cs and it … | |
I know jQuery is recommended to write to the DOM, I want to understand how to write to the DOM in Javascript, considering how many programs use Javascript as there language, never know what I want to or need to develope for (*maybe a smart phone app in the future*) … | |
So I'm basically trying to recreate the simulation of two dice being rolled, and I need to count the frequency in a two dimensional rectangular array, then display the array. I'm so lost I wrote some code but it didn't work, can anyone help. This is the assignment I'm not … | |
 Hi guys I am trying to build a video page with the wallpaper. Consider the HTML code below: <html> <head><title>MCFC.com/Videos</title></head> <body style="background-color:#000002;font-size:16pt;font-family:sans-serif" style="width:100%"> <!--Remove the border later after inalizing--> <table style="width:100%" border="0" align="middle"> <tr> <img src="/home/kr4t0s/Documents/Website Images/Manchester-City-Logo-Wallpaper-Background2.png" align="middle" width="100%"/> </tr> </table> <!--Beginning of the first table for menu--> … | |
I have this working like it should (I think) except that it is cutting off the first letter of the first display name unless I add a space before the name. I have tried using just using cin >> soccer[i].name but it doesn't work, it skips over the name entering … | |
please i have a little problem creating a class and making it run. The class is created separately as a header file with it's source code. whenever i build the source code of the class, i get an error that says: undefined reference to 'WinMain@16'. And whenever I run the … | |
Hi, I am trying to insert data into 3 tables using mysql.. At first, I was able to insert in the first table (staffinfo), after coding for the second table insert (empinfo), It inserted into second table without inserting in first table AND finally it echoes 1 record added Successfully … | |
So I am working on a simple assignment for my C class that reads a formatted file and prints information about the file based on the format. The file format looks like this: #Domain Alexa Rank Site Name #------------ ----- ------- --------- amazon.com 13 1177136 Amazon.com google.com 1 4533883 Google … | |
I have an element (a nav bar) on my website that has fixed positioning. How can I make it be fixed only up to a certain point? The url: http://www.peresidences.com/index.php I want the nav bar to be fixed positioning only until it reaches under the picture, and then it should … | |
this program is working fine.. As i was moving the object with the help of ASCII values. But i want to move the object towards right as per my input (through keyboard,right arrow). But it is moving with the same x and y axis.. | |
I have managed to successfully add two counters, on which counters from 00:00 and the other from 00:45. The problem i have though is that the counter resets to 00:00 when the counter reaches 60:00 minutes. I need the counter so that it goes to 100:00 or more. Dim starttime … | |
Raffle function to generate unique numbers for each player, related to the same table with a recursive aproach. I had to do a simple raffle system for a contest that I was working on and tried many things and the most simple and the most effective one to generate unique … ![]() | |
![]() | I have a table with the following fields: client, project number, project manager, project manager email I have a form with text fields for each field of the table and I want to have a query run when the user presses a button on the form. How to i make … |
**Problem** I need an jax pagination in YII, The problems are * its not showing the required results for the first time. ie. it is showing the complete result * When clicked on more, it again shows the complete result below that section as it is **What Needed** * i … | |
I want to get the max(id) from a table colum with variable characters. it always returns 999 as the highest yet I have values like 6008 or even over 10000. I have tried the following: 1. SELECT Max(column_name) from table_name where column_name REGEXP '^[0-9]+$' 2. isNumeric as one of the … | |
I'm doing a program on a quiz using DEV C++ and i want to set a countdown timer for it. As the user is doing the quiz, he's able to see the timer and once the timer reaches 0, the quiz automatically stops. Is it possible to do this? Thanks … | |
Hi i developed a C++ code for tracking a yellow colored object. IDE: CodeBLocks Opencv Version:2.4.6 Language: C++ Following is the code for yellow color detection, which i was able to successfully perform. #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include <iostream> using namespace cv; using namespace std; Mat GetThresholdedImage(Mat image_here) { Mat … | |
![]() | Greetings everybody, I would like to ask you if there is any tutorial about libusb I could learn how to use quickly. Additionally, how could I use libusb in visual studio, currently have VS2010? I can already access it in Ubuntu, but desire to use in also Windows. Thanks ![]() |
Hi guys, Error- collect2.exe:fatal error:cannot find 'ld' compilation terminated Compiler:gcc library:mingw I have done quite a bit of internet search and followed a discussion pertaining to this on daniweb,but to no avail.Am working on code blocks. Initially there was no problem, then i linked libws2_32.a and even though it compiled … | |
 i am reading "pointers in c by naveen toppo" .According to him program crashes when it encounter int y=*ptr; i dont understand why it should crash?i think its correct. *ptr gives int value. please refer attachement. | |
I've been assigned in my class to do this exact same problem: <snip> I'm wondering on how to get started. Any help would be appreciated. I know how to use the functions for c-strings, but I'm not sure if I should place all the contents of the paragraph into one … | |
Hello, I have a mac os specific problem with iPython. The code I have works fine by using iPython on a PC by launching it with --pylab. On mac os, I try to do it with ipython-qtconsole-1.0.0-py27_0 My code is made for recognizing characters on an image. The part of … | |
I don't understand how JVM is so small. And also how it use memory in each device? Why do we have to understand about it. | |
Hi Guys I have a asp.net 4.0 application with login screen http://localhost/WST/Forms/Frmlogin.aspx i store my login id in the class file variable inside my application i want to avoid login to the appliction without going throug login screen by putting its url directly like this http://localhost/WST/Forms/TeacherList.aspx this links works if … | |
Hello, I have looked everywhere on the web for a solution to this problem. I am trying to store arabic characters into mysql via an html form. i have set the meta charset to utf-8 and have tried mysql_query('set names 'utf=8'") but still i get garbled characters in my table: … | |
hello, i want to know whether i can display an image from the path i have selected? like, i have a path for example: c:\user\desktop\33.jpg, and i want to take only that jpg file and i have to display that image using label or something. If it is possible, i … | |
## Theme Options Settings ## I have problem with my theme options settings saving. My settings is to saving to permanently , its just only save when you stay on the theme options page after saving the settings. But when I go to any other page or reload the current … | |
Hi..all I'm newbie in VB.net Please Help me.. How to search data by textbox and datetimepicker access 2003 database in VB.net Exp : I want to search for data based on the Part name and two datetimepicker I try with code like this but the results are not in line … | |
My organisation is about to deploy 500+ Raspberry Pi's(running Debian) across the country. I have been given the task of configuring these devices. Configuration depends on specific installation, so cannot be configured before installation and the staff at the remote site seriously lack skills. BTW These remote sites are all … | |
Hello Every one. I'm trying to create a VOIP SIP SDK or a VIOP application for black berry and you can call me damn becuase I have all the required Libraries files and all the related files which are writen in C# and C++ but the problem is that I … | |
Hi all, I need to do my own version of phpMyAdmin for my php class. I encountered problem when trying modify existing data on database. I don't know what would be best way to modify whole table's data when I don't know exact amount of rows or columns. At this … ![]() | |
Hi, anyone like to offer some extra eyes on this problem? I am having trouble with the array pointer and with the variables. I don't seem to have the pointer set up because the additional times the array is called it is empty. Also, if I don't use integers the … | |
guys i need help with my program.if i run this code its crashing. if there is a value in my QLineEdit the button **BMIINTERPRETATION** must activate, i set it like this( **bimout->setDown(true)**) so here is my code. i don't know where i am going wrong any help will be appreciated.thanx … | |
Ok, so I just made this account because I'm super stuck. Basically I need to create a math quiz that takes a users input (1 through 12), have it spit out a question, i.e What is 5 x 12? however if the user enters 5, it must randomly generate a … | |
Hi, I am Developing Desktop application in VS2008 with C#. I wan to send SMS using my C# Application. Can any one give me idea abt that. Thanks in Advance Pratik Asthana | |
Hi there, I have a problam with my code, and i cant fix it, please help. The problam is with the mysql_num_rows on line 4 ; Here is the code: $sql_query = mysql_query("SELECT * FROM upload WHERE MATCH(username,text) AGAINST('$search_term')"); //additional check. Insurance method to re-search the database again in case … ![]() | |
Hi everybody!! I'm starting with asp.net and i would like to try my code online.. can you advise me some free hosting for asp.net with the possibility to use sql server? Thanks | |
![]() | Hi, I do not think this is a problem as such but an interesting behaviour to watch. I have little piece of C (to do with trying later Unicode, Polish characters and text files). I was trying to find a position of a Polish character in the alphabet string. Had … ![]() |
The End.