199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Obelisk4

Hey all ! I want to create a new data-type called 'Phone' so that I can use it when create a new Attribute, with its form is : xxx-xxx-xxxx For example : 123-543-8978 And when users want to UPDATE my table, they must enter a string with the same form …

Member Avatar for Obelisk4
0
194
Member Avatar for Iam3R

Hi, [CODE] #include<stdio.h> int main( void ) { float a = 0.2; if( a > 0.2 ) printf( "\n a is greater than 0.2" ); else if( a < 0.2 ) printf( "\n a is less than 0.2" ); else printf( "\n a is equal to 0.2" ); return 0; …

Member Avatar for Banfa
0
103
Member Avatar for painejake

This is my first time with C# (So far I've been using it for about a week) and I have a few small issues and would like some pointers on tiding up my code. I have decided to make this section of my code multithreaded as before it was cause …

Member Avatar for powerbox
0
116
Member Avatar for prosmart1

Hi Everybody, I'm was given a project that manages sales activity within a company.I'm free to choose any language i would like. It is not a very complicated application. What are the advantges of programming the app in C# .NET vs.VB6 ? What would you choose? Thanks Dan

Member Avatar for QuickView
0
93
Member Avatar for ranuvishwakarma

i want to fill one datagrid on click of another datagrid cell values on same page.......plz answer. i used on datagrid having technology name on click of any technology name i want to fill another datagrid from database on same page.i used viewstate but didn't work......

Member Avatar for rohand
0
78
Member Avatar for jamshed ahmed

[CODE] here is java script code function ShowMsg() { if(document.getElementById("txtVerifierName").value=="") { alert("PLEASE ENTER VERIFIER NAME.."); return false; } <asp:Button ID="btnAdd" runat="server" Text="ADD" OnClientClick="ShowMsg()" onclick="btnAdd_Click" /> [/CODE] NOW THE PROBLEM IS THAT WHEN I CLICK THE BUTTON, IT SHOWS THE MESSAGE THAT PLEASE ENTER VERIFIER NAME BUT EXECUTION DOESN'T STOP THERE, …

Member Avatar for jamshed ahmed
0
223
Member Avatar for mmpjb

Hi all, Currently trying to write a piece of code for a project at university, with very little C Compiler experience I am struggling... Basically- we have 8 LED's, and 8 switches. We want 4 of the 8 LED's to light up at random when the program is run, that …

Member Avatar for jwenting
0
301
Member Avatar for thompsonSensibl

Hi there I'm trying to check if an array area exists, e.g. [CODE]if (array[99][99].exists){ ....}[/CODE] THis doesn't work... e.g. It gives me an arrayIndexOutOfBounds error. What I need for it to do is just ignore and carry on the code. If it finds an arrayIndexOutOfBounds, fine, carry on, just ignore. …

Member Avatar for masijade
0
90
Member Avatar for balam

Safari can’t open the page because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again. When I try to post the form with Firefox i just get a black page. This problems started when i changed …

Member Avatar for balam
0
218
Member Avatar for jackrobert

hi, I have one image (sampleImage.png).. Already i connected my pc to printer.... Manually i open the image and select print option , then i got image from printer.... Now i want print image using javascript.... [code]<%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ …

Member Avatar for jackrobert
0
281
Member Avatar for deedee2

Hi there, I was wondering if anyone could help me find a procedure in python that takes in an unsorted list, and returns the difference between the largest and smallest values in the list, without using the built in max/min/sort procedures. Thank you!

Member Avatar for deedee2
0
111
Member Avatar for vibhaJ

Hi all, i want php code which will add website's logo in user's uploaded doc file. So whenever that doc file is downloaded from website logo appears at top. How can i achieve this in windows/Linux both. any help will be appreciated.

Member Avatar for colweb
0
187
Member Avatar for magicg

Hi I want c language code to open my web browser (IE or Firefox) and close it after 2 min. can any one help me?? please i need it.

Member Avatar for Software guy
0
146
Member Avatar for Phasa

It compiles and runs, but after "Here is the starting empty cubes vector" prints, I get this message: [B] Debug Assertion Failed![/B] [B] Expression: vector subscript out of range[/B] Can someone help me, please? [code=CPP] #include "stdafx.h" #include <iostream> #include <vector> using namespace std; // Cubed integers class cubes { …

Member Avatar for caut_baia
0
139
Member Avatar for Lee21

hi guyz,how will I find an item that's in the combobox that everytime I pressed the keyboard it will be automatically displayed in the combobox?for example I have Items like cats,pigs,dogs in the textbox then when I press d or do the Items dogs will be displayed..please help me here!

Member Avatar for Lee21
0
73
Member Avatar for mansoorhacker

Hello To all Great developers. i want to use urdu in my textboxes and grid and i want to insert urdu in to database via these controls, plz let me explain step by step how to use urdu in c#.net. in vb6.0 we used urdutexbox.ocx control but .net i think …

Member Avatar for mansoorhacker
0
94
Member Avatar for Lefty_AU

Hi Guys, Ive been trying to write an app to receive exports of songnames from a broadcast automation system it receives the export via TCP/IP for the most part it works however I cannot get it to rotate songnames around in an array [CODE] var export:array[1..175] of char; songs:array[1..8] of …

Member Avatar for FlamingClaw
0
101
Member Avatar for ibrahim2010

hi all,in one of my interview the question paper was like this. we need a banking system application which is having account types like saving account,current account and these account type having deposit,withdraw which are different for the account type,but the view account balance is same for the account type.you …

Member Avatar for AndreRet
0
118
Member Avatar for yanz

hi everyone, Recently i am doing a web application on receiving sms by PC. anyone has got any codes for receving sms using vb.net? or does anyone know where i can get relevant info for it? Thank you very much!!

Member Avatar for mukuljain
0
111
Member Avatar for silviud

hi, i have the following table: +------------------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+-------------+------+-----+---------+----------------+ | IpAddressesID | int(11) | NO | PRI | NULL | auto_increment | | PhysicalServerID | int(11) | NO | | NULL | | | VmID | int(11) | …

Member Avatar for silviud
0
120
Member Avatar for top123

hi...i worked on few projects on visual basic 5.0 on school which has windows xp......then i created exe file for it and tried to run it on my computer which has windows vista....but i am getting error message which says MSVBVM50.dll was not found...can somebody help me plz...

Member Avatar for kinwang2009
0
119
Member Avatar for jelinky

hey, i am new here but i have taken a few c++ classes. im having trouble with a very easy program and i just cant figure out why its doing this. ive looked around the forum already and didnt find anything helpful so i thought id ask. [CODE] include <iostream> …

Member Avatar for bugista
0
141
Member Avatar for muralibobby2015

hello... i am doing registration form .in this without submit form can i get alert box....email already exists using javascript. can any body tell me. thnks.

Member Avatar for rajarajan2017
0
820
Member Avatar for itisnot_me

Warning: array_sum() [function.array-sum]: The argument should be an array in pdf.php on line 112 i am getting this error and i dont see what the problem is. it calls values and adds them [CODE]$result = mysql_query("SELECT * FROM sold_produce WHERE invoice_id='$invoice_id' "); while($myrow = mysql_fetch_assoc($result)) { $total2[] = $myrow['total']; } …

Member Avatar for rajarajan2017
0
128
Member Avatar for bninja

Hi How can i check if some value exists in the data reader How can i do that ? any ideas please .

Member Avatar for Oxiegen
0
223
Member Avatar for niths

hi all, i am having a user table in which userid and username are present. i had a delete button also. so wen i click on the delete button that person details only should get delete. so all i had done. I can delete the information using 'userid'. how can …

Member Avatar for rajarajan2017
0
89
Member Avatar for Duki

Hey guys, I'm trying to run this code [code=c++] // Copyright (C) 2001-2003 // William E. Kempf // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/thread/thread.hpp> #include <iostream> void helloworld() { std::cout << "Hello World!" << std::endl; } …

Member Avatar for Duki
0
145
Member Avatar for black_berry

Hello, I have got a Java queue and i want to print out the smallest number in the queue. Right now my program prints out the first number in the queue. Here is the code: [CODE] import java.util.ArrayList; import java.util.Iterator; public class Assign1 { private final int MAX_QUEUE_SIZE = 5; …

Member Avatar for ~s.o.s~
0
112
Member Avatar for sharathk60

Please help to come to from this problem: i had written a sample code to display Hello and imported as jar files then created new dynamic web project and using a hello.jsp page i am calling the applet class but its not display the applect please give me the solutions: …

Member Avatar for sharathk60
0
337
Member Avatar for Jsplinter

I am trying to write an if statement to test whether two conditions are both true. However, my code does not work when I combine the both tests into one if statement like: [CODE] if((last_smallest < samples[i]) && (samples[i] < current_smallest)) current_smallest = samples[i]; [/CODE] I know it is possible …

Member Avatar for Jsplinter
0
114
Member Avatar for jemz

hello need help for this how can i trap if my mch_rs!qtyh is zero example H1010 the quantity on hand is 10 then if i input quantity 10 then click the add button so now my H1010 is zero.then if i input again the H1010 it should prompt that the …

Member Avatar for jemz
0
333
Member Avatar for Bemani_lover

I need some help with classes and methods. Here is what i need to do: 1. Create a concrete class, Robin, which inherits from Bird. Robin has a single instance variable, name, of type String with private access. Robin implements the remaining required methods. Here is the code for each …

Member Avatar for Bemani_lover
0
112
Member Avatar for kibong

I am trying to compare an array user_correct[] if it has a 0 it hasnt been used if it has a 1 it has. However it is not registering my if statements. [CODE]import java.util.Random; import java.io.*; public class Lottery { public static void main (String[] args) throws IOException { BufferedReader …

Member Avatar for BestJewSinceJC
0
135
Member Avatar for arsshaw

> Specification: Display a menu > Find Errors in this program #include "stdafx.h" #include <iostream> //change io to iostream #include <string> using namespace std; // added I get the `Error 1 error C2065: 'choice' : undeclared identifier line 17 which is 'choice'` What am i missing? int main ()// added …

Member Avatar for arsshaw
0
414
Member Avatar for Gibson_Junk

Hi i just did some codoing and heres the error i get when i try to use my register forum [code] Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/rpimager/public_html/RPImager/register.php on line 32 Account created. [/code] Here's the docs that i use it for. why i …

Member Avatar for vbeazer
0
383
Member Avatar for lashbandi

I am suppose to write a method that checks whether a string is a valid password. The password rules are: 1.) A password must have atleast 8 characters 2.) A password consists of only letters and digits 3.) A password must containt 2 digits I need to write a test …

Member Avatar for BestJewSinceJC
0
949
Member Avatar for QWaz

Hi, I am javascript newbie. I have a slideshow on my site and it works fine if I type in the images for it to display, however I want to get the image files path from my database, so it shows all the photos. Here is the code I am …

Member Avatar for uberznoob
0
117
Member Avatar for bharatk

Hello I have 4 .py files along with __init__.py in a folder. I want to create a file which would act as a menu and load classes from the files in that folder. I have that file outside the folder. The contents of that file: [CODE]from files import * print …

Member Avatar for bharatk
0
224
Member Avatar for student.09

I had thought I was finally done with this program, it finally ran but then realized that it wasn't doing the right thing mean LOGIC error :( Can someone plz help me correct this error I have been messing around with it but keep running across errors Here is the …

Member Avatar for BestJewSinceJC
0
104
Member Avatar for neosonic

Hi, I would like to know how to free a memory after I am using a imagelist or picturebox/ image file. I have a program who loads picturebox into a imagelist, only 2 pictures at the time. My problem is, after running my program several times (by using "start" command …

Member Avatar for neosonic
0
375
Member Avatar for venet

Hey team, I want to know how I should go about re-ordering records sent from a db table - but I want to order the data in a custom manner, i.e. allowing a user to change the position of the records. I have a table (for example sakes lets call …

Member Avatar for sallecpt
0
130
Member Avatar for bgx90

Can anyone tell me why my recursive find function for a binary search tree isn't working? It keeps returning false when searching for items that are in the tree. Thanks. [CODE=cpp] template<class T> bool BST<T>::find(const T& sitem) const{ //Precondition: // A binary search tree exists // //Postcondition: // If item …

Member Avatar for bgx90
0
96
Member Avatar for rouse

I need to iterate through a JSON object in JavaScript or jQuery that is returned from a PHP file with the a json_encode function call: echo json_encode ($varDump); The beginning of the JSON objects looks like the following: ["date","Rescription",{"date":"1715-05-03","description":"Edmund Halley observes total eclipse phenomenon \"Baily's Beads\""},{"date":"1765-05-03","description":"1st US Medical school opened"},{"date":"1797-05-03","description":"Jamaica …

Member Avatar for rouse
0
358
Member Avatar for pythonNerd159

im currently trying to create a button widget using Tkiner and would like to know how to get a number from that button when i click on it. I have tried lots of methods and ideas from different people and i still haven't got the right bit of code. any …

Member Avatar for pythonNerd159
0
171
Member Avatar for mattloto

I need to pass a 2D array of int's into a function, which is normally fine, but the issue is that I don't know the last depth of the array. I know how to do it if I knew the length of the last dimension, but it is user defined. …

Member Avatar for mattloto
0
130
Member Avatar for LucarioWill

About two weeks ago, I was given a simple project in Java II; code a program that displays an image, plays a sound, and has loop/play/stop buttons for the sound and zoom in/zoom out buttons for the image. I decided to go ahead in the book with this project to …

Member Avatar for BestJewSinceJC
0
164
Member Avatar for John Linux

I am reading in data from a textfile, specified by command line args eg.. <app> inputfile outputfile I have not yet done any file output, yet have developed some code. What I'm aiming for is printing out the shortest route from one node to another in a graph. *The graph …

Member Avatar for John Linux
0
212
Member Avatar for progr

When making a GUI, does it matter whether you use 'content' or 'this'? For Example: [CODE]content.add(b1);[/CODE] OR [CODE]this.add(b1);[/CODE]

Member Avatar for progr
0
86
Member Avatar for Flippers321

I have been working with c# for about a year and with Visual Studio for a couple months. I was debugging a web browser that I made and I found out that when I go to a web site other than google, the url on the search bar remains the …

Member Avatar for Flippers321
0
124
Member Avatar for Maulth

Ok, so I'm done with my "Code Break" and I'm back in "action". A couple months ago I completely dropped programming to pay attention to other things in my life. I was only on the forums a brief period of time anyway, so most people probably don't remember me at …

Member Avatar for paulojrudi
0
389

The End.