199,124 Archived Topics
Remove Filter ![]() | |
Hello take a look at my code then I'll tell you what error I get... [CODE]var Top = document.getElementById("topmargin").value; var Left = document.getElementById("leftmargin").value; var Background_Color = document.getElementById("backgroundcolor").value; var Border_Width = document.getElementById("borderwidth").value; var Border_Type = document.getElementById("bordertype").value; var Border_Color = document.getElementById("bordercolor").value; var num = id+1; var new_id = "a"+num; document.getElementById(new_id).style.top = Top; … | |
[code] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace FileApp { class Program { static void Main(string[] args) { Console.WriteLine("***** Simple IO with the File Type ******"); string[] myTasks = { "asdf", "qwerty", "awdx", "1234" }; // Write out all data to file on C drive. File.WriteAllLines(@"C:\tasks.txt", … | |
PHP..... I have a mysql table which has two columns: NAME, ADDRESS. i want to assign the both column names into variable. if i give one column name and it works as below. $yourfield = "NAME"; //it prints value of NAME column I want to retrive values of both column. … | |
i am a new programmer trying to make a program, which askes the user for a string input and searchs for the string in an array, and prints "Found: ("string") and the position of the string in the array. this is what i have done soo far: [code]import java.util.Scanner; public … | |
hi all, I have this minor problem which is making me go cranky at the mo.. Can't think straight, need some insights to what I can do... Below is the code which I am working on which takes the test sample values stored in my test 2D array subtracts the … | |
Hi ALL, I HAVE AN XSD FILE WITH NEEDS TO BE CONVERTED TO HTML FORM. WHAT ARE THE STEPS TO BE FOLLOWED ? PLEASE EXPLAIN... MAY BE XSD TO XML ? IF SO ? HOW ? | |
okay so i have to make a windows form app in c# for a car catalog company as an assignment for school. i was about half way done, and i simply dont have time. i could email you my half done app if you would like. i have all the … | |
Hi.... I am a C# language beginner.Could someone explain me about CLS(Common Language Specification or Common Language Subset). I would like to know about CLS is used in which conditions and what is the job of CLS. Please help me... Thanks | |
hey acctually i want to retrive data from text file nd save it to sql database bt i just have to implement some conditions like if there are 3 entries exists in text file with the same ID but i just have to get only 2 of them so in … | |
Hey there. I've been programming in Python for about a month now. I've created simple programs for myself, such as games and e-mail applications. Still getting GUI down, I'll post if I need help there. Anyways, here's my problem: Running: Windows XP Python: Python 2.6 I installed the newest version … | |
when i run my project in java. i keep getting this stuff. No Console ..... I dont know how to get console in eclipse. here is my code. [code] import java.io.*; public class WordGame { public WordGame() { } public static void main (String args[]) { String WordGuess; WordJudge gm … | |
Hi all, Can anybody help me out how to export multiple excel sheets in a single xls file using php and taking datas from mysql table. thank you | |
I have an application which use SqlBulkCopy to copy data from csv to respective table in SQlserver which works fine but the same i have to do to dump to oracle which cant be done by sqlbulkcopy class Is there any similar way to dump into Oracle table | |
Hi all, i have different modules developed so far, and a main script needs to call the modules based on user's choice. will doing like this work?? using raw_input(), i wait for user choice, and once a choice is made, corresponding module is called. if main.py, does an 'import xxx.py' … | |
Guys, Have a look... [CODE] File.Delete("C:\\hi.txt");[/CODE] This function is used for deleting a specific file right? But I m unable to delete it? Is there my little mistake? | |
I don't have any syntax error with this code on my PHP file.. I have only a problem when it comes to output of the search query error messaging... here's the code postback.php [CODE=php]<?php $q=$_GET['q']; $words=explode(' ',$q); $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("ajax_demo", $con)or … | |
Hello Are there any tools which can be used specifically to design html forms and generate the codes, which can then be copied to an html page, more like drag and drop, and the codes and validations made available to copy elsewhere? | |
first of all, thanks for the suggestions lately where im asking to avoid flicking of the ball.. now its working smoothly :)) but i want now to add some more balls.. like 2 - 3 balls.. how can i do that ? i dont have an idea.. thanks guys.. | |
Here's my problem. I have a program that integrates HTML with PHP script by ending the PHP, and going with straight HTML code, and then going back to PHP. This should be all well and done, except for the part where after I start the PHP script, it doesn't display … ![]() | |
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/dhenter/public_html/zshop/index.php:6) How could i solve this issue? check this link please: [url]http://d-h-enterprise.com/zshop/[/url] ![]() | |
The code given below is showing error: Error: 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 'group,type) SELECT ex_tax.username,ex_tax.exp_id,exp' at line 1 [CODE]$sql="INSERT INTO ex_cat (username,exp_id,used_category,group,type) SELECT ex_tax.username,ex_tax.exp_id,ex_tax.category,ex_tax.group,ex_tax.type FROM ex_tax WHERE ex_tax.username='$uname' AND … | |
Hii I am New in SalesForce CRM and i am facing big problem with Salesforce Web To lead form what i did i have created landing page and in which one lead Collection Form connected to Sales Force CRM now what is the problem i am facing is when i … | |
hi I am working on a facebook type application and now i have to implement a notification bar and msg update bar in my application. so i want to now how can i implement this, kindly answer me with coding. Best regards.... | |
My application has 19 datagridviews In the Designer I added the datagridviews bound to my data table and set the columns I use the following to filter what information is to be shown on each. This is on a timer and runs several time a minute trying to keep it … | |
Hi I am new to python programming,please explain me how to install external modules written by other python users,please mention names of such modules.. Thanks Mukthyar | |
hey can anyone convert this c code into c# [CODE] #include<stdio.h> //Assume following return types while writing the code for this question. int output1; void GetBuildingCount(int marineCount,int marinePositions[][2]) { int x,y,i,j,temp; for(x=0; x<marineCount; x++) { for( y=0; y<marineCount-1; y++) { if(marinePositions[y][0]>marinePositions[y+1][0]) { temp = marinePositions[y+1][0]; marinePositions[y+1][0]=marinePositions[y][0]; marinePositions[y][0] = temp; } … | |
When I began the programming for [snipped link], I quickly noticed that Asp.net does not support the MessageBox class that I was familiar with in windows forms. Since Asp.net runs on the server it doesn't have access to produce a modal dialog box on the client. However, by using a … | |
hey, i am developing a booking system and i want to check whether user check in dates are within booked dates. for an example. user wants to book 12/03 to 14/03,but some body has already booked 10/03 to 15/03. For this scenario, we just cant check for 2 days,what i … | |
hi all, In my page i need to get the system ip address. i used this code. [CODE] string myHost = System.Net.Dns.GetHostName(); string myIP = System.Net.Dns.GetHostByName(myHost).AddressList[0].ToString();[/CODE] this is working fine when i run application in local system. Now i hosted that application in server say(10.20.7.63). so now when i access … | |
Hey :) So i got a picture on a site, and it does not want me to download it from c# :( when i inspect the element in c# i get a link to the cache picture and not the picture on the site [CODE]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK8AAAAtCAIAAABXiKzxAAAPFUlEQVR4nO1ca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CD7c9nJvKCVrd1d2Xj3kqYLlyqett1dBJomMkiAeBM+b47/uo+os1vdAhngrqnahK1dkajopoBWtwkrndrzZCbHipWn8vPBMFa0yWkH4WCGaVJRgWPNISXAm2EubJIAKAk8iGn++CN3dYujYMR1u2gQz72Wn9IXxY58B3J7MB6MwC877aWzpgYQlnd+8u2xrlrmo+PAIBkdvx28z8/UiOfgm8/rpwXq/nO6j135LD20fVczG1c7/x8D+bRdhWaxQwNB4WPfyK/M6K1LsVjAgp7A5Ia+o9nHn3Dat5jcGlWGJHJJpkdyGQ/G6uurJIAAJkdYml9j9u63TWHI19o3IssRZrWt7Caj2rMAFl1TP7sUeW9bMyqY3c/GuJWpAPMQmL0PMtex8PDqtg4PXhSrdJhamOBc9ZSLpVsTI22ZyUmWvtfoDdw7cfpgEcjlkTveQyZ7chkx7zu3ew4E3ebbnFXUpVrU6tquYsf7Tv9X+q1talVtVijo4O+pnNv8+5TMzUxzYhl9fFtDyCzA9y3MudNwrFaRBhYCrM8djamYuM0/xruaOBtVZJjtcjpyZ5R/4Aw/hkrJqdZwpL1hlmxyAWDKXS92D9gCl03Rj3qVFwlCimWS6o0QX2x37zKXXSHwOWg6YuIJKb9gPWQp9KsOo3Vp6bXWdhHiRuXHIUEAGr5V8AWoCmJcPbH2uFhtYmRAOCuv43Z66RFt0rZvE3/GXmBwbCw7dlY9zD3VS4a89KmsiX6owDL3rCAYCh9MdIXL1HSAF/4X/NYxpywtFjkMhYXyyxyuTndXD4pljGNZW9YxjT+H3MNlt1ZyI74AAAAAElFTkSuQmCC[/CODE] like this :( ive been … | |
Hi, Does anyone know how too solve this: I want to delete a row from database and I keep getting this error: [B]The ntext and image data types cannot be used in WHERE, HAVING, GROUP BY, ON, or IN clauses, except when these data types are used with the LIKE … | |
I have an event handler that is failing with an SqlException [icode]'{"Procedure or function 'SetClientEmail' expects parameter '@OldEmailAddress', which was not supplied."}'[/icode] However, the code for the SqlParameter '@OldEmailAddress' is no different than that for the other SqlParameters I am using, both for this command and for others I have … | |
There is any way at all to write a c# code from .js file? Thank you . | |
how to find the last dml action held on which row in a table using mysql plz do me a favour , tanks in advance.. | |
OK, so I already program is C#, but I am taking a C++ class. I want to create a windows forms application and have other classmates create some classes that we can all put into the windows forms application to create a final project. Well the entire book only takes … | |
Hi I have a problem with some code. Basically what the program is supposed to do is to take in a minimum exponent and a maximum exponent and a base. Then its is suppose to create a table displaying the base to the power of the minimum exponent to the … | |
when i run this code an icon for the image is created but when clicked it says that no preview is availeble any help would be grately apretiated. heres the code. [CODE]from Image import * import ImageDraw z=1 win=new('RGB', (400,400), 'rgb(255,255,255)') win.save('c:\\Documents and Settings\\bradley\\desktop\\python programs\\frac.png') while z < 100000: x=(z**+1) … | |
I have counter increase by one every once (round in loop) when the counter equal 100 am need it to go back and count down from 100 to 0, how i can make counter count down again ? [CODE]int i = 0; if(i<=100) {i-- ;) // that false else {i++ … ![]() | |
Hey, Is there any code that will hide the icons on my desktop? Thanks in advance ![]() | |
Hi ,programmers! Please tell me why it's possible to use such condition - [CODE][U]if (!fork ( ))[/U] return 1;[/CODE] as I know the fork() returns pid_t-type but at the same time "if" needs boolean.. big thanks in advance) | |
Hi, Can anyone tell me that how we can check that flash player is installed or not in php.I have searched a lot but could not find anything.Please Help. Thanks in advance ![]() | |
whats the advantage of implementing runnable over extending thread | |
Hi, I was wondering what libraries there are out there to do some simple sound generation. For example sine waves, square waves etc.. I'm on Linux, so no Microsoft stuff please. | |
![]() | Hi I have a problem with a code I made, some save editor for some game. The code suppose to write 2 bytes to a specific offset in some file. The file's short integers are saved as little endian. everything works fine, but when one of the integers equal 10, … ![]() |
Hi, i have a login page which i designed in dreamweaver. When i connect my php to the dreamweaver everything is ok. Here i need help when i press on my login button, currently when i click it, it takes me to another blank page and says login successful. But … | |
Hey everyone! Well I'm sooo close to getting the names to align BUT there is 1 slot that is skipped in the non-smoking section and a few in the smoking section and i can't figure out why. The Data needs to be displayed in a 10 row x 3 column … | |
I have a class that looks like this [CODE] //the mem_data class======================================// class mem_data { public: mem_data(int,int,std::string); ~mem_data(); private: std::vector<reader> mem_store; int complete; friend class model_base; }; [/CODE] Now, I would like to let the class model_base access mem_store My main code will contain the following: [CODE] mem_data test_data(20110601,10,"test_file.csv"); model_base … | |
Hi.. I have a query regarding accessibility of top level class from member inner class. I have just read the reason why local or anonymous inner classes can access only final variables.The reason being JVM handles these two classes as entirely different classes and so, if value of variable in … | |
Look at the code... [CODE]var css_code = new Array(); css_code[css_code.length + 1] = "<div style='height: "+square_height+"; width: "+square_width+"; "+square_rounded+" border: "+border_width+" "+border_type+" "+border_color+"; position: absolute;'></div>";[/CODE] This is just a tiny snippet of a huge amount of code, but when I add a new item to the css_code array. An extra … | |
[CODE]class A{ void method(){ System.out.println("Hello world"); } } class B{ void myMethod(){ A.method(); } }[/CODE] Can anyone tell me why I am getting this error.( non-static method method() cannot be referenced from a static context).Reffering context is not static.:?: |
The End.