199,114 Archived Topics
Remove Filter ![]() | |
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 > … | |
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). … | |
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 … | |
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? … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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. | |
[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 … | |
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 … | |
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) | |
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 … | |
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 ???? | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 | ------------- ------------ … | |
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. | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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)': … | |
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 … | |
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 … | |
[B]Edit: that was my mistake. i placed the codes in wrong line. i solved it by myself already. thanks for viewing.[/B] | |
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 … | |
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 … | |
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 | |
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 … | |
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 … |
The End.