199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for davewillis

Below is an assignment that i did but i didnt do good on it. It is/was never meant to be ran the teacher was just asking for the code to be written based off of her A-D. Can you please let me know what is right and wrong with this. …

Member Avatar for Momerath
0
102
Member Avatar for konczuras

Hello Everybody! I have the following problem: I want to make an application, which need tables to show, edit, etc. You would be able to select the table, which you want to work on, by a dropdownlist (the whole project is in ASP.NET). I want to load the selected table's …

Member Avatar for vectorsoftware
0
187
Member Avatar for Banf

so im starting in C++ programming and im working out of a textbook. At the moment im stuck on the question asking me to determine using an input(cin) whether an input is a lowercase or uppercase letter. I am particularly confused on how to determine if an input is upper …

Member Avatar for frogboy77
0
294
Member Avatar for RockyMtnHi

The VIEWSTATE size is killing our apps and it keeps growing. The .aspx files are bigger than 2.5Mb in some cases. The developer is on vacation and I just installed a 90 day trial of VS 2008 to test turning form-level VIEWSTATE off then turning it on again to see …

Member Avatar for Momerath
0
176
Member Avatar for cNew

Hi! What could be the best algorithm for "Merge Sort" where the memory must be used "most effectively"? I just know the standard way to do this, but that's not the most effective way how to use the memory. This is the only variant which I know: [CODE=c] #include <iostream> …

Member Avatar for Narue
0
211
Member Avatar for JJHT7439

Alright, I admit that I'm struggling a bit with Java but for the project that I'm trying to do I need to create a bunch of bank accounts and then calculate the interest and return the names of the account holders and their balance and interest, as well as the …

Member Avatar for JJHT7439
0
3K
Member Avatar for RunTimeError

Hey guys, I've done this so many times before but I can't seem to get it working!! All I'm trying to do is in the JavaScript at the top change a span tag to whatever the current window location is but it doesn't work! [CODE=HTML] <div id='Box' class="whitebox"> <div class="position"> …

Member Avatar for Luckychap
0
363
Member Avatar for dschuett

I have an onclick that triggers ajax which calls a php script to pull data from MySQL. This information is then displayed in a div. The problem I am having is that sometimes pulling the data from MySQL takes 2-3 seconds, so the div is empty for about 2-3 seconds. …

Member Avatar for dschuett
0
403
Member Avatar for waleed.makarem

Dear All , I need to backup the sql server 2005 express database . It works fine if I make backup to specific folder"C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup" . But if I change the path to any other path . I got an error "Backup failed for Server 'server name'. " …

Member Avatar for S.R.SENTHUJAN
0
758
Member Avatar for stow19

Hey all, I have created a group of player using a list within a list method. But now I'm stuck on dealing out the cards. Here is the code for setting up the players: [CODE] static Random r = new Random(); static int numPlayers; static List<List<string>> playersHands = new List<List<string>>(); …

Member Avatar for ddanbe
0
87
Member Avatar for chetanbasuray

I have an Antivirus as my project and will like to learn about an antivirus. Please help me out by posting links which will help me learn and also let me know if you have done anything regarding an antivirus and if there is something that will help me in …

Member Avatar for omkarpardeshi
0
103
Member Avatar for sha11e

I sometimes see people code like std::cin and stuff and say that it's bad to use "using namespace std;" Why?.....

Member Avatar for Fbody
0
173
Member Avatar for CrazyProgrammer

Hi, how does one end a thread when it is done eg i have a program the when u press a button it starts a thread, this thread performs a set of instructions and then when it is done it it finished how do you end a thread then when …

Member Avatar for Venjense
0
94
Member Avatar for ankit.pandey3

[PHP]<html> <title>Micro Elite Brigade - Participated Events</title><LINK REL="SHORTCUT ICON" HREF="images/favicon.png"><?php require_once('upper.php'); if($_COOKIE['LoginIdCookie']){ require_once('database.php'); require_once('LoginStatement.php'); $LoginId=$_COOKIE['LoginIdCookie']; $query="select * from participation where LoginId='$LoginId'"; $result=mysqli_query($dbc,$query) or die ('Not Connected'); //echo "<div class='search_output_data'> echo "<table border='0' cellspacing='0' cellpadding='0'>"; echo "<tr><th align='left' valign='top' width='100' height='20'>Event Title</th> <th align='right' valign='top' width='250' height='30'>Date of Participation</th> </tr>"; while($row=mysqli_fetch_array($result)) …

Member Avatar for diafol
0
97
Member Avatar for youvi

Hello, Please provide me the query to join 3 tables using INNER JOIN... Thanks

Member Avatar for diafol
0
90
Member Avatar for karthik_ppts
Member Avatar for karthik_ppts
0
2K
Member Avatar for pooran.c

I need to implement gregorian calendar in java Please give me ideas how to start and what to use?

Member Avatar for mKorbel
0
111
Member Avatar for plasticfood

[CODE]if(count == 4){ qFinal.enqueue(q.peek()); if(count3 == 0){ System.out.println(qFinal); break; } else{ sort(qFinal); } } [/CODE] this code is inside a while loop, and with the break statement, it should break out of the loop right? instead i think the program also executes the sort(qFinal) method b/c after it prints qFinal …

Member Avatar for masijade
0
193
Member Avatar for lianpiau
Member Avatar for lianpiau
0
420
Member Avatar for bahed121

Hi For my interface i don't want to use the typical rectangle buttons instead i want to use buttons of different shapes can any one help me in this regard

Member Avatar for bahed121
0
136
Member Avatar for parijat24

hi, The problem is that i have one list like [l1 l2 l3 l4 l5 l6 l7 l8 ] no i want to compare l1 with l2 and get some score then l1 with l3.... and then l1 with l3 , l4 , l5.......... so on when i am compareing …

Member Avatar for Gribouillis
0
323
Member Avatar for stephenk291

Basically I need to setup a conditional loop to have the game run up to 10 times and then have it display the results for both the computer and user. I have my display function in the works but how could i setup the loop or counter to run the …

Member Avatar for JamesCherrill
0
239
Member Avatar for TrustyTony

Here is experiment of how VM and Swing UI manage the sort test posted previously, instead of CPython and Tkinter. The timing is not so sweet, but at least no Java required! [CODE]K:\jython2.5.2>java -jar jython.jar swing_test.py 256000 words generated in 10.93 s Sorted in 1.68 s List prepared in 22.71 …

Member Avatar for TrustyTony
0
506
Member Avatar for xxreenaxx1

I am printing question number with the correct answer as 1 and wrong answer as 0. Now I would like to count how many correct answers for each question. Example of this: Question number: 8 00110 For this example there are two correct answer. [CODE] $scoree = 0; $intt = …

Member Avatar for xxreenaxx1
0
98
Member Avatar for jpknoob

Hi, I decided to try and upload images by storing their path in a database, but have run into an error when displaying the images. The form works and the folder is populated whenever I run the script. I have tried a lot of solutions from similar threads, but to …

Member Avatar for jpknoob
0
111
Member Avatar for raf.fredi

How to read multilingual emails using php? I don't want any webmail script. I want to use imap/pop3 functions [URL="http://www.php.net/manual/en/function.imap-open.php"]http://www.php.net/manual/en/function.imap-open.php[/URL] Following code works well for listing emails but have some errors and it cannot read email other than ENGLISH language Help Anybody [CODE] <?php // Inbox // Display Messages from …

Member Avatar for mr_sps
0
554
Member Avatar for gulbano

Hey all, Is there any way to check the time of insertion of a record. Means if i inserted a record in table on 03/21/2011 14:05:45 00:00 then is there any way to get this time after-wards

Member Avatar for debasisdas
0
117
Member Avatar for michael0101

Hi everyone! First i am a beginner so please dont be too angry if i make mistakes, I am willing to learn. Thanks. My problem: I am learning VB.Net 2003, I am creating a program to save daily customer numbers with the date(now). I attach code! I have problem to …

Member Avatar for codeorder
0
230
Member Avatar for tony75

Hi I have a folder and its contain 5 text files. My question is How can I navigate to folder and read two first line of the txt files in folder with python scripts? I will be very greatful for your help. Reagards Tony

Member Avatar for TrustyTony
0
268
Member Avatar for bharathisankhya

Hi All, Iam using RSF(reasonable servlet faces) i need to clear the fields in the form after user submits it using javascript onload function. can anyone please help me. here is my 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" xmlns:rsf="http://ponder.org.uk/rsf"> <head> <title rsf:id="basic-page-title">Sakai Skin for FlowTalk</title> …

Member Avatar for bharathisankhya
0
3K
Member Avatar for lukemuller

Hey guys, I've been having a bit of trouble with my c++ program i'm trying to create for an assignment. I'm still learning, but array's seem to give me the most trouble. I've been reading and searching google alot to try and find examples to help my situation, but i'm …

Member Avatar for lukemuller
0
2K
Member Avatar for arshi9464

i am implementing a client server arch on LAN, what's more suitable for me to use, jsp or servlets????? let there be max 4 clients for a server...... i m done wid the designing part using AJAX and embedding those in jsp pages. made the database using sql server 2008. …

Member Avatar for arshi9464
0
74
Member Avatar for abelLazm

Hi, I have a table on two different database servers on server-1 it contains almost 2090 records and on server-2 it is empty i want to copy all the records from server-1 to server-2 both the database servers are identical but on different location and have no relation with each …

Member Avatar for abelLazm
0
133
Member Avatar for Suzie999

Hi I'm wondering if anyone can think of a generic reason why visual studio 2010 would act in the following mannor. If I run my code using ctrl + F5 (run without debugging option) it works fine and as expected. However if I run it in debug mode it acts …

Member Avatar for Suzie999
0
57
Member Avatar for tcl76

hi, i'm using Element Tree API to generate XML. But I'm getting error when opening the xml output. I tried to generate to a file and it worked. No error when running the Python code. Pls advise me why is not workin when i generate to an xml. fyi i'm …

Member Avatar for tcl76
0
228
Member Avatar for rookanga

Im suppose to make an application that tracks electric motors in a manufacturing plant. It needs to have MotorID: Five-digit string, such as "02340" Description: String RPM: Integer, values in the range of 10 to 10000 Voltage: Integer, values in the range of 1 to 500 Status: String, three characters …

Member Avatar for codeorder
0
578
Member Avatar for Dmennite

Ok the issue I get is passing variables to dynamic pages for example page1 has a combobox with all states to used to search a database for example: [CODE]<tr> <center><form action="page2.php" method="post" name="statesearch" id="statesearch" > <td><div align="right">State</div></td> <td width="25%" align="center"><select name="state" onchange="statesearch.submit();"> <option value="" selected></option> <option value="AL">Alabama</option> <option value="AK">Alaska</option> <option …

Member Avatar for karthik_ppts
0
622
Member Avatar for twigan1015

I need to make a string for a description textbox so later it can be added into a listbox and I dont know how to do this and this is all I got, which isnt much [CODE] Dim desripition As String Private Sub textbox2_TextChanged(ByVal sender As System.Object, ByVal e As …

Member Avatar for codeorder
0
123
Member Avatar for joomphp

Hi! how can create advanced api in php/mysql authenticate with api key, userid username etc. any good tutorials etc Please post links for me

Member Avatar for joomphp
0
71
Member Avatar for rbeach1955

I have an aspx page that has a listview. Within the listview I have a column named BADGEID. When inserting the BADGEID as a textbox with the below code, everything works properly: <asp:TextBox ID="BADGE" runat="server" Text='<%# Bind("BadgeID") %>' I need this to be a DropDownList and I changed the textbox …

Member Avatar for vgulavni
0
115
Member Avatar for 2himioweme

I have to design a algorithm to determine the letter grade for a numerical score received on a test and then translate this algorithm into an automaton.

Member Avatar for vgulavni
0
78
Member Avatar for bahed121

I have a combobox which contains the different values from database. However, if the user types another name into the combobox, it is accepted. I want to allow only the names already associated with the control. But there is no readonly property form a combobox in VS 2010

Member Avatar for bahed121
0
85
Member Avatar for cblue

i know how to find prime numbers of several numbers, does anyone know hoew to find a prime sumber of a single number inputed by the ser using the following function and printing out if the number is prime int mai()//asks for input { int num; cout << "enter number:"; …

Member Avatar for pseudorandom21
0
216
Member Avatar for Luckychap

This is Jquery plugin which can be used to change the content a its place. Features: 1. Easy to use 2. Maintain changeability of Jquery Know Issue: 1. Can take html string also as input For example: html: [code=html] <div id="editable">I can be changed right here</div> [/code] javascript: [code=javascritp] $.('#editable').editAtPlace(function(newtext, …

0
361
Member Avatar for acpr

i'm working on this program to 'read an array(int and float values) from a file and then print it out on the screen'....the i/p data file is looks like this #lat lon B s date X v 60.97 56.10 26.50 33.389 03 07 02 24.00 4 60.36 53.58 28.90 35.731 …

Member Avatar for acpr
0
212
Member Avatar for JaseAU

Hi, I have a web application that allows users to schedule a group of Emails to be sent out. I am using Quartz to do this. I've set up the quartz.properties file, coded all the back end java business logic, but I believe to get this to work on a …

Member Avatar for SoftwareHead
0
524
Member Avatar for niketakapoor

hello everyone i have a "text box" in which i have to put" member_id" and fetch records as number of books issued to that particular "member_id".... database tables are lib_member_details and issue_detIails... issue_details=tag_id,member_id,book_issue_on,due date... suggest me the code for this problem in c# with sql also help me that can …

Member Avatar for abelLazm
0
91
Member Avatar for ashley11

i have a problem to sum up the value. for example: in my richtextbox1: 0.94 0.83 1.67 0.50 0.67 1.25 0.98 now i wan to total up the value. if the value is less than 1 , then total is 5. if the value is greater than 1, then total …

Member Avatar for ashley11
0
119
Member Avatar for JakeA

hi! i am on an ojt and assigned to create a project that generates report. the report should be saved in different file formats(word document, excel, pdf)i don't know what to do first. can someone help me with this? thank you.

Member Avatar for Saikalyankumar
0
109
Member Avatar for bahed121

Hi I want to create a c# program where i have to check processes which are currently running and close a particular of them can any one help me Thanks.

Member Avatar for bahed121
0
141

The End.