199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aznjesse

Our class assignment is to add, subtract, multiply, and divide two huge ints i'm currently working on my multiply function and my multiply isn't working and i cannot pin point the problem. When i input 3*3 it inputs 9 but when you input 4*4 it outputs 6 (the carryover function …

Member Avatar for NormR1
0
197
Member Avatar for tanvirraj91

can any one give any idea which compiler i will use which work in docs.i dont want to use microsoft visual c++

Member Avatar for DeanMSands3
0
168
Member Avatar for Rock_IT

im a beginner wid vb .net and need to clear the air wid connecting a database file created on sql server 2008r2 wid vb.net 2008 for a project..plz nebody help from scratch regardng retriving,insertng n modifyng data using vb.net code..awaiting....

Member Avatar for princenathan
0
223
Member Avatar for elbeato

jQuery issue here. After calling some ajax, I'm having a problem getting a particular div to reload a php file. The only solution that I've come up with is to completely reload the page, but this is really undesirable, because this function is being used as part of a simple …

Member Avatar for elbeato
0
174
Member Avatar for rfrapp

I'm writing a program that is supposed to search an array between the values of -1000 and 1000, as well as sort it using the 3 different sorts (bubble, insertion, selection). I have the searching part done, but my bubble sort isn't working right. It seems right in my head, …

Member Avatar for DeanMSands3
0
178
Member Avatar for 432

How i can; Get a image from webcam with a sub or Function i dont want dll or anything just a sub or function. Thanks now

Member Avatar for princenathan
0
277
Member Avatar for dfs3000my

Hi I am trying to copy contents of an Excel file to another for computation purposes. However, I'm receiving a run-time error '1004' - Select method of Range class failed. Below is my code, please kindly provide some feedback: [CODE] 'Open selected file Dim wb As Workbook Dim ws As …

Member Avatar for janlars
0
1K
Member Avatar for shaneo123

i am trying to use a picture for the background of my blackberry app instead of the default white background how can i do this? any code snippets would be greatly appreciated Thanks

Member Avatar for shaneo123
0
126
Member Avatar for Warl30ck

So I made a script to upload a file : [CODE]<html> <body> <form enctype="multipart/form-data" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="1000000" /> Choose a file to upload: <input name="uploaded_file" type="file" /> <input type="submit" value="Upload" /> </form> <?php include 'global.php'; //Check that we have a file if((!empty($_FILES["uploaded_file"])) && ($_FILES['uploaded_file']['error'] == 0)) { //Check …

0
105
Member Avatar for Hypnos_16

I have to make a program that outputs something similar to the appearance of a phone. With intractable buttons, (0 - 9) a T button that outputs "Calling" and an E button that outputs "End-Call" Now i have that much done [CODE]import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Dimension; import java.awt.Color; import …

Member Avatar for Hypnos_16
0
295
Member Avatar for scheppy

I know that .bat isnt java, but I dont know were else to place this thread So ive finished my program, has sounds, images and other junk all in a folder on my desktop. as soon as you open the folder you can see the file program.java and also folders …

Member Avatar for DavidKroukamp
0
306
Member Avatar for srm2010

In My windows application selection formula having textbox value gives error. Not recognising expression without textbox it is working fine. CrystalDecisions.CrystalReports.Engine.ReportDocument rpt; rpt = new CrystalReport6(); rpt.Load(@"H:\CrystalReportsApplication1\CrystalReportsApplication1\CrystalReport6.rpt"); // rpt.RecordSelectionFormula = "{cashtbl.stdid}=7";---working fine or //the below code gives error saying number is equired rpt.RecordSelectionFormula = "{cashtbl.stdid}='" +Convert.ToInt32(textBox2.Text) + "'"; crystalReportViewer1.ReportSource = …

Member Avatar for srm2010
0
554
Member Avatar for dwayned

HI I am using - ASP.Net - C# - SQL Server Express 2008 R2 I have a table called customers which contains all customer details and a stored procedure which gets: - Total No Of Customers - Total No Of Customers in Region1 - Total No Of Customers in Region2 …

Member Avatar for suzaine
0
2K
Member Avatar for moonray

i want to know about performance measurement tool in java means tools which measure the time statistics ,memory statistics etc of a program which coded in java?

Member Avatar for moonray
0
193
Member Avatar for Aung Myat

Hi all, I just started learning Python and Beautiful Soup. I am developing a script to look for particular text "Running" in the HTML. If that text "Running" exits, I would like to print out the keyword "QSAJK". Please see the attached image to visualize. If there is one or …

Member Avatar for tomstratton
0
4K
Member Avatar for jigglymig

my problem is the Point plus(Point). how should I declare it and all that. [CODE]// point.h -- This creates a point with both x and y of type integer #include <iostream> using namespace std; template<typename T> class Point { private: T x; T y; public: Point(T,T); Point(); void set_x(T); void …

Member Avatar for jigglymig
0
110
Member Avatar for skran

Hi all! I m trying to filter a datagridview (connected to sql server). I have used if statements in order to take all the possible combination but now I have 8 textboxes into which the user should insert values and filter the datagridview.. it is too complex.. I have asked …

Member Avatar for M.Waqas Aslam
0
418
Member Avatar for mallikaalokam

[CODE]import java.io.*; import java.util.*; import java.lang.*; class Login extends Thread { public void run() { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); Scanner s=new Scanner(System.in); while(true) { System.out.println("Enter username:"); String h=br.readLine(); System.out.println("Enter password:"); String d=s.nextLine(); } } } class Display extends Thread { public void run() { while(true) { System.out.println("ur username is:"+" "+h); …

Member Avatar for DavidKroukamp
0
145
Member Avatar for shanki himanshu

i am using 'atof' function to convert string into double but it shows the correct value if the string length is 17(max). is ther any function if string length is more than 17?

Member Avatar for DeanMSands3
0
150
Member Avatar for skran

Hi all I m trying to filter a sql db with many filter criteria which inert the user in textboxes .. i ve tryed this query [CODE]query = "Select * from T_INCIDENTS1 where IFF (txtPostcode.text is notNull) then Incident_Postcode='" & txtPostcode.Text & "') and iff (txtDMA.text is notNull) then Incident_DMA='" …

Member Avatar for skran
0
228
Member Avatar for Karlwakim

Hi everybody, I found an error-based sql injection in my webserver.My database doesn't contain any private info. I want to know if its possible to own my server just by using the info in information_shema. Please tell me because i want to know if i have to fix it.I don't …

Member Avatar for Karlwakim
0
151
Member Avatar for NinjaLink

Pick a "c" and "n" for the problem below. f(n) = 2nlgn, g(n) = n^2-n My answer is below, but I am not sure if I am correct. I've been trying to figure out this same problem for a while. [B]The real solution is at the bottom, but I don't …

0
66
Member Avatar for Aser Gado

After successfully creating a registering system I can't use the login system I've created, it always gives the error message I've set "Wrong Email or Password" although the values are right! The code for validating the login process: [CODE] <?php $con = mysql_connect("***","*****","****"); mysql_select_db("*****", $con); $emailin=$_POST['emailin']; $passwordin=$_POST['password']; $emailin = stripslashes($emailin); …

Member Avatar for Aser Gado
0
90
Member Avatar for boris90

Hi! I've been having this problem recently: I wrote this code which, practically, reads lines of text from a text file (e.g. Microsoft Notepad file) and stores them into a vector. Each line has three parts: the product code, the product amount and the product name. The user is offered, …

Member Avatar for boris90
0
546
Member Avatar for MBPFAN

I'm using python IDLE v. 2.7.2 and I get the same error report with my program. [CODE]>>> def menu(list, question): for entry in list: print 1 + list.index(entry), print ") " + entry return input(question) - 1 [B]items[/B] = ["Cup","Vase","Table","Lamp","Bowl","Door"] keylocation = 3 keyfound = 0 loop = 1 print …

Member Avatar for MBPFAN
0
1K
Member Avatar for -==Zero==-

I Need A Code To remove The Attribute (( Disabled )) From Submit Button When All Fields Are Filled Out This is My Code <form name='vbform' method="post" action="ins_advs.php"> <fieldset> <legend class='master'>Title</legend> Name <input class="regform2" type="text" name="title" size="40" maxlength="15" /> </fieldset> <fieldset> <legend class='master'>Details</legend> <textarea class="textareades" cols="86" rows="3" maxlength="50" name="full"></textarea> </fieldset> …

Member Avatar for -==Zero==-
0
179
Member Avatar for Virangya

hi, i'm trying to add a background color to a element which is positioned before the identified tag. for example, i know the class of one elment and i have a list like below. [CODE] <ul id="one"> <li><a href='#'>text0</a></li> <li><a href='#'>text1</a> <ul> <li><a href='#'>text2</a></li> <li><a href='#'>text3</a> <ul> <li class="item-1"><a href='#' …

Member Avatar for Virangya
0
126
Member Avatar for wallet123

this is the code that i did: [CODE]import javax.swing.JOptionPane; public class MidtermExam { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int x; int y; int z; int count = Integer.parseInt(JOptionPane.showInputDialog(null,"Enter any Number:")); for(x=1;x<=count;x++){ for(y=x;y<=count;y++){ System.out.print(x+""); } System.out.println(); } } } [/CODE] …

Member Avatar for stultuske
0
189
Member Avatar for azegurb

Hi all, i have taken from net script that it has curriying function which itself return function. But i dont understand why before [B]\$arg[/B] is added backslash. the same as on lines 10, 13, 19 and so on. [CODE]function add($a, $b) { return $a + $b; } $az=""; function _curry( …

Member Avatar for azegurb
0
237
Member Avatar for abe08

Hello.. I'm the newbie one. I have the file in php. I cannot solving the notice about [COLOR="Red"]Notice: Undefined index: add_item1 in C:\xampp\htdocs\guideline\xmladd_evidence.php on line 44[/COLOR] How to solving that? here my code [CODE] <html> <font size="20" face="arial" color="black"> <center><b> Add item evidence </b></center><br><hr/> </font> <form ACTION="" METHOD="POST"> <select name='add_item1[]' …

Member Avatar for simplypixie
0
99
Member Avatar for bala.subramania

Hi Guys, I am happy to be part of our group here.... I need some clarifications in Ip Camera Streaming.... I have a webpage ie displaying live camera streaming video and control buttons(left,right,up and down) in one aspx page. My problem is when i click any one of the button …

0
253
Member Avatar for Kalle21

hello i trying to learn how to type in for exampel 5 and its going to type out 5 4 3 2 1 0 [CODE]import java.util.Scanner; class indexerad_variable { public static void main( String args[] ) { int i= 0; while (i<= 100){ System.out.println("your number: "); System.out.println((100-i)); i++; } } …

Member Avatar for stultuske
0
105
Member Avatar for shaqib

hi, am getting the following error: Parse error: syntax error, unexpected T_STRING in C:\wamp\www\pro\Copy of procreate.php on line 268 but i am unable to find the error. here is my code <?php // Get values sent to page from user form input $space=$_POST['space']; $exten=$_POST['exten']; Echo "Writing file..."; $myFile = "$exten.cfg"; …

Member Avatar for dinhunzvi
0
461
Member Avatar for Aser Gado

Hello, how's everyone? I have created a page with a form for registration and and another php to process the registration and create the rows in the database, but the processor comes with errors. here is the PHP file: [CODE]<?php include 'dbconnect.php'; mysql_query("INSERT INTO users (firstname, lastname, email, password) VALUES …

Member Avatar for Aser Gado
0
138
Member Avatar for Wolxhound90

Hey all, I'm trying to show some concatenated data in a CheckedListBox so that users are able to select the data for use later on. Here is the code I am using currently: [CODE]Dim con As New MySqlConnection Dim theQuery As New MySqlCommand Dim theTables As New DataTable Dim theAdapter …

Member Avatar for Wolxhound90
0
257
Member Avatar for M.Waqas Aslam

hello ! i am very new in webdevelopment , i want to use ExtJs , please help me , i download the extjs-4.0.1 .now please tell me how to import it in my project , i mean is i copy this extjs-4.0.1 to my project or is there is another …

Member Avatar for stbuchok
0
124
Member Avatar for Kalle21

[CODE]Option Explicit On Option Strict On Public Class workschedule Public Sub Start() Dim choice As Integer = -1 While (choice <> 0) WriteMenuText() choice = Convert.ToInt32(Console.ReadLine) Select Case choice Case 0 Case 1 Week() Exit Select Case 2 Nights() End Select End While End Sub Public Sub WriteMenuText() Console.WriteLine("-------------------------------------------------------") Console.WriteLine(" …

Member Avatar for thines01
0
142
Member Avatar for jacob21

hello experts I have one problem that when i create a store procedure with two sqlquerysuch as(1,2 query) and after some days (2 days),i create 3rd query on that same produre name.then my 3rd query not work on aspx page.But when i make another procedure with same 3rd query it …

Member Avatar for mani-hellboy
0
167
Member Avatar for wallet123

My assignment is to create a program that accepts a list of exam scores (ranges from 0-100) and output the total number of grades and then the number of each in letter grade.. but my problem in the beginning of doing my program is: [CODE]public class Grades { /** * …

Member Avatar for wallet123
0
351
Member Avatar for kartik1997

Please help!!! What would be the algorithm form of the following program:- [code]import java.util.*; public class quizcontest { Scanner sc=new Scanner(System.in); String name; int ans1,ans2,ans3,ans4,ans5; //declaring variable// void acceptname() {System.out.println("****************************"); System.out.println("|||||-----Please Enter Your Name-----|||||"); name=sc.next(); System.out.println("****************************"); System.out.println("+++++Best Of Luck ! "+name+" +++++"); } void sports() { System.out.println("Here Starts Our Quiz …

Member Avatar for stultuske
0
143
Member Avatar for RazorRamon

Ok over the last several weeks i've been building a website for fun. Its basically a forum site, with topics and comments. I use queries in their basic form. Now that i'm trying to protect my site I'm getting the impression that i have to rewrite all of my code. …

Member Avatar for minitauros
0
282
Member Avatar for Skeldave

Hi, I am trying to define a 'null' LINQ Table as a global variable and then use a switch statement to deturmine what the Table should be. I am having problems defining the datatype and also assigning values to it. Hopefully the code below will explain better. [CODE] System.Data.Linq.Table table; …

Member Avatar for ddanbe
0
150
Member Avatar for nice_candy

Hello, I am creating an API in WCF (.NET 4, C# ). I am taking a .NET List as input from client. my only concern is that if my client is in a language other than .NET (like java), can i still accept List as an input and consume it …

Member Avatar for mani-hellboy
0
135
Member Avatar for refresher

Does anyone would help me how dto update my shopping cart quantity please. here my php code function updateCart() { $cartId = $_POST['hidCartId']; $productId = $_POST['hidProductId']; $itemQty = $_POST['txtQty']; $numItem = count($itemQty); $numDeleted = 0; $notice = ''; for ($i = 0; $i < $itemQty; $i++) { $newQty = (int)$itemQty[$i]; …

Member Avatar for minitauros
0
3K
Member Avatar for Mahesha999

Hi there I am writing ASP.NET app I want to access gif images stored in Images folder which is in turn stored in Project folder. See my [URL="http://img834.imageshack.us/img834/8765/capturenqm.png"]Solution Explorer[/URL]. In GetImage.ashx (see solution explorer), I am unable to get images using this: System.IO.FileStream _FileStream = new System.IO.FileStream([COLOR="Red"][B]"~/Images/" + imageFileName + …

Member Avatar for mani-hellboy
0
229
Member Avatar for raviaaaa

Hi All i am getting the below error pls help me to solve the issue datbase erre:ORA-20220: ORA-06502 PL/SQL: nemeric or value error: number precision too large in sp_watm_per_adj ORA-06512 at sp_watm_per_adj line 375 ORA-06512 at line 1 create or replace PROCEDURE sp_watm_per_adj ( in_per_adj_cd in per_adj.per_adj_cd%type, in_per_dt in per_adj.per_dt%type, …

0
109
Member Avatar for furqanishaq

hiya i need to create these if statements please can someone show me how to create them i have attached an image alongside this thank you so far i have this public class Logic2 { int Val1, Val2, Val3, Result1, Result2; // creating 1,2,3 integers public void Calculations (int Val1,int …

Member Avatar for rushikesh jadha
0
145
Member Avatar for tibormarias

Hello everyone! I am having a problem. I receive an error below. Parse error: syntax error, unexpected ')', expecting '(' in /home/fundis/public_html/ww.incs/basics.php on line 27 Here is my 'basics.php'. [CODE] <?php session_start(); function __autoload($name) { require $name . '.php'; } function dbInit(){ if(isset($GLOBALS['db']))return $GLOBALS['db']; global $DBVARS; $db=new PDO('mysql:host='.$DBVARS['hostname'] .';dbname='.$DBVARS['db_name'], $DBVARS['username'], …

Member Avatar for broj1
0
181
Member Avatar for geniusvishal

Hi guys, I am trying to insert image into the database ... I tried everything to do so ... But still it displaying the error like: Cannot implicitly convert type 'System.Drawing.Image' to 'System.Web.UI.WebControls.Image' The code is like this: [CODE] public partial class Image : System.Web.UI.Page { tblImage objImage = new …

Member Avatar for geniusvishal
0
175
Member Avatar for M.Waqas Aslam

hello ! my boss assign me a task to connect mssql server 2008 and show records in table using JS and JSON , i m very new in asp.net , can any one me help me where to start my work and how i can complete this , can any …

Member Avatar for mani-hellboy
0
181

The End.