43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for BoBok2002

I drew a circle to represent a human face. I am drawing an arc to represent the mouth but I am having troubling positioning it in the right place. I have checked the value of x and y in the computation of the arc but can't seem to figure out …

Software Development c++ opengl
Member Avatar for BoBok2002
0
135
Member Avatar for ryufire
Member Avatar for cgsig
0
11K
Member Avatar for anunitha

Hi, I have excel sheet which contain 100 and 100 of email and corresponding name. I need to seprate them according to the number of occurrence of their name. eg: name email chandran [email]chan@gmail.com[/email] maidhu maidu2yahho.com karan [email]karniii@nii.in[/email] Chandran [email]chan@gmail.com[/email] Chandran [email]chan@gmail.com[/email] karan [email]karniii@gmail.com[/email] excell sheet contain name and email, …

Software Development file-system perl
Member Avatar for anunitha
0
95
Member Avatar for adonweb

How can i set a fixed height detail section in crystal reports regardless of record count. I set the height of detail section to 10 records. If i put 8 records, the space for other 2 records should be white space. That is, total height remain the same. Please help …

Software Development vb.net
Member Avatar for wsfaso
1
3K
Member Avatar for Laxman2809

just like my title says my loop won't work [CODE]import java.util.Scanner; public class TestSocialEvent { static String title, attire, dayweek,input,time; static int day,month,year; public static void main(String[] args) { Scanner k = new Scanner(System.in); System.out.println("Social Planner"); SocialEventController sec = new SocialEventController(); while(true){ SocialEvent ev = new SocialEvent(attire, dayweek, title, day, …

Software Development java
0
65
Member Avatar for HASHMI007

[QUOTE]Que.h Header file [/QUOTE] [CODE]template < class T> class Que{ public : Que(); Que(int max); ~Que(); int isFull()const ; int isEmpty()const ; void Insert( T newItem); void Remove(T & item); private : int front , rear; int maxQue; int count ; T * Items; // Dynamic Arry Implementation }; template …

Software Development c++ queue
Member Avatar for HASHMI007
0
179
Member Avatar for f4fjks

[CODE]#include<stdio.h> #include<graphics.h> #include<stdlib.h> #include<conio.h> void main() { int graphdriver=DETECT,graphmode; int color,n,m; initgraph(&graphdriver,&graphmode,"C:\\TC\\BGI"); for(n=0;n<10;n++) { putpixel(250+n,350,BLUE); } for(m=0;m<10;m++) { int x=getpixel(250+m,350); printf("%d",x); } getch(); }[/CODE] please any one help me solving errors..

Software Development c++
Member Avatar for WaltP
0
169
Member Avatar for UNDER-18 FG

Hi! I have another assignment regarding writing a program based on a given output. Here's the Output given: Output: Enter your date of birth: Day: Month: Year: My birth date is on 31 August 1980. So, here's my answer( Although it is wrong; with about 6 ERRORS in it): [CODE]#include …

Software Development c++
Member Avatar for Fbody
0
175
Member Avatar for mamari

Hello, i need to list all menu items on page load, now it's on mouseover anyone can help? [ICODE] <a href="home.php?cat={$catid}" class="arrow" onmouseover="javascript: return switchSubcatLayer(this);"></a>[/ICODE]

Software Development java
0
225
Member Avatar for Ehtesham Siddiq

Hi, I have a StatusStrip and is filled with Year in the format say "June2009 - May2010". I want to get the years from this string like 2009,2010 from the above string. Please suggest how can i do this. I have tried this but not able to further separate June2009. …

Software Development vb.net
Member Avatar for Pgmer
0
4K
Member Avatar for UNDER-18 FG

Hi! I have another assignment regarding writing a program based on a given output. Here's the Output given: Output: Enter your date of birth: Day: Month: Year: My birth date is on 31 August 1980. So, here's my answer( Although it is wrong; with about 6 ERRORS in it): [CODE]#include …

Software Development c++
Member Avatar for hiddepolen
0
384
Member Avatar for vlady

Hello, I am learning classes and object and I have a problem with this code. Simply does not work. Can you tell me the reason please? Error message tells me that Distance is not defined...(I don´t understand this message) Thank you for help! Vlady [CODE]class Distance(object): 'return distance between 2 …

Software Development python
Member Avatar for vlady
0
128
Member Avatar for crankyslap

I am using the following to send a string to the application on the foreground. But it's no good, as it for some reason only accepts numbers, and letters in uppercase. But I also need to send letters in lowercase, and slashes and backslashes etc. Can anyone help me achieve …

Software Development vb.net
Member Avatar for crankyslap
0
1K
Member Avatar for UNDER-18 FG

Hi. I'm new here. Anyway, I have an assignment of writing programs from outputs provided. Here's an output given in the assignment that I think is wrongly done. I'm saying this because I tried many, many times just to get the exact output, but only to no avail. So, I …

Software Development c++
Member Avatar for UNDER-18 FG
0
126
Member Avatar for cyberdaemon

can someone help.. i can see the file when i click the save button on my folder.. can you help me... [CODE] { SaveFileDialog dialog = new SaveFileDialog(); saveFileDialog1.ShowDialog(); saveFileDialog1.InitialDirectory = @"C:\sample"; saveFileDialog1.Title = "Browse a file"; saveFileDialog1.DefaultExt = "txt"; saveFileDialog1.Filter = "Text Files (*.txt)|*.txt| PDF File (*.pdf)|*.pdf"; saveFileDialog1.FilterIndex = …

Software Development pdf
Member Avatar for arunkumars
0
224
Member Avatar for walid86

hi guys, i have a minor problem that i can't get my head around. I have a picturebox, inside a panel, inside a form which has auto scroll on, as the panel's height is bigger than the screen... I never used to have this problem, but now if i manually …

Software Development
Member Avatar for walid86
0
218
Member Avatar for j23

basically, instead of the "(N1 + N2 + N3)" which is in the average method we need to call the sum method to the average method as the sum method returns a value = (N1 + N2 + N3). does anyone know how to call the sum method to the …

Software Development java java-swing
Member Avatar for hiddepolen
0
166
Member Avatar for cyberdaemon

can anyone tell me how to avoid this kind of error "specified more than once in resource parameter" i copied one form and rename that form into other's name together with the class name and thier inheritance but still i have this error..

Software Development
Member Avatar for cyberdaemon
0
74
Member Avatar for mameemonster

i'm new to this c programming. all i wanna do is to make the user to enter the number of student, then input the name and address of the student. later i want it to print the name and the address. the program crashes after i input all the name …

Software Development c
Member Avatar for WaltP
2
440
Member Avatar for nmohammed

hi, i am new in C# , i have 2 text boxes in which the user will enter the department and name, 1- I want the application to retrict the user to only enter letters not numbers . This is my following code: [CODE] public string Directorates_Insert(string Directorate_Name, string Directorate_Head) …

Software Development dataset
Member Avatar for nmohammed
0
204
Member Avatar for Erlendftw

Hello there Daniweb community, today i encountered a problem while developing a Desktop Application in C# With Mysql (MySql.Data.MySqlClient). Im not using ODBC. The situation is the following: When NOT executing two queries, the data gets processed and everything works fine. However, once there are two queries, problems appear. Its …

Software Development listview mysql
Member Avatar for Erlendftw
0
110
Member Avatar for Quenchy coder

Hello... I need to transfer the contents of a combo box into my list box..how do i do that? my list box is empty.and everytym i select something from my combo box..the previous value in list box should not be erased.It shoud keep on adding to the previously updated value..Please …

Software Development visual-basic
Member Avatar for hkdani
0
110
Member Avatar for Ruchi224

Hello.. I am developing a windows app and i have a form in which i have 2 datagridviews.. dgv1 is the main gridview with checkbox column and when the user checks the box, that row should be visible in dgv3 (other datagridview).. The code i used is : [CODE] Imports …

Software Development assembly dataset vb.net
Member Avatar for Ruchi224
0
187
Member Avatar for Labdabeta

How long can an array be, and how can I extend that length?

Software Development c++
Member Avatar for rubberman
0
142
Member Avatar for FALL3N

Hello. I am writing a script to do some copying of files. I feel confident that I can do that part, but before I even start doing the actual copies, it compares the last modified dates of two files.. I know this seems a very basic question that I would …

Software Development shell-scripting
Member Avatar for FALL3N
0
207
Member Avatar for loserspearl

I'm working on a random number guessing game with 5 tries that uses standard JOptionPane GUI and 3 methods, the requirements have each method doing a specific task. The main method starts a game is supposed to handle the 'you won' or 'you lost' dialogue and play again if the …

Software Development gui java java-swing
Member Avatar for loserspearl
0
1K
Member Avatar for VasquezPL

Hi guys, I have a small problem I am writing a program which adds informations about broken systems in my company. Customers are informed about new events (outages) via RSS (XML) channels. My program simply download xml from the web page and give a possibility to add new items (events) …

Software Development c# xml
Member Avatar for VasquezPL
0
606
Member Avatar for vishwanath.m

hey guys!!! iam just working on speed of the codes.. and i just want to extract the last bit of the given variable.could u help me??? note:dont extract the bits by dividing it by 2:):)

Software Development c++
Member Avatar for vishwanath.m
-1
130
Member Avatar for noobies

Can anyone help me to do this : Select previous field based on previous field in sql. I had tried a lot of ways but it seems doesn't works. [CODE]Select alert_value , year_id from company_alert where year_id = "2010" and year_id = year_id - 1 group by year_id[/CODE] could anyone …

Software Development sql vb.net
Member Avatar for adam_k
0
184
Member Avatar for Jessurider

can anyone tell me how can we hide [B]invisible data's [/B]permanently within bmp images

Software Development java
Member Avatar for Ezzaral
0
115
Member Avatar for bio-grad

Hi, I wrote this script to help me cleanup some data. The value in the 8th column is sometimes empty. When it is empty, I want it to print a zero as in the next part of the script it will be adding a number to whatever is in that …

Software Development data-structure perl
Member Avatar for bio-grad
0
232
Member Avatar for gahhon

as the question require to declare [CODE] // Creating Class Members public class Films { private String itemCode; private String title; private String description; private String language; private String runningTime; private String productionCompany; private String status; //eg, pending, premiering, running, written-off // No-argument Constructor: Without Parameters public Films() { itemCode …

Software Development java
Member Avatar for JamesCherrill
0
224
Member Avatar for cdea06

Could someone explain how the flow of control works with a nested for loop? [CODE]for (initialize; condition; increment) for (initialize; condition; increment) statement; [/CODE] I know a single for loop is: initialize --> condition --> statement --> increment--> condition -->.......

Software Development java
Member Avatar for JamesCherrill
0
130
Member Avatar for jenxin

Hi guys/girls. I have a program due soon for my assembly class. My teacher expects us to bruteforce through this program, but I'm wondering if theres any other way. Here's my code basically, edx is the pointer to the value located at a position on a sudoku matrix. ie. [edx …

Software Development assembly flash legal
Member Avatar for jenxin
0
783
Member Avatar for noXi

Hi, i've been looking around the web but could not find anything about the filestructure of the following file: [CODE]{"tickets":[{"name":"Test", "id":"906935000", "description":"gültig", "userID":"310000", "price":"Preis: 1,90€", "productID":"119", "checksum":"6017", "dailyCode":"u", "hourlyCode":"y", "barcode":"", "rebuyLink":"191000", "buydate":"52744", "buydateString":"17.08.2011", "legalNote":".", "validString":"gültig bis 17.08.2011", "demo":true, "validDescription":"gültig in 210"}], "currentMonthExpenses":"1,90€", "getMoreTicketsAvailable":false, "monthlyTurnover":170};[/CODE] This .dat-File is generated in javacode. …

Software Development java
Member Avatar for noXi
0
257
Member Avatar for opawix

Hello ma'am/sir any help for the codes of input to be align.heres my code: [CODE] #include<iostream> using namespace std; int main() { float pre, mid, semi, final, total; cout << "Prelim: "<<setw(20)<< "Midterm: "<<setw(20)<< "Semifinal: "<<setw(20)<< "Final: "<<setw(20)<< "Final grade: \n"; cin>>pre>>mid>>semi>>final>>total; total = (pre+mid+semi+final)/4; system("pause"); return 0; } [/CODE] …

Software Development c++
Member Avatar for namratag
0
105
Member Avatar for AquaNut

Hi All, Been reluctant to drop this on anyone as I wanted to resolve it myself but alas it has got the better of me. I am trying to do an insert into an Access 2007 DB but keep getting a syntax error even thougt I can get the generated …

Software Development linked-list vb.net visual-basic
Member Avatar for Naveed_786
0
305
Member Avatar for Karthik J

Hi all, Does anyone know how to convert raster images(bmp) to vector images using C#?. My task is to convert raster images(bmp) to list of vectors using C#. I surfed in the net, got many open source tools which does the job, but my constraint is not to use any …

Software Development c# image open-source
Member Avatar for VIeditorlover
0
2K
Member Avatar for PlUmPaSsChIcKeN

Im a beginner to python and my professor has assigned the following assignment: You buy an international calling card to India. The calling card company has some special offers. a) If you charge your card with $5 or $10, you don’t get anything extra b) For a $25 charge, you …

Software Development python
Member Avatar for PlUmPaSsChIcKeN
0
238
Member Avatar for DmytriE

I am having the hardest time figuring out how to pass a pointer as an argument. All of the examples I have come across are using predefined array sizes while my array is dynamic. The following code is a simple representation of what I am trying to do in a …

Software Development c
Member Avatar for DmytriE
0
122
Member Avatar for violette

hi all! i'm not sure where to post this. i hope i'm posting at the right section. previously i use formula as below; [CODE] Dim total1 As Label = CType(e.Item.FindControl("total1"), Label) total1.Text = e.Item.DataItem("receivable").ToString * 365 / e.Item.DataItem("revenue").ToString[/CODE] note that the 'receivable' and 'revenue' are taken from database(mysql) however,if the …

Software Development vb.net
Member Avatar for violette
0
93
Member Avatar for crane476

I am writing a program that should allow the user to enter however many payroll amounts they want for 3 different stores. It should then display the total payroll for the three stores. The first time through the loop is fine but the second time through, even though it appears …

Software Development c++
Member Avatar for crane476
0
111
Member Avatar for HackRabbyt

Hello, I was wondering if I could get a little guidance regarding an error I keep running into on this assignment. I'm not necessarily looking for any answers as I'd like to complete as much of the assignment myself as possible. However, I've been beating my head against a brick …

Software Development c c# c++
Member Avatar for HackRabbyt
0
117
Member Avatar for linux

I have to rewrite the atoi function - that is, convert a string given by a command line argument and convert it to an integer. It works for single digit numbers, but when you give it two or more digits, it only converts the first number. I'm not sure what …

Software Development c
Member Avatar for linux
0
303
Member Avatar for AndyPants

hello I'm NOT new to vb.net but i have never used a UserControl in the following manner: In need to make a UserControll that can be put in a list of them depending on how many the user chooses and then if there are more than 4 to have a …

Software Development vb.net
Member Avatar for AndyPants
0
191
Member Avatar for AndyPants

Hello, i was wondering how would i make a search kind of thing, for example if string1 contains all the words in string2 words. like a search(not just if string1 contains string 2). it should work something like this: If string1 is "an apple" and if string2 is "djsjfsfg apple …

Software Development apple seo vb.net
Member Avatar for AndyPants
0
476
Member Avatar for Slyvr

I made a basic JUnit test to set up this oracle database on my computer with hibernate. The database works and everything, but trying to hook it up to Hibernate is proving to be a challenge. My config file is below: [code] <hibernate-configuration> <session-factory> <!-- Database Connection Properties --> <property …

Software Development java oracle session
Member Avatar for Slyvr
0
1K
Member Avatar for java.util

Hello, I have this little piece of code [CODE]System.out.println("Write a sentence: "); String sentence = tastatur.next(); String[] temp; String divider = " "; temp = sentence.split(divider);[/CODE] The problem is that when I enter a sentence only the first word gets stored in the string. For instance if I enter "dum …

Software Development java
Member Avatar for java.util
0
146
Member Avatar for Syrne

Hi guys, So for my next assignment I am required to, at some point, create a function that searches through an array of objects and sets a boolean value in a corresponding boolean array at the same position as the object in the object array, if that makes any sense. …

Software Development java
Member Avatar for ~s.o.s~
0
152
Member Avatar for ucdbrummy

I'm new to this site and am desperate for help. I'm learning C++ for university, and have just received my second project. it goes like this: Write a program in which: A random integer between 0 and 500 is generated at the beginning. The user is asked to guess the …

Software Development c++
Member Avatar for ucdbrummy
0
76

The End.