132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for villeson

Hey guys, I need a little help this is what I currently have: [CODE] Object[][] teamList = new Object[10][]; Label[] tlKnights = new Label[25]; Label[] tlSkullitz = new Label[25]; teamList[0] = tlKnights; teamList[1] = tlSkullitz; [/CODE] tl -- stands for Team Label, Im working on better naming conventions as well. …

Software Development
Member Avatar for Geekitygeek
0
86
Member Avatar for Medic873

okay this is a quite long winded so please help if you can because I have a lot of questions. I am trying to find a pixel by the color its displaying. Now the dream would be to make it where it can find multiple pixels by basicly saying find …

Software Development
Member Avatar for Geekitygeek
0
86
Member Avatar for xcarbonx

hello, i have been struggling with this program for a few days now, and have decided to get some feedback. The program lets the user input a number from 0-6 (0 representing sunday and 6 representing saturday, and so on) for days of the week and you input a second …

Software Development c++
Member Avatar for tetron
0
137
Member Avatar for doddware

The project that I'm currently working on is for an large embedded application with a multi-person team. During a recent review of the code I came across the following statement [CODE]bSlcIsolated[logical-1] = (!!p_bIsolated);[/CODE] The interesting part is the double inversion [CODE]!!p_bIsolated[/CODE] The register being double inverted, is a private byte …

Software Development c++
Member Avatar for Salem
0
185
Member Avatar for mandeep.garg19

If a class does not extend any class and implements one interface, how many types this class has?

Software Development java
Member Avatar for jwenting
0
43
Member Avatar for charqus

Hello guys. Why i can't write a text in the box of a tab ? here: [url]http://img693.imageshack.us/img693/6571/heyky.png[/url] I changed the ToolTipText but no change , and if i change the Text it edit the name of the [B]tabPage1[/B]

Software Development
Member Avatar for Geekitygeek
0
99
Member Avatar for elmaco93

Ok, first of all, hi everyone at Daniweb! This is my first post on this amazing site and I'am building a little application that checks at load up if a text file is empty, and if it's empty a FolderBrowserDialog will pop up and let you choose a path wich …

Software Development
Member Avatar for elmaco93
0
120
Member Avatar for wtvrinc

I am trying to read multiple files which contain values under various Column headers (like pressure, temperature etc)...I using "infile" to read values and assign it to a structure. However whenver there is a bad character in the file or less number than the number of parameters, the output gives …

Software Development c++
Member Avatar for kesh1000
0
89
Member Avatar for badx

I NEED HELP WITH THIS BUTTON IVE ATTACHED THE FORM AND CODE ERROR. [code] public partial class Client : Form { public Client() { InitializeComponent(); } private void clientsBindingNavigatorSaveItem_Click(object sender, EventArgs e) { this.Validate(); this.clientsBindingSource.EndEdit(); this.clientsTableAdapter.Update(this.dataSet.clients); } private void Client_Load(object sender, EventArgs e) { // TODO: This line of code …

Software Development dataset open-source visual-studio
Member Avatar for Geekitygeek
0
151
Member Avatar for hpdp

Hi, I'm new to xslt. I need to write a xslt on medical journals. I made it work. But I found if I need to add something later, it's hard to do. Right now, I'm trying to add links to different sections. I know I need to use test on …

Software Development xml
Member Avatar for pritaeas
0
166
Member Avatar for spiricn

Ok first of all I'd like you guys to know this is like my first thread ever so go easy on me if I'm not doing something right :P Right then , so I've been programming in python for some time now and I love pretty much everything about this …

Software Development gui python
Member Avatar for spiricn
0
175
Member Avatar for noname1015

Hi, i am doing with deleting row permenately from database currently,but the problem i face right is that i can delete row from datagridview only, but the data inside database remains unchange.I want to delete a row which i selected permenately when i click a delete button . Here is …

Software Development vb.net
Member Avatar for noname1015
0
4K
Member Avatar for sjfleming

Hi, I'm trying to read an excel worksheet that has cells with decimal numbers with exponents of 2 or more. When I read a cell that has a value of say 1002.00 in the cell, I'm getting 1002 when the code is reading the cell. In the formula bar in …

Software Development c c# c++ microsoft-office
Member Avatar for sjfleming
0
8K
Member Avatar for chetanbasuray

Ok...I have a very basic question...how do I attach my database when I'm turning my c#.net code into a setup file? I'm just learning and I'm sorry if you feel this a too basic question...:)

Software Development
Member Avatar for chetanbasuray
0
158
Member Avatar for sonia sardana

Below code is opening Folder Browser dialog on button click, I want that if mine PC is in network..In Folder Browser Dialog even the network drives are coming,I want that Network Places do not come in treeview.Is it possible?? [code] Option Strict On Option Explicit On Option Compare Text Public …

Software Development vb.net
Member Avatar for ghimangi
0
198
Member Avatar for shanakaprabath

Can some one give me a sample code or project on how to load a data of a particular table in access databse in to a data grid view

Software Development vb.net
Member Avatar for shanakaprabath
0
130
Member Avatar for tquiva

Hi could someone please help me with my code? I want to calculate an accumulate investment after a given amount of years, months, or days. I am reading in an annual interest from the user and would like to have this converted into monthly and daily interest based on the …

Software Development c
Member Avatar for WaltP
0
120
Member Avatar for sammakko

hi, my problem I can't solve: each of my two lists consists of an ID and runID. The output I need are those elements who are not in list2 and the max Value of runID of each ID. e.g. list1 = [('1101', '2'), ('1101', '3'), ('1101', '4'), ('4472', '2'), ('4472', …

Software Development python
Member Avatar for sammakko
0
89
Member Avatar for MGIndia

is this code correct to create a new post item... [code] sfilepath=@""C:\Documents and Settings\example.msg"; Outlook._PostItem omail = (Outlook._PostItem)olApp.CreateItemFromTemplate(sfilepath,Type.Missing); [/code] am new to this and mainly doesnot know the difference between mailitem and postitem..but when i create a mailitem the code rus successfully.But when using postitem it shows the below exception.. …

Software Development microsoft-office
Member Avatar for MGIndia
0
384
Member Avatar for riotburn

I am trying to use Newtons method to find implied volatility of a Black Scholes Call. So given all the other variables, I need to find what volatility makes the black scholes call equal to the current call price. I'm running what I have below but keep getting a random …

Software Development c++
Member Avatar for riotburn
0
1K
Member Avatar for mayann

H All, I am trying to create a login application using servlets and using sessions for storing the login info. the login info is stored in a hashmap. as the server restarts, the info is lost. So i m trying to write this info in Temp file. So that the …

Software Development java
Member Avatar for jwenting
0
146
Member Avatar for turbomen

Dear All, Please let me know what is wrong or missing for it from the attached document. One of them is my work (T9.zip) and the other is the demo Cheers,

Software Development pascal
Member Avatar for finalist
0
179
Member Avatar for Olliepop

Hey daniweb! I have a really serious issue in my program right now. I'll explain how this piece works: -The server sends a ping -The client replies with a pong and starts a timer -Server sends pong back and the client checks how long it took to receive the second …

Software Development client-server java java-swing
Member Avatar for Olliepop
0
155
Member Avatar for wtvrinc

Hello I am trying to get this function to work... [CODE] int error(const char* s) { int f=1; while (*s!='/0') { if(*s=='/') { f=0; return(f); } s++; } return f; } [/CODE] I want to find out if in the string tat i am passing there is a character "/"....But …

Software Development c++
Member Avatar for wtvrinc
0
113
Member Avatar for isralruval

i have the following code which works, well its suppose to shift the letters of a text file by whatever the user wants, lets say the text file says "hi" if the user wants to shift the letters by 1 to the right it will become "ij" ok but the …

Software Development c c# c++ encryption ios
Member Avatar for Salem
0
131
Member Avatar for collinsislee

i missed lecture today and this is what they did in class. im not sure how to complete this. hope you all can help me out. [code] class Clock { // Declare fields of the class // 0 <= hours < 24, 0 <= minutes < 60, 0 <= seconds …

Software Development java
Member Avatar for BestJewSinceJC
0
255
Member Avatar for eternaloptimist

/* i have forgotten how to do the setw for the output (ex. Find Holland, Beth: 5)...getting all of the numbers to line up. also, i need to know how to modify this program so it reads in 20 strings from a file. i want to name the file names.dat. …

Software Development c c# c++
Member Avatar for vmanes
0
251
Member Avatar for ShortYute

I have two code snippets basically I want a program to do color in the console but I only want it to run a certain function based on the compiler (I will use windows.h but my teacher will use conio.h because she uses Borland C++ 5.02 ) I have a …

Software Development api c windows-api
Member Avatar for Salem
0
182
Member Avatar for beiko

im a beginner in Java and I need the user to input a year month and day and then put it in the form of yyyy-mm-dd using the Date class but I keep getting the "week day, month, date, time, year" this is part of the code [CODE]Scanner input = …

Software Development java
Member Avatar for PatrickSharp
0
113
Member Avatar for nickelmann

Hi, I want to extract certain words from a sentence input by the user. For e.g., the user enters "Jones born in 1967" and the program will extract the words 'Jones, born and 1967' but will not extract the word 'in' and will print the extracted words out. Is there …

Software Development vb.net
Member Avatar for nickelmann
0
2K
Member Avatar for ZoMbiESsSZ

HI Guys. I'm trying to make my own lite program that can highlight specified chosen words (Syntax highlighting in short). I have a working method using Regex, but it is TOO SLOW. Here is what is currently: My Regex Statements: [CODE] public Regex SettingsAndComments = new Regex("--settings|-|", RegexOptions.IgnoreCase); public Regex …

Software Development c c# c++ regex
Member Avatar for kvprajapati
0
283
Member Avatar for kenakena

After copying code into the IDE, it typically does not align with code already present. Is there a way to envoke a re-format of IDE so that all code will automatically align in its proper place ?

Software Development ide
Member Avatar for kvprajapati
0
79
Member Avatar for alexa868

Hey everyone, so I'm new in object oriented programming so I'm not sure about how to write this program. I need to create a die game with the class: DIE, that rolls the die. it needs to have a method called: "roll" that rolls the dice again and it needs …

Software Development c++
Member Avatar for jonsca
0
135
Member Avatar for EvilNerd

The assignment is: A. Present a menu like the following: 1. Enter a char 2. Enter a string 3. Enter a float 4. Enter an integer 5. Display the sqaure of numbers from 1-100 9. Quit the Program Enter the Program B.The program should not quit until the user chooses …

Software Development c++
Member Avatar for Anarionist
0
191
Member Avatar for anthony5557

Hi guys, I have to write a program with a class that will take the number of the day in a year and display the month and day of that number. I'm stuck from the start. Can anyone give me a start that I can run with. I also need …

Software Development c++ visual-basic
Member Avatar for jonsca
0
161
Member Avatar for igodspeed

Hello, I am try to compile this code using gcc in ubuntu. I get the error 'btree.cc:(.text+0x55a): undefined reference to `std::cout' '. I thought if i added using namespace std; it would start working but i am still getting the same error. Any suggestion on how i can fix it. …

Software Development algorithm c++ legal ubuntu
Member Avatar for igodspeed
0
243
Member Avatar for XinJiki

Hello, I need some help with my homework assignment fir my C++ class, here is a description of the assignment: Write a program that reads this file and finds the longest word that contains only a single vowel (a,e,i,o,u). Output this word (there will actually be several ties for the …

Software Development c++
Member Avatar for XinJiki
0
249
Member Avatar for oxy77

I am trying to write a summation to aprox. pi. I am using a for loop and I cannot figure out where I am messing it up. I keep getting "program has exited with code 0" [CODE]for(int N = 0; N <= 15; N++) {double x9 = 0.0; for(int n …

Software Development c++
Member Avatar for oxy77
0
99
Member Avatar for futura

Please excuse me if this has already been covered before. I'm a C++ beginner, and in of the problems I have to do, the input has to be like this: 1) A number n is entered. 2) n number of strings are entered. I tried using a 2D character array …

Software Development c++
Member Avatar for futura
0
86
Member Avatar for jpavao

Hi, If I have a class, defined in UML, that can contain itself (0 or more times) and if that class is a JPanel how would I implement it without the "Illegal Argument" runtime error? please see the attach file for a uml class diagram. Can anyone help me? Thanks.

Software Development java
Member Avatar for jpavao
0
170
Member Avatar for StaticX

Hi all, im wondering if someone could offer a solution to my current problem which is passing and return information using pointer notation. I have created a small program using the class Person, who has a first and last name and methods to add and retrieve this information which looks …

Software Development c++
Member Avatar for Jiwe
0
100
Member Avatar for Jeff_5_7

ok i have a 2d array and i want to trace through it. The Array is RDL DLU i have an entry point of Row1 Col1 which i think is letter R. On this array R means shift right L is shift left U shift up and D shift Down. …

Software Development c++
Member Avatar for Jeff_5_7
0
519
Member Avatar for Tlaloc

I have made an array of class cards which is a 4*14 grid (The 14th space is for the 4 grey non-cards). So far i have made 2 methods for this. The first was an algorithm for figuring out where each card belongs which I painted on when they were …

Software Development algorithm java
0
75
Member Avatar for Emmett_1981

I have created a simple JTable with 5 columns, I need to perform validation on the column entries. I have used the getValueAt ( col, row) function to get the values from the columns. For the first four columns this works without fail but for some reason the last column …

Software Development java
Member Avatar for Emmett_1981
0
635
Member Avatar for heValbo

Hi! I would like to make an ordinary dictionary from english to norwegian, but I have a problem. I am using this sentence as an example: "I read the book" The problem isn't the first two words, but the last ones. :-/ The program should replace "the book" to "boka". …

Software Development python
Member Avatar for Gribouillis
0
119
Member Avatar for blakenbama

I'm taking my first class in c++ this semester, so i'm a newb. The only other programming experience i have is in python. My teacher gave me this assignment and i don't even know where to start. I don't want anyone to post any code, but a few tips on …

Software Development c++
Member Avatar for WaltP
0
1K
Member Avatar for Marson

Hey guys, I am trying to write a program that will use command line arguments to detect user inputed keywords in a text file and output how many times the keyword/s appear. The command line should read like this... programname -f inputfile keyword1 keyword2...keywordN The problem I have is I …

Software Development c++ file-system
Member Avatar for WaltP
0
186
Member Avatar for katharnakh

how to create a submenu in python? how to use [I]insert_cascade(index,**options)[/I].......... please help me out.

Software Development python
Member Avatar for skydiverman05
0
4K
Member Avatar for 1988asso

HELLO! I am working with wxPython libraries .... I used the library 'Notebook' to create 3 tabs .... How do I put in one of these tabs a toolbar? how can I do?? Help! thanks!

Software Development python
Member Avatar for vegaseat
0
117
Member Avatar for sexyzebra19

I'm using the header file below. I'm a little confused about how to store any matrices I create... If I do: [code=php] int main() { Matrix A(2, 3); Matrix B(3); return 0; } Matrix::Matrix(int mdim_, int ndim_) { data_.resize (mdim_*ndim_); for (int i = 0; i < mdim_*ndim_; i++) { …

Software Development c++ matrix-multiplication
Member Avatar for Fbody
0
125

The End.