199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mbarandao

Good day all: I have an editable invoice that I have added a sales tax option with a js function doMath(). Prior to my modification with the sales tax option all worked well. the invoice which code is the following: [code] <textarea id="address" rows="6" cols="38" disabled="true">Website: Email: TaxID: </textarea > …

Member Avatar for mbarandao
0
2K
Member Avatar for zachattack05

I am putting together an editor for an application I am creating. The data ultimately resides on a SQL server. The application loads some of the data from the server into a dataset, which is used by a bindingsource which is then used by a bindingnavigator. (wow that's a mouthful). …

Member Avatar for zachattack05
0
203
Member Avatar for gunnarflax

If i assign a value to a variable like this in PHP: [CODE] $var1 = 123; [/CODE] and then assign another value to another variable like this: [CODE] $var2 = $var1; [/CODE] Are those two variables pointing to the same value in the memory (like in Java if I'm not …

Member Avatar for gunnarflax
0
101
Member Avatar for anilopo

how should i prevent the shallow copying? every class i think i would need to copy i need to do the 'clone' function? is there a 'copy constructor'? the thing is - i have a constructor that gets objects as parameters. how do i copy it into the data member? …

Member Avatar for apines
0
198
Member Avatar for coxdabd

Hi there, just a quick one (I think), a little stock on displaying PHP results in a div rather than a table. I seem to be managing to display one of the results ok but the rest are not showing, I want them all to display in their own divs. …

Member Avatar for teedoff
0
96
Member Avatar for cdes1145

Basically i'm new to web design and I have the basics of html only. I am looking to add a feed(I think) onto my website that allows a user to input text and it is then displayed in a list above the person befores text. Am I aiming to high …

Member Avatar for Borzoi
0
182
Member Avatar for maofree

Hi Droopy doesn't work on my Linux's distro with python 3.1 (with python 2.x everything was ok). (here you can find droopy [url]http://stackp.online.fr/?p=28[/url]) I've used this command 2to3 -w droopy and changed alot u" in " , in Translations section But now there is another problem [CODE] Traceback (most recent …

Member Avatar for maofree
0
391
Member Avatar for Xcelled194

I'm attempting to make a program that will simply draw a guide (consisting of two perpendicular lines) on another program's window. I tried using a form with a transparency key and TopMost set to true, but then whenever the user inadvertently clicked the guide, it would un-focus the application. This …

Member Avatar for Xcelled194
0
265
Member Avatar for k.d.m

Hi, I am using VS 2008 express edition. I want to use asp.net configuration tool .But when i execute the tool it is not working. It display this message in browser '[B]An error was [/B][B]encountered. Please return to the previous page and try again. [/B]'. even though i refresh the …

Member Avatar for ITchimes
0
263
Member Avatar for 101domain

I have seen lots of websites that use Google Snippets to attract the users. What is the correct way to use them and in which part of website these are applied?

Member Avatar for maneetpuri
0
217
Member Avatar for onus

On this link [url]http://lxr.ncu.cc/source/kernel/timer.c#094[/url] a return type is defined [CODE] return ((unsigned int)(unsigned long)base & TBASE_DEFERRABLE_FLAG); [/CODE] What is the above function returning.I am not clear with definition of what is being returned in the above code.

Member Avatar for onus
0
167
Member Avatar for neo_31591

[code] //package Answer; import java.sql.*; class Answercheck { public static String correct; public static String user="Brandon"; /* public static void check(int q1) { String dataSourceName = "questions"; String dbURL = "jdbc:odbc:" + dataSourceName; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection(dbURL, "",""); Statement s = con.createStatement(); s.execute("SELECT copt FROM Ques WHERE …

Member Avatar for neo_31591
0
123
Member Avatar for vinitmittal2008

Write a 'C' Function to combine two singly connected linked lists in the following manner. Suppose one list is "L" which can be given by L=(l0,l1,.....,lm) and the other list is "M" where "M" can be expressed as M=(m0,m1,......,mn) where each li,mi represents one node in the respective lists. For …

Member Avatar for vinitmittal2008
0
173
Member Avatar for prathameshz

hi.... whenever i use the header in php this error is occure. whats the solution of this error Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\simple.php:11)

Member Avatar for prathameshz
0
187
Member Avatar for zyzagy

Hi, I am kind of new to PHP, learning through books and online resources but I am having difficulties with what seems like an easy problem. [CODE]if($pageid == 1){ echo ""; } else { [COLOR="Green"]echo '<form action="delete_ad.php" method="post">'; echo '<input name="deleteid" type="text" value="" id="deleteid" hspace="10"/>'; echo '<input name="delete" type="submit" value="Delete …

Member Avatar for Borzoi
0
168
Member Avatar for apanimesh061

I have made 8 tables, that are connected with primary keys among each other......What command should I use, to delete all tables at once ????

Member Avatar for mushget
0
54
Member Avatar for wowz

i have absolutely no idea what to do, can someone explain the steps, or do it and explain what they did? [CODE]/** A purse has an array list of coin names that can be changed by adding coins. */ public class Purse { //instance variables private String[] coins; //the money …

Member Avatar for javaAddict
0
102
Member Avatar for Moppy

Morning. I'm new to all this forum malarque, but lets give it a stab! I need to prove some PHP code works and does what it should for college, but the server doesn't run PHP apparently. I thought I could somehow get the website to relay what the user has …

Member Avatar for pritaeas
0
129
Member Avatar for theo23

hi,i would like to make a simple hotel.Firstly,I created a simple form(with no validations etc) but i don't know how when i press Submit button then this details to save in a database using Mysql. Can anyone tell me how to do this this? <br> [code]<%-- Document : StartPage Created …

Member Avatar for javaAddict
0
175
Member Avatar for marco83

I hope somebody could help me with a couple of things... First, I would like to search the /etc/passwd file for the full name of a user given his/her username. i've tried the following command: cat etc/passwd | grep -w '`whoami`' | cut -f 5 -d ':' of course that …

Member Avatar for JamesWhite..
0
225
Member Avatar for sylvestri89

Please help me. I am in an intro computer programming class and I dont know how to use arrays. [url]http://i196.photobucket.com/albums/aa228/Sylvestri89/problem.jpg[/url]

Member Avatar for apines
0
125
Member Avatar for erum

i have code [CODE]Protected Sub btn_submitt_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_submitt.Click Try If (ddl_Country.SelectedItem.Text = "Select Country") Then Me.Label1.Visible = True Me.Label1.Text = "Please Select Country" Else Me.Label1.Visible = False Dim n As Int32 Dim connString As String = System.Configuration.ConfigurationManager.ConnectionStrings("containerConnectionString").ConnectionString Dim con As SqlConnection = New …

Member Avatar for erum
0
139
Member Avatar for veledrom

Hi, I want to re-use already estanbished DB connection but I don't know know how to do it. Please help me to modify my code below. Thanks in advance [CODE]function connectDB(){ $host = "localhost"; $uid = "root"; $psw = ""; $db = "mydb"; $hostc = @mysql_connect($host, $uid, $psw); if($hostc){ $dbc …

Member Avatar for veledrom
0
93
Member Avatar for Matthew N.

Hello, I have a JavaScript calculator, here is the code:[CODE]<script type="text/javascript"> var num1=prompt('Enter your first number',""); var num2=prompt('Enter your second number',""); var problem=prompt('Enter the operator you wish to use..x,X,+,-,/ are valid..',""); if (problem=="+") { alert("The anwser to your equasion is "num1+num2); } else if (problem=="-") { alert("The answer to your …

Member Avatar for rbsntl
0
1K
Member Avatar for madilexi

Hello all. I'm a first year C++ student and I'm going cross-eyed trying to figure out what's wrong with this code that I've started on. I need a little help understanding parallel arrays. The program is supposed to let a user input their Student ID. From there, it will either …

Member Avatar for jonsca
0
140
Member Avatar for yongj

I have a program that outputs a series of items onto a form--an "invoice" if you would like. The problem is, when the user enters in more items than the invoice's size can handle the rest just disappears into the mysterious realm down at the bottom. Is there a way …

Member Avatar for Netcode
0
383
Member Avatar for spiffy577

Hey all, I have a htpc project that I am working on. The main program loads dlls which are basically other win forms. On each of these forms, including the main program, I use a picturebox (double buffered picturebox) for the background image and then draw everything on it by …

Member Avatar for spiffy577
0
423
Member Avatar for gunbuster363

Hi all, I am having problem printing chinese character in a text file. Some point to know: 1. I do not know the codec of the text file, but I know it is writting in traditional chinese. 2. I tried some approach from google, no one work I don't remember …

Member Avatar for richieking
0
100
Member Avatar for nsam

Hi, I am stuck in a simple problem due to checkbox The problem is that in the value attribute of checkbox I am placing a value which I want to retrieve [CODE]echo "<td><input type='checkbox' value='".$row['docid']."' name='asgn[]'>Assign</td>";[/CODE] after this I am using foreach() In the output page i get a warning …

Member Avatar for mahavir123
0
104
Member Avatar for dre-logics

I use Visual studio 2008 I use MYSQL 5.1 I want only to backup database Test to to a specific directory. I use the [COLOR="Green"]application settings [/COLOR]to determine which directory(see attachment). [COLOR="Green"]Green[/COLOR] shaded code works perfect. [COLOR="Red"]Red [/COLOR]shaded code works not!! This is with My.settings. I can not see the …

Member Avatar for dre-logics
0
625
Member Avatar for hyperzero4

[code]> can't invoke "event" command: application has been destroyed while executing "event generate $w <<ThemeChanged>>" (procedure "ttk::ThemeChanged" line 6) invoked from within "ttk::ThemeChanged"[/code] Has anyone ever seen this error before? It keeps appearing when I load a toolkit I need for my project. I've been working to find out where …

Member Avatar for creed_creed
0
793
Member Avatar for cirno

Dear Codegurus, [B]How do I updatezz data from 2 rows to 2 columns?[/B] tool: vb.net server: MySQL (SQLyog) I have 2 tables, membercardlist and memberinfo: table membercardlist: [CODE] ------------- ------------ ------------ | AccountNo | CardNo | status | ------------- ------------ ------------ | 9999 | B009 | inactive | ------------- ------------ …

Member Avatar for cirno
0
120
Member Avatar for jlovesfishiee

Anyone knows how I can read a string value from a textbox (e.g.: 192.168.1.1), split the values using a delimiter, store the values and convert them into int for later use? Thanks.

Member Avatar for jlovesfishiee
0
120
Member Avatar for juan92

im a newbie here, im taking intro to programming wth VB in college and im having problem with the homework here's what im supposed to do 36. Read 10 digits contained in a text file into an array and then display three columns in a list box as follows: column …

Member Avatar for codeorder
0
186
Member Avatar for hq1

Hi so I have this program to find the largest odd number from an array of 50, the program runs fine, but the problem is after reading the numbers from file it says the largest odd number is 0. Can some one please have a look for me and tell …

Member Avatar for spetro3387
0
2K
Member Avatar for sri.k

Hi this is sri and i am new to java.Here is a xml file. My task is to parse all the xml elements in java without using any parser like dom,sax. So pls help me[U] how to parse xml elements without parsers[/U].I have to get same out put as when …

Member Avatar for sri.k
0
200
Member Avatar for fregley

I'm relatively new to java, so please bear with me. Anyway, I've written a program that makes use of both images and audio, and I'm trying to package these into the .jar file. My goal is to be able to run the program without requiring any files besides the jar. …

Member Avatar for fregley
0
240
Member Avatar for victordq

Hi guys, I'm new to forum and to Python. I need some help with the python - MySQL interaction. I'm creating a program for my conclusion project in College and it's not working. I gotta present it on Wed, 11/24, and I'm really desperate for some help. It's suposed to …

Member Avatar for victordq
0
201
Member Avatar for convoluted

Hey all, Hopefully this will help someone with a problem I encountered. For a few days now I was looking for a way to concisely set the attributes to numerous controls without duplicating attribute code again and again. For example, let's say I have 3 static text controls and I …

Member Avatar for convoluted
0
179
Member Avatar for Kosithc

Hello, I have 2D matrix with greyscale image data, in particular point I have computed vector, which contains gradient in this point (via Sobel operator, it has 2 values - difference in x and in y axis), and I store this gradient vector like perpendicular vector to this gradient, so …

Member Avatar for spetro3387
0
166
Member Avatar for Bri426

I've written a program that takes a file, students.txt, which is constructed as such: Student1 name test1 score test2 score test3 score Student2 name test1 score test2 score test3 score etc. The program has three functions, one that reads the file, one the prints the file and one that sorts …

Member Avatar for jonsca
0
150
Member Avatar for arun_l

I'm trying to cross compile a source for Tilera and I got the following error while linking. All these errors are related to C++ STL(Standard Template Library). Is there any difference in linking process of a STL library. Errors are: gtpu_t. a: In function `stlp_std::_Atomic_swap_struct<0>::_S_swap(unsigned int volatile* , unsigned int)': …

Member Avatar for HaroldR
0
182
Member Avatar for phoenix1095

hello there guys, was wondering if anyone could help me,im new to C++ and at the moment im trying to make an array of people which then has either an array or list of other variables, it would be an array of people (this would have their details such as …

Member Avatar for arkoenig
0
187
Member Avatar for eat@moes

Hi, I am pretty new to HTML and brand new to PHP. I am trying to put together a simple internal website on a Linux box to keep track of some inventory. I would like to be able to click a link in the sidebar and have it display that …

Member Avatar for eat@moes
0
120
Member Avatar for hzp

[B]Edit: that was my mistake. i placed the codes in wrong line. i solved it by myself already. thanks for viewing.[/B]

Member Avatar for jonsca
0
136
Member Avatar for choosenalpha

Hello All, I have went through my code and checked for any whitespace or blank spaces and also missing closing marks and etc. But the error message clearly states that it is initiated at line 8 of my php code. Is it my echo in the code? Can someone please …

Member Avatar for choosenalpha
0
252
Member Avatar for benjaminFowl87

Hi there, I'm thinking of creating a mini comparision website like money supermarket or gocompare but have no clue as to how these sites manage to get all the information in the first place. My first thought is web services and something similar to rss feeds but this is only …

Member Avatar for griswolf
0
120
Member Avatar for cherrydeee

hi. can someone give me a link with a tutorial on how to make graphics using the turbo assembly language? graphics like square, circle, lines, etc. thanks

Member Avatar for Goalatio
0
213
Member Avatar for ddggttff3

Hello. I am kind of new to PHP and mysql, and I am wondering on how I would go about coding up a system that would allow me to save multiple values to one row in a mysql database, and later read each separately. I am coding up a mac …

Member Avatar for ddggttff3
0
157
Member Avatar for cocoll

hello! i need your help to know which checkbox cause the event: i have 2 checkboxes and 2 radiobutton (in swing),then i add the 2 checkboxes to a buttongroup and the 2 radiobutton to a buttongroup,so as default 1 checkbox and 1 radiobutton are selected,so when i check other radiobutton …

Member Avatar for Ezzaral
0
91

The End.