132,726 Archived Topics
Remove Filter ![]() | |
Can someone give me an idea on how to get started on this program? I have been having problems on this for a week and cannot get started. I understand this in visual logic but cannot get the total amound to print. Can anyone walk me through this or show … Software Development python | |
when i tried executing my java project i got the following errors Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: TRANSLUCENT translucency is not supported. import java.awt.Color; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.ArrayList; import javax.swing.AbstractAction; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; … Software Development java java-swing | |
I have a tkinter program like the one below (for example) and want to create an executable file using module cx_freeze. I am using Python33 and Windows7. # Tk_circle2.py # draw a circle with given center (x,y) and radius # tkinter normally needs a specified square try: # Python2 import … | |
hi, i am receieving a repsonse from googles json api that has the formatted_address but i want to extract the city and county from either the formatted_address which is displayed in a label (lblAddress.text) or the JSON file Google gave me. so for example: Palgrove Road, Pennywell, Sunderland, Tyne and … Software Development api file-stream google google-api json vb.net | |
hi , last night I downloaded pyzo package on my ubuntu 14.04 system , I just do not know how to get it working . any help is appreciated | |
i using abstract method , and always prompt out wiv " not abstract and does not override abstract method " tis kind of error ublic abstract class Person { protected Name name; protected String address; protected String hp; protected String eadd; private static int counter; Person(Name name,String address,String hp,String eadd){ … Software Development java | |
Am trying to compile the following code in solaris 7 using sun workshop 5 below but I keep getting the following errors and have no idea how to fix it. ./timer.h, line 67: identifier redeclared: timer_create current : function() retruning pointer to void previous: function(int, pointer to struct sigevent {int … Software Development c++ | |
Hello everyone, I am getting NPE, and surprisingly I can't figure out why ... I am calling a method from a client using java rmi. The method on the server side is as follows : public List<String> getPrinters() throws RemoteException { List<String> listPrinters= new ArrayList<String>(); for(int i=0; i<printers.size();i++){ listPrinters.add(printers.get(i).getName()); } … Software Development java | |
hi guyz, currently i am using cortex m4, and i have to make a string reverse function that print the strings back ward. this is what i have done so far....* #include "derivative.h" #include <stdint.h> #include "clock.h" #include <stdio.h> #include"freedom.h" #include "uart.h" void stringreverse(char array[3]); int main(void) { clock_initialise(); char … Software Development assembly | |
I have this code snippet: for (i=0; i<=100; i++) { a[i] = b[i] + C ; } I am trying to figure out what this would look like in MIPS assembly with these rules: > Assume that a and b are arrays of words and the base address of a … Software Development assembly | |
I use Delphi 7 to develop programs, but the programs that I make, UI looks outdated. I was wondering if there is an option that I can adjust how to generated UI looks like? Thanks. | |
i read adapter classes everything is write but i am confuse about Listener Interfaces and Adapter classes concept priblem is that when java create adapter classes it implements corresponding interface and privide defination with empty bodies of all methods that are present in interface this is declaration public class WindowAdapter … | |
Hi i am creating a lottery program and i have managed to get it so the user enters 6 numbers into the program then it will generate random numbers the problem is that the numbers the user enteres can be duplicate i need help trying to not make them duplicates.here … Software Development java | |
Hello, I'm trying to import xlsx to datagrid using oledb. but i'm geting this: Syntax error (missing operator) in query expression.I've read other related posts but didn't helped this is the code: private void button1_Click(object sender, EventArgs e) { OleDbConnection conn = new OleDbConnection(); conn.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\alm1.xlsx" + @";Extended … | |
I have the following method: [ClaimsPrincipalPermission(SecurityAction.Demand, Resource = "Order", Operation = "Place")] public string PlaceNewOrder() { } When the `AuthorizationContext.Principal` does not have the required `Claims`, a [SecurityException](http://msdn.microsoft.com/en-us/library/system.security.securityexception_properties(v=vs.110).aspx) is thrown (as expected). Unfortunately, all the properties of this exception (such as `Action` or `Demanded`) are `null`. Is there a way … Software Development | |
Hello, I am supposed to modify my last inventory program. Here is the instructions. Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of … Software Development java | |
Hey everyone, I am facing an implementaton issue here ... hopefully someone can give me a hand .. So I am implementing a client-server communication, where the server has to act as a print server. In other words, the client simulates to be next to a printer and can send … Software Development client-server gui java printer queue | |
I am trying to make a program that will tell how much a ticket costs and what the admission status is for a movie based on the age of the person. For ages 1-4 and 55 and up, it is $0.00 and "Free". For ages 5-12 it is $4.25 and … Software Development java java-swing | |
I remember reading in Java's EULA that you acknoledge not to use it for certain things (real time applications). I did a bit of research on this matter and came to the conclusion that it is due to Java's garbage collector that makes Java slower and thus unfit / or … Software Development java | |
Is this a good example of using multiple pipes. I need to fork 3 children. Would I just need to repeat the process in between the hyphens? Where would I add extra sleeps? Is it a bad idea to use WEXITSTATUS and WIFEXITED? Can anyone spot any errors? #include <stdio.h> … | |
I'm a little confused about inlining member functions. Does all code actually have to be on one line or does it simply mean writing the whole function inside the class rather than from outside using the :: syntax? Software Development c++ | |
Hi guys please I need your help. I created application in window application of C# with sql server database(.mdf) and when I installed it to the target computer, it is complaining of: unable to install or run the application. The application requires that assembly Microsoft.Synchronization Version 1.0.0.0 be installed in … | |
i have a code that select the columns in mysql and fill it in a datagridview... what i want to do is encrypt the 3 column in the datagridview since it is a password... can you help me??? here is my code Dim dbDataSet As New DataTable Dim SDA As … Software Development vb.net | |
I have used this several times in the past for writing to files. Is there a problem with this? I'm just writing text. I have never had any issues. What is the difference with the binary file? I thought binary files usually weren't readable. I read those two links and … Software Development c | |
I don't know what I am missing. Help me. import javax.swing.*; import java.util.Scanner; public class Operator { public static void main(String args[]) { String num1,num2,op; int ans; Scanner cin = new Scanner(System.in); num1 = JOptionPane.showInputDialog("Enter First Number"); op = JOptionPane.showInputDialog("Enter Operator"); num2 = JOptionPane.showInputDialog("Enter Second Number"); char c = (char) … Software Development java java-swing | |
Hey guys, I can't understand why am I not getting anything from the server, it is supposed to return "Hello" to the client ... I have this code implemented for a game I made during the summer and it works perfectly(of course this is just part of the code), but … Software Development client-server java | |
Hi, im wondering how I could contact my Call of Duty: Black Ops game server's console, through RCon, through an application I have created in VB.net All I want to beable to do is have the ingame console in a textbox or something, it doesnt even have to be live, … Software Development vb.net | |
Hello Friends, I am creating a windows application containing multiple forms which shows notify icons while running. I have kept the notify icon only once in the 1st form.When the first form loads it shows the notify icon. When a button is pressed the first form hides and the 2nd … Software Development | |
i'm making a hospital management project using java and there is a small error "symbol not found ". plzz help Software Development java | |
I dont know how to convert a matrix of 10x10 into 4 matrices of 5x5, for example: [[10, 11, 12, 13, 14, 15, 16, 17, 18, 19], # matrix 10x10 [20, 21, 22, 23, 24, 25, 26, 27, 28, 29], [30, 31, 32, 33, 34, 35, 36, 37, 38, 39], … Software Development python | |
Here is a VB 6 fuction I used to calculate number of hours worked given a start time and an end time (24 hour format). This function worked even when start time > end time (17:00 start time - 03:12 end time next morning). The result is formatted in tenths … Software Development vb.net visual-studio | |
I am trying the below code by not able to execute it properly, because as soon as first if is cleared then the other if statement take the previous i value. that is when i = 2 is accepted then i remain 2 all time. below is the code i … | |
Am trying to build xinetd on my solaris system am using sun workshop c++/c to compile the code but I keep getting the following errors error: `sys_nerr` underclared (first use in this function) error: (each undeclared identifier is reported only once error: for each function is appears in.) error: `sys_errlist … Software Development c++ | |
I have been working on this program for days and I can not figure out what I am doing wrong. I have most of the code done but I am getting error messages with the radio buttons. The new user radio button is supposed to take the data inserted in … Software Development vb.net | |
![]() | Hi. I'm trying to implement uniform interfaces for two breakout boards (adafruit's fona and sparkfun's Si4703 breakout) and I'm not sure how to go about writing wrapper classes. Can someone guide me through the basics of accomplishing this task? Software Development c++ |
Problem1: Write the definition for a class named Vector2D that stores information about a two-dimensional vector. The class should have methods to get and set the x component and the y component, where x and y are integers. Next, overload the * operator so that it returns the dot product … Software Development c++ | |
hello guys,please i need some help .I have many folders that contains images .I have to store these folders in my database .And then use these images.Please i want an advice to know how to start .it's my first program of that type =( and i'm using Vb.net and Sql … Software Development vb.net | |
dear daniweb friends, i really need help. i want to parse a json from a file inside folder. that folder inside xcodeproj (not from URL). i use this code: dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ /*NSData* kivaData = [NSData dataWithContentsOfURL: [NSURL URLWithString:@"http://json.comli.com/reportTextEn.json"] ];*/ NSString *filePath = [[NSBundle mainBundle] pathForResource:@"reportTextEn" ofType:@"json"]; NSError *error = … Software Development json objective-c | |
![]() | I'm needing some LINQ expert advice. I am having to convert a SQL stored proceedure over to LINQ. The SQL statement is structured like below: SELECT SUM((Amt) FROM Table1 INNER JOIN Table2 ON Table1.ID = Table2.ID WHERE Table1.Date < endDate GROUP BY Table2.Name How would I group all of the … Software Development |
how to make the simple malware using iteration on dev c++ ?? that using simple algorithm for do, or while do or do while | |
Hi everyone, i need your help.. I want to draw a circle,square and rectangle on Jframe on a click of a button.. This program was asked in my test paper, i couldn't get it right though bt i wanna know what my mistake is.. Plz help me.. import javax.swing.*; import … Software Development java java-swing | |
So I am currently working with custom silverlight extensions for a SAP application. The extension kicks off a an async WCF request and waits for the response. During which time I try the following: waitWindow = new RadWindow(); waitWindow.WindowStartupLocation = Telerik.Windows.Controls.WindowStartupLocation.CenterScreen; waitWindow.BorderThickness = new Thickness(0); waitWindow.Content = new View.WaitWindowTest(); waitWindow.ShowDialog(); … Software Development assembly | |
i write a code in java of GUI calculator. i handle its addition event only but it is not working i don't know why its code is here import java.awt.*; import javax.swing.*; import java.awt.event.*; class Calculator extends JFrame implements ActionListener{ JTextField jtext; JPanel p; JLabel lab; JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b0,bPlus,bMinus,bMul,bPoint,bClear,bEqual; public Calculator(){ … Software Development gui java java-swing | |
Write a program that will read two numbers and an integer code from the keyboard. The value of the integer code should be 1, 2, 3 or 4. If the value of the code is 1, compute the sum of the two numbers. If the code is 2, compute the … Software Development java | |
this is my program for list implementation in C++. And I want to print the first element in it. I write element until I reach 0 Can You show me the way to do it. Thanks #include "stdafx.h" #include "iostream" using namespace std; struct Node { int data; Node *next; … Software Development c++ | |
I need to make this program GradeCalculator.java, and I can't figure out what is wrong with it. I'm really struggling, could someone please help! Thanks!! In the GradeCalculator.java program the user clicks the Enter button. The first input is a JOptionPane that asks the user, “Number of score to be … Software Development java java-swing | |
one interesting application of computers is to display graphs and bar charts. Write an app taht reads three numbers between 1 and 30. Fro each number that's read, your app should display the same number of adjacent asterisks. for example, if your app reads the number 7, it should display … Software Development display | |
Good day! I have a long list of menus created under menu editor. I need to loop all of its value list and put it in a combo box. I do not know a way on how to do this..? Thank you! Software Development visual-basic | |
Here is problem: I ask user for how many dogs do you have user enter 5 i go via for loop and add the name into arraylist and now i want to display like 1. Java 2. is 3. fun and so more.... not just 3 after I want to … Software Development java |
The End.