199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kirtee2209

Hi. I am doing a C# windows form application and I am using Ms Access for the database. I have a sql query which retrieves data from 2 tables and I am displaying it in a crystal report. The problem I am having is for example i have 4 records …

Member Avatar for BitBlt
0
173
Member Avatar for dyingatmidnight

I know everyone and his cat has one of these up but I'm just so stuck... I mean in theory I think I understand normalization and then I get down to it and I just... don't. I've been googling and looking through examples and I'm ready to tear my hair …

Member Avatar for BitBlt
0
158
Member Avatar for klemme

Hey, I have a question on how to make an inline style to this..: [CODE] $sqlCommand = "SELECT * FROM pages WHERE subjectid='" . $subjectid . "' AND showing='1' ORDER BY pos ASC"; //*** $query = mysqli_query($myConnection, $sqlCommand) or die (mysqli_error()); $PageMenuDisplay = ''; while ($row = mysqli_fetch_array($query)) { $pid …

Member Avatar for klemme
0
158
Member Avatar for veledrom

Hi, I just started learning CodeIgniter. There is a library [ICODE]$this->load->library('form_validation');[/ICODE] for form validation with rules. Does that mean we don't have to use Javascript to validate forms anymore? Because, if we have to use those validators in CI (sake of the best practise), what is the point of using …

Member Avatar for veledrom
0
937
Member Avatar for solarissf

Hello All, I've been scouring the internet for code on sending email through lotus notes and this is what I found: [CODE] static void SendNotesErrorMail( string err, string file) { //Pass in file name string filename = file; //Pass in error message from TryCatch string errMessage = err; //Create new …

0
87
Member Avatar for stephenk291

Unfortunately Array's aren't my strong point and this final lab is giving me a bit of trouble. Basically I need to make it so the code will return true if the given array is sorted in ascending order (lowest to highest). or it will return false. Then i need to …

Member Avatar for javaAddict
0
117
Member Avatar for vivosmith

Hello I have been using c for dummies along with bloodshed software for a day or so and I tried putting this snippet of code in from the book and I got a syntax error:[CODE]#include <stdio.h> int main() { char name[20]; char color[20]; printf(“What is your name?”); scanf(“%s”,name); printf(“What is …

Member Avatar for Narue
0
320
Member Avatar for MeandJava

Hello everybody, I have a xml socket server which get data from xml sockets out of actionscript3. Now I'm having a lot of if statements. Can I use another way to make my code more clean? Ivibot is a piece of hardware my school provided. LedBlink is a runnable class …

Member Avatar for JamesCherrill
0
508
Member Avatar for Kieron Thomas

Hi all, I am kinda new to web design and also PHP. I am currently working on a Mobile Tyre Fitting website for my dad and need a little help on a search form. The search form has 3 dropdown menu's which are WIDTH , PROFILE and SIZE. I have …

Member Avatar for TySkby
0
149
Member Avatar for jimmymack

[CODE]// student.cpp - Script 9.7 #include <iostream> #include <string> // Declare the Person class. class Person { public: Person(std::string theName); void introduce(); protected: std::string name; }; // Declare the Teacher class. // Teacher inherits Person. class Teacher: public Person { public: Teacher(std::string theClass); void teach(); void introduce(); protected: std::string clazz; …

Member Avatar for jimmymack
0
159
Member Avatar for ms.rhea

hi.. I have a form that needs 10 inputs from a user.. Now my problem is, once the user have input the 10 needed information, he/she cannot input another information and there will be a message stating that he/she cannot input the information because past information have inputed. What do …

Member Avatar for ms.rhea
0
127
Member Avatar for Euphan

I need to keep my coding skills up to snuff, but I'm having kind of a block. I don't know what to code. Anyone have any idea of some small projects that I can work on? Perhaps ones that would look good if i sent them to companies? Don't ask …

Member Avatar for Moschops
0
225
Member Avatar for muhito

Hello guys, I need help with this. When I run it, I get a blank page. Please Me out. [CODE] <?php //The Main Program $call_put_flag="c"; $S=50; $X=52; $T=0.5; $r=0.05; $v=0.15; BlackScholes ($call_put_flag, $S, $X, $T, $r, $v); //echo $call_put_flag, $S, $X, $T, $r, $v; //Commulative function function CND ($x) { …

Member Avatar for muhito
0
85
Member Avatar for umeshMCA

hi any body help me. i am new user in web development i would like to know how to send mail using php.(localhost) while using wamp server. thanks and regards umesh daiya

Member Avatar for mafhh14
0
283
Member Avatar for xeon123

Hi, I'm iterating an Arraylist inside a synchronized method, and I've set the Arraylist synchronized inside the method, but I still got the error ConcurrentModificationException. Why this is happening? [code] private synchronized TaskInProgress findTaskFromList( Collection<TaskInProgress> tips, TaskTrackerStatus ttStatus, int numUniqueHosts, boolean removeFailedTip) { synchronized(tips) { Iterator<TaskInProgress> iter = tips.iterator(); while …

Member Avatar for masijade
0
282
Member Avatar for Sorcher

Hello. i was wondering if this can be done,personally my knowledge of Java / ajax is bad.. How can i make the submit button unable to be clicked if there is no data in the input (usermsg)? [CODE]<form name="message" action=""> <input name="usermsg" type="text" id="usermsg" size="100" /> <input name="submitmsg" type="submit" id="submitmsg" …

Member Avatar for twiss
0
164
Member Avatar for akaban

i need a very simple coding of vb6 to control 8 leds connected with parallel port of my on-board parallel port. i need a little description with the coding to understand

Member Avatar for debasisdas
0
162
Member Avatar for Shansal

Hi, I use [B]pulp[/B] module to solve my some optimization problems. With integer numbers, it works like a charm. I wonder if it is possible for pulp to work with real numbers. Here is a sample optimization problem I build for my project. [CODE] prob = pulp.LpProblem("example", pulp.LpMinimize) # Variable …

Member Avatar for Gribouillis
0
290
Member Avatar for Suzie999

Hi Can anyone help me with path variables. My problem is a referenced a dll file as part of my project, and in the reference properties it has "C:\users\susan\desktop\project1\xfind.dll" as its path I tried removing it, and adding its reference to the windows system dir but it just goes back …

Member Avatar for Suzie999
0
335
Member Avatar for aaronmk2

I commented by the last line. I am trying to print out the string in reverse. [CODE] #include <iostream> using namespace std; void add(string n); int main() { string B ="ABCDEF"; add(B); } void add(string n) { if(n.length() <= 1) { cout<<n[0]<<endl; return; } else { cout<<n[n.length()-1]; add(n[n.length()-1]); //this lines …

Member Avatar for Euphan
0
81
Member Avatar for jinglylime

Hi guys, Im trying to write a program that find the biggest rectangle by its area. I've tried and it doesnt seem to compile. Can you help me please, thanks. [CODE] public class Rectangle { private int width; private int height; public Rectangle(int width, int height) { this.width = width; …

Member Avatar for jinglylime
0
112
Member Avatar for munitjsr2

When reading books I was thinking that data hiding was to hide the data from the user so somebody who is using a C++ executable is an user and data hiding is implemented to hide the hide the data from the user( somebody who is using the exe file produced …

Member Avatar for Clinton Portis
0
162
Member Avatar for chad33

[CODE]import java.io.FileReader; import java.util.Scanner; public class diverScores { public static void main(String[] args) { Scanner kb = new Scanner(System.in); double [] score = new double [8]; double totalScore = 0.00; Scanner fileScanner=null; try{ fileScanner= new Scanner(new FileReader("divingdata.txt")); }catch(Exception e) { System.out.println("Input file not found"); System.exit(1); } while(fileScanner.hasNext()) { String fileLine …

Member Avatar for JamesCherrill
0
249
Member Avatar for mwmnj

I am trying to figure out how to make the return type of a procedure a reference parameter. Can anyone help me out? I am a complete noob so if you could try and explain things as best you can I would really appreciate it and would help. My code …

Member Avatar for mathematician
0
298
Member Avatar for Ritesh_4

Hello Am new to PHP coding, and would like to get some very good tutorials on PHP forms and processing involved, with mysql may be included as well as part of the forms data to be used, anyone can suggest some nice sites or ebooks or tutorials? Googled some, but …

Member Avatar for astra2000
0
141
Member Avatar for johng123

have problems understanding the logic of using variables inside this code. why ist it possible to use %s for different variables and how is it possible to use them as %1$s and %2$s...without even defining them somewhere...i just dont get it, the complete code can be viewed in the thread: …

Member Avatar for vibhaJ
0
189
Member Avatar for bastardi

I've been using this technique in several of my programs now for quite a while and haven't had any kind of trouble with it until now. Granted now things have gotten a bit trickier but I'm still doing the same basic concept of search through a string looking for a …

Member Avatar for bastardi
0
301
Member Avatar for Shansal

Hi, I have a list of lists such as : [[foo,1],[baz,1],[foo,0],[bar,3],[foo,1],[bar,2],[baz,2]]. I want to get all the different items in the inner lists and find the total number of them. I mean the result should be like : [[foo,2],[bar,5],[baz,3]]. How can I do this task? Thanks in advance.

Member Avatar for TrustyTony
0
175
Member Avatar for AngelicOne

I know that I can set it up in the property window but I need to do it in code. How?

Member Avatar for brokenarrow_vip
0
118
Member Avatar for arshi9464

i am working on a project in which, i have a text area and when the user enters some details in that text area, the data should be saved in a text file and the path should be saved in the database, when another user wants to access that text …

Member Avatar for javaAddict
0
139
Member Avatar for Jaymz

So I have a task to write the algorithm for eratosthenes' sieve. The code works fine apart from the fact that it just won't print the newline when i need it. It just ignores the syscall for printing. I tried googling but couldn't find anything similar to my problem. The …

Member Avatar for Jaymz
0
2K
Member Avatar for sirlink99

I have never heard of it. I am researching on how to implement the internet to my program and I come across it. it seems to be easier then what I was trying to do for the past while. Could someone please link me to a website that can provide …

Member Avatar for ceyesuma
0
217
Member Avatar for saisakthi

Hello friends, Forgive me If I am posting this on a wrong Section. I am developing an application in Android. In that I need to compare a Audio file with the Audio input(Singing Voice input) and tell that whether that is same song or not. So I dont know which …

Member Avatar for quuba
0
245
Member Avatar for ZaphodQB

Is it possable to un-include a file to reduce the footprint of a script? That is, after it is included, can it be un-included?

Member Avatar for robbz
0
392
Member Avatar for mshauny

Hi I'm not an asp .net developer although I have done web development with php and mysql, I'm more of a software developer for desktop and mobile devices. So this is my first big project with ASP .NET. I have a question with the ASPNETDB database, understand that the database …

Member Avatar for crishlay
0
183
Member Avatar for moonL!ght

hi i want to show my table in afrid view reading from database but i couldint i tried many times can any one help me this is my code: [CODE] <%@ Page Language="JScript" Debug="true" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.OleDb" %> <%@ Import Namespace="System.Data.sqlClient" …

Member Avatar for crishlay
0
161
Member Avatar for missc

what is the best regex to validate email. i would like to validate it to be a valid email not ex : [email]abcd@efgh.ijk[/email]

Member Avatar for missc
0
125
Member Avatar for kas04

The Predator‐Prey game is a simple board game where bugs (predators) and ants (preys) move freely across the board. The following is a description of the game rules: -Predators and preys move on a 2‐dimensional closed grid -Predators and preys are not allowed to move outside the grid -The game …

0
120
Member Avatar for -==Zero==-

In This Page How Can I Make The Page Title Get Its Name From (( Title )) In Database Ads [CODE]("SELECT * FROM ads where id='$id'");[/CODE] [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <title>:: [COLOR="Red"]ZERO XXX[/COLOR] ::</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link href="http://www.e-alriyadh.com/favicon.ico" …

Member Avatar for Stefano Mtangoo
0
766
Member Avatar for CobRalf

Hello everybody ;) I have written a kind of css (pre)-processor in PHP, and it uses the GET-method to acces to the file: HTML: [CODE]... <link rel="stylesheet" href="css.php?file=style.css" /> ...[/CODE] PHP: [CODE] ...$pss=file_get_contents("css/".$_GET["file"]); ...[/CODE] My problem is now, if a user types something like "css.php?file=../index.php", he gets the source codes …

Member Avatar for CobRalf
0
142
Member Avatar for weblover

Hello everyone i have a text file that contains something like this. [CODE] 1 AC AT RR cOO 2 EE cFF HGB cEVY 3 WDU RWS cTY NBE [/CODE] but it contains a lot of rows and that's an example of the data what i want to do is to …

Member Avatar for weblover
0
139
Member Avatar for rpv_sen

Hi Friend I need a alert msg display in php, without using javascript. Pls help me to solve it [CODE]$pqty = $bdatam["sum(curr_qty)"]; $pamt = $bdatam["sum(curr_amount)"]; $btotal= $bgtqty+$pqty;[/CODE] i want to display $btotal in alert msg display. Pls help me

Member Avatar for rpv_sen
0
238
Member Avatar for cliffcc

I have the php which can import the csv files into mysql. But how to avoid the wrong data replace the data database. What is the code in php for checking before insert into the database? Thanks!

Member Avatar for vibhaJ
0
129
Member Avatar for uselessninja

hi everyone i had a problem: my boss wants a program that can "determined a file if it is the beggining data or not(in the database)" and "calculate the time interval between the first data and the next data..and having an 10 minute interval before it proceeds to a next …

Member Avatar for uselessninja
0
92
Member Avatar for custurd122000

The compiler only displays a portion of the output and then it exits this is what it compiles: [code] =============================================== Operations on Empty lists: =============================================== Size = -886911509 Length = 0 empty list: Sum of two empty lists: Program received signal: “EXC_BAD_ACCESS”. sharedlibrary apply-load-rules all stringlist(2449) malloc: *** error for …

Member Avatar for ravenous
0
475
Member Avatar for __Art

Hello everybody!! I'm trying to print a *.pdf file from Java code, and the printer out gives the right document, but smaller than the original pdf (smaller text, images, margins, everything), the print result seems shrinked from the original... Here is the code I'm using: [CODE] File f = new …

Member Avatar for sbhavan
0
416
Member Avatar for hjames

[QUOTE=~s.o.s~;610914]> how to make div id's as unique (since it need to identify a unique div for each row) One way would be to create a separate counter (e.g. i) which would be incremented for each "for each" block and create an ID dynamically by appending the common name with …

Member Avatar for rpv_sen
0
104
Member Avatar for dspjm

Recently, I am looking up some information about virtualization. I found it's so hot, while i don't think it worth it. Virtualization is done! Let's say that virtualization is feasible now. We have to consider these things. First, it just transfer the hardware cost to the service provider, while we …

Member Avatar for ComputerNetwork
0
168
Member Avatar for tucker001

I need to make an interactive program in Python that will start by asking the user to enter a list of numbers and then it will display the following menu. 1-Find The Maximum 2-Find The Minimum 3-Find The Average 4-Exit Please Enter Your selection Your program will accept a number …

Member Avatar for predator78
0
316
Member Avatar for jero-skyer

i need to make a program windows application to insert an image and when the mouse is over the image a new form or frame get visible with a new image can some one explain stet to step of how to do it plz

Member Avatar for jack4321
0
78

The End.