199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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)); … | |
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 … | |
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 … | |
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??? | |
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 … | |
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) > … | |
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 … | |
(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' … | |
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 … | |
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. ![]() | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
hi plz in need a vb 6 program for my project about median and gaussian filter in image processing thank you | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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(); … | |
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 … | |
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. | |
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 … | |
What is the difference between window form application and WPF application? Also i want to know about WPF application. | |
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). … | |
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']; ?> "> … | |
hi how to i create a a local HashSet<video> and an InventorySet | |
i want to divide a matrix of n x m in smaller equal sized square matrix of size p x p.. | |
[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. | |
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 … | |
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 … | |
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 | |
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 … | |
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" … | |
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 … | |
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. | |
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 … | |
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 … | |
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'); … |
The End.