199,114 Archived Topics
Remove Filter ![]() | |
(1)pls can someone help me i need to write a program that will allow user to enter their name and age and then will displays their Name, Age and an estimate of the number of days they are old and explaination of the variable types you use and how the … | |
Hi, I got two question. :) First there is this annoying problem with running my script from IDLE that for the character é (the ' and e) I got after using ord() the value 233. When I run the script from cmd.exe I get the value 130. Why the difference … | |
Hi, I want to make a global 2D array ( i mean outside of the main function), so it will be available from all the functions. But my problem is how can i read it's size from the keyboard? If anyone know, plz help me. Thanks in advance. | |
Hi, I wrote a python program that counts the occurance of each alphabetic character in a string and it works fine. I tried to port it over to java but now it fails, telling me that there is no alphabetic characters at all in it. [CODE]for (int i=0;i<alphabet.length;i++) { for … | |
Hi does anyone know how to interface vb program to mcu(microcontrollers? thanks | |
Would you be so kind and help me solve this problem? [code=C++] #include <string> using namespace std; class Okno { protected: int x1,y1,x2,y2; string nazwa; public: }; class NieDesktop : public Okno{ private: Okno& ojciec; NieDesktop(const NieDesktop&); }; class OknoWlasciwe : public NieDesktop{ OknoWlasciwe(const OknoWlasciwe&); public: OknoWlasciwe(Okno&,int,int,int,int,string); }; OknoWlasciwe::OknoWlasciwe(Okno& _ojciec,int … | |
Hi guys, I'm pretty much self taught, and I'm working on a site that stores mysql data using php. In the site I previously did, I used separate pages with a query relating to what I wanted to show, eg. a page called Manchester.php that displayed all records with an … | |
Hi, I just start using Linux Ubuntu 8. I need a PHP development software like Dreamweaver with good features to use under Ubuntu. What do you prefer? It is to use PHP, HTML, XHTML, Javascript, CSS, XML etc. Thanks | |
Dear Sir, How to combine these two conditions in one section [CODE] Private Sub DataGridView1_CellValidating(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellValidatingEventArgs) Handles DataGridView1.CellValidating 'condition 1 ' check given value is numeric or charactr type If e.ColumnIndex = 3 Then If Not IsNumeric(e.FormattedValue) Then DataGridView1.Rows(e.RowIndex).ErrorText = " must be a … | |
please help me..where can i download it..can u please upload it for me if you have one..or just tell me where can i possible download it..tnx a lot..god bless | |
Hi, if ever the 'tab button' is clicked at least once, that tab selection grid (as shown in the picture below) around controls appear to indicate which control is currently selected. But once it is clicked, it won't disappear even if the user continues to work with the mouse only. … | |
Beginning development with SQL Server 2008, VB - Visual Studio 2008 on an application that will deploy laptops remotely for 6 months or more. The laptops will have no network or internet connection. There is a requirement to sync DB changes via shipment of USB flash drives. The remote app … | |
I have a vb6 (sp2) program that uses several ActiveX controls and components. It runs fine on XP and win 2K but after installing on Win 2003 server, 2 parts of the programme (responding to click events) cause the error "Run time erro 429 - ActiveX components can't creat error". … | |
I used c# timer but it's minimum value is 1ms , I need timer range in microseconds | |
Hi This Is Girish I want to integrate payment gateway(Paypal) in my form (php) please do the need full for me. i am new to payment gateway so this is my first project , can any body help me out..[code]HI GIrish HEre i want know how to start the payment … | |
[QUOTE]The static_cast operator can explicitly convert an integral value to an enumeration type. If the value of the integral type does not fall within the range of enumeration values, the resulting enumeration value is undefined.[/QUOTE] Can somebody explain the above stuff with example ?? | |
I got this code from a website (I forgot the name) and edited it. Here it is: [CODE] using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using QuartzTypeLib; namespace CsPlayer { /// <summary> /// Summary description for Form1. /// </summary> public class Form1 : System.Windows.Forms.Form { … | |
imagine of a document tracking software in an institution, every office that receives it acknowledge by signing into the software and a database of where and whom posses the document , and for how long is stored and accessed by the users in the browser. Do you have an idea … | |
I have a listbox i want to populate with elements from a database. I have an id and a name that I get from the database. How can I change the listbox's default indices to the id's i get from the database? So that the listbox displayes the text, and … | |
Hi, I am receiving a stream of data (a text message) through a TCP listener. It then sends back a stream. Then the first computer (the client) sends another stream of data. Then I send back a response message. The first message is successfully received. The first response is successfully … | |
On the left is the dialog ran from VC++ On the right is run from my app [url]http://img208.imageshack.us/img208/2019/wonder.png[/url] Why the version ran from my app lacks is: Combo Box Options Color, Design is from the 90's style | |
This is for a project i am writing and i found some awesome code that works beautiful, however since i have two forms i have either to create a dll with the function in it or to only use the one function bit not have anything touch the function otherwise... … | |
Hi! I'm working on a compress algorithm. But I couldn't write the software because I don't know how to read and write a file as binary like 101011111111011001. How can I read the like this ? Also I want to ask if I can write the GUI on Java and … | |
how to create a submenu in Swing. I am using Netbeans IDE 6.8. Please help me. thanks in advance | |
I am trying to put a variable in as the value of the mail function on my script. I am relatively new to php and I may be making a simple mistake. Here is the script: [code=php] $busmail = $_POST['field_2'] mail(" . $busmail . ","Order Confirmation","Your Order Has Been Received … | |
[B]hi all, [/B] [B] I have create a database application in vb 6.0[/B] [B] i need to retrive some reports using data report (not Crystal) such as date wise report or customer wise report.[/B] [B] The steps i fallowed are: [/B] [B]1. retrived text boxes in data report[/B] [B]2. for … | |
hi i have following code. it has a problem when i submit username and password it does not display that username and password back. index.html [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="jquery-1.4.min.js" type="text/javascript"></script> <script> //window.onload = initAll; function initAll() … | |
Following examples and threads of previous inquiries I find myself asking two primary things 1. Why when I place the following code - [CODE]Break;//break the string[/CODE] at the end of my while statement that reads [CODE]while(!name.toLowerCase().equals("stop")); //begin while control statement end = true; //end if condition is true, counter initiated … | |
In the AJAX example below we will demonstrate how a web page can communicate with a web server online as a user enters data into a standard HTML form. [B]Example Explained - The HTML Form[/B] [CODE]<form> First Name: <input type="text" id="txt1" onkeyup="showHint(this.value)"> </form> <p>Suggestions: <span id="txtHint"></span></p> [/CODE] [B]Example Explained - … | |
Hope some one can assist me Below is my code which works fine. I need to be able to select more than one of the options at the same time. The code at the moment will only select one option rather than all my options. Any advice would be great. | |
Hi, I would like to submit form data in two ways, with the one submit button. The posting methods i want to use are... To post to mysql database: [code=html]<form action="success.php" method="post" name="form" id="form" onsubmit="return validate(this)">[/code] To post to email: [code=html]<form action="http://www.mywebsite.com/cgi-bin/cgiemail/form/form.txt" method="post" onsubmit="return validate(this)"> <input type="hidden" name="success" value="http://www.mywebsite.com/form/success.html"/>[/code] How … | |
What does Try and Except mean in this code? [CODE] if node=1 then begin ankunftnode1:=now; //.................................................. try thot:=(rawdata2[2]+rawdata2[3]*256)/10; except thot:=0; end; chart1.Series[1].AddXY(time,thot);[/CODE] Can anyone explain it to me? Thank you... | |
I have a class, Cast(as in cast of a play), that implements the Collection<Actor> interface(Actor is a class representing an entity in a game) and I have the following code. [code=java] Set<Actor> toRemove = new HashSet(locations.keySet()); //method 1 toRemove.removeAll(actors); //method 2 for(Actor actor : actors){ toRemove.remove(actor); } [/code] if I … | |
I'm working with Kochan's Programming in C. I am working in Visual Studio 2008. When I try to build the program I get Error 2 error C2143: syntax error : missing ';' before 'type' c:\users\michael\documents\visual studio 2008\projects\cpractice\cpractice\char.c 15 CPractice But as far as I'm aware there is no syntax error. … | |
I have an assignment where I am supposed to get a user input file with data in it, like below: [QUOTE]Billy Bob 98.6 98.6 98.6 100 200 300 400 500 600 700 800 900 110 220 330 440 550 660 770 880 990 111 222 333 444 555 666 777 … | |
I would like some help with this program that I wrote for my class project. I have a class Point, class Circle and a main test program. I'm having difficulty with where to put some if else statements to find the quadrant that the points x,y are located. I wrote … | |
Good day guys.! Just need a little help on how to create a php function that will loop all the rows with a text box in a table(name="gradetbl") in column 1 and save the value of the text box into mysql database when ok button is click. This is the … | |
Hi, How to edit the following xml file without losing elements. eg: [code=xml] <book id="b1"> <bookbegin id="bb1"> <para id="p1">This is<b>first</b>line</para> <para id="p2">This is<b>second</b>line</para> <para id="p3">This is<b>third</b>line</para> </bookbegin> </book>[/code] I try to edit the above xml file using dtd using jsp,servlet. but while i read the textvalue from xml, it return … | |
... and I don't know why. I'm just getting back into C++ programming after years of not using it at all. I tried to make a simple program that - Creates 10 random numbers between 0-99 and prints them - Categorizes each number by range - prints the sum of … | |
halo, i really need a help,, i'm new in vb.net, how to get data from database and put in lable in new from ??? | |
Schedule Repeat events Hi I am stuck in fact I don't know where to start, can you point me in the right direction? I have the form to capture the user input but don't know how to proceed to use this information. I need to allow the user to schedule … | |
If in big problem, I want a to add the ResultSet of MySQL in JTable.Table should in Panel. and There should be autosizing of the result. | |
This is the problem im working on: *Write a program that has nested loops *First, write the inner loop -Use “for” loop to display Hello two times *Second, write the outer loop -Use “do while” loop to display the inner loop three times -Before the output of inner loop, you … | |
[CODE]/* #include <iostream> #include <iomanip> using namespace std; int main() { cout << " " << endl; double sum; double numb; double ave; int counter = 0; cout << "This program averages numbers." << endl; cout << endl; while (true) { cout << "Number: "; cin >> numb; if( numb … | |
This code sends a message to a user with a link. The link opens up a new window using the iframe method i want it to just open it in the same window meaning load the page onitself. Heres the code: [CODE]<?php /** * This file is under the GPL … | |
hey everyone, I got a weird error when I run my program. I compile and link and run the program through the terminal in Ubuntu. I have to compile or linking errors, and the program run's fine, except when the program asks: "Would you like to see a display of … | |
Hello all, I'm having an issue with getting the ip address of a client accessing an xmlrpcserver, some of the time the code will work and then when I go to transfer the classes/methods (copy and paste) into my other file neither work and both have the same error: Server: … | |
i am making a media player to play all types of media player using jmf technology. can anyone help me to figureout how jmf can play all files () | |
Good Morning Hello Friends, Is there any admin side opensource code r editors by which we can create Admin in PHP. means just including and modifying the fields Thank You in advance Viru | |
im having trouble with my program. it reads the student id, and both grades from a file and then a function its suppose to calculate the average of both grades and then pass the results to the main program using pass by reference. And for some reason my average its … |
The End.