199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for scholar

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 …

Member Avatar for sknake
0
138
Member Avatar for abby2589

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!!!

Member Avatar for jencas
0
80
Member Avatar for xVent

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 .

Member Avatar for xVent
0
541
Member Avatar for gmchun83

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 …

Member Avatar for Menster
0
105
Member Avatar for alokshri67

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() …

Member Avatar for Ramesh S
0
95
Member Avatar for whisper_101

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 …

Member Avatar for mystic2230
0
131
Member Avatar for smoore

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. …

Member Avatar for JamesCherrill
0
124
Member Avatar for haf

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) …

Member Avatar for peter_budo
0
382
Member Avatar for Lolalola

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 …

Member Avatar for Lolalola
0
440
Member Avatar for CodeBoy101

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, …

Member Avatar for kvprajapati
0
149
Member Avatar for xuexue

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...

Member Avatar for xuexue
0
1K
Member Avatar for rahulsundar_007

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

Member Avatar for sknake
0
335
Member Avatar for Ruw

can you please draw me a use case diagram for construction. it includes: Employee Department Project Works_on

Member Avatar for masijade
0
92
Member Avatar for elamigosam

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 …

Member Avatar for diafol
0
107
Member Avatar for wrathness

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 …

Member Avatar for wrathness
0
103
Member Avatar for xiikryssiix

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 …

Member Avatar for iamthwee
0
207
Member Avatar for rajshree13

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 …

Member Avatar for CoSIS1
0
89
Member Avatar for pads_irl

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 …

Member Avatar for pads_irl
0
94
Member Avatar for Your_mum

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?

Member Avatar for Your_mum
0
137
Member Avatar for gitech

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 …

Member Avatar for peter_budo
0
265
Member Avatar for harshit99

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 …

Member Avatar for Alex_
0
87
Member Avatar for sbhalla15

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 …

Member Avatar for sowjanya.gutla
0
274
Member Avatar for ichie06

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 …

Member Avatar for tux4life
0
109
Member Avatar for khuks

I have this error pliz help me out. "The ConnectionString property has not been initialized."

Member Avatar for kvprajapati
0
73
Member Avatar for laghaterohan

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 …

Member Avatar for kvprajapati
0
130
Member Avatar for VIkhers

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); } …

Member Avatar for VIkhers
0
212
Member Avatar for kokotsu

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 …

Member Avatar for kvprajapati
0
109
Member Avatar for Dum_

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.

Member Avatar for Dum_
0
92
Member Avatar for gagan22

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 …

Member Avatar for gagan22
0
135
Member Avatar for rahul8590

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 …

Member Avatar for shadwickman
0
162
Member Avatar for elitedragoon

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 …

Member Avatar for Salem
0
227
Member Avatar for lotrsimp12345
Member Avatar for Diamonddrake

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 …

Member Avatar for Diamonddrake
0
96
Member Avatar for tazboy

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 …

Member Avatar for VernonDozier
0
98
Member Avatar for xuexue

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 …

0
86
Member Avatar for clueless123

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 …

Member Avatar for serkan sendur
0
94
Member Avatar for katamole

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 …

Member Avatar for sravan953
0
144
Member Avatar for CppBuilder2006

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++"] …

Member Avatar for Dave Sinkula
0
108
Member Avatar for xuexue

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???

Member Avatar for xuexue
0
125
Member Avatar for xuexue

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 …

Member Avatar for xuexue
0
104
Member Avatar for Dragonfyre

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 …

Member Avatar for Dragonfyre
0
119
Member Avatar for Facte

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 …

Member Avatar for =OTS=G-Man
0
175
Member Avatar for agent154

[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); } } …

Member Avatar for agent154
0
113
Member Avatar for foosion

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 …

Member Avatar for foosion
0
203
Member Avatar for shobhitzone
Member Avatar for rajasekhar1242

hi, I am trying to get an image with my python application output. please give me that process.

Member Avatar for zachabesh
0
4K
Member Avatar for Renzokouken_22

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.. …

Member Avatar for Renzokouken_22
0
190
Member Avatar for monkey56657

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 …

Member Avatar for monkey56657
0
280
Member Avatar for hughesadam_87

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 …

Member Avatar for hughesadam_87
0
128
Member Avatar for sambafriends

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 …

Member Avatar for Ramy Mahrous
0
178

The End.