199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hawkoftheeye

Hello. Im wondering if anybody can help me out on a problem I am having for my SQL class. I have been going round in circles for the last three hours and am about ready to give up. The brief asks that I design a query that performs a division …

Member Avatar for hawkoftheeye
0
181
Member Avatar for aks_1

i am trying to deploy a .war file on my local server using sun microsystem's application server. the problem i am having is when i try to launch it in the address bar as: [url]http://localhost:8080/HelloServlet/[/url] it shows the [B]directory listing for/[/B] text on the screen. but when i insert /hello …

Member Avatar for jwenting
0
123
Member Avatar for Stefano Mtangoo

Hi all, I have been running errors too much that I realized that I have learned 'bad' behaviour in writting PHP query. So I decided to change. Please tell me what is good behaviour of writting queries that involve PHP variables as well as functions like one below. [CODE=php]$query = …

Member Avatar for Stefano Mtangoo
0
184
Member Avatar for Elemen7s

Hi all, I used this method (link below) for my website, which works like a charm. [url]http://www.daniweb.com/forums/thread277139.html[/url] Now some of my website structure is : index.php contact.php mail-sender.php - ( script to send emails) template/wide_panel.php - (template where the content is) content/wide_panel/contact.php -( the content of the contact.php) content/wide_panel/error_invalid-email.php - …

Member Avatar for Elemen7s
0
115
Member Avatar for daviddoria

I am trying to parse the content of a wiki page. In a string like this: [code] ==Heading1== <test> some text here </test> ==Heading2== <test> even more text </test> [/code] I need to obtain "Heading1", "some text here", "Heading2" and "even more text". I got this to work: [code] import …

Member Avatar for daviddoria
0
15K
Member Avatar for crss

I need to write a reverse polish notation calculator and do not have a clue how to start. The only thing I have is the header file. This thing is due tomorrow at 3pm and I am backed into a corner. If someone can help me or write this for …

Member Avatar for Fbody
0
258
Member Avatar for Moemasri

Dear all am new in programmimg this is my next year at the university the tutor asked us to make an asp.net project about e-learning, he wants toopen a web page and a must play showing a video, i searched on the net and i downloaded a flash control.dll file …

Member Avatar for dnanetwork
0
97
Member Avatar for emaduddeen

Greetings Everyone, I have several forms in my project and I have set the IsMdiContainer property to True on my main form. This project also is not using a menu system. Instead I'm using a 3rd party ribbon control with buttons that call the other forms in the project. Can …

Member Avatar for emaduddeen
0
174
Member Avatar for d0ugg

Hello everyone, I need to load a multi-word strings from a file to a linked list in one of my programs, and i'm not sure how to do that. my text file looks like this- (the name of the text file is: names.txt) Linda Martinho Marla Jose Mary Luka Joseph …

Member Avatar for ssuss
0
146
Member Avatar for joe93

We must multiply matrices that are comprised of the 3 x 4 matrix and 4 X 2 matrix. 1 2 -2 0 -1 3 -3 43 -3 4 7 2 X 0 9 = 18 60 6 0 3 1 1 -11 1 -20 4 -5 We must hard code …

Member Avatar for javaAddict
0
118
Member Avatar for digitalsindhx

My Search Date sql Query is not working plz help any body. i set my Date formate dd/mm/yyyy in control panel, and in Access i set coulumns field as shortDate, I used Folowing Sql Quries but non of them works [CODE] PurchaseSql = "Select * from PUrchase where PurchaseDate => …

Member Avatar for digitalsindhx
0
370
Member Avatar for DayneD89

OK, I'm new to python. I'm writing data to a file, but it won't write that data to a new line. I'm ending up with a single line file that reads as [QUOTE]2.0/n3.0/n2.0/n3.0/n2.0/n3.0/n2.0/n3.0/n2.0/n3.0/n2.0/n3.0/n2.0/n3.0/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[/QUOTE] When …

Member Avatar for DayneD89
0
5K
Member Avatar for virspy

Hi , this is shafi, i want small help here is the sample site [url]http://www.tailorstore.com/in/en/tailor-made-shirts[/url][B][/B] in this site he is using 3D model and loading fabric ... and i want help like how is loading fabric ... and it should without any 3d softewere... how we can do it... cn …

Member Avatar for rajarajan2017
0
97
Member Avatar for krahuman

My below codes in a button click event populate data in the grid upon the user click the button. 1. How do I know that my commandtext did not find any matching data to popup the message to the user - No Records found. 2. How do I clear the …

Member Avatar for kvprajapati
0
116
Member Avatar for DRxACULA

Hi, I need to simulate a drag race between 4 cars ( a total of 3 races) to determine a winner based on the ratio between weigh/horsepower and I'm having trouble creating a determineWinner method. Here's my code so far: Track class: import java.util.*; import java.text.*; /* Author: Joey Turner …

Member Avatar for javaAddict
0
1K
Member Avatar for Helleshtern

Hello! I have a script to update multiple rows in database but it update [B]all[/B] and I need to [B]only values in checked rows[/B] be updated. What should I change to update only checked rows? [CODE] <?php include 'connect_db.php'; $sql="SELECT * FROM $tbl_name"; $result=mysql_query($sql); // Count table rows $count=mysql_num_rows($result); if($_POST['Submit']) …

Member Avatar for Helleshtern
0
3K
Member Avatar for dewyShaikh

hello experts... i have a table employee and in it are attributes like name gender,birthdate...etc.. apart from this i want to automatically generate d employees age from d current date....how can it be done?? thankyou...

Member Avatar for dzen
0
183
Member Avatar for niths

[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.248","invensis","invensis"); if(!$con) …

Member Avatar for prem2
0
79
Member Avatar for tashiDuks

HI, I have a form with a datagrid, few buttons, and textboxes. I can add the new record in data table and can display in datagrid. The problem is that... the new record which i have inserted in data table is been displayed at the last row of datagrid which …

Member Avatar for tashiDuks
0
115
Member Avatar for Phoenix127

We have a MDI main form, which contains a main menu and holds the properties and routines to - select, read and write a selected DAT-input file, and to convert the data to and from a MS-Access database - open forms like grids and specificly an InpMatrix (which shows INPUTMATH …

Member Avatar for Phoenix127
0
906
Member Avatar for mattloto

I have an array of strings, with each string being a name. I'm looking for a function that will find the index of a particular name in the array. I looked into Array::IndexOf, but my array is like this: [CODE]string names=new string[30];[/CODE] and it wont work. I could make my …

Member Avatar for david.k
0
177
Member Avatar for Learner7

Dear Friends, I am new to vb.net. I would like to know how can I get the listview selected values in respective textboxes? Could somebody will help me with the code, please? Using Visual Studio 2008 MS Access Database 2007 txtSearch Thanks.

Member Avatar for Learner7
0
151
Member Avatar for nille_nerholt

I have a listview control in my project, runs in Visual C++ 6.0, that I want to make a sort based on column click. It works good when I have <1000 entries but when it goes over 1000 entries the sorting performance goes down. It takes about 10-15 seconds to …

Member Avatar for david.k
0
359
Member Avatar for ana_eht

hello tnx everyone this forum really helps me sometimes! can someone please tell me how i can convert a double number to nearest integer number?

Member Avatar for fatirnbd
0
116
Member Avatar for Syeda.farwa

hi all, i have some dates in my dataset n i want to filter it with 'between' keyword like this: [code] dataset.Tables[Table_Name].DefaultView.RowFilter = "DATE BETWEEN '"+startDate.ToShortDateString() +"' AND '"+endDate.ToShortDateString()+"'"; [/code] But rowfilter doesnot support between keyword.. so i tried this: [code] dataset.Tables[Table_Name].DefaultView.RowFilter = "'" +startDate.ToShortDateString() + "'<=DATE AND DATE<='" + …

Member Avatar for Syeda.farwa
0
133
Member Avatar for ds2r

I have two php files. index.php [code] <html> <head> <script type="text/javascript"> function openG() { window.showModalDialog('profile.php'); } </script> </head> <body> <input type="button" value="Press" onClick="openG()"/> <?php extract($_GET); if(isset($yes)) echo $yes; ?> </body> </html> [/code] and a profile.php file [code] <html> <head> <script type="text/javascript"> function woot() { window.close(); } </script> </head> <body> <form …

Member Avatar for parry_kulk
0
216
Member Avatar for alok4u

Hello Is it possible to insert background image and colour in j2me without using canvas... we can create image using Image.createImage() bt it not work as background image.. plzz help

Member Avatar for fatirnbd
0
105
Member Avatar for QWaz

Hi, I am having real trouble trying to figure out how I can add multiple rows into a MySQL database at one time. I have a form where the person selects a number from the drop down options. then I need to add that amount of new rows into a …

Member Avatar for QWaz
0
116
Member Avatar for marcoakis

Hi guys, I solved this C++ problem for my mid semester assignment. It is a guessing game where the user will guess a number between 1 and 10 and will bet and win/lose money accordingly. I just started programing with C++ so I'd like to receive feedback on how to …

Member Avatar for VernonDozier
0
146
Member Avatar for yanw

Hello all, my name is Corey, I am new to DaniWeb, and new to programming. I am very interested in software and java programming, to eventually make it into my profession. I am starting college in the Fall, and want to get a head start. The following post is going …

Member Avatar for BanneyHill
0
311
Member Avatar for mw1

HI, I am very new to XSLT.. I am trying to have identity-copy of my html, and change a few things, but the result gives me extra <html><body></body></html> after my </html> here's my xsl: [CODE] <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> <xsl:template match='node()|@*' > <xsl:copy> <xsl:apply-templates select='node()|@*' /> </xsl:copy> </xsl:template> <xsl:template match='h2'> <xsl:copy> …

Member Avatar for mw1
0
134
Member Avatar for kedakai

I want to create a program that will close itself when the user was idle(not touching/moving the mouse and keyboard) for about 5 minutes...but I have a problem in how to track a user's idle time so that I could set the closing action. Could anyone give me a simple …

Member Avatar for kedakai
0
184
Member Avatar for Slade

This article will inform you more about forms Authentication using ASP .NET and Visual Basic .net (VB .NET). Before I continue I must stress that the web.config is xml and must be used with extreme sensitivity in mind. All tags must be closed etc. or else you will end up …

Member Avatar for kvprajapati
0
3K
Member Avatar for jamshed ahmed

[CODE] protected void Page_Load(object sender, EventArgs e) { int nCount = 0; nCount = GetCounterValue(); txtDate.Text = DateTime.Now.ToShortDateString() + "---" + DateTime.Now.ToShortTimeString(); txtAgentName.Text = User.Identity.Name; } private int GetCounterValue()>>>HERE IS THE ERROR not all path code return value { StreamReader ctrFile; FileStream ctrFileW; StreamWriter sw; string Path = Server.MapPath("Counter.txt"); string …

Member Avatar for Sals
0
139
Member Avatar for babusomu
Member Avatar for zyaday

I am instantiating an object of one class with aanother class.. here is how the line is.. Class1.method1(); where method1 goes something like this .. method1(){ Class2 c = new Class2(); } After creating the c object of Class2, is there anyways i can know which class instatiated it(Can i …

Member Avatar for javaAddict
0
91
Member Avatar for Phaelax

I need to make my popup class observable and the main frame class observer. When the user clicks the ok button on the popup, I need the string from the popup's textfield returned to my main program. Main fram class. [CODE] import javax.swing.*; import java.util.*; import java.awt.*; import java.awt.event.*; public …

Member Avatar for masijade
0
471
Member Avatar for Darkicon

I'm very new to PHP so I'm still learning how to do stuff. I cannot figure out what is wrong with this code: [CODE=PHP] if($row->played_time >= 60){ $time = round($row->played_time,2) / 60 " mins";} elseif($row->played_time >= 3600){ $time = round($row->played_time,2) / 60 / 60 " hours";} elseif($row->played_time >= 86400){ $time …

Member Avatar for rajarajan2017
0
146
Member Avatar for sleek182

Hi I am in my final year of a Software Engineering degree and will be shortly starting my final year project. However I have not yet decided on a title for my project. I have recently been looking at neural networks and find the topic very interesting. However as I …

Member Avatar for peter_budo
0
145
Member Avatar for karthz85

[CODE]#include<iostream.h> #include<fstream.h> #include<string.h> class database{ public: virtual double store_data(void); virtual void save(ofstream &file); virtual double GetPassingMark(int pass); virtual void display(void); virtual void edit(void); protected: void data(void); //database(){cout<<"constructing";} //~database(){cout<<"destructing";} }; double database::store_data(void) { char code[100]; double totalmark,laboraty,exam,assignment,sum_assignment; int i,no_of_parts,a,pass; totalmark=0; for(i=0;i<7;i++) { cout<<"=======================================================\n"; cout<<"1.enter the subject code"<<i+1<<"\n"; cin>>code; cout<<"2.Enter no of …

Member Avatar for chiwawa10
0
131
Member Avatar for docsleezy

i need to make a program that would basically monitor the raw data from the firewire port on my pc, encode it to ethernet protocol, and send to mac. and on the mac create a virtual firewire mounting point and interpret data back to firewire, i would imagine this would …

Member Avatar for docsleezy
0
135
Member Avatar for acerious

This is my first time ever programming in C++ so please talk me through this step by step. This is my second compilation after the classic Hello World! program and I am running into a problem I cannot figure out. The code executes just fine but when I run it, …

Member Avatar for chiwawa10
0
131
Member Avatar for naseerhaider

Hi, Can any one please describe that if we can use || and && operator in C++ as following ? [code] if (choice == 'e' || 'E' && cur == 'd' || 'D' ) { cout << " Enter amount in Euro " ; cin >> amount ; } [/code]

Member Avatar for chiwawa10
0
135
Member Avatar for freakn_style

[U][B]Explanation on why program must maintain simplicity:[/B][/U]I am a peer tutor of a computer programming class and my teacher has asked me to develop a few simple games to teach the class. This is the first year the school has taught Python (thanks to my final project last semester, and …

Member Avatar for freakn_style
0
1K
Member Avatar for ds2r

I have a table and I want to start the select with the 20th row. How do I do this? Does conditionals work on "limit"

Member Avatar for ds2r
0
113
Member Avatar for teenybopper

I need to write a program, which shows the different combinations in which matrices can be multiplied. The output should look like below : When there are two matrices multiplied there is one combination (XX) When there are three matrices multiplied there are two combinations (X(XX)) ((XX)X) When there are …

Member Avatar for jwenting
0
90
Member Avatar for Spartan-S63

Alright, so it has become apparent to me that Microsoft has switched up the Win32 API in Visual Studio 2010 (I'm not too experienced in the API already, I was just starting to get the hang of it). Does anyone know what exactly they changed and where a good tutorial …

Member Avatar for Ancient Dragon
0
143
Member Avatar for sjusts

Okay I am going to pull out my hair. I have been working on this for over 10 hours and I know someone out there can help me. I am looking to grab information from passed information [code].../testingform.php?name=Shannon&email=shannon%40resultsenterprises.com&char2=checked&ship1=CANADA&enter=1&x=61&y=32 [/code] the field I am pulling is char2=checked it will either come …

Member Avatar for sjusts
0
139
Member Avatar for theblastedfool

Hey guys, I am working on this encryption/decryption project and I have just finished writing the encryption part of the code. I complied it and ran it. The first part worked well. However once I chose to encrypt a file ( I didnt choose decrypt because it was not completed), …

Member Avatar for theblastedfool
0
96
Member Avatar for zawpai

Hi, Who can anyone give me the simplest method for encryption and decryption for text file? I saw a lot of methods in other website. So, I choose the simplest one, but it gives me some errors when I do it. This is the reference link. [url]http://www.vb6.us/tutorials/basic-encryption-xor-tutorial[/url] [CODE]Dim strResult As …

Member Avatar for abu taher
0
194

The End.