132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for GDICommander

Hello, everyone! I am unable to start a OSGI bundle. I'm using Apache Felix and this is my bundle: 1) Activator.java [code=java] package Example2; import java.util.Properties; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import Example2.Service.IDictionaryService; /** * This is the bundle. * @author Pierre-Alexandre * */ public class Activator implements BundleActivator { public …

Software Development apache java
Member Avatar for GDICommander
0
2K
Member Avatar for hajjo

Just a begginner question Object x = new Object(); System.out.println(x); everytime i get sthg. 16:18:35,222 INFO [STDOUT] --java.lang.Object@adfaec 16:19:26,937 INFO [STDOUT] --java.lang.Object@181db77 16:21:34,538 INFO [STDOUT] --java.lang.Object@14e5e21 what is the thing being printed? the object memory place? please help a beginner

Software Development java
Member Avatar for jon.kiparsky
0
86
Member Avatar for boiishuvo

I designed to look like that picture click here: [url]http://i195.photobucket.com/albums/z285/boiishuvo/eg.jpg[/url] But I got two errors shown below: Pizza.java:150: cannot find symbol symbol : constructor Labels(java.lang.String) location: class Labels localJPanel5.add("North", new Labels("PIZZA")); ^ Pizza.java:187: cannot find symbol symbol : constructor Labels(java.lang.String) location: class Labels localJPanel12.add(new Labels("PRICE")); ^ Can anyone fix that …

Software Development java java-swing
Member Avatar for Ezzaral
0
300
Member Avatar for nbaztec

Consider the following code: [code] const int con = 100; int &ref1 = 10; //Where is this 10 stored? int &ref2 = con; ref1 = 20; ref2 = 90; cout<<ref1<<con<<ref2; [/code] This outputs: 20 100 90 My only queries are: a) Where is the hard coded number 10 stored? b) …

Software Development c++
Member Avatar for Fbody
0
118
Member Avatar for ihatehippies

I've been using the Aspects module to trace and patch routines on the fly in my wxPython app. The problem I've run in to occurs when wx binds an event to a function. ie: an event is binded to function <function func at 0x03969A30> after aspects.with_wrap() func now becomes <function …

Software Development python
0
145
Member Avatar for myk45

Hello, i was trying to generate a series as follows: 111 112 113 121 122 123 131 132 133 and this is what i tried: [CODE]#include <stdio.h> int A[3]; void func(int k) { static int level = -1; A[++level] = k; for(int j = 1; j <= 3; j++) { …

Software Development c
Member Avatar for myk45
0
80
Member Avatar for SHENGTON

Hello again guys, I got here a Stack and Queue Array program. My problem is deleting an item in Queue. Here's a quick video of my problem: [url]http://www.youtube.com/watch?v=X_G82aU_LV4[/url] Here's my code: [code=C]#include <stdio.h> #include <conio.h> int main() { int a[100],n=0,i; int cho,choi,choice; clrscr(); do { printf("\n\n\n [1] Stack\n"); printf(" [2] …

Software Development c queue
Member Avatar for SHENGTON
0
106
Member Avatar for shazzy99

Dear guys, Can anyone help me out to open up a windows default dialog box in C# to browse folder and the folder path be displayed in the lab/edit box. Regards, Ali

Software Development
Member Avatar for Joysokn
0
158
Member Avatar for timogoosen

Hey I can program in C,little bit in Python and Pacal and I really want to learn assembly. I'm 18 and finishing high school, programming is my hobby because school work sure isn't much of a challenge. I've downloaded a few books on Assembly they are: The Art of Assembly,Assembly …

Software Development assembly ubuntu
Member Avatar for timogoosen
0
205
Member Avatar for swathys

hi, I need to knw on how to accumulate the total amount in sql table. I have created a table below but it does not calculate accurately. By mean it just total up current top up amount with the 1st value of grand total. How do i total up to …

Software Development sql vb.net
Member Avatar for swathys
0
157
Member Avatar for chathuD

I NEED TO have a trance parent back ground in my windows form application,but when i try to set the background color to transe parent,it says "invalid property". so how do i set my back ground to tranceparent in VS2008

Software Development
Member Avatar for nick.crane
0
132
Member Avatar for geeks

Am developing an accounting system for my end year project. I intend it to be able to generate weekly report for sales. Is there any inbuilt java fuction for this@?

Software Development java
Member Avatar for Ezzaral
0
91
Member Avatar for Simply Me

Hi! I have and existing .rdlc file where I display the grades of each students as well as the general average. I get general average like [CODE=vb]=FormatNumber(Switch(Fields!YearLevel.Value="LC7" or Fields!YearLevel.Value="LC8",(IIF(Fields!SectionName.Value<>"1st Sec A" and Fields!SectionName.Value<>"2nd Sec A", ((Fields!Reading.Value * 1.2) + (Fields!English.Value * 1.5) + (Fields!Math.Value * 1.5) + (Fields!Science.Value * 1.8) …

Software Development vb.net
Member Avatar for Simply Me
0
139
Member Avatar for Rhuntsman21

Ok. This is kind of a weird problem. I have a form in my program that I add more controls to in order to allow users to enter more data if need be. I also have a button that clears the form and resets it to its initial state. The …

Software Development
Member Avatar for Rhuntsman21
0
215
Member Avatar for jammiedude

Hi i am trying to send an email via C# and having a little trouble with error code: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for =@p0 I have had a good look round and it seems it is a problem with authentication... So i set up …

Software Development
Member Avatar for jammiedude
0
136
Member Avatar for aviavyne

Recently I was assigned to create a program driven by a main menu, followed by a submenu, followed by functions. Below is an attempt of mine, which does display the main menu, and from there a user must enter a value to proceed to a second menu, however it doesn't …

Software Development c++ display
Member Avatar for Fbody
0
320
Member Avatar for gunjannigam

When we use File.getAbsolutePath() we get the path of file as C:\BlahBlah\Blah.txt. But I want the path name as C:/BlahBlah/Blah.txt i.e instead of backward slash "\" i want a forward slash "/" in the path. How to get this. I tried to create a parsefile method. [CODE] public String parsePath(String …

Software Development java
Member Avatar for JamesCherrill
0
185
Member Avatar for kjet1

I am trying to create a switchboard button in Access 2007 that will open a password input box as a security for a form. The switchboard button calls a macro which will then invoke a macro to run the following code: [CODE]Public Function Password() Dim stDocName As String Dim stLinkCriteria …

Member Avatar for kjet1
0
165
Member Avatar for Shadow101

Hi, I wanted to created a java file base on the given javadoc below. I am currently stuck on the embezzle method. First, i don't understand what's the "BankAccount" in 'public void embezzle(BankAccount other)' do or is. Second, How can i add funds from the other account to the other …

Software Development java
Member Avatar for Shadow101
0
115
Member Avatar for pashaa

hi my freind im wanat to insert data in data grid view from text box for example when the mouse leave the text box then data transmit into dbgrid view from text box could you help me to do this, thank you ;-)

Software Development
Member Avatar for sbglobal
0
155
Member Avatar for sujathaarsid

please can any one say the number of iterations for all sorting methods ...that is for bubble sort,selection sort,insertion sort,quick sort ,merge sort,heapsort .... please reply soon....

Software Development c
Member Avatar for Adak
0
90
Member Avatar for sagar_wordlife

please any professional out there can suggest me with project ideas . . for my final year project work . . plz. .plz. .

Software Development java
Member Avatar for peter_budo
0
113
Member Avatar for maichy

hi all, i am am working on a tax software that computes tax and gives the amount.since different goods have different tax percentages i would like when one customer buys goods with different tax percentage i can use the subtotal button to temporarily hold the tax value as he computes …

Software Development visual-basic
Member Avatar for jhai_salvador
0
280
Member Avatar for 47pirates

I'm new to java , i've tried to make simple jdbc application . I can store a value in database and also can retrieve it but only in console window. i've got the variable String name in package db, and what should i do to display the value of that …

Software Development java
Member Avatar for 47pirates
0
321
Member Avatar for dem10

I am getting the following errors when I try to compile this: thoughts? _______________________________________________________________________ BankAccount.java:11: <identifier> expected public BankAccount(String, double, double) ^ BankAccount.java:25: ')' expected public abstract void updateBalance(); ^ 2 errors ___________________________________________________________________ [CODE] protected abstract class BankAccount { public BankAccount(String, double, double) { String accountID; double balance; double interest; …

Software Development java
Member Avatar for stephen84s
0
128
Member Avatar for rahul.pmna

Hey, I'm a beginner in C++.. I know the basics.. I want to learn more about it.. Can u please tell me how to use 2d pointers in C++.. If possible just give me a simple program which can read & display a matrix.. :)

Software Development c++
Member Avatar for sundip
0
110
Member Avatar for cac186

I am wanting to reference an object of type JTextField and convert it to JFormattedTextField. Is it possible to convert to a subclass? I tried coding something to the affect of [CODE]ClassA.object = new JFormattedTextField(); ClassA.object.setValue(new Integer(number)); [/CODE] But no success. Any suggestions?

Software Development java
Member Avatar for NormR1
0
140
Member Avatar for Syrne

So I'm looking to create a function that prompts the user to enter 'Y' for "Yes restart the program" and 'N' for No, do not restart. I know this should use the boolean operator, I'm just unsure as to how to implement it. I also know to encase the body …

Software Development c++
Member Avatar for Syrne
0
7K
Member Avatar for tanuj863

I want to create an application for ad-hoc network. I have a little bit good knowledge of java But I cant decide from where to start. Please Help me to start

Software Development java
Member Avatar for tanuj863
0
83
Member Avatar for manaila

Hi, The following code is for traversing the linked list: [I]node[/I] is a [I]structure[/I] and [I]next[/I] is a pointer to next node declared in [I]node.[/I] [I]start[/I] is the pointer to the first node. [CODE] node* temp = start; while(temp != NULL) temp = temp->next; [/CODE] I dont understand the statement …

Software Development c++ linked-list
Member Avatar for manaila
0
103
Member Avatar for bhagawatshinde

i am trying to draw a iamge in an mspaint control, and then put that image into a richtextbox but it will ask for save file and file has been saved i want to show image in richtextbox as soon as click on save file in dialog window. can anybody …

Software Development image vb.net
Member Avatar for bhagawatshinde
0
125
Member Avatar for ryufire

How do I a add a copy and paste function in a Tkinter text widget?

Software Development python tkinter
Member Avatar for vegaseat
0
134
Member Avatar for angel392004

i'm working on a voting system but im having problems in adding records... i have two a primary key, the idnumber and the address. the address is where I base if that certain address already voted. but the problem is everytime i try to add a record with the same …

Software Development vb.net
Member Avatar for marketingmaniac
0
134
Member Avatar for NewOrder

i have this method , which returns true no matter what numbers i feed into it: [CODE] public boolean piecesCollision(ChessPiece[][]pieces,int rowStart,int columnStart ,int columnEnd,int rowEnd) { int j=columnStart; int i=rowStart; boolean valid5=false; boolean valid6=false; boolean valid7=false; boolean valid8=false; int b=0; int SpacesX=rowEnd-rowStart; int SpacesY=columnEnd-columnStart; if(SpacesY>0 & SpacesX==0){ // RIGHT SIDE …

Software Development algorithm java
Member Avatar for JamesCherrill
0
165
Member Avatar for XR_

Hi, i'm searching for a way to know the hostname of a machine connected to my twisted-server. I use to know the host the method self.transport.getPeer().host, and i have the IP in this way. But i need to know the hostname. I'm searching for a way like socket.gethostname(). Waiting your …

Software Development python
Member Avatar for Beat_Slayer
0
432
Member Avatar for fakhrealam

solve this problems in visual basic. 1. Write a program that prints the following diamond shape. You may use an output statement that prints a single asterisk (*). Maximize your use of repetition (with nested For/Next structures) and minimize the number of output statements. Print the diamond on the form. …

Software Development visual-basic
Member Avatar for jhai_salvador
0
267
Member Avatar for rasputinj

I am hoping I can get some help from you guys, I am taking a computer security course and we need to write a Caesar Cipher program, where you can input the text and offset and get the the encrypted results back. I have run into a problem with it …

Software Development java java-swing
Member Avatar for abcd1220
0
2K
Member Avatar for psridhar

[b]Split from - [url]http://www.daniweb.com/forums/thread129561.html[/url] [/b] Hi friends, I am using the magtek Intellistripe 65 insert card reader and i want to connect the device thru my POS application developed in .NET. I have also tried the sample VB code provided by magtek. But i am not able to access the …

Software Development vb.net
Member Avatar for SujithaK
0
103
Member Avatar for kennski23

create a program do the ff: A room w/ 20 by 20 array of tiles. Inside the room is a mechanical turtle w/ a pen. The turtle accepts input in the ff. method: 1 = pen up 2 = pen down 3 = turn right 4 = turn left 5,no …

Software Development java
Member Avatar for peter_budo
0
330
Member Avatar for Eagles36

This is the code for a fractions program that is to add and subtract(i know it does not subtract yet) I am having error messages that I dont understand. [CODE]// File Fraction.h #ifndef FRACTION_H #define hbg_cmpsc122 #include <iostream> using namespace std; namespace hbg_cmpsc122 { class Fraction { private: int num; …

Software Development c++
Member Avatar for StuXYZ
0
178
Member Avatar for codergal

I am going through my C++ class assignments and Iam trying to figure out what the programs I wrote can do. This is one about arrays. Please explain under what circumstances I can use this. Thanks. // arrays_accessing using for loops.cpp : Defines the entry point for the console application. …

Software Development c++
Member Avatar for StuXYZ
0
165
Member Avatar for jackparsana

please help me to install fonts in my website. can i put fontfile in my server and use in webpage. thanks in advance. jack

Software Development vb.net
Member Avatar for jackparsana
0
99
Member Avatar for rapids79

I am trying to write a function that calculates the sine of a given angle. The code works fine if the angle in degrees is less than 100...once the angle becomes greater than 100..the result is a large value. I don't know what I am doing wrong. Can someone point …

Software Development c
Member Avatar for rapids79
0
137
Member Avatar for ABShaman

How to get time balance in DTPicker Ex - 2.30 Pm - 4.00 Pm = 2.5 dtpicker1.valuve - dtpicker2.valuve = 2.5 how to write vb6 code for this calculation Please Help me.......

Software Development visual-basic
Member Avatar for kevinothkumar
0
107
Member Avatar for VernonDozier

So I have opened a file with the "open" command and I get a file descriptor. That means I have to use lseek rather than fseek, which is fine by me. But what if I want to know how long the file is or what if I want to know …

Software Development c
Member Avatar for Ancient Dragon
0
1K
Member Avatar for dem10

Hi all, I created a parser class to parse a string inputed by the user. The BankAccountParser class is a utility class that will be used to create a bank account object (one of a saving object, a checking object, and a money market object ----> All of these classes …

Software Development java
Member Avatar for dem10
0
205
Member Avatar for zachattack05

Having a problem here...not sure if it's something simple or not. I'll be honest, threading is new to me so I'm not quite sure what the problem is here. Let me explain the problem first and then I'll post some code. I have a method that runs in a wizard …

Software Development microsoft-access
Member Avatar for zachattack05
0
165
Member Avatar for itsmeisuru

what I want to do is I have two txt files named as number.txt and numAndName.txt In number file it contains only one character and it is a number. IN numAndName file it contains both number and Names as follows 5 name5 4 name4 3 name3 2 name2 1 name1 …

Software Development c
Member Avatar for N1GHTS
0
108
Member Avatar for wormwired

I had the problem to reverse the digits and I searched and found the answer, but I was wondering as to what is the fuction of the "%" I was playing with it when changing values of 10 to 100 and 1, but is it a math formula or something …

Software Development c
Member Avatar for jijisha
0
83
Member Avatar for qtbugfrmmo

[CODE]#include <iostream> #include <iomanip> using namespace std; void StartUp(void); void WrapUp(void); char ProgramName[] = "Assignment_3.cpp"; //Used to hold the program name void sentenceOne (); void wordOne (); void wordTwo (); void wordThree (); void wordFour (); void wordFive (); void wordSix (); void wordSeven (); void wordEight (); void sentenceTwo …

Software Development c++
Member Avatar for qtbugfrmmo
0
149

The End.