199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lf.gene

Hi! is it possible to put a do while loop in a do while loop? For eg: DO{ CODES DO{ } while } while

Member Avatar for manzarr
0
72
Member Avatar for herrel17

Our teacher have asked us to make a program in C language to read the difference between two cities in km, m, cm, inches and feets... I have tried every hell to make this work... I am not able to combine it all together... please help!!! I am so confused. …

Member Avatar for vijay143
0
218
Member Avatar for lf.gene

Hi, i have problem regarding my code. I using alot of for loop and while loop. However, its been to be one of the while loop is hindering the first loop. Here my code. [CODE]Do{ //assigned day 1-9 for ($i=1; $i<=9; $i++){ echo '<option>Hi</option>'; if($assigned_venue['day0'.$i] != ''){ $assigned_date[$i] = $assigned_venue['day0'.$i]; …

Member Avatar for lf.gene
0
74
Member Avatar for sarahspiteri

hi im new to vb and i would like to create a good log on form to access a database. i would appreciate some guidance for creating a log on form and a search form for the database, tnx :)

Member Avatar for akotoh!
0
97
Member Avatar for ssmg

Hello everyone, I don't know if I'm confused with itoa,excuse me for this if so, but what I'm trying to do is: I have an array of characters, say [CODE]char example[7][/CODE] I assigned the first 4 characters by [CODE]strcpy(example,"Fill");[/CODE] Then I'm trying to fill the next char with an integer …

Member Avatar for ssmg
0
163
Member Avatar for Naveed_786

How can i generarte crstal report bwtween two dates by passing two perameters in vb.net Thnaks in advance.

Member Avatar for finito
0
93
Member Avatar for ultimatebuster

This is the folder structure: [CODE]root common.py module1 somescript.py module2 someotherscript.py[/CODE] i need to import common.py from somescript.py and someotherscript.py I also need to import somescript.py from someotherscript.py

Member Avatar for lrh9
0
159
Member Avatar for skiabox

I want to get the digits of a number the user entered without using arrays. Is it possible? Thank you very much.

Member Avatar for kings_mitra
0
103
Member Avatar for walter307

how to put a command using only 2 letters the Y and N? and then prints out a text saying please input y and n only ex: [CODE]System.out.print("DO YOU WANT TO TRY AGAIN [Y/N]? ");[/CODE]

Member Avatar for new_programmer
0
142
Member Avatar for potato4610

C Program - Write main and two other functions named ComputeMaximum and ComputeMinimum that return the larger and smaller, respectively, of two type double arguments: 1. Each function must be in a separate file. 2. The files containing ComputeMaximum and ComputeMinimum may not contain #defines, #includes, if statements, switch statements, …

Member Avatar for kings_mitra
0
191
Member Avatar for lloydsbackyard

i have this program...the color program..but i have a problem on converting a string to character. anybody can help me..thanks.. below is the java code import javax.swing.JOptionPane; public class ab{ public static void main(String[]args){ String a; a=JOptionPane.showInputDialog("Enter color: "); // I need to convert the variable a from string to …

Member Avatar for jon.kiparsky
0
2K
Member Avatar for coding101

i have a text file on my desktop saved as a .cpp file and has code in it. how do i compile and run it in in terminal using the given g++????

Member Avatar for StuXYZ
0
123
Member Avatar for drspock

Hi, I am using a HelpProvider in my .NET Windows Forms project and after a lot of searching I can not find any way to control where the popup that it creates is displayed. Here is some example code, [CODE] HelpProvider helper = new HelpProvider(); helper.SetShowHelp(this.listBox, true); helper.SetHelpString(this.listBox, "Help text"); …

Member Avatar for drspock
0
173
Member Avatar for comSysStudent

Hi all, I'm working through the java tutorials on sun.com and trying to create a card class and a deck class which populates with card objects. Having trouble getting things running and I'm not sure where the problem is, pasted below are the card class and deck class, I'd appreciate …

Member Avatar for comSysStudent
0
530
Member Avatar for adams161

I am writing a little android chess application, and found some chess pieces under LGPL. To use them people need to be able to modify the pieces or relink to them or a modified copy. Android lets you have a web page link and i thought i'd state the copyright …

Member Avatar for adams161
0
96
Member Avatar for marcbe

Hi everyone, I have a problem that I can't get my head around, I dont know much about php. I do know some bits and bobs through experience with it and learning from mistakes. I have elgg installed on my website, a CMS neyworking engine. Some of the guys on …

Member Avatar for marcbe
0
220
Member Avatar for Bruynz

Hi, I am working on my next year's school project for my A levels, and I need a bit of help in deciding how to continue my program's design. Basically the project involves writing a stock managment software, for a fictional company. Now at the core of this programm lies …

Member Avatar for Bruynz
0
229
Member Avatar for SelArom

hello, I'm in the process of upgrading a site's pages from htm static content to a dynamix aspx page. the problem is that I want to redirect users visiting the old pages to the new pages and I want to use the proper 301 "moved permanently" redirect to be search …

Member Avatar for GamersX
0
444
Member Avatar for freiheit

Does anyone know? I dont have experience in jquery , and as far i know by default all panels inherit the height of the 1st panel ,depending of the quantity of the content inside it. In the content of each panel will be dynamic content, of different size thats why …

Member Avatar for freiheit
0
121
Member Avatar for mark2326l

Im listing files in a directory on a web page with links to the files. I'm trying to change the link color to something other than my typical. Below is the php link... [CODE]<?php echo("<a href= '$dirname/$file'>$file </a> ");echo "<br />"; ?>[/CODE] I want to change the class. Below is …

Member Avatar for mark2326l
0
85
Member Avatar for Ubermatik

Hello, first off, I'm new to the forum and, more importantly, writing C++ and working with the iPhone SDK. I was wondering if anybody could help me - I'm really eager to keep learning, and everything has been okay until now. I'm getting an error that I can't resolve, no …

Member Avatar for Ubermatik
0
101
Member Avatar for pendo19

Hi all, Does anyone know how to search for a string or substring within a list. I have [CODE] def searchfilt(self): f = open("timeline1.csv", "r") reader = csv.reader(f) text = enterbox(msg='Please choose a highlighter search term', title='Highlighter ', default='', strip=True) lines = [] i = -1 self.listbox2.delete(0, tk.END) for i, …

Member Avatar for TrustyTony
0
242
Member Avatar for keeda

Hi, I have written a script that sends daily emails. I want a certain part of the mail text to be in bold. Please advice me on how to achieve this? Thanks.

Member Avatar for keeda
0
2K
Member Avatar for sadhawan

Hi Guys , how can i parse java script.I have a script as follows [code] test.AddQuestion( new Question ("com.scorm.golfsamples.interactions.etiquette_1", "When another player is attempting a shot, it is best to stand:", QUESTION_TYPE_CHOICE, new Array("On top of his ball", "Directly in his line of fire", "Out of the player's line of …

Member Avatar for jon.kiparsky
0
179
Member Avatar for nizuya

My goal is to preload these images for an image swap on the page. It runs on body load but I'm not quite sure why it doesn't work... [CODE] function preload() { imageObj = new Image(); images = new Array(); images[0] = "images/globe2.jpg"; images[1] = "images/stickme2.jpg"; images[2] = "images/monitor2.jpg"; images[3] …

Member Avatar for fxm
0
230
Member Avatar for lf.gene

Hi all, I having this error "Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\FYP\assign_venueTest.php on line 104" in my code. I cant find where does my code went wrong. Need you guys to help me out. [CODE] <?php $class_id = $_GET['id']; $HOST = 'localhost'; $USERNAME = 'root'; $PASSWORD = ''; …

Member Avatar for hielo
0
371
Member Avatar for c++learner

Hello, I have a 2D array of 10x10 and I want to search the surrounding cells of only a 3x3 portion of it at a time. How can I go about totaling up the values of the following nested loop? There should be a 1 or a 0 and if …

Member Avatar for c++learner
0
142
Member Avatar for pietpiraat

Hi everyone, i have a piece of javascript that calculates 2 input fields (price * qty) whenever i type in the input field (qty) that uses this : [CODE]onkeyup="update(this);"[/CODE] Now what i want is to execute this handling when the page loads, because sometimes there are already values (php & …

Member Avatar for hielo
0
226
Member Avatar for raul8

In the code below, I am using QueryString to check the variable status. If it is 'success' then it should display "deletion successful". I am passing url = [url]http://localhost:9999/EmModule/EmpForm.jsp?status=success[/url] But, it is not displaying any alert. Note: I am using JSP page, and am rookie in it. Thank You [CODE]<html> …

Member Avatar for hielo
0
107
Member Avatar for EricTetz

I've been coding an applet using Java 1.4 under the (possibly/probably misguided) assumption that newer JRE's are backwards compatible, so my applet could run on a wider array of target systems without requiring users to update their JRE. Is this a valid assumption? I'd like to use the new language …

Member Avatar for jon.kiparsky
0
170
Member Avatar for Schoorsteen

Hey there, I've been attempting some Win32 programming for a while now, but I just can't seem to find a function where I can get the HWND by the resource ID. Just an example: [CODE] CreateWindowEx(NULL, L"BUTTON", text, WS_TABSTOP|WS_VISIBLE|WS_CHILD|BS_DEFPUSHBUTTON, x, y, width, height, parent, (HMENU)IDC_BUTTON_OK, GetModuleHandle(NULL), NULL); HWND btn = …

Member Avatar for Schoorsteen
0
4K
Member Avatar for johnnyturbo3

Hi, I just want to get the opinions of JSP developers on what they think the future of the platform holds. I'm currently a university student and I have gained a lot of experience in Java, and some in JSP. I'm looking now to concentrate on a single web language …

Member Avatar for GujuNilesh
0
770
Member Avatar for lf.gene

Hi all, I've errors in my code and i'm unsure whether the way i loop is in a correct method. Pls give me some guidance as it is very important to me. Thank! Error i got-> Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\FYP\assign_venueTest.php on line 118 …

Member Avatar for chrishea
0
144
Member Avatar for sree_ec

Hi, How to find the stack size available for main thread in a program(which contains the main() function) In the case of linux, we can specify the stack size available for the whole program in linker script during linking. For all other threads, we can specify the stack size when …

Member Avatar for Ancient Dragon
0
574
Member Avatar for imavp2

Hi. I am new to this forum/community and need help to join multiple result sets in SQL. The last time I used SQL was in 2000. The goal is to provide one single data set result from multiple queries. I have included the code from two queries that I have …

Member Avatar for imavp2
0
122
Member Avatar for Sismetic

Well, I have a test program, in which I wanted to test if it was possible to open a textfile(text.txt) for input, display it via cout, then passing the object via reference to another function, in it and display the file again(which should already be open,which is the whole point). …

Member Avatar for Ancient Dragon
0
230
Member Avatar for Baadal

Hi I am new to this forum and want some help with some Java code. I am creating a Three Tier Structure and below is the GUI class of the project. The problem is I can't make it work to insert into the Database file. Could someone please help me …

Member Avatar for Baadal
0
1K
Member Avatar for SeanC

I'm currently learning java, and im having a problem understanding what's going on when we use a constructor when inheriting from a class that already has a constructor. The best would be to just throw in my example. I have 2 classes, "Person" and "Employee". "Employee" is inheriting from "Person", …

Member Avatar for jon.kiparsky
0
139
Member Avatar for shella

Hi all, i'm newbie with jsp and i'm trying to connect with mysql through a select with a variable passed from an another page... The code i have is what follows: [code] <% // Prendo la variabile dal form String username=request.getParameter("username"); String sql="SELECT * FROM cmascella_users WHERE username = " …

Member Avatar for sawedd
0
161
Member Avatar for datapham

Hi, i have tried to insert all rows at one time from datagridview c# into a table in database , although the table gets all the rows from datagridview but it always gets the values of the last row from datagridview for all the other rows , so all the …

Member Avatar for finito
0
326
Member Avatar for sadhawan

Hi Guys, I am unzipping a folder into a new folder and then wants to read all the files from the folder .My code is as follows.I dont want to create a folder but i cnt figure out a way to read all the files froma compressed folder and now …

Member Avatar for nick.crane
0
167
Member Avatar for eman 22

I want easy algorithm with minimum order to get the sub-rectangle with the largest sum in an array for example array as a input 0 -2 -7 0 9 2 -6 2 -4 1 -4 1 -1 8 0 -2 sub-rectangle 9 2 -4 1 -1 8 maximum sum of …

Member Avatar for AuburnMathTutor
0
575
Member Avatar for garyengle

I can't seem to pass a struct address to a function. My program "stops working" when it gets to the scanf statement of the getReady function. [CODE]/**************************************************** Author: ---------------------------------------------------------------------- Purpose: This code will explore passing a data structure address to a function. ****************************************************/ #include <stdio> #include <stdlib> //prototypes: struct things{ …

Member Avatar for garyengle
0
144
Member Avatar for Tommymac501

I'm trying to make a fixed length output record, and I'm using a Dictionary as a lookup table to find a code based on the kind of car a person drives. The routine works fine; I the search the key for the car type, and the value returned is the …

Member Avatar for woooee
0
4K
Member Avatar for SoulMazer

Hi, I'm in the process of writing my own FPS in C++ and I had a general question about game programming. Up until this week, I was developing the game on a computer with a low-end graphics card and everything was working just fine. This week, I've changed my development …

Member Avatar for gusano79
0
127
Member Avatar for judithSampathwa

Hey there, I have a interface which loads the data from the database. It loads the data to the datagridview, and text boxes. When I load the data to the datagrid view how can I make it uneditable so that the validations and other datagridview event scan not be occurred. …

Member Avatar for nick.crane
0
675
Member Avatar for jugosoft

I have some text with Cyrillic and Latin (š, đ, č, ć, ž). How can I store that data in MS SQL 2008. I tried to store word 'Palačinka' but instead of 'č' i get 'c'.

Member Avatar for jugosoft
0
70
Member Avatar for madkat3

I'm using an image as my submit button. I want it to check to ensure all boxes have a value before submitting (I will make the verification more stringent later), and if there is none, to cancel the form submission. I created a readonly input box that changes from white …

Member Avatar for madkat3
0
11K
Member Avatar for kametolearn

I am trying to find a way to search a filename.rc file for a particular string. For now lets just say I am searching for the string PARTYHOST. After finding PARTYHOST in the file I would like to replace anything after it(so 192.168.0.1) with a new string which I have …

Member Avatar for Beat_Slayer
0
360
Member Avatar for faizabest
Member Avatar for Brian Swan
0
91

The End.