199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for server_crash

I've looked and looked for some good material on this exception, but I can't find anything helpful. I just don't understand it. It's suppose to be caught or thrown whenever a method is called when not suppose to be...But won't other exceptions be caught or thrown in it's place? If …

Member Avatar for GoogleException
0
197
Member Avatar for sun-tzu

I couldn't decide where would be the right place to post this, so I decided to try php since Wordpress is at least built in php. I need to find a way to duplicate my Wordpress installation on a subdomain. I want to create a mobile version of my site …

Member Avatar for MagicMedia
0
168
Member Avatar for himerus

This script will display a previous next script that will look like this: << prev 1 2 [b]3[/b] 4 5 next >> It is clean, and avoids large numbers of pages in the prev/next links [code=php] $server = "localhost"; $user = "username"; $pass = "password"; $databasename = "yourDBname"; $db = …

Member Avatar for Ezzaral
0
2K
Member Avatar for Stackheuw

I am trying to count the number of hits a value in one file(column) falls between an interval from another file (two columns). I am completely stuck on how to map it. I tried something like this: for line in file1: if line[0]=line2[0] and line2[1]<line[1]<line2[2]: print line I'm not sure …

Member Avatar for Stackheuw
0
276
Member Avatar for fashxfreak

[CODE]OleDbCommand com = new OleDbCommand("update cus SET cus_name = ('" + textBox4.Text + "'),order=('"+textBox6.Text+"') WHERE no = ("+textBox5.Text+")", con);[/CODE] its giving a syntax error

Member Avatar for Ezzaral
0
77
Member Avatar for tapuwa2002

I have created form where the values are taken from the form. I still get and an error when I put my form value in the statement. But when I run the statement separately it works but now when I combine it doesn't. [CODE] <cfif not isdefined("Form.frmpricerange")> <cfset Form.frmpricerange = …

Member Avatar for arrgh
0
107
Member Avatar for LittleMissChoco

I want to calculate the age of a person, when he/she inputted his/her brthdy on the form, it will shows his/her bday in year/month/day format Example, the user chooses February 11 1994 on the drop down list. when he/she click submit, it will display his/her age Output must be like …

Member Avatar for diafol
0
215
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 coded in Vb.net. I have a datagridView which is getting populated from the Database.I has RegNo,RollNo,Name etc fields.The data in the Name column of database is coming from 3 columns of a certain table from database. This is how im concatinating it and displaying …

Member Avatar for Zeth643
0
889
Member Avatar for python |

I am trying to work on some code for updating google docs using the python gdata api's. The code works perfectly fine when i try to run the code in a cafe internet or home network without my proxy. When i have to deploy the code in my workplace - …

Member Avatar for ravigup
0
695
Member Avatar for hondros

Alright , so I spent _forever_ trying to figure this out. So, if any newbies here need to know how to write and read ANY object (with the exclusion of pointers, but I'll get to that), this is something that can help. First and foremost, you have to take endianness …

Member Avatar for mike_2000_17
0
369
Member Avatar for veeresh_cm

Here I am searching a string in text file and replacing it with new string. In this code it finds but the new word wrights at the end of the text file and not replacing. Plz. can anybody help me..... [CODE]#include<stdio.h> #include<conio.h> #include<string.h> void main() { FILE *fp; int f=0,l,n=0; …

Member Avatar for TrustyTony
0
314
Member Avatar for prof php

I want to add rss to my site that checks information about the url the user has posted then returns the image from the site, and brief describtion of what the site does.....just like the way facebook does it when user posts a url. Any ideas how it's done or …

Member Avatar for gotboots
0
185
Member Avatar for LittleMissChoco

[CODE]<html> <head> <title>Web Development</title> </head> <body> <h2 style="text-align: center">Personal Information</h2> <?php // FOR PERSONAL INFORMATION PHP //text area First name if(empty($_POST['name'])) { echo "<p>You didn't enter your name.</p>\n"; } else { echo "Your Name: <b>" . $_POST['name'] . "</b><br />\n"; } // function get_Age_difference($start_date,$end_date){ list($start_year,$start_month,$start_date) = explode(‘-’, $start_date); list($current_year,$current_month,$current_date) = …

Member Avatar for cereal
0
414
Member Avatar for fashxfreak

I'm Having a problem in it, don't what what it is : m having a syntax error [ICODE]OleDbCommand com = new OleDbCommand("update cus SET cus_name = ('" + textBox4.Text + "'),order=('"+textBox6.Text+"') WHERE no = ("+textBox5.Text+")", con);[/ICODE]

Member Avatar for Mitja Bonca
0
199
Member Avatar for newboi

Hi Guys, Can't seem to get my head around this one. I need to send a bunch of variables to php so that i can store the values in a database, but i just can't figure out a way to do that. Pls help. here's a little code [code] $( …

Member Avatar for F-3000
0
254
Member Avatar for dhimmar

Hello Highlly Tinker Guys, I want XPath of Each Node in XMlFile in Vb.net Below Is my Code on button click event [CODE] Dim szXMLDoc As XmlDocument=New XmlDocument() szXMLDoc.Load(Server.MapPath("ChurchFolders.xml")) '------Code to find xpath for each node----------- [/CODE] The ChurchFolers.xml file is As below [code=xml] <xml version="1.0"> <folder id="parent" path="~/MyChurch"> <folder …

Member Avatar for vijay_myl
0
150
Member Avatar for DaveTran

Is it better to use structs over classes for serializing class settings? Class settings can have initial default values. [code] [Serializable] public class LevelSettings { // Default level values public int Depth = 3; public int Height = 3; public TileSettings[] TileSettings = new TileSettings[27]; public int[] TriangleIndices = new …

Member Avatar for nick.crane
0
902
Member Avatar for vishalbhavsar

Hi, I am trying to write a program having file handling. In it, I write an object in a .dat file. Is there any mechanism to read a specific object from a file? Is there any method like 'fseek()' as provided in C?

Member Avatar for JamesCherrill
0
178
Member Avatar for cigoL..:)

Greetings, i'm currently developing a web browser for my school project (i'm kinda new to advance visual basic)... it's 75% complete and the only problem i encountered is that when i enter items for the combo box it accepts duplicate .. for example i entered [url]www.daniweb.com[/url] and re-entered it again, …

Member Avatar for cigoL..:)
0
475
Member Avatar for chiiqui

Can anyone help me with this? or alter the code of mine when it comes to the user Input here's the block of code of mine [CODE]public int Remove(int i, Briefcase c[], String[] m) { int nChoice = 0; System.out.print("\tPlease remove " + i + " cases: "); nChoice = …

Member Avatar for chiiqui
0
3K
Member Avatar for pro_learner

I want to browse & upload file to a folder.How can i do that in java.I can browse for a file.This is the code that i used.... [CODE] JFileChooser chooser = new JFileChooser(); chooser.showOpenDialog(null); File file = chooser.getSelectedFile(); String filename = file.getName();[/CODE] Plz tell me how to upload a file …

Member Avatar for JamesCherrill
0
538
Member Avatar for Rhamises

[url]http://ouraubie.com[/url] please check out my site. the link is located at the first line of my post. that's my error. and then the line 44 contains: [CODE]include ("/view/login.php");[/CODE] it worked here using xampp but after uploading it, that warnings comes out. i figured out some RULES that a "session_start();" must …

Member Avatar for karthik_ppts
0
190
Member Avatar for acechauhan

Hi, I am just starting to code in C. While using the [code=c]#define sec 3600[/code] the compiler returned an error - expected identifier or ‘(’ before numeric constant. [code=c]#define sec 3600 #include<stdio.h> #include <stdlib.h> int main(){ /*Rest of the code*/[/code] If I change sec to seconds, the compiler does not …

Member Avatar for asitmahato
0
169
Member Avatar for Whilliam

Hello guys, I am very new to Java. I've been trying to select two different tables but fails. The error is "Invalid operation at current cursor position.". Here is my code. [code] private void display() throws SQLException{ TableModel model = schedTable.getModel(); PreparedStatement stmt = con.prepareStatement("select * from APP.SCHEDULE"); ResultSet sched …

Member Avatar for Zaad
0
116
Member Avatar for anderson

I am trying to write an application that will detect all the USB devices connected to my computer. For this I have declared GUID and called the following functions to get the information about devices connected. LPGUID guid; HidD_GetHidGuid(guid); HDEVINFO hDevInfo; hDevInfo = SetupDiGetClassDevs(guid,NULL,NULL,DIGCF_PRESENT | DIGCF_INTERFACEDEVICE); But it give the …

Member Avatar for shazzzz...
0
983
Member Avatar for TrustyTony

There was question about encryption in Delphi/Pascal forum and a guy was suggested reversing the bits as additional step (I do not know if he in reality meant XOR 255, that is making 0's 1's and vice versa). As it keeps still same distribution of letters I suggested as better …

0
634
Member Avatar for ahasan_al_rabbi

I am using a image slider in my page. but sliders moves to fast. I want it's will be move slowly. so help me.

Member Avatar for ahasan_al_rabbi
0
172
Member Avatar for tapuwa2002

Hi guys Is there a way, where i can get two values from a option tag. I have form that needs to have values for it to display e.g My form looks like the following. [CODE] <form method="post" name="frmone" action="Result.cfm" enctype="multipart/form-data"> <select name="selvalues" id="selvalues" class="input_style-1" id="selvalues" style="height:19px"> <option value="1">Select Result</option> …

Member Avatar for tapuwa2002
0
155
Member Avatar for jp_jones

Hello, Last year my team wrote a VB .Net project that used the webbrowser control to automatically fill out user forms, click images, action buttons etc. for a web application used in our company. This year, the web application was upgraded to version 3.0. We got the application in our …

Member Avatar for Oxiegen
0
297
Member Avatar for NeoNe

Hi to everyone I’m wondering how to make some simple checkbox for multiple data delete from mysql I found some tutorial on net but don’t work. I tested it without changing anything and doesn’t work. I’m wondering did programmer test it before he posted that tutorial ? Here is a …

Member Avatar for sammry
0
877
Member Avatar for Jonathan C

Labels, Textboxes and Buttons You will construct a form-based program to play the ancient game of Nim. In the game of Nim, 2 players would remove objects from a pile in alternating moves. The player could remove 1, 2, or 3 objects at a time. The player who is forced …

Member Avatar for Mouche
0
505
Member Avatar for Cap'nKirk

Hi, I am working on a small application that uses a WebClient to download an XML file via an API call. Just downloading the file is fine, that all works but I really wanted some way to show the download progress to the end user. Searching on the net I …

Member Avatar for Cap'nKirk
0
135
Member Avatar for ITHope

I am using java to create a program that gives the user the option to either add two numbers multiply two numbers or see if the 2 numbers are equal this is what i have so far. I know hot to the menu option so that is ommitted. how can …

Member Avatar for dimasalang
0
249
Member Avatar for mwenyenia07

Hi all, I want to create an application to send an sms message to multiple clients. can somebody help how to go about it or send a php code that can do so.

Member Avatar for MooGeek
0
142
Member Avatar for SolImages

Can someone please help with some coding. I'm not terribly familiar with PHP but I can't figure out why it won't take. I'm making a contact form and this is what I get when I press the submit button. Parse error: syntax error, unexpected $end in D:\Hosting\8304515\html\contact\contactformprocess.php on line 52\ …

Member Avatar for karthik_ppts
0
129
Member Avatar for JennyK

Hi, *I need to randomize a multidimensional array so that the order of questions in a questionnaire is different for each participant. I have limited php skills, and am modifying an old script someone else wrote. Currently, questions are presented in the same order that they are listed in the …

Member Avatar for cgi.net
0
3K
Member Avatar for M09

hello i am a beginner python developer and i am search about python projects for beginners for i learn and know how can i make program in python and thanks

Member Avatar for M09
0
231
Member Avatar for GeoffC

Example 1 The button is a blob of colour (.jpg) with text over the top. I want two things to happen: first, when the cursor is rolled over the .jpg and then the text, I want the text to change colour. This works ok. Second, I want to link to …

Member Avatar for AffineMesh
0
190
Member Avatar for marsh_mallows11

Guys any idea how to implement the said code... Implement the IMultiSet interface below into MultiSet class [code] public class IMultiSet{ // add x to this multiset (x must be 0-9) void add(int x); // remove x from this multiset if there are occurrences of element x (x must be …

Member Avatar for NormR1
0
574
Member Avatar for ITHope

how can i search a database lets say the police database for felons that they have online is there a way to manipulate the code to do that

Member Avatar for ITHope
0
83
Member Avatar for vampshay
Member Avatar for vampshay
0
91
Member Avatar for dwlamb

Good day, I am getting an error on a log-in script: mysql_query(): 4 is not a valid MySQL-Link resource I've done some research on this and followed such advice as: [LIST] [*]ensuring the mysql connection is closed after the results have been returned [*]testing any sql strings I define in …

Member Avatar for Zexsz
0
181
Member Avatar for poker158149

I'm trying to using Try, Except to check an input() to make sure it's not blank. I'm using it at a different part of my program to check a float(input()) and it catches it if someone leaves it blank or enters a string, but I assume that's because it's checking …

Member Avatar for poker158149
0
15K
Member Avatar for mikejs

Hi I have used the following code to populate a DataGrid based on the contents of a textbox. the users searches for a name which is populated into a combobox based on the name in the combobox several textboxes are populated with data based on the data in one of …

Member Avatar for Zeth643
0
152
Member Avatar for momartin

I need to run several commands more than 400 times for a mass number of files. Therefore, I'm trying to incorporate the commands in to a python script to automate the processes. Even though the commands run successfully in the the windows command prompt (I have manually tested the commands), …

Member Avatar for Gribouillis
0
1K
Member Avatar for Zexsz

I have a webpage that builds an html table if there is any data in a mySQL table. That works fine, the html table is populated with data from the mySQL table. My problem is when there is data it populates the html table but lists the first mySQL table …

Member Avatar for Zexsz
0
255
Member Avatar for garu525

Hi, I'm writing a program that checks parens/brackets/braces if they are paired. Tha catch is I have to write my own stack functions, this is my code so far, it used to work when I was working with just the parentheses, now that I added more options it's not working …

Member Avatar for garu525
0
168
Member Avatar for mikejs

Hi how would I go about creating a payment schedule based on a date and a number of months 3 or 6 or 12 to then populate the database with reoccurring dates so lets say new user added on 31/10/2011 for 6 months I need the database to add all …

Member Avatar for Zeth643
0
182
Member Avatar for paulmcco

I receive this error in a c++ program after moving the program from Mac OS X to windows...I was using XCode, I am now using Visual C++...I looked up the error codfe but don't understand how to apply the solution. Here is the solution as stated by microsoft: A type …

Member Avatar for paulmcco
0
540
Member Avatar for tanhc

Hi there, I am a newbie to MSSQL. I apologise first as I know that my question might have been asked by others elsewhere but unfortunately I couldn't find it. I will really appreciate if someone can shed some light into my question. I have two tables with the following …

Member Avatar for poojaabora
0
137

The End.