199,114 Archived Topics
Remove Filter ![]() | |
I started learning python3 some 3-4 days ago.My ultimate aim to learn this language is to design web apps(eg apps to automate account creations for seo etc.) For this i guess i will have to use django or turbogears for this, but now i came to know that django or … | |
Hey guys, so im building this application using ASP.net (visual studio 2005) and i have few dropdown lists. the dropdown list has an arrow beside it. when u hover over it, it says "choose data source". i click on it but there seems like no option to connect to analysis … | |
I need a little help getting started with this, suggestions would be great! The applications' purpose is this: a school is allocated a certain amount of $ for the year to spend on updating technology, it's called 'refresh'. The database has a table for the [B]location[/B] and amount of $ … | |
Hi, this is probably very easy for someone, I have a link that I am creating dynamically. There is no problem if I use a static link but when I try to make it dynamic, I get syntax errors. I am not really a php developer. If someone could help … ![]() | |
Hi Guys, What is the scope of the exception variables when I catch them by reference. [CODE] try{ throw AnExceptionObect("Exception message"); } catch(AnExceptionObect &exp){ logger << exp.what(); //logger is a dummy object throw; //what will happend now? is it going to be throwen by value? and what if I catch … | |
hi athlets!)) please tell me - how it's possible to copy object in c#? (get it not by reference) does anybody know a good article to understand this process? on msdn I've found only [URL="http://msdn.microsoft.com/en-us/library/system.icloneable.clone.aspx"]this[/URL] , but it's not clear.. thanks in advance! | |
Since it's been about three years since I had to write any XSLT, I'd like some assistance with the code below. [CODE]<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="text"/> <xsl:template match="/"> <xsl:for-each select="/WatchConfig/ProcessList/Process/Node"> <xsl:if test="Plugin = 'PWScript'"> <xsl:text> </xsl:text> <xsl:value-of select="Config" disable-output-escaping="yes" /> <xsl:text> ************************************************************************ </xsl:text> </xsl:if> </xsl:for-each> </xsl:template> </xsl:stylesheet>[/CODE] … | |
[U][B]DAVID SHLEMAYEV[/B][/U] as the title i wanna introduce myself to the daniweb community so no one calls me a little child anymore. im a programmer for: c,c++,java,javascript,unityscript,html,[B]php[/B],sql.(i know php the best) im 12 years old but im very serious and not a play kid. im from israel. im still thinking, … | |
Here's my problem. I'm trying to write info to a bin file, consider the following piece of code: [CODE]FILE *fp = fopen("banco\\banco.bin", "ab"); char buffer[22]; sprintf(buffer, "55555555 111111 11111"); fwrite(buffer, sizeof(char), 22, fp); fclose(fp);[/CODE] when I run this it writes to the file that line twice when I print it … | |
There was little buggy version of Python base conversion around, so here quick hack for my own program, including test with random numbers to verify it. | |
OK, so as C++ is new to me I am confused. Generally I would pass an object using the "ref" keyword and I'd have no issues retaining the information that was changed in my object when I got back to the main. Well C++ is different. I have a class … | |
Hi all, The 2 tables are as follows. [B] account_details[/B] (account_number, nic, full_name, name_with_initials, phone_number, address, gender, date_of_birth) [B]account[/B] (account_number, account_type, fd_period, account_balance, account_interest) In my accounts opening form there are 9 fields. NIC, Full name, Name with initials, Phone number, Address, Gender, DOB, Account Type, FD period I want … | |
Hi all, I just know whether it will allow in php to store data in a sigle form into 2 tables, because i want to use these data in some other tasks. In my form there are 7 fields. They are [B]nic, full name, name with initials, phone number, address, … | |
I am currently working on a game that takes place in the console. I need to know how to combine [CODE]Console.WriteLine()[/CODE] and [CODE]Console.ReadLine()[/CODE] into 1 line so that the blinking underscore appears on the same line. Is there any way to do this? Any help is appreciated. | |
Hi people, i am in trouble with python quotes, see this: [CODE]string = "qwerty"[/CODE] when i do a print string it returns: [CODE]'qwerty'[/CODE] how do i replace this singles quotes to double quotes when the value of the variable is returned? there is a way? thanks in advance! ;) | |
Hello I currently have a Datagridview which takes data from an XML file. I want to display the array of numbers. Here is the code for my GridView: <asp:GridView ID="rd" runat="Server" OnRowEditing="Editdata" OnPageIndexChanging="pageddata" OnRowDeleting="Deletedata" OnRowUpdating="Updatedata" OnRowCancelingEdit="Canceldata" AllowPaging="True" AutoGenerateColumns="False" PageSize="30" CellPadding="4" ForeColor="#333333" GridLines="None"> <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> <RowStyle BackColor="#EFF3FB" /> … | |
I am in desperate need of some guidance here. Any suggestions or ideas would be very much appreciated! Is it possible to have a relationship based on two columns? For example: The table "Parents" has columns: ParentID (PK) The table "Children" has columns: ChildID (PK) ParentID The table "Addresses" has … | |
Hello. I have a simply php script for my school project that checks books back into a library database. What I was trying to accomplish was when you checked in the book for it to check and see if the book has been requested and notify the librarian that there … | |
Hey guys, As you can see below I am trying to add row of data to a table called tblOut. When i execute the code, it works without a single error message but the problem is I dont see any new record when i preview my table data. Can anyone … | |
What modules come builtin with your Python? Let's exclude the internal _ starting ones for this question. You know those? Are you sure? Good, because I did not! (Hint WindowsXP and Python2.72 has 27 builtin modules) Here the answer in code [CODE]import sys print('\n'.join(n for n in sys.builtin_module_names if not … | |
I am looking to make a 3D game, I have made plenty of fun ones in 2D using SDL but have yet to attempt a 3D (fps style) game. Does anybody know either a way to do 3D with SDL, or some other similar or easy to use library that … | |
I know C++ well and have written some programs in it but when I look at a program's code,I can't understand it.I wanna know is there a place where I can learn to write real world programs?Sth like a C++ certification? thanks | |
I am trying to upload few texts and the image using the code But its showing error have a look at the two codes... [CODE]<body> <center> <h2>Add News</h2> <form name="news_registration" action="addnews_process.php" method="post" enctype="multipart/form-data"> <table width="600" border="0" align="center"> <tr> <td width="49%" align="left">News Type</td> <td width="3%"> </td> <td width="48%" align="right"><select name="category" id="category"> <?php … | |
Hi all. I am new user here and I found a lot of usefull info in this board. What I am curious to learn is how can I update a record in MySQL and in the same time to Insert a new record in another table. For example, I have … | |
Hello everyone! Please am developing a web application using vb.net with visual studio 2010 and .NET framework 4.0. its complete but i want it accessible over the network (LAN) so i have tried to host it on the local server (IIS) but i keep getting the following error message from … | |
Hello Friends, I have an ASP.NET application and SQL Server as its DB. When the database was small everything was fine, as now the DB contains huge amount of data. It seems it skip out some calculation. The details- Application: It calculates the commission of particular agent (like affiliate) for … | |
Learning about Abstract classes and interfaces, is there anything else I have forgotten about? [B]Abstract Class[/B] 1.Cannot be initated. 2.Can have concrete methods. 3.Abstract methods with no body 4.A class extending the abstract class does not need to use all the abstract methods from the abstract class. 5.A class can … | |
hello all i have been writing the java code and new to C programing.I am very confused in point.i have the following code [CODE]#include<stdio.h> main() { int *ptr=50; printf("%d",*ptr); return 0; } ~ ~ [/CODE] why it is giving the segmentation fault.and when i print ptr then it gives value … | |
Hi guys, Pls i am newbie to asp.net website and i am building a page in my website called contact us. i want to create a simple contact us form which will send the messages in the content of the form to my email. i have tried a few times … | |
Hi, I want to set a tooltip for gridview header field with own CSS style. Please let me know your comments on this. | |
Hi, everyone. I have a button that links to another page, but it doesn't work. Here is the code: [code] <div class="pageNumbers"> <ul> <li><a href="shops1.html" class="pageNumber">1</a></li> //button 1 <li><a class="pageNumber" href="shops2.html">2</a></li> //button 2 </ul> </div> [/code] Do you know what is wrong with it? | |
So I need to make a table where all the records in my ACCESS database will reflect. The table should be editable. the table should have the basic functionalities such as ADD, EDIT and DELETE. I also need to make a search where a user can type what he/she wants … | |
I am not used to php but i need to use a script now, but it always give me a windwos error. This is my script: [code] $PHP_PATH = "c:\Program Files (x86)\PHP\\"; $PHP_PATH = addcslashes($PHP_PATH, ' '); $VR_PATH = dirname(__FILE__)."\VRClient.php"; $VR_SERVER = "http://localhost:8080/vrmobile/VRServer"; $handle = popen("C:\WINDOWS\system32\cmd /C start ".$PHP_PATH." -f … | |
Hi friends i am learning php now when i started my website which use php script i am creating a page which will consist of my friends links So I searched in my scripts forum and got this solution step 1 : create links.tpl and insert {$my_content} and save it … | |
Hi all, I'm working on a project with my friends which contains modules that are written in C++,JAVA and C#. This project is currently aimed for Windows and is deployed using an old InstallShield (pretty sure it's older than 2008) based wrapper. I would like to be able to check … | |
hi i am working on servlet using eclipse IDE .i have attached html form. I am unable to format drop down list. how to do it. how to align the drop down list.please help. | |
i got this error to on my database "Host 'localhost' is not allowed to connect to this MySQL server" and when i tried to use mysql workbench i got this "cannot connect to the database server" what is wrong with my database, its the second time happen to me. yesterday … | |
I have categories, that came from database. I have to create pages for all the categories. For this I am creating menu and submenus are displaying categories. All submenu items must correspond pages. Here is an example: --------- Menu | --------- item1 | open item1.php (came from database) --------- item2 … | |
I am working with application for Excel sheets in vb.net My database is Sql server 2005 I am having around 8 lakhs of rows in my database and 64 columns. when I import a excel sheet for searching the Duplicate of excel sheet rows in database i get this Error … | |
hi i have 100 records in my datatable .Here i want to insert these records into SQL without looping . thanks | |
I have the following template that I am using to upload files into AMAZON S3. I'll display the template right here: [CODE]<cftry> <!---ACCESS KEY ID = SECRET ACCESS ID = BUCKET NAME = cic-audio FILE NAME = amazon_s3_test.txt---> <cfparam name="URL.step" default="view"> <cfoutput> <cfif URL.step eq "view"> <cfscript> // IMPORTANT: Set … | |
can anyone help me to create jquery, javascript one page template exactly or looklike below [URL="http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5"]http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5[/URL] | |
I have made a single combo box and added it with table... Items are added from database. There are three combo box A , B AND C ... B depend on A And C on B. Now if i select anything from row one A combo box it will load … | |
I have application which contain textbox, 2 button and datagridview In text box user will enter query button1 click to display query result in gridview and Button2 to export data to excel My application is working fine But problem is when i again click button1 it also show the previous … | |
Hi, How to write into excel sheet using oledb connection or how to export dataset into excel sheet using oledb connection. Iam using console application in vb.net. If there are any alternate ways to write into the excel files from dataset. | |
I'm having an issue that I've been working on most of the day. I want to get the user name, then return it twice, but can't seem to get the variable right. Here is my code. [CODE]import java.util.Random; import java.util.ArrayList; import java.util.Scanner; public class mlab { // instance variables - … | |
I am having an issue creating a stored procedure but I keep getting an error "Error Code : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE PROCEDURE sp_Insert_Address ( in p_UserID … | |
Hi people, I am so interested in learning PHP as it is a powerful language in the web. I know a little bit of PHP so you can say that I've got an intro to PHP at this stage. What I am really struggling the logic of PHP. What would … | |
hi everyoen i've a matrix array with some value, i want to shaw each of them in matrix type in my form, how can i do it? can i use DataGrid view for this? and if yes ... what is method.. | |
[I]Hello all, I am looking for some help writing an application with the following attribuutes: An online retailer sells five products whose retail prices are as follows: 1. Product 1, $2.98 2. Product 2, $4.50 3. Product 3, $3.98 4. Product 4, $4.49 5. Product 5, $6.87 Write an application … |
The End.