199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Pooja J.

Hi to all, I have 4 pages. page1.php, page2.php, page3.php and last.php. page 1, 2 and 3 pages have one text and submit button. The values enter by user in page1.php store in session var. and clicking on 'Submit' button. page2 shuold be open. In this page same procedure should …

Member Avatar for liamfriel
0
149
Member Avatar for ndovu

I am new in C programming and I would like help to make the following program: A program that reads a file (file name you can get from command line arguments or ask from the user) and produces output that counts the 10 most frequent words in the file and …

Member Avatar for Adak
0
135
Member Avatar for thecurious

Hello, I have a strange annoing situation with a C# software i made. The software is made by me, it uses : - usual C# libraries - visual studio 2008 - MySql DB with .net connector - Crystal reports Problem : - the problem is that on a specific system …

Member Avatar for thecurious
0
111
Member Avatar for fluxlab

We are trying to modify a program to control a usb relay device. Essentially what the program originally does is give you a series of check boxes that you check to make the relay fire. We tried to modify the code so that the box is checked after 5 seconds …

Member Avatar for Oxiegen
0
1K
Member Avatar for Robbert

Hi I need some help with sizers. I just can not get my head around it and i cant find much on the net about what i am trying to achieve. I am not even sure if i need a grid sizer or two box sizers. This is what i …

Member Avatar for Robbert
0
88
Member Avatar for esy928

Good Day! I'm a little bit lost right now on how to implement trees in java. We were ask to do a program that will display relationships (1st/2nd degree friends). I'm thinking of using vectors but our teacher said that we have to use Abstract Data Types (Trees). I've tried …

Member Avatar for jwenting
0
129
Member Avatar for bluebird

Hi, I encounter the problem of not being able to read the information from the contact list. It is ok to read organization name and email. But I can not read the name information. I get the exception message of java.lang.IndexOutOfBoundsException: Empty field: 106>, Exception caught in Display class What …

Member Avatar for bluebird
0
103
Member Avatar for acast2003

Hello, I am trying to access my website and display the .mp3 files in a certain directory. Through this, i want to have windows media player play the selected file. Either through list box, or combo box. I have tried many different ways. Please help. How in the world am …

Member Avatar for Oxiegen
0
95
Member Avatar for trashed

Hi. I'm trying to write a script that fetchs image codes from a mysql database to display them into a 3 columns table. I got this so far: [php] $selection = $_GET['scelta']; $query = 'SELECT photo_code FROM'. $selection .';'; $result = mysql_query($query); $rows_nb = mysql_num_rows($query); print('<table width="75%" border="0" align="center">'); while …

Member Avatar for tips4php
0
2K
Member Avatar for justinlee23

my program seems to run fine the first time i run it, but when the JOptionPane box shows up at the end asking if id like to run it again it seems to restart my balance to the initial amount rather than keep it and continue subtracting or adding [CODE] …

Member Avatar for javaAddict
0
130
Member Avatar for klarson95

ok i have a unit project and am really stumped. i want to make a really good, working program and it has to be in vb.net, and it has to be a console application (the "Module - Sub Main() - End Sub - End Module" kind of program). it needs …

Member Avatar for G_Waddell
0
77
Member Avatar for Th3nutz

i've embeded google maps on my site with a marker setup were i wanted, but i cannot use "Get directions" to open in the same div that i use. Is it possible to do that, or my only options are _blank, _self etc. [CODE]<script src="http://maps.google.com/maps?file=api&v=2&sensor=true&key=ABQIAAAAsoAP0MDLt21HBpoCAZ0DLBQD344IlC21WoKHBucdD45AbVnqaxQoNHNKFtJHrVaqBr2Dwfh1G1O2-g" type="text/javascript"></script> <script type="text/javascript"> function initialize() …

Member Avatar for JayAugust
0
84
Member Avatar for kanuri1

I'm retrieving immediate next record from database table using empcd(employeecode) [for which code is given below]. I wanna retrieve "next record" details from SQL SERVER 2005 with a Button Click Event but not using "EMPLOYEE ID". (SqlClient.SqlConnection) i want to access database table nextrecord directly using either query or Logic. …

Member Avatar for reach_yousuf
0
102
Member Avatar for JonKho

Dear all, My window layout looks like this.. [img]http://i41.tinypic.com/hu27ax.jpg[/img] First, the dialog box that consists of listbox would appear to ask for user input. After the user input has been given, It will display in the next windows.. I have been trying to intergate the two coding together. However I …

Member Avatar for JonKho
0
225
Member Avatar for timbomo

i get this error and idk know y anyone know wat i gotta fix [CODE]int main () { int total_score, print_score, action, whose_turn, go_again; cout << "Race to 100 " << endl; total_score = score_num(int &ns1,int &ns2,int &ns3, int &ns4, int &ns5, int &n6, char gam_answ); print_score= display_score(int curr_score); action= …

Member Avatar for Nick Evan
0
171
Member Avatar for jessicacarl
Member Avatar for futhonguy

Hi, I am wondering if i am able to insert 2 entries from a form to mysql. for example: [CODE]</tr> <tr> <td bgcolor="#eeeeff"> Is it a shared devices?<br> <font color='#F62817'>** If yes, please indicate the shared device num. </font> </td> <td bgcolor="#eeeeff"> <SELECT name="shared"> <option value="No"SELECTED>No</option> <option value="Yes">Yes</option> <INPUT type …

Member Avatar for futhonguy
0
94
Member Avatar for phpDave

Hello! I have a counter to count personal page views for users, but when the counter in the table is updated (incremented by 1)it also updates the date. Anyone know if the counter column can be updated without updating the date? Also, I need to have an update date for …

Member Avatar for phpDave
0
87
Member Avatar for VernonDozier

I have some code that works. However, when I try to make it not work (i.e. try to execute a non-existent program), I don't see any indication that it hasn't worked. Here's the code snippet. [code=C] pid_t pid; // char *const paramList[] = {"/usr/threshold/bin/preconfig.sh", options[indexSelected].optionName, NULL}; const char* paramList[] = …

Member Avatar for VernonDozier
0
7K
Member Avatar for eulogy57

Hi. I've been browsing this forum for answers for some time now and i guess it's about time to post a question myself. Here's the deal: I have a dll file in which i define a method that sets SE_DEBUG_NAME to enabled. Here's the code: [CODE] // tema4dll.cpp : Defines …

Member Avatar for eulogy57
0
464
Member Avatar for pirateninja1111

here are the instructions for my assignment Write a program that counts the number of words, lines and total characters (not including whitespace) in a paper, assuming that consecutive words are separated either by white space or end-of-line characters. Your output from this particular file should say: line count: 58 …

Member Avatar for james.newell
0
456
Member Avatar for Lsmjudoka

I have a script that runs a static chatroom(User has to refresh the page manually). When a user submits a post, the user's data(Username, title, user level, etc..) is stored in the DB along with the post. The script for getting the post looks something like this: [code=php] $result = …

Member Avatar for Lsmjudoka
0
109
Member Avatar for pn2bade

So I need to make this program that Reads a file with a scanner, inserts each key and value into a hashmap, and when the user types in one of those keys, it will print both the key and the value. If it has no value, it says so, and …

Member Avatar for james.newell
0
98
Member Avatar for dilake

Hi Am not getting SelectionBullet property for richTextBox using wpf c#? Regards Dilake

Member Avatar for dilake
0
76
Member Avatar for priyankapandey

[QUOTE]Hi all... can anyone explain how i can read from a config file and retrieve its value in a cpp file... I am writing down the cfg file...[/QUOTE] [CODE]<APM> [APM_SAYHELLO] Formatter.Type = String Formatter.Val = AtlLogPlainTextFormatter Filter.Type = String Filter.Val = LEVEL_DDEBUG ComponentLevelFilter.Type = String ComponentLevelFilter.Val = true ComponentsEnabled.Type = …

Member Avatar for priyankapandey
0
307
Member Avatar for vantrax

i have tried to implement a counter for my site which was a free hosted one from 000a.biz using ajax.It has worked in my LOCALHOST But it doesnt worked in my server. The html file is(main.htm): [code=html] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Tcats Inc.</title> <meta http-equiv="Content-Type" …

Member Avatar for Airshow
0
131
Member Avatar for PinoyDev

Good day guys. I want want a little help of my query. The tbl_ entity: tbl_1(UserId(AutoNum ber - set as primary key),Validity(Date/Time)) [code=vb] dim logonid as long rs.open "SELECT * FROM tbl_1 WHERE UserId='" & logonid & "'",conn, adopenkeyset,adlockoptimistic [/code] It returns an error invalid data type expression. But when …

Member Avatar for PinoyDev
0
105
Member Avatar for fuggles

It compiles without any errors in Eclipse, and when I comment it out, the application does not crash, but somewhere in here it is making my application crash on startup. Does anyone know how to fix this problem? [code=Java] Button send_button = (Button)findViewById(R.id.SendButton); spam_button.setOnClickListener((OnClickListener) this); phone_number = (TextView)findViewById(R.id.ph_num); txt_body = …

Member Avatar for fuggles
0
85
Member Avatar for BiGPrO

I do not understand this question?? Using Big-Theta notation to classify the traditional grade school algorithms for addition and multiplication. That is, if asked to add two numbers each having n-digits, how many individual additions must be performed? If asked to multiply two n-digit numbers, how many individual multiplication are …

Member Avatar for anticar
0
1K
Member Avatar for kelvinteh

Hi, I have this problem which I do not know how to solve in VB. I have to read from a text file, but only write selective lines to a new txt file. E.g. (original text file) ============================================ SINNWSQ .SINFMSQ 230606 SSM LT 23MAR00323C108 NEW SQ 3328 01NOV04 31DEC20 2 …

Member Avatar for vb5prgrmr
0
121
Member Avatar for scuzzo

I need help in analyzing loop structures. I am a student and need to know this for a class. In my first example here: for (int i=1;i<=n;i++) for (int j=1;j<=n;j++) I need to figure out how to analyze that this loop runs n^2 times. (This was an example given in …

Member Avatar for laehc
0
116
Member Avatar for ddanbe

I start a new WindowsApp with Form1 with a Button. Added a form Form2 to my project. In the click event handler of my button I do the following: [CODE=csharp] private void button1_Click(object sender, EventArgs e) { Form2 F = new Form2(); Point P = new Point(500, 500); F.Location = …

Member Avatar for chad701
0
251
Member Avatar for shusshoku

I'm using python for a project and was curious if anyone knew whether it was possible to open up jpg files in a GraphWin window. Also, the image software I'm using with it is PIL, if that helps.

Member Avatar for bumsfeld
0
75
Member Avatar for hag++

Quick question. I have a program that will run perfectly fine in the Debug version (Using MS VS 6) but when I set it to Release and build it, then set the command line arguments (or run it from the comman line) it blows up. Any ideas why this would …

Member Avatar for mrnutty
0
264
Member Avatar for NotSneaky

Hi I am working on this game. I really never played it so I just read about it. I am getting three errors. I was hoping you guys can help me fix it? Thank you Error 1 error C2059: syntax error : 'do' 2008\projects\program9\program9\craps.cpp 36 Program9 Error 2 error C2143: …

Member Avatar for NotSneaky
0
213
Member Avatar for bumsfeld

[code]#Blast workbench using biopython from Bio.Blast import NCBIWWW ##result_handle = NCBIWWW.qblast("blastn", "nr", "8332116") fasta_string = "AATTCAGTGGCAAAAAAAAAACTCAAATTTTAGGGAAGGCCCTAATATTATCAAATAATTAGAGGGGGGG" result_handle = NCBIWWW.qblast("blastn", "nt", fasta_string) save_file = open("my_blast.xml", "w") save_file.write(result_handle.read()) save_file.close() result_handle.close() result_handle = open("my_blast.xml") from Bio.Blast import NCBIXML for record in NCBIXML.parse(open("my_blast.xml")) : #We want to ignore any queries with no search results: …

0
333
Member Avatar for formulajake88

Hello everyone! I'm a beginner in C programming, and am writing code that is supposed to read in all the data from a formatted file, parse it into useful values, and then manipulate these values. However, I'm stuck on the the parsing part. I'm relying heavily on pointers, which I'm …

Member Avatar for jephthah
0
510
Member Avatar for baseballfury

Hiya Guys, Been working on the w3schools livesearch example but you can only select the option via a link. I'm trying to do it so i can submit a value to return database results. The external php code is below if anyone wants a look: I got it returning the …

Member Avatar for baseballfury
0
536
Member Avatar for BruceIrvin

EDIT: Nevermind, I already found what was wrong; But I can't draw a card properly when I run it still. [CODE]import java.util.Scanner; import java.util.InputMismatchException; public class CardDealer //Main Class { public static void main(String[] args) { Scanner keybd = new Scanner(System.in); Deck deck1 = new Deck(true); int count = 0; …

0
90
Member Avatar for fyp

Hi, I'm having problem with "WriteLine". What I'm tryin to do is write into the selected txt file(from openFileDialog) when user type something in the textBox. ****************************************************** My output is something wrong. For example: when I type "testing" in the textBox, what I see in my text file is as …

Member Avatar for jonsca
0
101
Member Avatar for rochellebeth

I can usually figure out problems like this with some testing or google searches, but nothing is working for me this time. I've installed a comments page on a website for a friend of mine, I got the code for the page from phpjabbers.com (and they aren't very much help!) …

Member Avatar for rochellebeth
0
127
Member Avatar for xfrolox

Well i got my codes so Checkbox and Textbox to read ini but i cant find how to make ListBox read ini like each line in the ini is 1 item on the listbox i have the api calls thingy and other stuff, but if you have a code or …

Member Avatar for xfrolox
0
139
Member Avatar for funjoke88

The application will ask questions like: What comes after D? A child is expected to answer the question and the application will inform the child if the answer is correct or wrong. The application will ask a total of 20 questions. After all 20 questions have been answered, the application …

Member Avatar for javaAddict
0
131
Member Avatar for naitx

1.Write a c++ program which counts and displays the number of characters and blank spaces in its own source code.

Member Avatar for Grigor
0
102
Member Avatar for paradiseis

here i attached my question ... and i have done the first part and i stuck in the logic part ,can anybody help

Member Avatar for javaAddict
0
141
Member Avatar for MTW1989

Here is the entire code; [CODE] #include <iostream> #include <sstream> #include <cstdlib> using namespace std; const int MIN_SCORE = 0; const int MAX_SCORE = 300; const int numofgamesinseries = 3; const int numofplayersonteam = 4; void printintromessage (); void getUserInput(char& Y); int getInt(const string &, int minValid, int maxValid); typedef …

Member Avatar for Fbody
0
116
Member Avatar for 1bh

So i overloaded the operator < and tried to reuse this by just returning the complement of it for the > comparison operator. I have been stuck at this error tho.. error C2679: binary '>' : no operator found which takes a right-hand operand of type 'const Customer' (or there …

Member Avatar for 1bh
0
166
Member Avatar for Violet_82

Hi guys, I have just written 2 versions of this simple program: [CODE]#include <iostream> using std::cin; using std::cout; int main () { cout << "This program counts from 10 to 0. \nGuess the missing number.\n"; int n; int f; for (n=10; n>0; n--) { if (n==5) continue; cout << n …

Member Avatar for Violet_82
0
142
Member Avatar for gorgey506

[CODE]// A personalized adventure #include <iostream> #include <string> #include <iostream> #include <string> using std::cout; using std::cin; using std::endl; using std::string; using namespace std; int main() { cout << "\tGame Designer's Network\n"; int security = 0; string username; cout << "\nUsername: "; cin >> username; string password; cout << "Password: "; …

Member Avatar for gorgey506
0
179
Member Avatar for dolkk

Hi guys, I am a [COLOR="red"]newbie[/COLOR] in writing programs in assembly language. Can anyone teach me how to write a simple code to develop a basic graphic user interface. I am currently working on a project to create a musical game that requires user interaction. Your assistance is greatly appreciated. …

Member Avatar for DENE@DANI
0
140

The End.