43,549 Solved Topics
Remove Filter ![]() | |
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 … | |
How do I make a transparent window in Tkinter? | |
![]() | 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 ![]() |
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 | |
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 | |
![]() | [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 … ![]() |
[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++ | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
| |
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 | |
![]() | 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 ![]() |
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) … | |
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++ | |
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 … | |
can anyone tell me how can we hide [B]invisible data's [/B]permanently within bmp images Software Development java | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
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++ |
The End.