199,114 Archived Topics
Remove Filter ![]() | |
HEy everyone. I've been workign on this for a few days now and it's due tomorrow, so I thought I would ask a developer community for any input. Here is what is supposed to be happening. The Server starts. The Client Starts. The user enters a table name into the … | |
I was wondering how I would precess a form using ajax. All my ajax works and my form works, but my form within the ajax doesn't work. Here is my contact.html page [CODE] <head> <script type="text/javascript"> function loadXMLDoc(url) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new … | |
Hello frind>> I need solve this equation >> Chebyshev differential equation in c++ >>Let us solve togather>>> first the equation is : [url]http://upload.wikimedia.org/math/c/a/e/cae214684f8d6fcaa89fbbe1a195524b.png[/url] let start with someone >> Thankyou | |
I know: -basic cout/cin -declaring single integers/strings -currently learning 'for' loops as you can see, my knowledge is extremely limited as of now, and i wish to have a few practice problems to have a go at. May i have some suggestions? | |
Hi I want to remove a control in a placeholder, in a function in JavaScript. Is that possible? If so please help. Fia | |
I'm working with several programmers to get a program to compile & run on Windows and Linux. It compiles fine under Windows using SDL for most of the functions (sound, graphics & input), but we're getting an error when using a makefile under Linux. We've tried several things without any … | |
I have a program where the cout "ing" a string misses the beginning letter of the string. I have made it so that there are 3 options to input/output the information. The "missing" letter in the string is ONLY evident in option 1; option 2 and option 3 does not … | |
[CODE]<form name="form"><textarea name="message"></textarea> <img src="" onmousedown="(do the prompt box)"> </form>[/CODE] i need help how to figure out how to prompt the user with a javascript prompt() to enter a url(link) that includes an http:// after the user enters the url in the prompt box and clicks OK, i want the … | |
hi im new to programing and im trying to make a program that would calculate the tax on a given price but that would accept the tax rate as either an integer or a double but i get this error [QUOTE]Index (zero based) must be greater than or equal to … | |
I am trying to add Jtext area to a Java application, load text from a Notepad file & allow user to change color of text & make text invisible/visible using Menu bar. I am having trouble with the 1st part--loading the contents of a text file. Any help would be … | |
Hello, I am working on a database design for a project that I want to attempt. Right now, I am working on just the database. I am getting a little lost on primary and foreign keys. It's been a while since I have done this. Here is my list so … | |
hi, i have this code which do search in Table1 and use the result of search to search in another datatable Table2: [CODE] SqlCeConnection conne = new SqlCeConnection(); conne.ConnectionString = @" Data source= |DataDirectory|\Database1.sdf"; conne.Open(); SqlCeDataReader rrs; SqlCeCommand comd = new SqlCeCommand("select CodePersonne from Table1 where DateRP ='" + DateTime.Now.Date … | |
Hi, Im trying to make a batch script which can go through a directory and pick all the .txt files and copy the name in a file. Ive been able to make a script which can do this in a particular folder but if there is a folder in the … | |
I'm stuck trying to figure this out. I know I'm going to need a counter I just don't know where or how to implement it. I'm reading from a .dat file. The contents of the file look like this. google.com 760000 250 yahoo.com 340000 170 daniweb.com 230000 125 etc. I … | |
I'm trying to create a python cards game (a Brazilian cards game). But when I try to print some values (the cards played) it returns the following error: [QUOTE]Traceback (most recent call last): File "<pyshell#16>", line 1, in <module> play() File "C:\Documents and Settings\Terminal\Desktop\Truco.py", line 71, in play print "You … | |
Hi there. I am currently writing a registration program in Python, and have come across a problem. In my hours of searching, there seems to be no way to split a list that has elements obtained from [B]raw_input[/B]. Basically, I would like to take input from a user, feed it … | |
Ok so i have the following functions that does a recursive merge sort. I need to pass my arrays in by reference since I have many different arrays containing different things. Im comparing lists[index1].get_type() vs lists[index2].get_type() yet when i run this i am getting the same event with the same … | |
Hi All, I dont quite understand why this wont work i was hoping someone could help, I have got a noughts and crosses game and its all finished appart from the checkdraw sub routine i forgott to write in, so I wrote it out as below: Private Sub CheckDraw() If … | |
Hi, i am trying to implement gabor filter for image enhancement. if someone has any code snippet or pseudocode or any idea of implementing it in C, please help me out with it. thanks. | |
i have this assignment and i would like to help me in this: Write assembly program that reads a word from the key board and compares it with an already defined word in the data segment. If the two words are the same it display “Correct Password” else it will … | |
Im new to dynamic arrays. What im trying to do is get a line of number that are stored as charachters , but implement a dynamic array to store the charachters so the size of the number(i.e. number of digits) is unkown. After i convert the charachters to an integer, … | |
my son gave me this pc , I am trying to play a game but it seems i am missing something called direct3d. can this be downlaoded free somehere on the net? | |
I was able to print out daily values and aggregate the final annual result but I am lost and dont know where to start on how to sum the daily values to monthly and print it out. I need your help badely. Here is part of the code [CODE] import … | |
Hi, I am dynamically creating some labels with a contextmenu associated with them and I am having few menuitems also in the context menu. The context menu will be called when a label right-clicked( or clicked-hold) I have written an evenhandler to be called when a menu item is clicked. … | |
Hi, I have a dynamic picturebox created at run time that loads an image and I want this picturebox to be clickable and open a web page. Here is the code that creates the picturebox in the formload section:- [CODE]void MainFormLoad(object sender, EventArgs e) { PictureBox pb = new PictureBox(); … | |
I am writing a program and stuck on entering standard deviation. I have looked on previous forum topics and from what I have found this is what I have coded but when I cout my standard deviation I keep getting a 1.#f Can one of you guys take a look … | |
hi all I'm trying to make a simple web using a form and method="POST" My page works fine in Firefox but fails in IE6. Can anyone tell me what I'm doing wrong ? Here is my code [code] import cgi import os import parseFieldStorage import time def test(): print 'Content-Type: … | |
hello. i want to have a database in which i can have data of proteins and their structures .I'm New to php and have a biological background i studies . so can any one help me step by step that how can i build the database. regards Stefano [email]sa_kushi@gmail.com[/email] ![]() | |
if i want user to enter a single char in a variable...then how to restrict him/her from typing more than 1 character.....?? | |
Ok so i have a merg sort algorithm in my code yet for some reason its not letting me change it to what I need. Im not seeing where I have the mistake. any help? here are my files along with error. I am trying to sort the events by … | |
I have an input button that calls a javascript function: [CODE] <input type="button" name="Add_OpStds_Step" id="Add_OpStds_Step" value="Add Step" onclick="Add_OpStds_Step();" /> [/CODE] The function that is called will add some labels, input boxes, and the things needed for a table. By itself it works just fine, as soon as I wrap it … | |
Hello again guys, this is the code: [code] struct nodo { char *nom_usuario; //*user_name struct sockaddr_in IP; struct nodo *siguiente; //*next }; struct lista { //list struct nodo *primero; //*first struct nodo *ultimo; //*last }; ... ... ... void ordenar(struct lista* maestra); void ordenar(struct lista* maestra){ struct nodo* aux; struct … | |
i already have the id field which is auto increment primary key. I have another field that i want to be auto increment/autonumber but phpadmin/mysql doesn't allow? how else do i have a field with an autonumber? | |
so i'm almost done with my project. however, i'm still getting some errors when i run. you can find my code below. if you see any problems and know how to fix them, please, please, please let me know! class tennis: def __init__ (self, name, rank, tournamentsPlayed, country, racquetBrand): self.name … | |
Hello please i need a simple phonebook program using vb.net 2008 and access 2007 using ado.net with add , edit . delete buttoms | |
hi, i work on windows application. i have the first form of the authentification ( with username and password) after that i have the principal form. in the load event of this principal form i put a code that shows another form. my problem is that i delete this code … | |
hi, i have some imports in my class file [CODE]import com.xyz.auto.common.ui.URObject; import com.xyz.auto.common.utils.AutoScript;[/CODE] in the above code, the URObject class is in a jar file called uis.jar the AutoScript class is in a folder structure [com->xyz->auto->common->utils]. during compiling it is showing "com.xyz.auto.common.ui " package is missing. but i have added … | |
[B][INDENT]below is the tutorials for developing the program i had a hard time with it. Part 1: Blackjack Card Game Blackjack is a card game played in casinos. The game is also called Twenty-One. Blackjack came originally from France, where it is called Vingt-Et-Un (21). The goal for both the … | |
I keep getting this error: c:\inetpub\wwwroot\Phoenix\Login.aspx.cs(85): 'Phoenix.WebForm1.DBConnection(string, string)': not all code paths return a value I have already tried putting everything in the DBConnection function to comments but still the problem persisted. This is crucial that i get this working. I have watched examples from the guides in daniweb but … | |
Protected Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button5.Click Dim connection As SqlConnection = New SqlConnection("server=(local); Database = Bookstore; integrated Security=True") Dim CSP As SqlCommand = New SqlCommand() 'Dim Cust As SqlCommand = New SqlCommand() CSP.Connection = connection CSP.CommandText = ("select CusID,CusPassword from CusromerDetail where CusUsername = … | |
Hey everybody, I currently making a program that needs to activated on startup. So after extensive googling I decided to do it the registry way. However, creating a new value or editing an existing value, is not working. Could you explain how to edit and/or create a value in a … | |
Can someone provide sample code on how to create and fill a DataTable with the table schema and data from a mySQL database? I found examples where you set up columns and other information programmatically. But i wanted to know if there a way to "sync" the schema in the … | |
hi .. i am a newbie in PHP .. i have learned some php script and ready to make something from PHP .. can anybody suggest me, how to test my PHP skill ? i mean, u guys of course ever be a newbie, right ? so, when ur still … | |
Hi All, In our application we have combo boxes implementated using tables with fixed column width(fixed combo width). and newly i have added a functionality for these combo box. functionality is expand combo box on rightclick (using oncontextmenu) to fit to lengthy text. oncontextmenu=function_call(object); inside function: obj.style.width="auto" but the problem … | |
Hi I create web site using asp.net,It publish in windows server 2003.when I type URL in internet explore its sows all the aspnet file(.aspx) file,after that I click on default.aspx file,but it wont works,its generate "page cannot found".I tried it in my local machine and server machine,but its that didn't … | |
[QUOTE]i hav a session variable.but wen i try to access it from the other page it is not showing anything.so i think session value is not working.[/QUOTE] ------User.php------- [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory,$Remainingmemory,$result,$data3,$abc); include 'connection.php'; $query= mysql_query("SELECT projectassign FROM projectassign where userid=(select userid from users where username='$username' and role='2')"); … | |
hi all, i want to store a value in session by using javascript in php.Can any one say me about it, i mean how to store and how to get that in the other php page. Thanks in advance.. | |
Hey guys, I am having some trouble getting my head around tkinter at the moment. I am new to programming and have been using python for about 2 months now. The problem I am having is with RadioButtons. I have a set of radio buttons numbered 1-9 and I can … | |
Hi All, I'm trying to write some code to read a CSV file and produce HTML from it. I'm using MAMP to develop the page, but no code at all will display in the browser. I would like the first line of the file to be the header, and then … | |
i'll attach a little snippet: [CODE] comd = New OdbcCommand("INSERT INTO news (new_title, new_content) VALUES (@newTitle, @newContent)", conn) comd.Parameters.Add("@newTitle", OdbcType.Text) comd.Parameters("@newTitle").Value = newsTitle.Text comd.Parameters.Add("@newContent", OdbcType.Text) comd.Parameters("@newContent").Value = FCKeditor1.Value conn.Open() comd.ExecuteNonQuery() Response.Redirect("default.aspx") [/CODE] this code executes, and my database is updated, but the new_title and new_content fields are still NULL. i've … |
The End.