199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sk8ergirl

Hi, I'm working on my assignment there are two parts of the assignment first part was to create class (ClassOne,ClassTwo,ClassThree,ClassFour,ClassFive) ClassFive extends ClassTwo and ClassTwo is abstract the secod part is to add the iobserver and iSubject , but I don't know how to implemet this part in the UML …

Member Avatar for sk8ergirl
0
163
Member Avatar for you207

Im new to java and I need a little help. I store the usernema, password and name in user.dat file. The user enters his usernema and password , if its a match it prints his name on the screen. If its not a match the user is asked to register-add …

Member Avatar for you207
0
695
Member Avatar for fheppell

I have some c# code using the tweetsharp library and when I run it with mono it gives this error: Missing method .ctor in assembly /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/TweetSharp.dll, type System.Runtime.CompilerServices.ExtensionAttribute Can't find custom attr constructor image: /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/TweetSharp.dll mtoken: 0x0a000019 Missing method ToList in assembly /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/ConsoleApplication1.exe, type System.Linq.Enumerable Unhandled Exception: System.IO.FileNotFoundException: Could not …

Member Avatar for deceptikon
0
312
Member Avatar for dany12

I am still learning Laravel 4 so I have a resourceful controller tasks and I am having a problem implementing my jquery. My delete works fine without jquery so i think that I am not providing the proper url I have found one problem I don't know how to pass …

Member Avatar for cereal
0
378
Member Avatar for Tewhano

This is not a problem that needs to be solved but a question to understand C++ code better. I have an assignment that has a class to get a date input where the validation for leap year is a member of. I found many examples online and one stands out …

Member Avatar for Tewhano
0
198
Member Avatar for srikanth2321

Hi, below is the code which I'm using to update a jar, unfortunately it is not updating the jar file which is in use by some program. I mean the jar itself has this code to update it's own file. The code is working if I want to update another …

Member Avatar for JamesCherrill
0
173
Member Avatar for mastermind2

Hi Friends Please help me about a session problem, i am unable to find the reson of this issue. I am Developing a matrimonial site for a client : bit.ly/19mFQ8x Problem : users are automatically logout when they click on any page after login, but it is not happning in …

Member Avatar for diafol
0
361
Member Avatar for sk8ergirl

Hi, When I tried to run my main in netbeans I got this error java exception in thread "main" java.lang.UnsupportedClassVersionError I'm using netbeans 7 (macbook) ..what I tried to google the error and some people said that the Java Runtime is diffrnet than the JDK .. how can I solve …

Member Avatar for JamesCherrill
0
450
Member Avatar for anjijava16
Member Avatar for Kyle777w

Hello, I've got a question about a project in my operating systems class. The task was to create a program that lets the user choose a variety of cpu scheduling algorithms and simulates them with random data or data from a file. I've already done it for first come first …

0
317
Member Avatar for pythonnewbie16

Hello fellow programmers, Im quite new to python and im trying to create a multi question quiz. I will paste my code below and it keeps saying I have syntax errors everywhere but I try and fix it and it simply hops to the next line. Could someone please tell …

Member Avatar for pythonnewbie16
0
253
Member Avatar for bullet_1

I am using following code to split a text file where the file path is provided through textbox string[] allFiles = System.IO.Directory.GetFiles(@"textBox1.Text); foreach (string file in allFiles) Regex.Split(textBox1.Text, {"<ty>"}); but getting an error My need is read a large text file and split it based on <th> tag and save …

Member Avatar for Momerath
0
198
Member Avatar for kanoy83

hi guys, am testing this script, but its not working. my requirements: current file in database and in folder is 135.docx, and if i want to update it by uploading a new file, the new filename should be 135_1.docx , if update again it must be 135_2.docx and so on, …

Member Avatar for kanoy83
0
2K
Member Avatar for rhodoscoder

<?php function html_escape($input) { return htmlspecialchars($input, ENT_COMPAT | ENT_HTML401, 'utf-8'); } require 'connection.php'; if(!empty($_POST)) { $ustmt=$conn->prepare('UPDATE posts SET title = :title, body=:body, WHERE id = :id'); $lpstid = $_GET['id']; $ustmt->bindValue('title', $_POST['title']); $ustmt->bindValue('body',$_POST['body']); $update_stmt->bindValue('id' , $lpstid); $ustmt->execute(); while($row = $update_stmt->fetch()){ print_r($row); } if($ustmt) redirect('post_view.php?id='.html_escape($_GET['id'])); } $sstmt = $conn->prepare('SELECT (title,body) FROM posts …

Member Avatar for diafol
0
211
Member Avatar for laura301019

I am attempting to code an electronic appointment system in C#. What I was hoping to accomplish would be a web page that would display times down the side and dates along the top (3 days at a time). when a user selects a time on a date it will …

Member Avatar for laura301019
0
148
Member Avatar for rhodoscoder

i have a form that posts to a database and i was testing code that prevents any javascript or othe client-side scripting from being submitted to the database.All javascript code i submitted ended up in the database, i figure this is bad.How can i prevent this?

Member Avatar for cereal
0
220
Member Avatar for Landoro

Hello guys and gals :) I admit I don't know whether there is a way to create a dynamic array of objects. I have a task to read a file with the structure: body_id x_low x_high y_low y_high z_low z_high body_id x_low x_high y_low y_high z_low z_high body_id x_low x_high …

Member Avatar for Moschops
0
464
Member Avatar for gahhon

<script type="text/javascript"> $(document).ready(function () { var e = document.getElementById("ddlCategory"); var value = e.options[e.selectedIndex].text; if(value == "Others") { $('#Other').show(); } else { $('#Other').hide(); } }); </script> <table> <tr> <td><asp:Label runat="server" Text="Category: " /></td> <td><asp:DropDownList ID="ddlCategory" runat="server" ClientIDMode="Static" /></td> </tr> <tr id="Other" style="display:none"> <td><asp:Label runat="server" Text="Others: " /></td> <td><asp:TextBox ID="txtOthers" runat="server" /></td> …

Member Avatar for gahhon
0
118
Member Avatar for Girija_1

I have an issue with my code ... my below code is createing databases(database here is a kd tree) and indexing one image per database. i have two classes LastDatabaseTndexingPolicy and another forwardingDatabaseaccessor.cpp . I am calling the GetDatabaseToAccess() function from forwardingDatabaseAccessor.cpp class .GetDatabaseToAccess() function is present in LastDatabaseTndexingPolicy class …

Member Avatar for mike_2000_17
0
134
Member Avatar for coiseng

I'm just curious why my application actually crashes after it compute the area of a cross. I output is correct but it crashes after it calculation is done. cross.cpp void Cross::setCrossCord() { for (int i=0; i<=12; i++) { cout << "Please enter x-ordinate of pt " << i+1 << ": …

Member Avatar for kal_crazy
0
459
Member Avatar for PaulDel

I am trying to load multiple jpeg files into java using BufferedImage. I can load and display one file using; BufferedImage loadImg = loadImage('trial0001.jpg); When I try to add a second file, all I get is error messages. Thoughts please. Thanks

Member Avatar for PaulDel
0
151
Member Avatar for Varunkrishna

I am learning JSP, and have developed a books application, which displays the book-id,title,author and price. There are seperate text box for each of the field, whenever the user fills the form and hits submit button the value must be inserted into my database. If I try to submit it …

Member Avatar for Varunkrishna
0
2K
Member Avatar for Twee Nguyen

I just begin studying Java programming language and I want to solve cubic equation, but I do not know how to solve it and count the cubic root in java. Could you help and guide for me, please?? Thank you so much!

Member Avatar for Twee Nguyen
0
209
Member Avatar for MattD00

I am building a cms I want to iplement the ability to hide pages. I have a row in mysql named hidden which stores the values 1 and 0. 1 will allow the page to be shown and 0 will hide it. The defalut value is set as 1. When …

Member Avatar for MattD00
0
2K
Member Avatar for dany12

I have a thread in the php area but my question is from python and php world a like so I would like some input form you guys on python part. [PHP Python web future](http://www.daniweb.com/web-development/php/threads/466242/php-framework-or-python-framework) Thank you.

Member Avatar for dany12
0
749
Member Avatar for stillmarooned

Greetings community Excel Errors: Unreadable content error in excel 2010. I have gone to many web sites in the past month or two and not able to solve this error. I dont have a pivot table. I hope somebody will direct me to right solution. Thanks

Member Avatar for stillmarooned
0
240
Member Avatar for shelexelex

I want to sum the values of the 'countryamt' column and echo it out. The inputs are coming from the 'matconfirmation.php'. I stored all the inputs in an array, but i dont know how to sum the values up. The bold part of the code was what i tried doing, …

Member Avatar for diafol
0
318
Member Avatar for anestistsoukalis

**Hey there ! Here is my question:** I am facing with an easy problem i think. I am creating 4 objects. Then i make an ArrayList in which i am storing the 4 objects. The excercise is to delete the objects that are the **same(equals)** and then sort them by …

Member Avatar for JamesCherrill
0
211
Member Avatar for kh_cade

Hey guys i need your help, i have a project "Web information extraction/gathering/scraping system" - An information extraction system extracts and gethers information from multiple websites, then; it organizes, formats and presents the information to the users. it helps users to find information on particular things (such as flight tickets, …

Member Avatar for pritaeas
0
123
Member Avatar for strongard63

we all know that Caeasar Cipher accepts only alphabets from A-Z and its key is n<=26. Caesar Cipher does not accept numbers. last night , I found an exercise which said that this code a certain code is encoded using Caesar Cipher **BUT** this code is a **composed of numbers …

Member Avatar for ddanbe
0
199
Member Avatar for gahhon

Any idea to doing this? i tried many solution through google, it still can't solve my problem I want fixed(*Freezed*) header, and data only shown 5 items.. Thanks for in advanced.

Member Avatar for gahhon
0
115
Member Avatar for Jerry_3

I have made this form and my teacher wants me to change some of my code to where Each of the mortgage calculations which are presently in the Execute Button Click event are to be moved into their own method which will be called in the button click event. What …

Member Avatar for ddanbe
0
215
Member Avatar for Somee

Hi Everyone, I need to create a quiz game similar to “Who Wants to be a Millionaire?” in PYTHON by using a graphical user interface (GUI) in Pygame, but I am not sure how to start? Any assistance would be greatly appreciated!!!!Thanks a lot!!!!

Member Avatar for Schol-R-LEA
0
1K
Member Avatar for faysal.ishtiaq_1

This code snippet can be used to get the current time in 12 hour format using JS

0
2K
Member Avatar for Richard_10

I am using the 3 files of code from the C++ book Chapter 11 and 11.8 Case Study:A Date Class with both cpp files and header file my questoion is how do i (add overloaded operator for "--" (pre and post), "-=", and ">>". For ">>", user expected to type …

Member Avatar for mike_2000_17
0
293
Member Avatar for mavtcr

Friends, I have a Database in Access, Table Name- Master . Structure is given below Mno=Membership no in digits Name=Member's Name Fno=Family number in digits Fname=name of the family Faddress=Address of family Fphone=Telephone of Family The database contains several records where some members come under the same family.In other words,Suppose …

Member Avatar for mavtcr
0
244
Member Avatar for shifa.abbasi
Member Avatar for Ancient Dragon
0
149
Member Avatar for Tiago_1

Hello, I have a simple HTML table generated using Mysql and PHP: type region platform price $/h m3.xlarge ap-northeast-1 windows 0.980 hs1.8xlarge ap-northeast-1 rhel 5.810 hi1.4xlarge ap-northeast-1 rhel 3.960 m1.medium ap-northeast-1 windows 0.230 cg1.4xlarge ap-northeast-1 rhel 4.450 cc2.8xlarge ap-northeast-1 rhel 3.100 c1.xlarge ap-northeast-1 rhel 0.855 c1.medium ap-northeast-1 rhel 0.254 m2.4xlarge …

Member Avatar for Alibi Ghazi
0
259
Member Avatar for Start4me

I was thinking if it would be possible to create a JFrame, and make the title of it to change, such as make the title work as a counter that will display some text like: The window was opened for 1 second. The window was opened for 2 second. The …

Member Avatar for Seldar
0
1K
Member Avatar for aVar++

Hello, I have a countdown timer. The countdown timer counts down in miliseconds. I have worked out hours by using the sum: (((millisUntilFinished / 1000) / 60) / 60) Now minutes, I did this today and I seriously can not see how minutes works, but it does, here is what …

Member Avatar for aVar++
0
165
Member Avatar for darrylnuyda

Helloo, Good day Everyone, Can I anyone help me? Here is my problem. I am newbies in C# development, I am Interesting to learn, searching to google and go to youtube, download lynda tutorials it's help a lot of me. But I'm on the problem that I can't not resolve. …

Member Avatar for darrylnuyda
0
4K
Member Avatar for TheDude11

So I need help creating a RPG program for my class. Below I posted what is needed...Any help is greatly appericated!! ***Unit 13 Graded Programming Assignment - RPG Game*** You are to create an RPG for your programming assignment. This program: needs to use at least one vector needs to …

Member Avatar for proctree
0
180
Member Avatar for cambalinho

by some reason the TextOut() function don't show me the text:( but see these code: #include <iostream> #include <string.h> #include <windows.h> using namespace std; int main() { HDC a=GetDC(GetForegroundWindow()); cout << GetLastError();//i get 0(no errors) Rectangle(a,3,4,3+80,4+20);//the rectangule is showed TextOut(a,10,10,"hello world",strlen("hello world")); cout << GetLastError();//i get 0(no errors) cin.get(); } …

Member Avatar for cambalinho
0
347
Member Avatar for chrisschristou

hello dears daniweb friend i'm trying to get total price in php with the below code but i get only the shipping price when i request echo total what is wrong in my code ??? <form name="valide" method="POST" action="<?php echo $editFormAction; ?>"> <label for="Sub total"></label> <label for="shipping">Sub total</label><input name="subtotal2" type="text" …

Member Avatar for chrisschristou
0
253
Member Avatar for PINOY420

here is a screenshot of my system.i dont know what is the error i put the code on line 7 correctly.anyone can help? thanx the line 7 is con.ConnectionString = "provider = microsoft.jet.oledb.4.0;datasource = ..INVENTORY1.mdb"

Member Avatar for Reverend Jim
0
95
Member Avatar for levesque123456

I am trying to make a calculator to calculate your age in dog years, the following is the code I have so far, minus the html portion of it <?php if (!isset($_POST['your_age']) ) { header("Location: dog_form.html"); exit; } if ($_POST['your_age'] == "your_age") { $result = ($_POST['your_age'] *7; if ($_POST['your_age'] >= …

Member Avatar for diafol
0
368
Member Avatar for passant.elwasimy

2. Write a function that takes an an MxN matrix such that if an element in this input matrix is 0, its entire row and column is set to 0. void changeMatrix(int *Mat[],int M, int N)

Member Avatar for ddanbe
0
70
Member Avatar for phaneendrahari

I am trying to create a form like the one we ask questions in, but with image & video Upload facility. I am making Admin Support pages for a CMS. When the admin uploads an image, the name of the uploaded file can be seen in the textarea and the …

Member Avatar for phaneendrahari
0
190
Member Avatar for manel1989

hi everyone! I would like to know how you can put a matrix that came from c + + code in the Java console in an matrix in java. In fact, I send parameter to my c + + code from the java code, and the receipt of income is …

Member Avatar for JamesCherrill
0
303
Member Avatar for glez_b

I have el next dataframe from pandas import * from numpy import * data=read_csv('enero.csv') data Fecha DirViento MagViento 0 2011/07/01 00:00 318 6.6 1 2011/07/01 00:15 342 5.5 2 2011/07/01 00:30 329 6.6 3 2011/07/01 00:45 279 7.5 4 2011/07/01 01:00 318 6.0 5 2011/07/01 01:15 329 7.1 6 2011/07/01 …

Member Avatar for vegaseat
0
9K

The End.