199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for budax.bageur2

how to make the simple malware using iteration on dev c++ ?? that using simple algorithm for do, or while do or do while

Member Avatar for NathanOliver
0
218
Member Avatar for xbat

I am getting $.ajax is not defined with firebug - maybe missing bracets? any ideas? <script language="javascript" type="text/javascript"> function get_place(jack) { $.ajax({ type: "POST", url: "fruit.php", beforeSend: function () { $("#city").html("<option>Loading ...</option>"); }, data: "cartowner="+cartowner, success: function(msg){ $("#city").html(msg); } }); } </script>

Member Avatar for qwqdqw
0
5K
Member Avatar for 2384443

Hi everyone, i need your help.. I want to draw a circle,square and rectangle on Jframe on a click of a button.. This program was asked in my test paper, i couldn't get it right though bt i wanna know what my mistake is.. Plz help me.. import javax.swing.*; import …

Member Avatar for JamesCherrill
0
346
Member Avatar for kasr12

I have a query by different attributes. When one query is started and we are for example on page 7, and a new attribute is chosen, the query still shows the 7 page of new results. And it should show page 1 as the new attribute is chosen. Could you …

Member Avatar for cereal
0
196
Member Avatar for Mike Askew

So I am currently working with custom silverlight extensions for a SAP application. The extension kicks off a an async WCF request and waits for the response. During which time I try the following: waitWindow = new RadWindow(); waitWindow.WindowStartupLocation = Telerik.Windows.Controls.WindowStartupLocation.CenterScreen; waitWindow.BorderThickness = new Thickness(0); waitWindow.Content = new View.WaitWindowTest(); waitWindow.ShowDialog(); …

Member Avatar for Mike Askew
0
342
Member Avatar for moaz.amin.37

i write a code in java of GUI calculator. i handle its addition event only but it is not working i don't know why its code is here import java.awt.*; import javax.swing.*; import java.awt.event.*; class Calculator extends JFrame implements ActionListener{ JTextField jtext; JPanel p; JLabel lab; JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b0,bPlus,bMinus,bMul,bPoint,bClear,bEqual; public Calculator(){ …

Member Avatar for JamesCherrill
0
2K
Member Avatar for divinity02

Write a program that will read two numbers and an integer code from the keyboard. The value of the integer code should be 1, 2, 3 or 4. If the value of the code is 1, compute the sum of the two numbers. If the code is 2, compute the …

Member Avatar for Slavi
0
173
Member Avatar for andruluchko

this is my program for list implementation in C++. And I want to print the first element in it. I write element until I reach 0 Can You show me the way to do it. Thanks #include "stdafx.h" #include "iostream" using namespace std; struct Node { int data; Node *next; …

Member Avatar for Banfa
0
2K
Member Avatar for minitauros

So I've given RequireJS a try this weekend, and although it appears to work pretty smooth, I can't figure out one thing: How do I combine PHP and Javascript while using RequireJS? See, RequireJS can only work with .js files, meaning that it cannot "require" .php files. In many files, …

Member Avatar for minitauros
0
727
Member Avatar for SKLE

Hello, I have to found out why our Web Service Client, which is generated by Wsimport, only works with HTTP-urls. When it try to communicate to a https-url, it returns an error in de logfile: Failed to access the WSDL at: https://catalogus.debibliotheekhaarlemmermeer.nl/nbdgeleidelijst/services?wsdl=1. It failed with: Connection timed out. I'm just …

0
191
Member Avatar for kayleigh0411

I need to make this program GradeCalculator.java, and I can't figure out what is wrong with it. I'm really struggling, could someone please help! Thanks!! In the GradeCalculator.java program the user clicks the Enter button. The first input is a JOptionPane that asks the user, “Number of score to be …

Member Avatar for stultuske
0
187
Member Avatar for chen.vang.3

one interesting application of computers is to display graphs and bar charts. Write an app taht reads three numbers between 1 and 30. Fro each number that's read, your app should display the same number of adjacent asterisks. for example, if your app reads the number 7, it should display …

Member Avatar for ddanbe
0
227
Member Avatar for PinoyDev

Good day! I have a long list of menus created under menu editor. I need to loop all of its value list and put it in a combo box. I do not know a way on how to do this..? Thank you!

0
130
Member Avatar for chubbyy.putto

Here is problem: I ask user for how many dogs do you have user enter 5 i go via for loop and add the name into arraylist and now i want to display like 1. Java 2. is 3. fun and so more.... not just 3 after I want to …

Member Avatar for Santanu.Das
0
94
Member Avatar for razar63

I now have a simple "shopping cart" script that I have converted to an "add to shortlist" script to better suit my website. Everything wokrs great however after you click the add to shortlist link it goes to the shortlist page. Here is the code for "add to shortlist" <a …

Member Avatar for razar63
0
4K
Member Avatar for irfan_4

I have a text item in which date return from calender in formate like dd/mm/yyyy now i want to convert this formate to dd-mon-yyyy in javascript...How i can do this.?

Member Avatar for irfan_4
0
161
Member Avatar for razar63

Im trying to bebug some javascript in firefox and I keep getting this error. SyntaxError: syntax error data: {action: addtocart, id: <br /> the javascript is this: <script type="text/javascript"> jQuery(document).ready(function($){ $('#button').on('click', function(e){ $.ajax({ url: 'shopping2/includes/functions.php', type: 'POST', data: {action: addtocart, id: <?php echo $pid; ?> }, cache: false, success: function(data){ …

Member Avatar for hericles
0
290
Member Avatar for dfs3000my

Hi all, I have a question. How do I render a string which has some html coding in it and display it as HTML? For instance, my string is like this : [CODE] Dim htmlString As String = "<h3>Hello World</h3><div>Something here</div> [/CODE] I am not too sure how can it …

Member Avatar for Rajesh_13
0
222
Member Avatar for fatalaccidents

Hello all, I was writing code that was supposed to spawn multiple jobs from a sqlite DB and my first idea was to implement the multiprocessing Pool function. I'm not sure if this question would be better suited somewhere related to shell scripting, but I'm not sure how to call …

Member Avatar for vegaseat
0
493
Member Avatar for RodneyzPc

Hi..I sure hope you can help me ! 2 years ago you helped with a Update Form and I've been trying to adapt the form to my mySQL Database.As I'm just learning and trying to figure some of this out I've seemed to have hit a road block. . . …

Member Avatar for RodneyzPc
0
443
Member Avatar for bro_1

how to remove php extension in .htaccess example media.php?page=test

Member Avatar for Isaac_4
0
224
Member Avatar for Freddy Kreuger

So I have a couple of problems with this assignment and I need a bit of help. The first is Went ever I input the name of a college or university that I know is on the list, it causes an infinite loop and repeats the menu forever. This will …

Member Avatar for NathanOliver
0
269
Member Avatar for kidkardel

OK, hi again and thank you for your continous answering, I cant repay you but I am truly grateful... anyway, I have a datagridview where i manually add 4 columns (A,B,C,D) respectively and has 4 textbox outside (ta,tb,tc,td) respectively. now i have a button where when i push it strings …

Member Avatar for kidkardel
0
123
Member Avatar for yingfo

Hi I am having trouble trying to get my add and remove function to work. We had to create an ADT List using array's. It keeps giving my program errors any help would be great, I think my problem might be my second part of the add function where it …

Member Avatar for stultuske
0
922
Member Avatar for chubbyy.putto

I know how made an arraylist but i dont know how make an arraylist inside an arraylist? let says: Alex age is 31 alex and age is gonna be in one arraylist alex 31 burren java burren and java is alex dogs; how can i store burren and java under …

Member Avatar for Schol-R-LEA
0
354
Member Avatar for Daniel_30

I am a student in Computer Science, and am writing a small guide for my fellow students. It will contain a large list of the most commonly used and studied functions in C++ (e.g. Bubble Sort, linear search, file writing, etc.) and the code used to perform each function. I …

Member Avatar for oboumat
0
131
Member Avatar for Glaven

I need to find the smallest number in my 10x8 array grid fileld with random numbers I know im doing it wrong but I do not know what to do. Please Help! Heres my Code: //ArrayGrid #include <iostream> using namespace std; int main() { int total,average,smallest; int row=0; int col=0; …

Member Avatar for Glaven
0
622
Member Avatar for Zyxl

I'm about to begin developing an application that requires some basic 3D rendering, so I'm looking into C++, as this seems to be the usual language for this type of thing and I have a book to help me with this project that includes some snippets of C++ code (not …

Member Avatar for Zyxl
0
748
Member Avatar for thilipdilip

Hi: I'm creating one classified site, in that we need to write SEO friendly urls for google page ranking and optimisation. How to do that any one pls help me.

Member Avatar for matrixdevuk
0
530
Member Avatar for Yamuna_1

Hi, I used this below coding to send email but hosting & mail services are in different service providers.This code is working in my local but it's not working in hosting server. Please guide me to resolve this. using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; …

Member Avatar for mtyide
0
195
Member Avatar for vuyiswamb

Good Day All I hope someone can help me. i have a Asp.net web application that is running on 4.51 , When the User login Successfully i return an Object that has info for that user and store this in a Static object. Now my problem is the i User …

Member Avatar for mtyide
0
131
Member Avatar for thilinam

hi Everybody I have added a button control to my page. when I start debugging an error message says "CS1061: 'ASP.default_aspx' does not contain a definition for 'btnLogin_Click' and no extension method 'btnLogin_Click' accepting a first argument of type 'ASP.default_aspx' could be found (are you missing a using directive or …

Member Avatar for mtyide
0
1K
Member Avatar for Violet_82

Hello all, I'm trying to change the innerHtml of a div in the code behind and noticed an interesting thing. If I have this situation: aspx file: <div id="displayPanel" runat="server"> </div> C# while(reader.Read()){ ... displayPanel.InnerHtml += "<span>"+ name + " has donated £ " + donation + "</span>"; } everything …

Member Avatar for mtyide
0
3K
Member Avatar for wherrelz

I find a lot of students studying computer science or BSc IT who realize they have a project to submit in their final year and are clueless what to do and how to go about it. Surely there are people who can help guide in this, however a comprehensive list …

Member Avatar for wherrelz
0
198
Member Avatar for lithium112

Hi, I was just playing around with using a linq query on a dataTable that has information from sql. I was using var q = from Email in dtEmail.AsEnumerable() where Email.Field<string>("Email") == "yay" select Email; But for some reason it will not query the email datatable. And yes, I actually …

Member Avatar for lithium112
0
140
Member Avatar for batoolhussain

hi everyone .I have this code to convert color image to grayscale image but the problem is that the image after converting does not display on the picturebox2 . I am using visualbasic.net 2010 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim pic As Bitmap …

Member Avatar for batoolhussain
0
4K
Member Avatar for rjusman90

want to minus the quantity when click delete if cart qty is more then 1 //remove item from shopping cart if(isset($_GET["removep"]) && isset($_GET["return_url"]) && isset($_SESSION["products"])){ $product_code = $_GET["removep"]; //get the product code to remove $product_s = $_GET["removes"]; //get the product size to remove $return_url = base64_decode($_GET["return_url"]); //get return url foreach …

Member Avatar for minitauros
0
176
Member Avatar for Violet_82

Hello guys, I wonder if anybody could clarify this for me. I've created a new website (File > New > Web site) and as we all know I now have a aspx file (Default.aspx) and a aspx.cs file (Default.aspx.cs). The aspx file contains a form and when submitted, it sends …

Member Avatar for Violet_82
0
2K
Member Avatar for filipgothic

Hello, I need help real fast for my exam matric 3x5 which will multiply with Pi Thanks in advance

Member Avatar for filipgothic
0
113
Member Avatar for numus175

hello im newbie i have a string example " i want to buy a new car " and i want to show only 3 words("i want to") from string can you help me please ? Does an example project exist for something like this? thank you

Member Avatar for diafol
0
715
Member Avatar for HuePig

Hi, im trying to transform a string to make it a date $date1 = '$month/$day/$year'; //in jS value form type="number" $date2 = strtotime($date1); $date3 = date('Y-m-d',$date2); The problem is that when I SET date = $date3 the database saves 0000-00-00. what am I doing wrong??

Member Avatar for diafol
0
272
Member Avatar for Mya:)

I have a huge project to do for my Gr11 PAT(Practical Assessment task) We have to create a project based on Geocaching [Click Here](http://www.geocaching.com) and I need ideas to start planning my Fase 1 - wich constructs of a basic descrption of at my program wil do. I need at …

Member Avatar for Deonas666
0
747
Member Avatar for missy_mi

I am trying to make a registration form and when submit it will save in my phpmyadmin database. this is for my register.html : <!doctype html> <html> <head> <meta charset="utf-8"> <title>Register</title> </head> <body> <form name="register" action="register_p.php" method="post"> <center><table width="900" border="0" cellspacing="0" cellpadding="0"> <center></br></br> <tr><td width="61%"><p>Full Name: <input name="Fullname" type="text" id="Fullname" …

Member Avatar for missy_mi
0
319
Member Avatar for sushant_1

I am loading shortcodes using ajax in my webpage. I am able to load shortcodes ( which essentially consists of a slider wherein when we hover over a slider, a different image comes) but the "on-hover" functionality is not working on the new sliders loaded. When i move my mouse …

Member Avatar for sushant_1
0
254
Member Avatar for patk570

Hello, I am looking for a script to add items to a database that can be found in the my account section, The table in the database is structured: id | user_id | slug I want to use the ajax to update and remove it later on down the road …

Member Avatar for matrixdevuk
0
3K
Member Avatar for mxwarning

Hello, I am having trouble with how my program displays the items with a $ sign. I do not want a dollar sign and I ma not sure how it got there as I did not put one in. Is there a way to get rid of the $ sign …

Member Avatar for mxwarning
0
123
Member Avatar for coolseancool

<?php require_once'start.php'; require_once'twitteroauth.php'; function cs( $string ) { if ( function_exists( "get_magic_quotes_gpc" ) && get_magic_quotes_gpc( ) ) { $string = stripslashes( $string ); } else if ( !get_magic_quotes_gpc( ) ) { $string = addslashes( $string ); } $string = @mysql_real_escape_string( @$string ); return $string; } if (!empty($_GET['get']) && $_GET['get'] == …

Member Avatar for matrixdevuk
0
314
Member Avatar for edrewc

Hello java friends, I'm new to the concept of ArrayList and I want to solve this problem in my code. my main problem: I don't know how to sort itemA and itemB to appear only once then It will just add the total prices together. this is the behavior of …

Member Avatar for zolymo
0
1K
Member Avatar for phfilly

Hi guys, Can anyone please help me with this simple error. Jquery is not my strongest suite but I feel like this is something small that I'm missing. With the code below I get the error 'undefined'. html: `<a href='#' ><img src= "./images/1.jpg" width= '200px' id="2" rel="arm1" onclick = 'test()' …

Member Avatar for phfilly
0
2K
Member Avatar for cd88

Hi, I am trying to use an exception catch properly but I am getting lost and frustrated. I've changed my code so many times and cannot figure out why when it catches the exception it will not let me continue to enter data into the array. It just displays it …

Member Avatar for JamesCherrill
0
236

The End.