199,114 Archived Topics
Remove Filter ![]() | |
Hello, I've get very elementary problem with javascript I add onclick option to one of paragrahps, but it doesn't work properly, It should display result of my new function, but it display result in a new, empty page. (My function work properly, but connecting it with onclick and button is … | |
Hello, I am an intermediate Python programmer, and I was just wondering how is python used on the web? would it be something similar to php, and what software do I need to use in order to use python on the web because I am very much interested in web … | |
![]() | I would be grateful if someone could suggest what I need to do to get this to work. I have copied two short scripts which should demo the use of $_session, but the read script does not work. I believe the save script is the culprit though. Here they are: … |
Hi there, I am not able to visualize what this code exactly creates in the memory, though I can understand that this is array of pointers: char *dic[][40] = { "atlas", "A volume of maps.", "car", "A motorized vehicle.", "telephone", "A communication device.", "airplane", "A flying machine.", "", "" /* … | |
Hi, I have a problem on how to make stored procedure in IBM data studio that will select in the table employee which the lastname starts with a vowel letter.please help me. Thank you in advance and i am hoping for your positive response. | |
Need help with this problem Required a function of int string(char* s, int size), which returns 1 if the sequence of characters pointed to by sequence consists of only the characters A, B, and C, and otherwise returns 0. size is the size of array input by user. | |
Hi there, I am [B]stuck[/B] with a problem, and don't know where to start. I am given a series of cities, and their locations in [B]longitude and latitude[/B]. The goal is to find the two cities with the shortest distance. I have an algorithm which, given the geographical locations (longitude … | |
Hello friends.I got some problems with a program I'm developing for a assignment. I want to add a image(background) to my Jframe and add some buttons. I wrote the code. I can load image into the frame but when I create the Jbutton and re-size it to smaller button it's … | |
I have entered value in a textbox and want it to be displayed in the form beneath.How should I do it? | |
Hi people, im creating an operating system, 32bit, protected mode, vesa... a complete o/s i need your help in anyway, coding, funding, ideas. i will post my operating system image for you people to sample and you may join me in creating it.... the posting will be done in less … | |
The project I have been working on and seeking advice on from this forum for over a year is approaching it's final steps. All that really remains is arranging the controls on the forms into a layout that is both functional and "pretty" (and getting a nice bottle of champagne … | |
Hi. I was wondering if there was a command that allows you to return to the beginning of the script. Let's say /pseudocode/ You ask for pass word if password is correct --> do nothing or just display a random message else if password is incorrect or no password is … | |
hi. i have a main form and log-in form. when i try to log-in and entered a wrong user or password it gives me error and i dont understand why the error is in the main form??? heres my code in my login form.. [CODE] private void Lgbtn_Click(object sender, EventArgs … | |
I have the application In which i am ruuning the procedure which runs the Sql Job and at the other end i need to show the job history in grid whose query is [B]select job_id, step_id, step_name, message, run_date from sysjobhistory where run_date = replace(convert(varchar(10), getdate(), 121),'-','')[/B] the job which … | |
I know from scouring the Web that this is a very common Javascript question, but I have a twist on the question which is giving me headaches, and I hope some of the brilliant minds here at DaniWeb can help show me the error of my ways. Say a user … | |
[ICODE] I would like to ask assistance how I can retrieve all the scores every game. And how to add the points by not incrementing game 1 and game 2 and so on.. THank you... [/ICODE] [CODE] /* * To change this template, choose Tools | Templates * and open … | |
Hi, I am trying to display images from my db with the following code.. [CODE] <?php include_once("scripts/connect.php"); if ($q == "All Images") { $sql = mysql_query("SELECT * FROM gallery"); $q = "All Images"; } else { $sql = mysql_query("SELECT * FROM gallery WHERE caption LIKE '%$q%'"); } $limit = 7; … | |
I am having problems when I run my salesreport.php [QUOTE]A PHP Error was encountered Severity: 8192 Message: Assigning the return value of new by reference is deprecated Filename: controllers/salesreport.php Line Number: 390 [/QUOTE] I checked line 390 and here is the code [CODE]$pdf =& new Cezpdf('LETTER', 'landscape');[/CODE] What should I … ![]() | |
Can we handle of android app by ourself rather then android handling it itself? | |
Hello, The problem is that some how due to garbage collection timings I am having tradeoff's in my performance. The issue can be generalized as: [CODE] public void loop(BlockingQueue<Runnable> queue) { for(Runnable runnable : queue)//line2 { runnable.run();//line4 if(Math.random() > 0.9) System.gc();//line5 } //line7 } [/CODE] Now normally the queue passed … | |
Hi everyone,I would like to implement a drag and select feature in the page.I have tried to implement in the following url,but the javascript function work only for the mouse click. Here is the url of the page [url]http://pekas.lbclients.info/SchedulesWorkManage.php[/url] The working is as follows: The user have to pick one … | |
I am in situation like I have a class which have two different subclasses. [CODE]public class SuperClass{ String st; public String getSt(){ return st; } } class A extends SuperClass{ } class B extends SuperClass{ } [/CODE] Now I have another method that want to access the getSt inherited method … | |
Hello guys, last time I learn php and make some scripts that work on my localhost, but not in a hosting which I use. Example: checklogin.php: [code]<?php ob_start(); $host=""; $username=""; $password=""; $db_name=""; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $myusername=$_POST['myusername']; $mypassword=$_POST['mypassword']; $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $myusername … ![]() | |
Hello.. Everyone.. I am very new to PHP world.. I have got a lesson to Saving images in folder and paths to database.. I have tried a lot.. I have tried various websites but there has no complete solution! Will you provide me the proper code? | |
Im checked my sql, its working fine. But im still getting this error: [COLOR="Red"]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in..[/COLOR] [CODE] $sql = "SELECT date FROM tbl_tour_profile"; $result = mysql_query($sql); confirm_query($result); // this is the die function of sql $i=0; while($date_set = mysql_fetch_array($result)) { }[/CODE] ![]() | |
Hello, I would like to know what is the best way to populate a tree gui which has the following details: My application should reflect a tree structre with about 8000 members but directly under the root there are maximum 15 members.Its clear that each time a user open the … | |
hi guys just want to ask a simple question about listview im making a POS program.. when i click Enter button the items on textbox and comboboxes should be placed inside my listview here is my screenshot [URL="http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg"]http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg[/URL] my problem is i dont know how to put the correct codes … | |
Hello there! First off, I'm just in school, 10th grade (second year of computer science), so I am not very advanced. I was wondering...How can I write a simple program that does combinations, in a certain way? Let's say I have 5 buttons. I want all combinations of pressed and … | |
I have no idea if it is possible to post selling product if there's no human operation. What I mean is this scenario. this is a bookstore that wants to create an online page of shopping cart for their own. Among the thousands of items in that bookstore that is … | |
In version 3.0 of my address book I'm utilizing tkinter. The only problem thus far I'm having is that I have a very ugly display on a child window that shows the search result for a query. I'm getting {['Email: [email]Shoiukamp0@gmail.com[/email], Phone: (111)555-2222, Address: 122 C---- Ct., Essex, VT']} The … | |
Hey all! What I am working on is a contact form with file upload functionality. (e.g. user should be able to upload a screenshot.) Uploading a file should not be mandatory. So the mail which is produced from the entered information in the form should be sent without an attachment … | |
Can anyone help? New programmer trying to write Program that prompts user to enter name of file to display on screen. User is given to option to display another file until the user ends program. it is not working and. After compilation when 1 is chosen it scroll the question … | |
Dear experts, Please kindly advise me in how i should write the column operation: The following is the full codes: [CODE]import java.util.*; public class Matrix { public static void main(String[] args) { // declare the necessary variables int N, M; String operator; int index; int sum; int [][]matrix = new … | |
![]() | Hello, I have a question regarding downcasting of base class pointers. I am providing a sample class design which is similar to my program. [CODE] class A { protected: double num1; public: virtual void fn1() = 0; }; class B:public class A { protected: double num2; public: virtual void fn1(); … |
Hi Guys, I want to set background image for the MDI form at the runtime (form load) i tried this, [CODE] this.BackgroundImage = Image.FromFile(Application.StartupPath + "\\Images\\OTS_mockup_slice.jpeg"); [/CODE] but its not working.... any idea Thanks in advance. | |
Im having a problem with my code. When I run it to php4 and it works fine. Then I tried it to php5. Im getting error -[COLOR="Red"]"Undefined Variable: _Session in ..."[/COLOR] [CODE]<?php session_start(); function logged_in() { return isset($_SESSION['idnum']); return isset($_SESSION['user_type']); return isset($_SESSION['fname']); } function confirm_logged_in() { if (!logged_in()) { redirect_to("index.php"); … | |
Hi this is samar here I'm developing a application in which i want that when some one press print button the info in the form get printed I'm developing my application in netbeans 7.0.1 pls help | |
![]() | Hi, I new to PHP. I've searched all over, but with no luck. My objective is to build an array of variables that contain HTML links. (One html link per variable). Then I want to output the variables, (containing the links), so that a new random variable loads each time … ![]() |
I have an XML file that is displayed on a DataGridView driven by a dataset. I am having trouble setting up a filter where a user can enter information in a textBox then have the DataGridView filter to find results. The XML File is displayed on the DataGridView using this … | |
Hey all, After beating my head against the wall with this, I decided to post. I'm using f2py, a wrapper to call Fortran routines from python. I can't use it because my current version of gcc does not support f2py. According to a posted solution, I have to edit my … | |
Im trying to scp including password in one line... seems not working. [code] echo "pass" | scp --stdin source destination [/code] However this does work though [code]echo "newpass" | passwd --stdin user [/code] same concept, diff result. Any suggestion would be great. Thanks | |
I have the following stored procedure: [code] SELECT moncallAdd.FirstListing, DATEADD(MINUTE, mOnCallAdd.StartOnCallTime, DATEADD(DAY, mOnCallAdd.StartOnCallDate, '12/31/1899')) AS OnCallStart, DATEADD(MINUTE, mOnCallAdd.duration, DATEADD(MINUTE, mOnCallAdd.StartOnCallTime, DATEADD(DAY, mOnCallAdd.StartOnCallDate, '12/31/1899'))) AS OnCallEnd, 'Added' As Activity FROM mdr.dbo.mOnCallAdd WHERE DATEADD(MINUTE, mOnCallAdd.StartOnCallTime, DATEADD(DAY, mOnCallAdd.StartOnCallDate, '12/31/1899')) BETWEEN Convert(VARCHAR(10), GetDate(), 101) AND GetDate() and mOnCallAdd.SchedName = @schedname UNION SELECT moncallDelete.FirstListing, DATEADD(MINUTE, … | |
hi ti every one i am create the digital guitar by pressing the diffrent key it gives diffrent sound but how to set key | |
its been 6 days passed since i started making this assignment of mine it is to show how objectdatasource is used, until now, i still cannot getaway with this error, [B][U]The data source for GridView with id 'GridView1' did not have any properties or attributes from which to generate columns. … | |
I have began building a piece of software that needs to collect a series of information from the user. This information will all be based on what has already been entered. I would like to create a window that has a "NEXT" button in it. As they enter information, they … | |
Hi I have several panels in my app is there a simple way to switch between the panels without dragging them off the screen so I can see the ones bellow if I need to edit the first panel I have to move 8 panels to see it :-( thanks … | |
Hi folks, I’m struggling with what I thought would be a relatively simple process. In my last thread ([URL="http://www.daniweb.com/software-development/csharp/threads/379458"]http://www.daniweb.com/software-development/csharp/threads/379458[/URL]), I got your help with the placement of parentheses in a Linq to XML query. I thought it was all going to be easy from there. Now I am trying to … | |
I'm currently using the fourth edition of Deitels "C++ How to Program", which I borrowed from the library. I'm interested in buying a copy of the textbook myself. If I buy a fifth/sixth edition will there be things that will be confusing? For example, are the concepts introduced in a … |
The End.