64,152 Solved Topics
Remove Filter ![]() | |
Hello, Please could someone help me on this. I have a button on which when clicked will display the crystal report. This report displays as required but when I want to view the report the second time, there's this error message: "Index 0 is out of range, Parameter name:index". FYI … | |
Hello everyone i'm getting the following error message. [COLOR="Red"]Fatal error: Call to a member function prepare() on a non-object in C:\xampplite\htdocs\Prepared_Statements.php on line 20[/COLOR] My code so far [B]connection.php[/B] [CODE]$db_server = "localhost"; $db_user = "root"; $db_password = ""; $db = "test"; $connection = mysql_connect($db_server,$db_user,$db_password,$db); if(!$connection){ die("Database Connection Failed".mysql_error()); } $select_database … | |
Hello I get this message : Notice: Undefined index: id in *****7index.php on line 26 when we go from php4 to php5. My code on line 25-35 is : [code] <?php if($_GET["id"] == "web"){ echo "<link rel='stylesheet' href='css/style.css' media='screen'/>"; echo "<link rel='stylesheet' href='css/style.css' media='handheld, only screen and (max-device-width:480px)' />"; echo … | |
Hey, I have some php code that I cant seem to get working... Here is the code... This is the javascript that changed the ?show in the url to what the user selects.. [CODE]<script type="text/javascript"> function show(){ var e = document.getElementById("select"); var strUser = e.options[e.selectedIndex].value; window.location = "?show="+strUser; } </script> … | |
Hello; I'm currently working to convert a classic ASP site to ASP.NET. I am getting the error 'Cannot convert type String to System.Web.UI.HtmlControls.GenericHTMLControls' (I'm associating frontend variable to backend). Unfortunately, Google has not been much help on this. Anyone have any pointers on this? An example of this is: Frontend: … | |
Hi, I'm getting the following while trying to execute my spring program [CODE] 5 Jul, 2011 7:22:08 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@18a47e0: display name [org.springframework.context.support.ClassPathXmlApplicationContext@18a47e0]; startup date [Tue Jul 05 19:22:08 IST 2011]; root of context hierarchy 5 Jul, 2011 7:22:08 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions … | |
I have a textbox, and it's set to multiline, so a user can enter a few sentences. The problem is, if the user hits the enter button while in the textbox, it's starting a new line. This data is being saved as a text file, and it's causing problems when … | |
hello everybody, i am using java as front end and ms access as back-end for my mini project, in my database, in couple of the tables there is field which i've declared [COLOR="red"]primary key[/COLOR] for those respective tables and which has type of [COLOR="Red"]autonumber[/COLOR]. so my question is, while inserting … | |
Hi, I am now doing a window form application which are contains several window form interfaces My question is that : Firstly I enter texts in a text box of interface A (login page) , then I clicks a button to hide A and go to interface B. At B, … | |
Hi friends, I wrote a code to build a matrix with specific calculations. When I'm using 3000 elements works well ... But I did a test with 150.000 (150.000 x 150.000) and I had problems. " terminate called after throwing an instance of 'std::bad_alloc' " I'm copying the code part … | |
I have a class Node and want to declare an initially unknown number of instances of this class at run-time. First the program determines the number of nodes (num_n) from the user and then I want to define num_n objects. I have crudely got around this by defining a maximum … | |
![]() | I bet someone already asked this but I can't find the thread. I am using windows XP home edition. I loaded python 2.6.6 off the web as it is the same version some of my code is written in. When I click on the idle GUI I get no response. … |
Hi, I have an array (2=>50, 231=>63, 235=>121) How do I change the second item? Thanks, Dave | |
Hi, I have 2 links within a datagridview. The 2 links are in the same row, let say link A and link B. How to let link A go to Form A and link B go to Form B? [CODE] Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) … | |
hello im new to python and im just making simple programs(for now) so im doing this guessing game where the user enter a number and tells him if he got it right or not. here is the code [CODE] import random import re print 'This is a guessing game' def … | |
i have a error in c graphics "segment exceeds _TEXT 64K" i reduce some lines but i have no solution please help me as soon as possible i want to complete my program as soon as possible please help me some one | |
Hi, In have created a smallm cms, and I would like to offer customers to download it, instead of only getting access to it, if I design a website for them, AND "attach" the backend to the site. How can I create a download function, so that the whole "system"/CMS, … ![]() | |
Is there a way to get current date and time from remote windows machine on linux? On remote windows machine ssh not enabled, there are no powershell. Can we achieve result via telnet or smbclient? | |
Is it necessary to install mysql workbench in order to run database based php web apps? | |
[code=java] /*This program takes two integers as command-line arguments (they are initially strings), and returns the sum, difference (based on the order they're entered in the command line), product and quotient (also based on the order they're entered in the command line) of those two integers. For example, in the … | |
Hello I have developed a form , i want the user to only input number if a user input any alphabet or symbol ad submit the form the error must appear on the same page, i have done this with form action but i want the error to be shown … | |
I need to disable the 2nd item in a comboBox when something happens. How would I go about doing this? Any help is appreciated. | |
Print stars in console like this using java ? ......* .....*.* ... *...* .. *.....* . *.......* ...*.....* ... *...* .....*.* ......* dot = spaces [B]look to my code just i need to print border not filled shape[/B] [CODE]import java.util.Scanner; public class Stars { public static void main( String args[] … | |
Anyone has an idea of how to execute the complete php code ....means i want to make online php editor...that will take code as input from user and correspondingly display the output.... I am not sure how to work with it... Till now i thought of taking input from user … | |
Hi, Can any1 tell me wht is the problem if i can't find an import in a main class [CODE] import org.springframework.context.ApplicationContext; [/CODE] It says that the import cant be resolved. thanks | |
What is Wrong in this code [CODE]Select * from Studentinfo Inner Join Admission On Studentinfo.Studentid= admission.studentid where Studentid= '1'[/CODE] Please Help as soon as Possible | |
I dont know whts wrong with the code... its in java..the error msg is shown while compilation i.e. class, interface , or enum exception.. plzz can anyone help me with this.. [CODE]import java.io.*; import java.security.*; import java.awt.*; import java.awt.event.*; import java.applet.*; public final class DiffieHellman extends java.applet.Applet implements ActionListener { … | |
please look at this code, [CODE]for ($count=$num1; $count<=$num2; $count++){ for ($count1=1; $count1<=2; $count++){ echo $count1; } } [/CODE] why this is never ending loop ? when i run this code my browser hanged, why it is happening ?? | |
![]() | hey all, I know this might seem like a basic question but we haven't really been taught it at university and I was getting curious. Once you've created your program and have all your relevant java classes/package and it has been compiled where do you find the .exe and how … ![]() |
I have 2 forms right now Form1 and Form2 the default setting start up is Form2. Inside Form 2 there was a button that will release the Form1 button using Form1.Show(). I have now the problem. What I want to do now is to close the Form2 without closing the … | |
Hi all, I want to get the string resource with R refference like R.string... but there is an issue that my class is not an activity. [code=Java]deviceNameEditor.setText(settings.getString(Constants.LOCAL_DEVICE_NAME, <def_val> ));[/code] how can I use the def value setten in the strings by using R.string indicator. since R.string will return a int … | |
hi to all I have a dos command that can backup system state in winserver2008,it write it in cmd when i run it and say y to its question but I want to have this command in bat file for a scheduled task that runs daily,I create this task and … | |
[code=java] /*This is a small GUI application that I made for personal use. It allows you to enter the colors of the bands on a 4-band fixed resistor to calculate the resistance (and tolerance) of that particular resistor. Eventually, I will create a version that deals with 5-band and 6-band … | |
Hi there, I've this error "Parse error: syntax error, unexpected T_STRING in /home/content/06/8070006/html/wp-content/themes/veryplaintxt/functions.php on line 512". Could anyone please help me take a look and tell me what's wrong with my code? Thanks heaps in advance! :) Sincerely, Gina [CODE]<?php // Produces links for every page just below the header … | |
hi guys, i m displaying news titles & it's contents using repeater control. pictorial representation: news Title 1 news Title 2 news Title 3 news Title 4 now, when i click on news Title 1,it's content should appear from my database in between news title 1 and news title 2.same … | |
Hey,i am working on a module in vb 10..i have to retrive data from the database between two dates...i have used the following code but not able to get ny output,,nt even an error [code] Imports System.Data.OleDb Public Class Form4 Dim con As OleDbConnection Dim cmd As OleDbCommand Dim dr … | |
I'm having issues with a rather simple program that prints a string. I have two .cpp files, main and login, with login.h header file. The problem at hand is that when I want to print the string in main.cpp that was entered from login.cpp - nothing is shown in which … | |
Can any one give a useful link to learn oracle report server and also how to connect it with java application.... Thank you. Require second question answer.... | |
I wrote this code and when I run the page I get the parse error :- [CODE]Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\view.php on line 30[/CODE] my code is :- i checked my whole code, i was unable to find the error [CODE]<?php $page_title="View Users"; include("header.html"); include("nav.html"); ?> <div … | |
Hi everyone. I'm making a shopping cart and I found out that I have a small problem. The currency that I want to use (BGN) is not supported by PayPal. I can use euro but the BGN is almost twice less than the euro. What can I do? This is … | |
So i haven't figured out what the point of constructors are i am just learning C++ and am seriously having trouble with it, i do not get why...well i kind of get default constructors because it initializes the variables but what about a constructor with arguments and the member function | |
Is there a PHP variable that holds the page title? I would like to get a hold of the title of the page that I at,(The text at the top of the browser) for later storage. Thanks! | |
I have to accept three numbers from the user using cin into 3 variables. If the user enters non integers,I must reject it and ask for a new one instead of that. So,here is my attempt: [CODE]int a,b,c; do{ cin.clear(); while(cin.get()!='\n');//remove failure bits,clear stream if wrong input cin>>a; } while(!cin);//while … | |
Hey all, I'm looking to upgrade my compiler and I was wondering if there is a compiler that is fully c++0x supported yet. If not is there one that is mostly supported? I am currently using MSVC++ 2005 express. I would like to stay in the MSVC++ family since I … | |
Like the title says, I have about 10-15 rows in a local dataset. I need to take any one row, and make it the "default" (on a button click), meaning to take that row and stick it right at the top so it comes up first. I've been up and … | |
[code]"insert into invoice(sno,entrydate,invoicedate,companyname,party,station,purchase,avail,sale) " + values("+Integer.getInteger(head.getSerial().getText())+",to_date('"+head.getEntryDate().getText()+ "','dd/mm/yyyy')"+",to_date('"+head.getInvoicedate().getText()+ "','dd/mm/yyyy')"+",'"+head.getCompany().getSelectedItem()+"'"+"'"+head.getParty().getSelectedItem()+"','"+head.getStation().getSelectedItem()+"',"+Integer.getInteger(head.getPurchase().getText())+",1,"+Integer.getInteger(head.getSale().getText())+")"); [/code] SNO NOT NULL NUMBER(38) ENTRYDATE DATE INVOICEDATE DATE COMPANYNAME VARCHAR2(50) PARTY VARCHAR2(50) STATION VARCHAR2(50) PURCHASE NUMBER(10,2) AVAIL NUMBER(1) SALE NUMBER(10,2) Whats wrong in this query.... I am getting sqlException .... | |
Hello everbody Simply put; [I]rand() is driving me nuts[/I]. I've been trying to get my teeth into Dev c++ (v. 4.9.9.2) for the first time and couldn't find anything anywhere which helped me anymore. Nearly all this code is IDE generated or copied from examples - I'm just trying to … | |
I wrote this code called delete.php, i have another script called view.php which displays all the users in the database and displays a link to delete that particular record using the get method. In the delete.php file it retrieves the id through get method from the view.php file and deletes … | |
In a flow chart ,what does both <> marks together mean? <>600 ? that <>600 is in a decision box | |
I was going through a tut on the internet about Cookies in JS. So, they told to use this function "getCookie" ! I used that ..... but I cannot understand the use of regular expressions ie using document.cookie.split !! 'cause as far as I know a cookie is just a … |
The End.