199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MisterMustard

Hi Everyone Re; Help with MATLAB...basic stuff Let me start with..."What the heck have I let myself in for???? " I'm 43 years old Haven't studied anything related to math in 10+ years. Enrolled in University via distance education in Australia. I live in a small town in Queensland's outback. …

Member Avatar for Taywin
0
145
Member Avatar for ali3011

this is my code which working,and every image is posted with it's original name but i want it to have little one.. i want it to overwrite the uploaded image <?php error_reporting(0); $change=""; $abc=""; define ("MAX_SIZE","400"); function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = …

Member Avatar for ali3011
0
266
Member Avatar for complete

Tab Split String Now Working. Please Help. I wrote a C# program that reads code one line at a time. Each line has data seperated by tabs. Here is what my C# code is supposed to do. The line is supposed to be split into a string array by using …

Member Avatar for Taywin
0
165
Member Avatar for alakaboom1

Hi, I'm really new to both Pygame and Python. To get started, I just want to create a basic program of a sprite called "Player" in a background that responds to keyboard input. I pretty much just want to program it to move left and right in response to the …

Member Avatar for jmorris1324
0
423
Member Avatar for davy_yg

Hello, I am trying to replace the default submit button with custom submit button how? This is the default submit button: <input type="submit" value="Submit" /> This code only place the image: <input type="image" src="images/button-kirim.jpg" alt="Submit details" /> How to place the custom submit button and still make it work like …

Member Avatar for simasj
0
94
Member Avatar for champmanking

Hello. I am new to Java and I am creating a simple applet while I to learn. My problem is that one of my methods doesn't seem to be working. The applet is a simple moving sprite; use arrows to move, ect. I am trying to create a missile using …

Member Avatar for champmanking
0
388
Member Avatar for opawix

what is the simplest way i could encrypt my php code from advanced php programmer?

Member Avatar for simasj
0
1K
Member Avatar for HelloMe

Hello everyone... I have just a simple project where i have to draw a picture (Robot) and on a klick on a button, the Robot turns to the left. My problem is, the Robot turns correctly but the new Robot drawing (position showing the Robot from the left side, back …

Member Avatar for HelloMe
0
199
Member Avatar for Raakesh399
Member Avatar for hauda67

for (k=0; k<M; k++) for (i=0; i<N; i++){ c[i][k]=0.0; for(j=0;j<P;j++) c[i][k]+ =a[i][j]*b[j][k]; I have implemented the above sequential matrix-matrix multiplication algorithm, but i'm not sure about implementing a method to display the output to verify that the algorithm works as expected.

Member Avatar for NormR1
0
480
Member Avatar for ps1992

so i have this mini project to make i'am thinking of making a website just like grooveshark basically what i want in my website would be :- A LIBRARY OF SONGS PLAYER ON WHICH ONE CAN LISTEN DIFFERENT SONGS USER CAN CREATE HIS PROFILE AND CAN MAKE HIS OWN PLAYLIST …

Member Avatar for ps1992
0
235
Member Avatar for DaveyMoyes

How do i add variables from $var1=urlencode(''.$var1.''); on page one.php and use the values from the above variables on page two.php $var1 = $criteria['".$var1."']; if($var1=='') $var1 = ''; Page two is included in page one and I am trying to use the same variable value.

Member Avatar for broj1
0
201
Member Avatar for Mahesh57

Hi i want to calculate the line starting point(x1,y1) and ending point(x2,y2) of a line the line is in circle. The Square image is (0,0) and (100,100), With in this image the line is drawn. I want that drawn line starting and ending points.. This code in C#

Member Avatar for nmaillet
0
246
Member Avatar for emokidzz

I get an infinite loop when i input 1 and 5 in this program. Please help me detect the error. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Graphs { class Program { static void Main(string[] args) { string[] cities = new string[10] { "Makati City", "Taguig City", "Imus …

0
189
Member Avatar for xiiopao

anyone here knows how to delete or hide an array element in asp permanently or until the application? im currently developing an application wherein once an array element matches the typed text in the textbox it should be removed from the list. what my code does is it deletes the …

0
114
Member Avatar for TrustyTony

Here are instructions for voting for winner of the code snippet competition! http://www.daniweb.com/community-center/threads/429756/code-snippet-contest-...-cast-your-vote

Member Avatar for TrustyTony
0
207
Member Avatar for Sathish_1

CREATE OR REPLACE PROCEDURE transfer( crdtacno IN NUMBER, dbtacno IN NUMBER, amount NUMBER, transno NUMBER ) IS BEGIN INSERT INTO transaction VALUES(transno,amount,SYSDATE); UPDATE account SET accbal=accbal+amount WHERE accno=crdtacno; INSERT INTO entrylist VALUES(transno,crdtacno,'CR'); UPDATE account SET accbal=accbal-amount WHERE accno=dbtacno; INSERT INTO entrylist VALUES(transno,dbtacno,'DB'); END; /

Member Avatar for debasisdas
0
158
Member Avatar for Sanchixx
Member Avatar for Sanchixx
0
75
Member Avatar for Sanchixx

How can i replace :), :-),O.o or B) in my a file, that is used to display chat content, by an image. Here is my code: <? session_start(); if(isset($_GET['logout'])){ $ip=$_SERVER['REMOTE_ADDR']; //Simple exit message $fp = fopen("log.html", 'a'); fwrite($fp, "<div class='msgln'><i>User ". $_SESSION['name'] ." has left the chat session.</i><br></div>"); fwrite($fp, "<!-- …

Member Avatar for Sanchixx
0
436
Member Avatar for bLuEmEzzy

please help.. how to program nodes(like in binary tree) the root node is (1) then left(LNode) is (2) and right(RNode) is (3).. then for (2)- LNode of (4) RNode (5).. for 3-- LNode(6) RNode(7)..so on.. how can i do that.. then the numbers are in the database.. Thanx

Member Avatar for bLuEmEzzy
0
122
Member Avatar for vinnitro

I want to know about function overloading in C# & how to do it? Can anyone tell me with a simple example. Since as i read it from a book i came to this conclusion. I thought it happens only when you use 1 function with same name & tried …

Member Avatar for vinnitro
0
178
Member Avatar for erica86

my problem is asking me to write a program that reads a value (say n) from the user and outputs Hello World n times. Verify that the user has entered an integer. If the input is 3, the output will be Hello World printed three times. I have gotten this …

Member Avatar for stultuske
0
247
Member Avatar for walid86

i've recently published an app but i keep getting this error on machines other than mine. unable to load DLL acbpdf8-64.dll, module cannot be found HRESULT:0x8007007E I've copied all the dll's into the /bin folder, so i get the debug and release folders, along with all the dll's, but still …

Member Avatar for erici
0
3K
Member Avatar for liezlardo

I have the following code. I wanted to determine if the value inputted in $cellno (from a textbox) are all digits (numbers), and if it's 11 numbers, and if its starting numbers are "09". One correct value example is 09345678910. It is all numbers, has 11 digits, and begins in …

Member Avatar for liezlardo
0
184
Member Avatar for ariffin246

Hello, I am clueless on how to separate the value of a HTML TextBox into separate characters before inserting into database. The user will key in certain form of code in the textbox. EG:JYX. The code needs to be separated and assigned to variable for each of the character before …

Member Avatar for ariffin246
0
124
Member Avatar for Bumpehh

This is a very simple Rock Paper scissors game i made. i showed it to my cousin and he played it for like 20 mins lol. Its against an AI and you pick by number, not words.

Member Avatar for m4ster_r0shi
0
1K
Member Avatar for kovacsakos

I should write a program for school classification. It should give out all the 5 marks, but nobody can be on the border points or near the border points. Thanks in advance for your help!

Member Avatar for WaltP
0
120
Member Avatar for aabi

HI GUYS .. im trying to make foreign key relation between whishlist_tbl(foreign) table and account_tbl(primary key) table both are integer data container ## scenario ## i have user deatail table that is account_tbl and whish list table i.e wishlist_tbl i want that when user make a wish book then he …

Member Avatar for aabi
0
464
Member Avatar for pilly

I keep getting an error when compiling an SDL program I'm working on. I get the "'screen' was not declared in this scope" error, even though I'm pretty sure it's declared in 'globals.h'. globals.h #ifndef GLOBALS_H_INCLUDED #define GLOBALS_H_INCLUDED #include "gui.h" #include "player.h" #include "SDL.h" #include "timer.h" #include <stdlib.h> #include <string> …

Member Avatar for _avishek
0
463
Member Avatar for LastMitch

Hi I'm having issue with editing the **Input Type** in **2** different position. I want to edit and add input text in the img. I also want to edit and add input text in the content. What I want to learn is how to add **2** **Input Type** areas in …

Member Avatar for LastMitch
0
176
Member Avatar for visweswaran28

Hi, Can we call Mysql Storedprocedure in SqlDatasource. My Connection String is Works fine. If not Is any other alternate available? Thanks in Advance

Member Avatar for JorgeM
0
82
Member Avatar for napninjanx

Ok so there Is this answer website and It does "Not" have a BLOCK BUTTON to people users and members on there. The programmer Is to busy to make one... So Is there a way to make a code for me so I could send It to the person In …

Member Avatar for napninjanx
0
155
Member Avatar for PhilEaton

Here is the code I'm running into an error with: FROM IndexPID INNER JOIN Demographics ON IndexPID.NDoc_Number = Demographics.NDoc_Number, PatientSupply INNER JOIN Demographics ON PatientSupply.NDocNum = Demographics.NDoc_Number I also tried it this way: FROM IndexPID, PatientSupply INNER JOIN Demographics ON IndexPID.NDoc_Number = Demographics.NDoc_Number INNER JOIN Demographics ON PatientSupply.NDocNum = Demographics.NDoc_Number …

Member Avatar for PhilEaton
0
180
Member Avatar for Ashenvale

public int intRet1; public int intRet2; public void IntRandom(int intNumber) { int intNum[] = new int[36]; Random randomGen = new Random(); intNum[0] = randomGen.nextInt(intNumber)+1; do{ intNum[1] = randomGen.nextInt(intNumber)+1; }while(intNum[0] == intNum[1]); intRet1 = intNum[0]; intRet2 = intNum[1]; } today I tried using *java.util.Random* class, but as you can see I …

Member Avatar for Bladtman242
0
155
Member Avatar for Image1

Hi, I have some data like this, Actualy bigger than this more than this column and more than this rows. Run1 Run2 Run3 RUN4 Run5 1 23 123 1234 12.33 2 12 124 1225 13.123 3 15 125 1345 32.32 4 18 135 1456 12.23 5 19 137 1563 12.43 …

Member Avatar for vegaseat
0
170
Member Avatar for abbelylee

I have a java application that reads csv file and displays the data on a text area. the idea is to transform this data(source data) into a target data, this involves rearranging it and transforming some elements in each field. now i intend to transform this displayed csv data into …

Member Avatar for abbelylee
0
328
Member Avatar for rev_ollie

Hi again I have another query I a struggling with that I would like to get some advice on. Basically put as part of a process we have a number of shortcuts created. These are Windows shortcuts based on an item id - so an example would be 1000.lnk Also …

Member Avatar for woooee
0
229
Member Avatar for Designer_101

Hi everyone, I'm sure this is a simple fix but it may take a minute to understand what I'm trying to achieve. Here is my code, as you can see it's for a shortcode: function verticalnav_func( $atts ) { extract( shortcode_atts( array( 'category' => '0', ), $atts ) ); ?> …

Member Avatar for Designer_101
0
776
Member Avatar for claywin

Hello everyone! I've been having some troubles recently trying to work with frame independent movement (based on 300 pixels per second) and having the object collide with another. I'm still pretty new to this idea, but I don't know how I should go about having the character move back from …

Member Avatar for mike_2000_17
0
215
Member Avatar for Nivashini1992

hello guys, I 've just recently stated writing algorithms in Data structures. I want questions to write algorithms in array and linked list, please give me questions in that. The questions can be of difficulty level easy and medium. thank u.

Member Avatar for I_m_rude
0
83
Member Avatar for debal

Can someone please help me with the latest version of PHPTraid for windows 7. I have downloaded the versions available at cnet and brothersoft but they are giving compatibility issues. Same goes for the version availabe at sourceforge. Also if someone can help me out if i am missing something …

Member Avatar for Squidge
0
368
Member Avatar for jemz

Hi can anyone help me on this..I am tying to change the UIManager. UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel"); This gives me a lot of Exception. Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.plaf.synth.SynthLookAndFeel.paintRegion(SynthLookAndFeel.java:364) at javax.swing.plaf.synth.SynthLookAndFeel.update(SynthLookAndFeel.java:328) at javax.swing.plaf.synth.SynthRootPaneUI.update(SynthRootPaneUI.java:120) at javax.swing.JComponent.paintComponent(JComponent.java:778) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5221) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295) at javax.swing.RepaintManager.paint(RepaintManager.java:1206) at javax.swing.JComponent._paintImmediately(JComponent.java:5169) at javax.swing.JComponent.paintImmediately(JComponent.java:4980) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:770) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:728) …

Member Avatar for jemz
0
749
Member Avatar for olive.ventura

string using java??please help..the problem is..inputting your name then reverse it.

Member Avatar for stultuske
0
133
Member Avatar for Jamblaster

Ok, here is my question. I got this code working (Yeah it isn't really complex I know, but I'm a beginner anyway) and I couldn't make it work when using a class variable for the strTotalCost and decTotalCost variables and passing decTotalCost to the strTotalCost to show the calculated price. …

Member Avatar for Reverend Jim
0
163
Member Avatar for dwhite12

I have a code that takes a file and splits the file into two files. The problem I am having is when writing the lower half of the file I have two lines of whitespace I need removed. Here is what I have and am wonder how I could add …

Member Avatar for dwhite12
0
215
Member Avatar for alex.ashton.58

As a project after learning about classes, I'm trying to create a type of board game where the program tells you where all of it's pieces are, and then you tell it where you've moved your pieces, and then the AI moves its pieces accordingly. However I'm having a bit …

Member Avatar for alex.ashton.58
0
199
Member Avatar for dragonflyuk

Okay I don't really know where to ask this, but I'm working in PHP at the moment, because its quick and easy so I'll start here. I've been given the task of converting some old files. I know the files are all images, and we believe most if not all …

Member Avatar for Squidge
0
186
Member Avatar for usdblades

Here is a snippet of my code as this is my final and would hate for anyone to find this and copy my final that I am working hard on. Everything else is working and is good. My problem is trying to get the following code to display. void Employee::Calculate …

Member Avatar for NathanOliver
0
119
Member Avatar for n3red

I have Google'd and all i found was outdated, buggy or not working source samples. Here is what i tried but i have a bit of a problem: [CODE]void toDecimal(char bin[]){ int i, d = 0; int l = strlen(bin)-1; int x = 1; for(i = 0; i < l; …

Member Avatar for Rajkumarautit
0
333
Member Avatar for 47pirates

I want to store a Vector<Vector<Object>> in mysql database. What is the best data Tpye that i can use in mysql and java to store and retrieve the datas.

Member Avatar for stultuske
0
389

The End.