199,111 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TheDocterd

Hi there all I'm looking for a way to ensure that users don't exit my application before they complete all outstanding calendar entries. It is a job book application we use in office. The thing is that users only complete the day's entry in the calendar, and then leave the …

Member Avatar for AndreRet
0
113
Member Avatar for fakiha erum

sir i am being given a task to make a program which evaluate the fictorial of a given number, using loops. please guide me who i could do this

Member Avatar for Nick Evan
0
159
Member Avatar for atoivan

i need help with a program i am writing a in c++ and Java .a program that when i input a figure like 2345 it will sum the figure up by adding 2+3+4+5 can any one help some one give me some code int a = 0 int i = …

Member Avatar for atoivan
0
89
Member Avatar for vij123

i am work on an app where combo box is define in each row of table in a jsp. when i select the specfic color from combo box it is doing the same color on whole row. now i want, when i set the color of each row and submit …

Member Avatar for javaAddict
0
305
Member Avatar for snehalj

[CODE]year = GridView1.Rows[i].Cells[5].Text; [/CODE] i have written above code for getting value of particular cell from gridview. but now i want to store variable value in particular cell of gridview.

Member Avatar for pharindra
0
96
Member Avatar for orkuncanbay

I am in search of an online exam program which is to be uploaded on my web-site for my project. However, there will be four levels according to which the questions will be grouped. This application should read questions randomly from a list of questions stored in database. This application …

Member Avatar for orkuncanbay
0
185
Member Avatar for vij123

i am work on an app where combo box is define in each row of table in a jsp. when i select the specfic color from combo box it is doing the same color on whole row. now i want, when i set the color of each row and submit …

Member Avatar for masijade
0
107
Member Avatar for sureshksk

Hi all, I am using quartz scheduler in my web application for scheduling some data base tasks based on time.But after scheduling I am unable to connect to my application. I am using NetBeans.It is showing exception like this. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was …

Member Avatar for levine
0
321
Member Avatar for spades0001

Hey guys! I'm back with another problem :( I'm supposed to make a for loop program that will print only EVEN numbers from 77 down to 11. I also need to get their sum and average. By the way here's the code I did: public class Loop_For2 { public static …

Member Avatar for apines
0
146
Member Avatar for jeffpro

I have a program that works on Windows XP but when I try to run it on Windows 7 I get this error. Debug Assertion Failed! File: c:\program files\microsoft visual studio .net 2003\vc7\atlmfc\include\atlcomcli.h Line: 148 Expression: p!=0 I've googled for hours.

Member Avatar for arkoenig
0
111
Member Avatar for ShontiD

Using Visual Studio 2008...My assignment is to use the file SalesData.txt to load an array of structs, and use the array of structs to show to the screen a control-break report which breaks with each change in salesperson and shows each salesperson's total sales. I have not finished but I …

Member Avatar for Ancient Dragon
0
145
Member Avatar for xtra333

Hi people I am currently working to traverse a tree and do an inorder printing of the tree. Problem is my instructor wants parenthesis around the expressions not the individual numbers. [CODE] def printexp(tree): sVal="" if tree: sVal='( ' + printexp(tree.getLeft()) sVal=sVal+str(tree.getRootValue()) sVal= sVal+printexp(tree.getRight()) +' )' return sVal[/CODE] That is …

Member Avatar for TrustyTony
0
309
Member Avatar for RBK_RBK

import java.text.*; import java.io.*; public class Assignment9 { public static double findMin(double[] numbers, int startIndex, int endIndex) { if (startIndex == endIndex) return numbers[startIndex]; else { double prevMin = findMin(numbers, startIndex, endIndex-1); if (prevMin>numbers[endIndex]) return numbers[endIndex]; else return prevMin; } } public static double computePositiveSum(double[] numbers, int startIndex, int endIndex) …

Member Avatar for jon.kiparsky
0
98
Member Avatar for koushikG

Can anybody help me to do a java awt program in which one frame opens another frame?

Member Avatar for javanub123
0
99
Member Avatar for link00seven

Hi all, I have been asked for a homework assignment to write, in Motorola 68K Assembly, an algorithm to sort an array and place the sorted array into another array. I have absolutely no idea how to do this...I have been working on it but i'm having a hard time …

0
292
Member Avatar for zeeshan_kust

hay gays i want to retrieve xml data from three table stored in mysql. i used the below code it works fine but first it retrieve one record from first table than iterate to second table and print the whole table and then iterate to third table and print the …

Member Avatar for vibhaJ
0
148
Member Avatar for yup790

Hello I'm trying to make a random number generator to work out probability and chance, although it keeps coming up with an ArrayIndexOutOfBoundsException on line 41(roughly). I would be really greatful if you could help! thx p.s.This is not for school[code]/* * To change this template, choose Tools | Templates …

Member Avatar for leiger
0
178
Member Avatar for flyingcurry

The method below for bubble sort should work, it displays the unsorted array fine, but for the sorted array it only displays one of the numbers. It seems to have just skipped over the other elements in the array. Here is a sample output: [COLOR="Green"]How many random even integers would …

Member Avatar for apines
0
177
Member Avatar for kiranbvsn

hi all, I am new to mssql but C# programmer, can anyone help me on how to merge columns from different tables to a single table in sql for example i've 4 tables and the first table has a,b,c,d columns second table has e,f,g,h thrid table has i, j, k, …

Member Avatar for kiranbvsn
0
108
Member Avatar for Layerphp

Hi i'm new to php and i'm developing one admin tool which involves a form. The form involves more database interaction. My main interest with this form is to upload images to database with file system which i'm able to do. My form consists of fields like..... "Photo Taken by","Number …

Member Avatar for Layerphp
0
116
Member Avatar for PinkyMV

Hi all, I'm new to programming and I am currently taking an intro class that is requiring me to create Wheel of Fortune in c ++. I've made some decent head-way (I think), but I'm still far from getting this right. Here's what I have so far: *NOTE* The function …

Member Avatar for dexter321
0
3K
Member Avatar for douglaspr

Good night, wondering how to get the entrypoint of an executable, and if possible the 32 bits coming after him. grateful.

Member Avatar for Duoas
0
90
Member Avatar for getnit

Hi, The Question I would like to ask is, where does Delphi stand in terms of application development tool. I have started my career in Delphi as a fresher and have concerns of its existence in the future. I haven't heard of many people using it and preference always goes …

Member Avatar for Duoas
0
118
Member Avatar for Dhruv Gairola
Member Avatar for king_koder

I'm just thinking of learning basic 3d modelling(just as a hobby) and wanted to know whether you guys recommend 3ds max or Blender. I do have 3ds max, but I mostly use Ubuntu rather than Vista.

Member Avatar for king_koder
0
249
Member Avatar for 3FLryan

Hello All: I used to be an avid gamer (since I was 7 or 8 years old until recently, and I am now 24). I played anything but my greatest love was turn-based strategy. Games just weren't doing it for me any more - I felt like I could "see …

Member Avatar for 3FLryan
0
190
Member Avatar for gmfreak1991

Hey i'm doing a project, and i'm at the part where the user must enter a phrase or sentence and it must be compared to the phrase or sentence already imput to the computer via file. I'm asking a user to enter the sentence / phrase using cin.getline, but when …

Member Avatar for gmfreak1991
0
2K
Member Avatar for Dhruv Shah

I am developing a web site based on Job Application. Now when i run this site at my client's computer the pages are look much wider. I have 17 inch Monitor and my client has 15 inch monitor. So how could i slove this problem regarding the screen resolution. Please …

Member Avatar for sivabalakiran
0
454
Member Avatar for Lxyslckr

I just need to make sure that the snippet of code is correct. I don't have all the code as I'm still writing it. If it's possible I need help on the assignment. Maybe clues as to how to do it and maybe point to where I can find the …

Member Avatar for Eric Cute
0
218
Member Avatar for baconswife

Hello, for some reason I am having trouble remembering how to make it exit when they push the number 9. Can anyone help me? Also, I need it to repeat rather than at the end saying "press any key to continue" I know I will do this using while (choice …

Member Avatar for baconswife
0
252
Member Avatar for winmic

Is there any way to set the maximum size of a ListBox (by pixels)? I know that there is a SetMaxSize but it is not enforced.

Member Avatar for phunehehe
0
718
Member Avatar for oredigger

Hello, To start off, this is not a homework related question, just something I've run into on a project I'm working on for myself for fun. Basically, I have a screen whose controls are dynamically created (I create one for each root entry in an xml file) so that the …

Member Avatar for oredigger
0
158
Member Avatar for bruceoz

Hi folks I need some help! I have two tables the first contains account information, and the second contains flags that records in the account table may have. These are joined by the account?id. One account record may have several flags from the flag table. ie the following select select …

Member Avatar for bruceoz
0
142
Member Avatar for toferdagofer

Im trying to have the center circles follow the mouse if it enters the screen and go back to the original position if the mouse exits screen. Im not sure what to put into my mouse listener and would appeciate some help [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class …

Member Avatar for BestJewSinceJC
0
120
Member Avatar for NewbieProgram

I need to select attributes from my XML file and output the info into a table using XSL, need to output day name, instructor and class being taught, the problem is that I have multiple attirubtes within each group. my XML: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="g4.xsl"?> <schedule> <student_info> Vitaliy Berkovich …

Member Avatar for NewbieProgram
0
2K
Member Avatar for nickx522

I cannot quit after the program went to loop and if user choose not to continue game 'n' the program keeps asking for new guess. heres the code [CODE]#include <iostream> #include <iomanip> //#include <stdlib> #include <ctime> //or <ctime> using namespace std; int main() { //local constants const int MAX_NUM = …

Member Avatar for Nandomo
0
98
Member Avatar for BLUEC0RE

I'm having an issue with my program when taking in a string. I have two variables (ones for testing), char xpr[50] and char tst[50]. xpr gets it string by fgets --- fgets(xpr,50, stdin); tst gets it value by strcpy --- strcpy(tst, "((1 + (2 * 3))*(2*3))"); when prompt, I put …

Member Avatar for BLUEC0RE
0
99
Member Avatar for MasterGberry

Hello. I am trying to store information in a structure using this pointer loop method. If i try using the getline() method it seems to crash the program, and without it crashes if i enter more then 1 word. Also when the last loop deleting the pointers goes off it …

Member Avatar for Duoas
0
990
Member Avatar for Rickay

[CODE]int main2() { cin.get(); cin.ignore(); cin.clear(); while(true) { long double x, y; char ch_op; Sleep(200); cout << "Enter an expression below: \nExamples:\n"; cout << "x + y for Addition.\nx * y for Multiplication.\n" << "x / y for Division\nx - y for Subtraction.\nx & x for Square Roots.\n" << "x …

Member Avatar for Rickay
0
206
Member Avatar for king_koder

Hi, I started learning Python 3 around a month ago and I think, I am beginning to get the hang of it. However, I just recently realized that most of the modules I would like to use(wxPython, django,etc) aren't yet ported to Python. SO now, I'm really confused whether I …

Member Avatar for ultimatebuster
0
678
Member Avatar for Setvir

Anyone have an idea what the regex would be for preg_split to split a string at a semicolon ([icode];[/icode]), but ignore any quoted (single or double) parts as well as ignore escaped ([icode]\;[/icode]) semicolons? I have tried to decipher this one and could not (regex not my strongpoint - YET) …

Member Avatar for Setvir
0
163
Member Avatar for p2kpradeep

Hi, I've created a VB .Net windows application that generates reports in excel files from a dataset. I use "New Excel.Application" to create the Excel instance, and push data into it from my dataset. During this process, I do not show the GUI of my instance of Excel to the …

Member Avatar for alc6379
0
165
Member Avatar for Sharpmax

Hello guys! I am new to web development in general and C# particularly. Recently I have been given a project to create a simple web application, using C# and .NET. The application is divided into three parts: Data Access Layer with an XML file attached to it, the Business Layer …

Member Avatar for alc6379
0
154
Member Avatar for oldetimer

I need some career advice. Any genuinely informed advice that anyone can give would be greatly appreciated. I'm 55 years old. I was a DOS programmer 20 years ago for @ 4 years. I retired from an unrelated field about 5 years ago, but now I need to go back …

Member Avatar for alc6379
0
126
Member Avatar for sciprog1

Hello Members, I have a simple Client/Server program which does the following: Server sends an array of Images one at a time to the Client. Client displays them one at a time. My Server: [CODE]import java.net.*; import java.io.*; import javax.swing.*; public class Server { public static void main(String[] args) throws …

Member Avatar for sciprog1
0
145
Member Avatar for 1991

Hi, I´m wondering how i can append newly created objects to a list by using subclass.I have come this far: [CODE]class Room(object): def __init__(self,name): self.name=str(name) self.hazard = self.empty #def __str__(self): # return self.name def pits(self,antal): pit=1 while pit<antal: assert self.hazard == self.empty self.hazard=self.Pits # return self.hazard def bats(self,antal): bat=1 while …

Member Avatar for 1991
0
7K
Member Avatar for chou73

hi all, please can u help me, it's urgent and i'm working on it about 5 days without result i have a xml file: [CODE] - <Menus> - <UsersMenu> <ID>1</ID> <Text>Button1</Text> - <UsersMenu> <ID>2</ID> <Text>B1I1</Text> <link>template.aspx</link> <parent>1</parent> </UsersMenu> - <UsersMenu> <ID>3</ID> <Text>B1I2</Text> <parent>1</parent> - <UsersMenu> <ID>6</ID> <Text>B1I2I1</Text> <link>template.aspx</link> <parent>3</parent> </UsersMenu> …

Member Avatar for chou73
0
214
Member Avatar for yellowkaiq

For a project i'm working on now, i need to create a function that is in the format Hours:Minutes: seconds: Fraction where fraction is 1/10th of a second. It should print out every one tenth of a second. I have no idea where to start or how to do this, …

Member Avatar for TrustyTony
0
2K
Member Avatar for Nathaniel10

Stroustrup has an exercise in which the reader writes a program for the wumpus hunt game. A first draft of my code is below. It compiles and runs partly correctly. If you choose to move to a different room the program runs as expected. If you choose to shoot at …

Member Avatar for SgtMe
0
179
Member Avatar for mayank.dyl

Is it possible to store images in oracle db, if yes then what will be the data type of the field.? Please illustrate with example....thanx a lot.

Member Avatar for rpk2006
0
134

The End.