199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fredy91

hay all, I currently develop a website using php but I very newbie in php programming I have login issues here, I create a login sytem I success to make that, in my web after login page it will go to admin page but when I click browser's back button …

Member Avatar for fredy91
0
162
Member Avatar for pwolf

Im stuck with the following: Define a function isPrime(number) that takes in a number as argument and return True if the number is a prime number. Hint: A number, x is a prime number if it is only divisible by 1 and x itself. By definition, 1 is not a …

Member Avatar for pwolf
0
466
Member Avatar for jovillanuev

Guys, Need your help. i need to obtain the nearest date from 3 tables. attached my scripst. th problem with this scripts it creates double entry in receipt date with the same transaction specially for this ESN "268435459407885398". [CODE] SELECT p.ESN, p.ReturnDate, s.Receiptdate, e.Shipdate FROM #Product p with (nolock) CROSS …

Member Avatar for jovillanuev
0
158
Member Avatar for hbluthi

Hey again. Trying to add elements to a DList, this happens when I try to add the second car (500, Porsche). The whole insert algorithm sucks and am strongly considering trying to figure out a better one. This is what shows up in the console: Enter name of file with …

Member Avatar for hbluthi
0
208
Member Avatar for nilibht

Hi. I am developing a website in visual studio 2010 ultimate edition. I selected dot net framework 3.5 when I started this new website. Now I want to change this existing website into framework 4. I can not find "project" menu or "project designer" or "applications" tab in properties. Please …

Member Avatar for cocoll
0
137
Member Avatar for stamatt45

I'm writing a program to convert Decimal numbers to binary, hexadecimal, and BCD as a refresher before i start getting code assignments in school. I'm almost done, but i have a seg_fault (compiler says decToHex function) in 1 function and i am hoping for some feedback on the others. I'll …

Member Avatar for raptr_dflo
0
3K
Member Avatar for eduard77

I've just installed the newest version of wamp server and I cannot access phpmyadmin. I keep on receiving this message. You don't have permission to access /phpmyadmin/ on this server. I just don't know what to do with it

Member Avatar for eduard77
0
81
Member Avatar for moneypro

Good Morning, I need some example with SQL plus code on various SET operation. But the query have to be with SELECT keyword. For example I am giving a code: [CODE]Create table student (s_id number(4), sname varchar2(10),constraint pk_sid primary key (s_id),blood_gp varchar2(4)); create table location(l_id number(4),location varchar2(20),constraint pk_lid primary key(l_id)); …

Member Avatar for ChrisPadgham
0
214
Member Avatar for scheppy

pButtonarray [x] [row].putClientProperty ("x", new Integer (x)); I'm using a version of java that doesn't have method overloading for putClentProperty so i have to type new Integer as seen above, and this all works perfectly now I'm trying to assign a boolean to the array like so pButtonarray [x] [row].putClientProperty …

Member Avatar for scheppy
0
278
Member Avatar for RLS0812

This is a working beta of a virtual slot machine I am working on. Eventually I'm going to add a GUI. [CODE]# Python 3 # Slot Machine # By : RLS0812 # Note: The Odds are a bit off of what they actually are. import random def Reels(): # [0]Winning …

Member Avatar for woooee
0
3K
Member Avatar for ZahidAliGul

Dear all, I want to create a page on which I want to display the Number of kits issued, total women visited monthly wise, How much cases are registered total, how much are close due to delivery/migration/miscarriage/abortion/Fake Data. Can any one help me???

Member Avatar for ChrisPadgham
0
139
Member Avatar for clerisy
Member Avatar for dmanw100
0
121
Member Avatar for bigredaltoid

Hi guys - I need to write a program that reads in a user-input integer and tells if the number is prime or not. I've written up this code so far: [CODE]class primenumber { public static void main(String[] args){ int num = 10; int i; for (i=2; i < num …

Member Avatar for bigredaltoid
0
162
Member Avatar for Mits14

i have this code in my btnsave..it can detect conflicts but after that a dialog box saying: An unhandled exception of type 'System.NullReferenceException' occurred in AppointmentSchedulingClient.exe Additional information: Object reference not set to an instance of an object. and it points to the green one below. [CODE] If Val(cbostart.Text) > …

Member Avatar for Begginnerdev
0
785
Member Avatar for karanc

So Im trying to make a Coinstar Simulation and pretty much what it does is it adds up all the money and gives me a total. Im a computer science student learning java for the first time so I'm a bit confused as to what code i should put next …

Member Avatar for Philippe.Lahaie
0
301
Member Avatar for riahc3

(This has to be a Java question as it simply works in a txt with a HTML extension....) I have this code: [code] <html><head><title></title></head><body> <form id='formulario' action='index.html' method='post'> <label>Ancho </label><input type='text' name='ancho' id='ancho'><br > <label>Alto </label><input type='text' name='alto' id='alto'><br > <label>Izquierda </label><input type='text' name='izquierda' id='izquierda'><br > <label>Horizontales </label><input type='text' name='horizontal' …

Member Avatar for riahc3
0
82
Member Avatar for kindofsudden

This is my very first trigger and I'm not sure I have it set up correctly. I have a table called PayTypes. Here is my trigger syntax: [CODE] ALTER trigger payTypes_trigger on PayTypes AFTER INSERT, UPDATE, DELETE s PRINT 'AFTER TRIGGER EXECUTED SUCESSFULLY' [/CODE] I run this with a breakpoint …

Member Avatar for adam_k
0
217
Member Avatar for jetlife76

Trying to figure out how to use the gregorianToJd function in php to determine the julian date when a user inputs a specific date in time. i have my code to where it will do this without using the function, but now i need to show it using the function.

Member Avatar for diafol
0
89
Member Avatar for dashawk

guys, can anyone help me on this problem? i have two tables then what I want is that, when an identical item is found in table2, it will not be displayed. Example: [CODE] Table1 Table2 item1 other1 item2 other2 item3 item2 item4 item3 [/CODE] Condition: if we use this query: …

Member Avatar for Reverend Jim
0
264
Member Avatar for moone009

I built an app to create a night export of data. I am new to programming (basically I have found vb.net to be more powerful than SSIS) and I was looking for tips in improving my basic program. [CODE] 'Declared columns from SQL Script Dim Servicenumber As Integer Dim pilotarea …

Member Avatar for moone009
0
148
Member Avatar for Ziggy713

Hi Everyone, I am currently Working on a School Project which has the form of a stock update System. I am using an access 2007 DB and building my code in Visual Studio 2010. I am trying to get an Update Query to work and I am completely unsure on …

Member Avatar for Ziggy713
0
313
Member Avatar for ambageo

Hi! I've got an exercise regarding 8085 interrupts. I have a 8085 microprocessor whose memory addresses from 0024h to 003Fh are the following 24 C3 25 00 26 FF 27 00 28 C3 29 00 2A F5 2B 00 2C C3 2D 80 2E F5 2F 00 30 C3 31 …

Member Avatar for gusano79
0
143
Member Avatar for Frederick2

How can I cause the Paint event to fire from a Form_Click() event? This is what I'm trying to do... [CODE] Public Class StrTests01 Private Sub StrTests01_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click Dim ps As Graphics = Me.CreateGraphics() 'RaiseEvent StrTests01_Paint(sender, ps) End Sub Private Sub StrTests01_Paint(ByVal …

Member Avatar for Frederick2
0
591
Member Avatar for hanan m

hi plz in need a vb 6 program for my project about median and gaussian filter in image processing thank you

Member Avatar for hanan m
0
102
Member Avatar for surferxo3

I have the following input and my program is not running: 1 3 2 1 3 7 8 [CODE] #include<iostream> #include <cstdlib> using namespace std; int main() { int arr[7], min, i=0, j=0; for(int i=0; i<7; i++) { cout<<"Enter value at arr["<<i<<"]: "; cin>>arr[i]; } min = arr[j]; for(; i<7; …

Member Avatar for Lerner
0
234
Member Avatar for venky019

I got a problem regarding searching for a string in a file.txt. Program takes input from user and searches for the string and outputs the first string that finds. Ex: user enters NIW and program should output the string DANIWEB(DA'NIW'EB) I can get the input from user and I dont …

Member Avatar for Lerner
0
225
Member Avatar for Nikhar

Firstly, I am not sure if this is the best place to ask the query. If no, please move it to the correct subforum. Now, coming to my doubt, an assembler converts assembly language into opcodes, right? Now, to perform the conversion, assembler needs a certain algorithm. Whats the algorithm …

Member Avatar for deceptikon
0
183
Member Avatar for swissknife007

I am a beginner to computer graphics and I have to add animations to the image of my national flag which look like this. I have designed the flag alright.But I don't know what kinds of animations are possible and how. Could someone please guide me how to add animations …

Member Avatar for DeanMSands3
0
844
Member Avatar for free_dom

Hello! Chrome browser starts a new process for each tab. Every tab named as "chrome.exe" on windows and on linux "chromium-browse". For example: [url]http://www.ghacks.net/wp-content/uploads/2011/01/sys_manage.png[/url] I need to list all tab title names of opened processes. Is there any function which gets title (or name or summary or ...) of a …

Member Avatar for steve_kamlp
0
186
Member Avatar for angelclawdust

hello there, im very new to this php malarky and have been asked if i would take a look at repairing a site that was recently messed with by the old coder. i didnt make nor code this site and my skills are limited ive managed to plod my way …

Member Avatar for angelclawdust
0
128
Member Avatar for Johan__

Hello [CODE] class Product { private string Produuct; private decimal Price; private decimal Vat; private bool Food; private int Count; private const decimal foodVATRate = 0.12m, otherVATRate = 0.25m; private decimal Finalprice; private decimal Rate; public void Start() { Readinput(); CalculateValues(); Printrecept(); } private void Printrecept() { throw new System.NotImplementedException(); …

Member Avatar for ReshmaRajan
0
163
Member Avatar for Nikhar

Ok... i ran my quicksort program on my college lab's machine (i dunno its config) and it took 4 seconds on avg to sort 1 million elements. I ran it on my lappy (4 gb RAM, Intel Core i5-2410M Processor (2.3 GHz)) and it took 0.83 seconds to run the …

Member Avatar for deceptikon
0
114
Member Avatar for Jigs28

Hi, i have netbeans 6.0.1 but when i just creat a file it gives error even at the line which comes by default. For example @Remote or javax.ejb i have uninstalled and installed it again than to the previous installtion effects remains as it is.

Member Avatar for Jigs28
0
125
Member Avatar for sfovell

Hello, I am programming for my Robotics team, and I have to write code for a dashboard, including different camera feeds and setting up rows or columns for the different elements. I am quite new to Java, but I gotten through most of it except for the rows. I can't …

0
132
Member Avatar for neh555

What is the difference between window form application and WPF application? Also i want to know about WPF application.

Member Avatar for Reverend Jim
0
164
Member Avatar for riahc3

Hey Putting this code: [code] System.out.println("Hello"); BufferedImage bufferedImage = new BufferedImage(620, 420, BufferedImage.TYPE_INT_RGB); System.out.println("Bye"); Graphics2D g2d = bufferedImage.createGraphics(); g2d.setColor(Color.black); g2d.fillRect(0, 0, 620,420); g2d.setColor(Color.yellow); [/code] It throws a java.lang.OutOfMemoryError: Java heap space error not displaying the bye. I dont understand as my BufferedImage is nothing at all (simple 620 by 420). …

Member Avatar for riahc3
0
1K
Member Avatar for PF2G

Can someone tell me what is wrong with this code: [CODE]<?PHP include 'topo.php'; include 'db_connect.php'; $sql = "SELECT * FROM cursos"; $query = mysql_query ($sql, $connect); ?> <table> <?PHP while ($row = mysql_fetch_array ($query)) { ?> <tr> <td> <div id="navigation-block"> <ul id="sliding-navigation"> <li class="sliding-element"><a href="prog_curso.php?cod= <?PHP $row ['cod_curso']; ?> "> …

Member Avatar for asprin
0
111
Member Avatar for krishnisilva
Member Avatar for krishnisilva
0
95
Member Avatar for mneha67
Member Avatar for mneha67
0
2K
Member Avatar for bouldermash

[CODE]#include<conio.h> #include<iostream.h> void main() { clrscr(); long input,negaAr[10],posiAr[10]; for (int x=0;x<10;x++) { cout<<"enter:"; cin>>input; if (input<-1) negaAr[x]; else if(input>=0) posiAr[x]; } cout<<"positive:"<<posiAr[x]; cout<<"negative:"<<negaAr[x]; getch(); }[/CODE] i dont whats thee problem of this, ihave to input 10 integers and display the number of positive and negative.

Member Avatar for aashishsatya
0
88
Member Avatar for daydie

hey guys im really stuck, when i run y program if finds fields fill's them in and submits, but sometimes the page does not have them fields and i just want it to skip them if not found so it continues otherwise it crashes. my e.g field: WebBrowser1.Document.GetElementById("subject").SetAttribute("value", TextBox3.Text) please …

Member Avatar for thines01
0
125
Member Avatar for bhagawatshinde

Hi guys, I am inserting value from xml file to access database the file is near about 6 MB (size not problem) but the file contains mathematics questions containing images(jpeg,bmp),equations(math type) so while inserting some questions it will give an error "Query Is Too Complex " can anybody tell me …

Member Avatar for thines01
0
219
Member Avatar for CodeJava1

hi could someone help me in giving a tutorial in learning how to write testcases in java. would preffer in netbeans if eclipse dosen't matter, thanks in advance

Member Avatar for krishnisilva
0
344
Member Avatar for galhajaj

Hello! :) i am starting a new winforms project and i need help in some issue. i added a panel with radio-buttons and i want to make a several panels with buttons and other components for each radio-button, for when i choose certain radio-button a certain panel will be visible …

Member Avatar for ddanbe
0
137
Member Avatar for justzamir

i am new to php coding and i am getting an error please help me to solve this Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' [ICODE] <option<?php if ( get_settings( $value['id'] ) == $option) { echo ‘ selected="selected" } elseif ($option == $value['std']) { echo ‘ selected="selected" …

Member Avatar for justzamir
0
599
Member Avatar for matharoo

I am trying to plot a graph using expect in my script and want to change the range of x and y axis. my script processes all the commands but when it comes to axis([1 5 1 10], 'normal']) command it give out the error following error : [CODE]octave:1> x …

Member Avatar for matharoo
0
209
Member Avatar for creative_m

I wonder why they use private constructors.when I was navigating java documentation I found alot of classes with private constructor.Would you tell me what are the benefits of writting them.

Member Avatar for creative_m
0
472
Member Avatar for vinnyoodles

Hi, I am trying to make a simple snake game, but whenever I try to attach a body piece it appears randomly on the screen rather than behind the head. Also, the body doesn't exactly follow the head either. I checked the code over and over for any problems but …

Member Avatar for cms271828
0
301
Member Avatar for blackhat416

hey guys any one can help me plz................... Win or console App in C# ,as soo As possible ..............Tanx Write a simple TCP program for a server that accepts lines of input from a client and prints the lines onto the server's standard output. Compile and execute your program. On …

Member Avatar for skatamatic
0
629
Member Avatar for imsinu

can we pass condition of if statement as an argument in any language????????? [CODE]class Matrix { static void loop(char a,char b,char c) { int a[][]=new int[3][3] ; byte i,j ; for(i=0;i<3;i++) { for(j=0;j<3;j++) { if(a b c) System.out.print(a[i][j]+"\t"); else System.out.print(" "+"\t"); } } public static void main(String ar[]) { loop('i','>','j'); …

Member Avatar for JamesCherrill
0
4K

The End.