199,113 Archived Topics
Remove Filter ![]() | |
Hello friends, I am trying to make a program in which there would be a text file which would contain a certain piece of information.Now the user would ask questions and the program would answer the question using the information given in the text file. This is basically related to … | |
hi! can someone give me some idea what kind of game is easy to do in c++? or kind of a system.. it is for our project..I'm thinking of doing text twist..can someone give some other idea? thanks very much!!! ![]() | |
Hi guys , i want to fill a textbox with a data from my mysql database and i dont know how to do it , i already searched without a result , if someone can help me i would appreciate it . | |
I just want to dispay all row from mysql table but got error as following: Note:I am using hostgator and try to display 40,000 query. [CODE]Warning: mysql_query() [function.mysql-query]: Unable to save result set in /home/firstint/buygadget/sitemapg.php on line 11 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in … | |
hello every one, I am new in asp.net. I am tring to run update query with odbc data connection but it is not working [code] Dim CON As OdbcConnection Dim CONSTR As String = "Dsn=sdata" Dim DA As New OdbcDataAdapter Dim DT As New DataTable CON = New OdbcConnection(CONSTR) CON.Open() … | |
I have been able to retain the value in a listbox in asp when the user submits the form providing the user selects only one value from the list box - but how do I retain more than one value i.e. if the user selects more than one value? My … | |
Okay so I am in a Data Structures class and am working on Binary Trees now so I figured I do a little project on the side to experiment. So I have a frame pop up when the program starts and it has a bunch of information to enter in. … | |
can anybody please tell me any site which has open source code for jsp projects, please help i need source code for online examination application in jsp. Below are the criteria in the application that I’m looking at. 1) Web based 2) Able to randomize question and answer order 3) … | |
hi, i use AJAX, framework - JQUERY. Now all information show in one table( <div id = "user">). [code] var user= setInterval(function() { $('#user).load(user.php?id='+ Math.random()); }, 5000); user.php: $rez= mysql_query($sql, $db) or die("Error"); while($r = mysql_fetch_array($rez, MYSQL_ASSOC )){ $name= $r["name"]; $time= $r["time"]; [/code] But how make this: $name show in … | |
Hello to all. I'm using the following jsp to display an image from a mysql database. [code] <%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <% Connection connection = null; String connectionURL = "jdbc:mysql://localhost:3306/people"; ResultSet rs = null; PreparedStatement psmnt = null; InputStream sImage; try { Class.forName("com.mysql.jdbc.Driver").newInstance(); connection = DriverManager.getConnection(connectionURL, … | |
hi guys, i have my upload.php, now the problem is that it does not download pdf files, it says that there is a problem with regards to the uploading. can you help me??? thanks in advance... | |
hi i need to identify characters in a image file. for example to identify words in a windows tooltip picture(jpeg,bmp,gif). can anyone help me out to do it using c# - rahul | |
can you please draw me a use case diagram for construction. it includes: Employee Department Project Works_on | |
Hi I was wondering if there is a way to make a tutorials website with php, like html tutorial, show code in the site. then... have a database with the tutorials then pull the title in a tutorials.php site then to be able to add html code and php code … ![]() | |
Hello everyone. Im trying to write a program for a cellphone that gets inputs from the user, does some calculations then displays various outputs. I am very new to java programming and getting a little confused. I am having trouble with finding out how to read the values from the … | |
okay, i usually create beg programs and they often compile. for some reason, this one is not compiling at all. i cant seem to figure out whats wrong. my objective is to prompt user to open a file named "data.txt" have HELLO WORLD printed in a scrambled version to a … ![]() | |
Hi All, I want to compare current date with date which is entered by the user. In my form i am having fields as Name: TicketNO: ContactNo: Issue Dt: 13/7/2009 Return Date:17/7/2009 the above data is collected from user and entered into database and i want to compare issue date … | |
Hi everyone, My code is an attempt to teach myself Python. I am looking to create a series of loops using the range function to read data from excel. My problem doesn't lie with reading the data from excel, I know the functions for this, my problem is setting up … | |
Say I have a variable, 'New', who's value is Raw_input("Enter name: ") How could I take this variable and pass it into a class? | |
Hai Friends I want to invoke .net ?(.asmx) webservice in J2ME Application, iam using following code , but its giving Runtime Exception [B]"SoapFault - faultcode: 'soap:Client' faultstring: 'Server did not recognize the value of HTTP Header SOAPAction: urn:Welcome#GetdrawTimes.' faultactor: 'null' detail: [EndTag </detail>] "[/B] [CODE] import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import … | |
hii.. i have a table<"form"> in ms access which have following fields.. formno, location , status. i want to create a report which calculate 1. the total no of forms(columns) at each location 2. the total no of forms(columns) with status= "pending" at each location. i tried to do it … | |
Hi there: This specific to the messages posted by members for various sections on this forum. when I read through the message text, and if the member has typed in some link of other site, on mouse over of this link i see small image of the link contents. I … | |
Make A C Program That Performs The Following Algorithm: (a)Use Scan F To Input The Following Data: -assign Value 26 To Age. -assign Value 80 To Weight In Kg. -assign The Value 183.219 To Height Cm. (b)Calculate The Weight-to-height Ratio. (c)Display A Heading For The Results (d)Display The Results In … | |
I have this error pliz help me out. "The ConnectionString property has not been initialized." | |
hello, am doing an application (c#.net)wherein i need to add the Fileupload control one below the other on the click of the Attach more files button; just as we have in the E-Mails. How can the control get added to the form ? can ne1 help me out ? cya … | |
dear sir... i got a confusing of this... [code]ifstream is; Char c, temp_isi_file[100]; int i; is.open ("b.a"); memset(temp_isi_file,'\0',100); while (is.good()) // loop while extraction from file is possible { c = is.get(); if (is.good()) if (c==',') { //cout << temp_isi_file << ":" ; [COLOR="Red"]textBox1->Text = Convert::ToString(temp_isi_file);[/COLOR] i=0; c='\0'; memset(temp_isi_file,'\0',100); } … | |
Hello, I was trying to create a Coalesced hash table by self teaching myself using various sources. I fixed most of the errors, but when i compile on either my visual C++ compiler or Dev -C++ both saids there is a undefine linker reference for the hash members in my … | |
Hi, Can someone send me in the right direction some links or enything else related to the following... Is there a C# possibility to be blocked network traffic to according to specific IP addresses when C# applications start. | |
Hi all, I am working on an application. In this application i am using one form and in this form i am using security_code is neccessary to fill and that code should be correct. But problem is that when i am running this submit form on localhost or on my … | |
i have recently installed wxpython on python2.5 and wrote the following code [code] import wx app = wx.App() app.MainLoop() [/code] Then i got this error(attached file) , and i have no idea what it talks about. Traceback <most recent call last): File "<stdin>", line 1 , in <module> File "C:\Python25\Lib\site-packages\wx-2.6-msw-ansi\wx\_windows.py",line … | |
This program requires the user to input data, after which it calculates. After calculating all the users it puts it prints it onto a document and screen. After which it gets sorted by name, the data gets outputted to another screen displaying a fake check that includes that is grabbed … | |
IT is defined in the back of my book but can't be found in my program. | |
What are you guys using for version control in conjunction to Visual Studio? I am currently using Tortoise Bazaar, and it shipped broken, had to edit a file just to get it to run. Other wise its effective, only it is a console interface. and although I know many that … | |
Here is my function that reads in a list of integers and doubles the size of the array if there are too many inputs. The current size of the array is 10. [CODE=C++] int* read_list ( int *list, size_t *list_size_ptr, size_t *array_size ){ size_t index = 0; int *new_list; while … | |
i can already the upload and download files, the thing is that i want to access the folder "uploads" because all the uploaded files are in here, the thing is that when i'm using this one, it works when the uploaded files are merged with my php files, the problem … | |
hi people i really need help in this. i have a c# win form which helps me in taking database from access, putting it into an array and counting the word based on user search. Each form will contain different number of words that the user search so anyone know … | |
Hi there, One of the ways one can reverse a string in python is like so: [CODE=PYTHON] Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> mystring = "Hello, World!" >>> mystring[::-1] '!dlroW ,olleH' >>> [/CODE] It is … ![]() | |
console.cpp: [CODE="c++"] #include <iostream> #include <string> #include <vector> using namespace std; template <typename T> T #ifndef _DEBUG & #endif val(const T& x); class A { private: public: void f(); }; void A::f() { val(1);// deleting val solves the problem } int main() { new A; cin.get(); } [/CODE] general.cpp: [CODE="c++"] … | |
hi guys, just wanna know, how could i download a file using php script? it is possible with visual basic 6 but the problem is how would i do that using php??? | |
this is what i want to happen, the user uploads the file to the database, (i already have the upload file), now what i want is that the user will be able to download what he had just uploaded to the database. in this case, he will have a chance … | |
I think that I understand the concept fairly well, but I appear to be having some issues with syntax perhaps. I have 2 classes. My main class and BubbleSort.java. In my main class I receive values from the user and store them in "int array[]". The values appear to have … | |
The string below runs as a maintenance script on one of my sites and at the moment it emails anyone who's plan has expired (which is fine) but it also emails people who haven't selected a plan yet because the value is less than today. I was wondering if someone … | |
[code=c#]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SQLite; namespace PlayingWithSQLite1 { abstract class Database { #region Member Variables string PATH = String.Format("{0}\\Database\\", Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)); string FILENAME = "test.s3db"; #endregion public string File { get { return string.Format("{0}\\{1}", PATH, FILENAME); } } public static void CreateDatabaseFile() { SQLiteConnection.CreateFile(File); } } … | |
I have a tkinter/python program which does something time consuming when I push a button. I'd like to give the user progress reports by updating a label field at each stage of the time consuming process. If have simple loop to the effect [code] for x in y: dosomething(x) self.label1.config(text … | |
| |
hi, I am trying to get an image with my python application output. please give me that process. | |
Hi guys.. I want to learn Ruby on Rails.. Actually I already have a Computer Based Training CD in Ruby on Rails by Lynda.com.. But I'm having a hard time in deploying the requirement 'coz in the training video the speaker is working on Mac OS.. But I'm using Windows.. … | |
Hello. I am quite new to c++ but am working on translating a prime generator I have made over from c#. I have everything working well but have found that c# can output to file faster than c++ (by around 10%). This is once the 'working out' is done. Here … | |
Hey guys, This questions is more about organization of python modules than the actual construction therein. In my project, we have several scientists performing similar analysis on several different data sets. For each project, the science changes, but the analysis often requires almost identical data handling. For example, one project … | |
namespace first { public class index { int count; public index() { count = 0; } public static index operator++(index x) { x.count++; return count; } } class Program { static void Main(string[] args) { index i = new index(); i++; Console.WriteLine(i); } } } when i am typing this … |
The End.