64,152 Solved Topics
Remove Filter ![]() | |
hi guys, im curious about c++ gui qt , the i searched for it and download QT opensource 4.8.2 (300mb+) for windows i run the installer, then it asked me for MinGw's directory in my pc, then i use the MinGw inside my codeblock, after that it said "Found version … | |
I just installed on my development box the WAMP EasyPHP 12.0 which includesPHP 5.4.4 VC9 | PHP 5.3.14 VC9 | PHP 5.2.17 Apache 2.4.2 VC9 + MySQL 5.5.25a + PhpMyAdmin 3.5.1 + Xdebug 2.2.0. The problem: Old PHP pages are parsed by Apache and load correctly. However, any new pages … | |
I want to add clip animation on mouse over to list using jquery my menu structure is, <ul id="menu"> <li><a class="" href="about.php">About Us</a></li> <li><a class="" href="services.php">Services</a></li> <li><a class="" href="works.php">Works</a></li> <li><a class="" href="clients.php">Clients</a></li> <li><a class="" href="contact.php">Contact Us</a></li> </ul> I want to create like [this](http://jsfiddle.net/bazmegakapa/Hftpc/15/) | |
i get this msg from sql server when i restore the back up file TITLE: Microsoft SQL Server Management Studio ------------------------------ An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ ADDITIONAL INFORMATION: The media family on device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\TenderingSys' is incorrectly formed. SQL Server cannot … | |
Help!!! I cannot get my combo box to populate using a select statement from mysql database. Please see below for coding [code] CN = New ADODB.Connection 'Connecion to database CN.Open("driver={mysql odbc 5.1 driver};server=localhost;database=v_control;user=root;password=;option=3") RS = New ADODB.Recordset RS.Open(SQLdata, CN, ADODB.CursorTypeEnum.adOpenUnspecified, ADODB.LockTypeEnum.adLockPessimistic) If DBconnect() = True Then SQLSearch("select * from engineer … | |
I am writing a c++ code (or any sort of code for that matter) after one complete year. And yet I don't think I could have become so bad that I can't make a Hello World program. Still, here I am with so many errors. Here's the code:- [CODE]#include <iostream> … | |
I'm trying to createa function that takes command line arguments, parses them, and returns a stream to be used for output. If a filename is specified, the program will write to that file. If no filename is specified, the default output will be to cout. I haven't gotten to the … | |
I have a small problem with printing reports (made by crystal reports). In Form1 I have a list of customers in a ListView (with checkboxes). If the users selects one customer (checkes ONE checkBox) the report is shown - and the report it self has on option to print. If … | |
hello ! i am working on a simple application that can block the sites ,after searching i found that if i add name of the site in c:\windows\system32\drivers\etc\hosts then i can block those sites , for this i want to open this hosts file in my textbox with administrator rights … | |
hey, Iv been looking around for an easy way to check if a string matches exactly and not just in a few characters I.E B != "ABC" B == B Frederick != F So only if the entire string matches will my condition be met. currently im using : String[] … | |
Dear All, I'm developing a Bulk SMS application. I want to send Shedule sms using php. I'm not aware of sheduled Or timing interval things in php. Please help me. | |
#include <stdio.h> #include <stdlib.h> #include<ctype.h> void main() { char str[50]; int i=0; printf("enter the string: "); fgets(str,sizeof(str),stdin); printf("the abbrevation of string is"); printf("%c",toupper(str[i])); for(i=0;str[i]!='\0';i++) { if(str[i]== '') { i++; printf("%c",toupper(str[i])); } } } error at line 14 | |
I want to create quick view for a shopping cart, Problem 1: When I Place my mouse over any of the boxes, quickview appears on all the box, how can I display it only in parent node. Problem 2: When I place my mouse on quickview link, it keeps on … | |
#include <stdio.h> #include <stdlib.h> void main() { char x[10],y[10]; int i,j,k,flag=0; printf("enter the string: "); fgets(x,sizof(x),stdin); for(i=0;x[i]!='\0';i++) for(j=0,k=i;x[k]!='\0';j++,k--) { y[j]=x[k]; } if(x==y) { printf("the string is palindrome"); } else { printf("not palindrome"); } } | |
I have setup my own server(just a windows XP service pack 2 installed) now i want my friend to connect to it. I understand that there are 2 ways to do this. You can type in your CMD: telnet [IP Address] [PORT] Or you could type: telnet and then the … | |
Hi All I found many article and discussions on storing values of multiple check box here I found one thread [Click Here](http://www.daniweb.com/web-development/php/threads/165648/how-do-i-insert-multiple-checkbox-data-into-mysql) from which I tried to solve my problem but after doing every thing mentioned in that post finally I reached with an errorError: Column count doesn't match value … | |
I have this code that supposed to display the values from an array to a text file #include <iostream> #include <cstdlib> #include <fstream> #include <vector> using namespace std; int array[7][4]; fstream file2; template< typename T > void display( const vector< vector<T> >& matrix ) { for(int i = 0; i … | |
<html> <head> <title>Hell WOrld</title> </head> <body> <form method = "get" action = "index.html"> <input type = "text" name = "username" /> <input type = "submit" value = "submit"> </form> <script type = "text/javascript"> document.getElementByName("username").onsubmit = alert("Hello World"); </script> </body> </html> In the code, when ever you click the submit button, … | |
I'm trying to split an array which is that of unsigned char where NULL marks the split point I have written this code, but it just looks clunky, and I would like to ask advice on any other more efficient methods of doing such a thing there might be. #include … | |
I'm new to creating jar files. I'm using JCreator and have set up the jar creation and the manifest using winrar and txt to get it to run. However if I run the .jar from anywhere other than the programs root directory all the images vanish. I have been looking … | |
Hello, first time here in the forum, though Ive used it before for help. Okay so I have to create a constant to define the size of two float arrays and Create two one dimensional float arrays in the function main() called highs and lows. const int MAX = 7 … | |
I hooked a game's OpenGL.dll with my own glwrapper but this game uses two dll's.. It uses a wrapper of OpenGL32 and my hook is also a wrapper. So what I need: I want to know if these symbols point to the same functions.. http://i.imgur.com/eMZC5.png @28, @28, @28.. That means … | |
I am working on a project which require to add panel over another panel and repaint it. I can easily do in java. I am getting some problems in c# I have a form name : Registeration.Form I have a panel name : mainPanel I want mainPanel to display Registeration.Form … | |
I need to write a code that imports a list of files then goes through each file and rewrites only half the file. Cutting off the file at a key word. If I can make my code print the half I need I can make it write new files with … | |
hello, i have a dropdown list of several values, now i am successfully created a script in which data is display from database by selecting a value from drop down i.e a post value thrown by select a value from drop down. My question is how to display data for … | |
i have recently started learning java .... i completed "head first java" recently ....it is just an intro to java . now i am looking to learn other aspects of java so could you tell me which book to read next . Or should i jump straight into a example … | |
Hello, is my eyes wrong or what but I cannot see simple thing. //ok $this->utils->logging('DEBUG', 'submit dogs card5: ' . serialize($slip_data)); foreach ($slip_data as $data) { //not ok $this->utils->logging('DEBUG', 'submit dogs card7: ' . serialize($data)); }; the first logging line logs this array: array ( 36017 => array ( 'subtypes_id' … | |
hi, I originally made a 1 dimensional array but then modified it into 2 dim. Problem is, I used percentage to determine who has the most number of votes but variable newPresident only output Estrada J. which belong to array candidate[0]. When I tried printing the elements in percentage[], only … | |
hey..m a student of last year of BCA...i m making my project on crime management system...i had made my database in ACCESS 2003 n using the C# language...in database i hd taken the auto number as datatype in my serial number column. bt when m accessing my code in C# … | |
Hi there, I'm having trouble with floats in Java. My program accepts a number in the form of a float. The number typically has two decimals (but not always). It seems to work fine in most cases. For example, I could put in 54.67, and that number would be passed … | |
Hi all, How could we validate that given string should only contains alphabetic characters, pls share some ideas, thanks in advance | |
I am in beginning Java and using Dr. Java to write my programs. I am trying to write an array that user input sets up the length of the array(#of students) that character grades are stored in. It is suppose to ask if you want a full print out, to … | |
Does the number of classes show any impact on the speed of an application? For example if there are more number of classes (or packages) does it make the application to run slow compared to the one that has less number of classes (or packages)? Thanks in advance. | |
Hi there, I am in a bit of a situation here trying to prevent the browser from following a link within a <a> This is the html code: <a href="#" onclick="changeImage(this,'/folder/images/23.jpg');"> <img src="/folder/images/23_thumb.jpg" alt=""> <span>this is it</span> <h3>This is it</h3> <p class="caption">lorem ipsum...</p> </a> and here's the script: function changeImage(calledFrom, … | |
Im creating a little practice commend line application that has to ask for passwords.This is a section of the code that is suppose to run if the user puts spaces in a password. It works fine up to that point but then no matter what the user inputs it always … | |
Hi I'm wondering if there is a simple win32 API to retrieve the current module filename (xxxx.exe) I know about GetModuleFilename which gets the full path. And I have read that argv[0] holds the exe name, but that also give me the full path. What I'm after is an API … | |
Ok, I have a websie built for a friend(simple/static). I want to add an amdin panel for him, so he can log in, put pictures into the gallery, change or update his stocklist and change or update his news section with special offer etc (he owns a reptile shop). I … | |
Hi am trying to delete a row from a mysql database and can't work out why it is not working. Here is the code $link = mysql_connect('', '', '') or die('Could not connect: ' . mysql_error()); mysql_select_db('') or die(mysql_error()); mysql_query("DELETE FROM gigs WHERE gigname='".$name."'"); mysql_close($link); The $link is working, and … | |
hiii i hv tried updating a database table frm the form bt it is not getting updated can u suggest me some php code for updating the database values i hv used the following code <?php $host="localhost"; // Host name $username="root"; // Mysql username $password="root"; // Mysql password $db_name="project"; // … | |
//When i click the update button to update record in database,i get following error : " String or binary data would be truncated. The statement has been terminated." plz help me to solve this problem using System; using System.Collections; using System.Configuration; using System.Web.Configuration; using System.Data; using System.Linq; using System.Web; using … | |
Hi all, I have givn a task to implement a game. It has ruls of texa's Holdem poker and the objective is to make words like scabble.So it is a blend of these 2 games. So i need to store (Only with 5 letters)words(I dont know whether it is a … | |
Hi there, I have developed a pool game for a project but am required to do some JUnit testing to finish it off but I have not been shown any in my course and as a result I am totally confused with how to do this. My lecturer won't give … | |
I know it's a dumb question, but I can't figure it out. What's wrong with this code? - [CODE]$progress_report = curdate();[/CODE] It doesn't work. Thank you! | |
I am using Telerik RADupload component in my asp.net website. I have noticed a strange behaviour. Whenever the webpage loads for the first time a browser is opened, the first upload I do, the file does not upload (Though the progress bar shows that the file is uploading). From the … | |
Get three exam grades from the user and compute the average of the grade. Get Output of the average of the three exams. Together with the average, include a happy face in the output if the average is greater than or equal to 75, otherwise output failed. | |
Hi All. I am currently at work on this program and have came accross this error when i debug the code in ASP via Internet Browser it displays the following message on top of the webform "Command text was not set for the command object" I am also having problems … | |
Hi, I got error "No value given for one or more required parameters" error when executing the following code. I checked the value of the query and it seems correct. Does anyone know why? [CODE]string connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\Catherine\\Documents\\LearningCSharp.accdb"; OleDbConnection myConnection = new OleDbConnection(connectionString); myConnection.Open(); int employeeNumber = int.Parse(textBox1.Text); string name … | |
Could someone please give me a pointer as to why my use of appendText fails? This is my first bit of programming for 30 years - I'm sorry if its an idiot mistake :) The program has 2 text fields. You paste a list of url's into the first box … | |
Hey Friends, I recently came across a question which asks to approximate the data volume of a table which contains 10 Million records. Any idea on how to do it? Thanking You In Advance. |
The End.