199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hszforu

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 …

Member Avatar for hszforu
0
194
Member Avatar for unoho

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 …

Member Avatar for cfwebdeveloper
0
360
Member Avatar for PPS

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 $ …

Member Avatar for PPS
0
96
Member Avatar for nigelsponge

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 …

Member Avatar for diafol
0
519
Member Avatar for learningcpp

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 …

Member Avatar for learningcpp
0
202
Member Avatar for vedro-compota

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!

Member Avatar for vedro-compota
0
239
Member Avatar for tgreer

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] …

0
177
Member Avatar for dvidunis

[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, …

Member Avatar for dvidunis
0
132
Member Avatar for mitrious

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 …

Member Avatar for mitrious
0
148
Member Avatar for TrustyTony

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.

Member Avatar for TrustyTony
0
933
Member Avatar for xpartmgr

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 …

Member Avatar for mrnutty
0
128
Member Avatar for heshanm

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 …

Member Avatar for heshanm
0
192
Member Avatar for heshanm

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, …

Member Avatar for heshanm
0
157
Member Avatar for jmurph333

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.

Member Avatar for jmurph333
0
233
Member Avatar for johanngomes

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! ;)

Member Avatar for Schol-R-LEA
0
688
Member Avatar for dawsonz

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" /> …

Member Avatar for dawsonz
0
204
Member Avatar for zachattack05

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 …

Member Avatar for zachattack05
0
113
Member Avatar for dyingatmidnight

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 …

Member Avatar for dyingatmidnight
0
138
Member Avatar for bluehangook629

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 …

Member Avatar for bluehangook629
0
183
Member Avatar for TrustyTony

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 …

Member Avatar for Gribouillis
0
304
Member Avatar for Labdabeta

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 …

Member Avatar for dvidunis
0
249
Member Avatar for massivefermion

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

Member Avatar for Ancient Dragon
0
440
Member Avatar for ashiiiish

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%">&nbsp;</td> <td width="48%" align="right"><select name="category" id="category"> <?php …

Member Avatar for pixelsoul
0
117
Member Avatar for arwenvd

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 …

Member Avatar for debasisdas
0
269
Member Avatar for Netcode

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 …

Member Avatar for Netcode
0
106
Member Avatar for Sinha's

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 …

Member Avatar for Ramesh S
0
199
Member Avatar for bangor_boy

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 …

Member Avatar for stevanity
0
251
Member Avatar for manish250

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 …

Member Avatar for bajishareef
0
144
Member Avatar for get2tk

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 …

Member Avatar for vishalrane
0
229
Member Avatar for arunselvaguru

Hi, I want to set a tooltip for gridview header field with own CSS style. Please let me know your comments on this.

Member Avatar for vishalrane
0
103
Member Avatar for didi00

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?

Member Avatar for didi00
0
121
Member Avatar for marsangel

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 …

Member Avatar for mKorbel
0
289
Member Avatar for vbx_wx

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 …

Member Avatar for vbx_wx
0
116
Member Avatar for jitu_mania

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 …

Member Avatar for jitu_mania
0
193
Member Avatar for LordSnow

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 …

Member Avatar for TrustyTony
0
124
Member Avatar for syeda amna

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.

Member Avatar for syeda amna
0
213
Member Avatar for ZER09

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 …

Member Avatar for smantscheff
0
162
Member Avatar for abhi10kumar

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 …

Member Avatar for karthik_ppts
0
147
Member Avatar for Saikumar Adep

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 …

Member Avatar for debasisdas
0
195
Member Avatar for suvisoya

hi i have 100 records in my datatable .Here i want to insert these records into SQL without looping . thanks

Member Avatar for Pgmer
0
102
Member Avatar for zooby

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 …

Member Avatar for matricol
0
270
Member Avatar for vizz

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]

Member Avatar for matricol
0
94
Member Avatar for Majestics

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 …

Member Avatar for Majestics
0
156
Member Avatar for Arjun_Sarankulu

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 …

Member Avatar for Mitja Bonca
0
156
Member Avatar for deva.v

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.

Member Avatar for sandeepparekh9
0
3K
Member Avatar for hwalsh

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 - …

Member Avatar for FALL3N
0
368
Member Avatar for Ole Raptor

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 …

Member Avatar for Ole Raptor
0
149
Member Avatar for rotten69

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 …

Member Avatar for rotten69
0
517
Member Avatar for somon

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..

Member Avatar for Ancient Dragon
0
265
Member Avatar for Zephnath

[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 …

Member Avatar for NormR1
0
2K

The End.