199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for twsmale

Okay, so I've been searching the internet for hours trying to find the solution to my problem. Many came close, but didn't describe exactly what I want to do. I have an excel file that displays the names, locations and other information about certain servers for work. I want to …

Member Avatar for twsmale
0
148
Member Avatar for Amoryethel

Hi. I'm making an interface and a class that correlates with the client code below. Everytime I try to compile the client code, I get the following errors: [quote] Bird.java:15: = expected private Color col; ^ Bird.java:16: = expected private Point pos; [/quote] As well as a few others. For …

Member Avatar for Amoryethel
0
145
Member Avatar for daviddoria

What I really wanted was a single class, ImageSegmentation<T> that operates on images of type T. The problem was that this object needed to be a member of my Qt form object (called Form), but I didn't know T until runtime (the user selects which type of image to operate …

Member Avatar for mike_2000_17
0
242
Member Avatar for Kaushalya

Hi all, I have following string 0x0002,A5651QPR87GBZ094RTF52,D,A,000001,ABC ,10000.00 , EOT i need to split the above using ',' as the delimiter & put those in to the following string variables. 1.Command 2.Key 3.Msgtype 4.number 5.name 6.amount pls reply me as sap. Regards

Member Avatar for zwatsu13
0
14K
Member Avatar for poonamkuthe

hi all this is my first query plz help me, i have one page which hv two ifrmaes,parent iframe contains no of child ifrmae.now oncliking child iframe check box ,i hv to get that value into parent iframe,i managed to create array of parent iframe but can't get child ifrmae's …

Member Avatar for SAUMENDRA
0
154
Member Avatar for 5ophie2012

I need to create a method that counts words and lines using specific guidelines and I can't figure it out: Update the count of words & lines in the file as each character is read create a void method, CountIt(), to count the lines and words Parameters: pass in the …

Member Avatar for 5ophie2012
0
1K
Member Avatar for chaosgeneration

I have an assignment to show a brute force algorithm on combination and permutations. All I am given is the function headers, and I cannot see the main. I'm having trouble understanding how sets work... Here is my header function for combination [code=c++]set< set<char> > powerSet(set<char S>)[/code] now, I'm not …

Member Avatar for pseudorandom21
0
170
Member Avatar for scorpio222

hi. i am trying to create an aspx page where i can directly upload a file from the client to the server without user intervention. I would like to do something like when the user specifies the file path in the url, that particular file must be uploaded to the …

Member Avatar for scorpio222
0
848
Member Avatar for jfunchio

I'm trying to my friend with an assignment to turn a number from Fahrenheit to Celsius and Kalvin. All that works fine and good. The problem is that his professor wants him to "The main() function ought to use a loop to allow the user to enter a temperature repeatedly, …

Member Avatar for gerard4143
0
182
Member Avatar for montalbano80

I have to write a simple program that declares three arrayLists referenced by the objects named priceList, quantityList, and amountList. Each arrayList should be declared in main() and should be capable of holding a minimum of 10 double-precision numbers. The numbers that should be stored in price are 10.62, 14.89, …

Member Avatar for ztini
0
170
Member Avatar for curbster

Hi I'm in some serious need of help with a homework assignment. I have to write a program that takes a three word phrase from user input (through JOptionPane) and my code has to convert it to uppercase and then just take the first letter of the three words. here …

Member Avatar for ztini
0
3K
Member Avatar for Phinocio

I have this code here [code]#include <iostream> using namespace std; int checkLevel(){ int exp[101]={0,1,6,21,51,100,172,274,409,583,800,1064,1382,1757,2195,2700,3276,3930,4665,5487,6400,7408,8518,9733,11059,12500,14060,15746,17561,19511,21600,23832,26214,28749,31443, 34300,37324,40522,43897,47455,51200,55136,59270,63605,68147,72900,77868,83058,88473,94119,100000,106121,112486,119102,125971,133100,140493,148154,156090,164303,172800,181585,190662,200038, 209715,219700,229997,240610,251546,262807,274400,286329,298598,311214,324179,337500,351181,365226,379642,394431,409600,425153,441094,457430,474163,491300,508845,526802,545178,563975,583200, 602857,622950,643486,664467,685900,707789,730138,752954,776239,800000}; int level = 1; int nextLevel = 2; int PokemonExp = 0; int input; int num = 1; while (num == 1){ cout << "Enter exp amount: "; cin >> input; PokemonExp = …

Member Avatar for Phinocio
0
151
Member Avatar for lit108

I have a script that is parsing rss feeds and the xml to a webpage, this is part of a blog aggregator system. However there are areas throughout the web system where I would like to only display a set number of posts, 10 for example I have tried a …

Member Avatar for lit108
0
129
Member Avatar for jpaulsen

i know nothing about programming but started learning python yesterday, and have learned some basic things. my dad is a programmer and challenged me to write a program that would be like '20 Questions'. i started it using the few things i know, and i think the way i started …

Member Avatar for woooee
0
157
Member Avatar for kukuruku

Hi ,I just started learning assembly ,and I have a question when we add unsigned 255 and 1 in 8 bit registry CF=1 and OF=1 right, and how do we realize if this numbers are sign or unsigned Thanks

Member Avatar for sDJh
0
110
Member Avatar for Suzie999

Hi, I'm an absolute noob to php, I know a little, enough to get me by so far by learning from snippets and suchlike. Before I dive into a new area (sessions) I'd like to know if what I am intending is possible or silly. [U]What I have[/U] I dont …

Member Avatar for Suzie999
0
223
Member Avatar for ksquared

Is there some way I can loop through this code? using Ajax? Thanks for any recommendations. [CODE] <?php $paintingBack=$paintingNumber-1; $paintingNext=$paintingNumber+1; if ($paintingBack < 1) { $paintingBack = $paintingBack + 1;} ?> <a href="" id="link1" class='link'><img src='images/braceL.gif' alt='brace' width='20' height='11' valign='text-bottom'/></a> <script type="text/javascript"> var l = document.getElementById("link1"); l.onFocus = function() { …

Member Avatar for ksquared
0
103
Member Avatar for Zabzacon

Right now I have three classes from following a tutorial I found online. It draws a red square and a blue square to the screen and lets the user control the red square. The issue I am having is getting it so that when they intersect from the bottom of …

Member Avatar for Ezzaral
0
147
Member Avatar for McCurry0x77

I'm required to construct a three-dimensional array (a "universe"), but unlike traditional array navigation where you go to the end of the column, row, etc., increment and start at the beginning, I am required to move in reverse (like actually navigating a cube). The precise instructions: - Move along a …

0
101
Member Avatar for splitter66

[code] Dim iArr As Array For Each iArr In m_alTabell 'ReDim myArr(16, 11) If i dim iArr(0,0) as string I could do this... ii = ii + 1 iArr(i, constanter.colNames.colValue) = m_objList.GroupItems.Item(ii).ListItems(i).Value 'm_alTabell.RemoveAt(ii - 1) 'm_alTabell.Add(iArr) 'm_alTabell.Insert(ii - 1, iArr) 'iArr.CopyTo(m_alTabell.ToArray, ii - 1) 'al.Add(iArr) Next iArr [/code] I have …

Member Avatar for lolafuertes
0
317
Member Avatar for Phaelax

I'm writing an inventory program for my uncle's warehouse, which has never been counted in 20 years. (yea it's taking me a week so far and still counting parts) I want the program to be serverless and just run on his laptop (which I'm still fixing also). I thought of …

Member Avatar for Ezzaral
0
104
Member Avatar for teambuilding

guys, I am adding [CODE]<?php static_footer_pages(); ?>[/CODE] to Footer of Wordpress to display their built in policies (WP plugin(, instead it shows me all the pages somewhere on the side of the page. Can anybody help?

Member Avatar for joban.ali
0
142
Member Avatar for Jessurider

just like we bring JButton images in java..............can we bring that type of 3Dbutton images on buttons in c# forms

Member Avatar for ddanbe
0
156
Member Avatar for eikal

Hey guys, im doing a rock paper scissors program for h/w i got it done but im getting an error and i cant figure out whats wrong. [code] public static void main(String[] args) { int pcpick; int userpick; String userChoice = JOptionPane.showInputDialog("1 Rock, 2 Paper, 3 Scissors"); int choice = …

Member Avatar for eikal
0
184
Member Avatar for get connected

Hi all I need to change something that is hard coded into my application - Souds simple i know - however......... In essence what i need is a single word that will be interchangable and will be available straight away and the next time the application starts up. So need …

Member Avatar for codeorder
0
147
Member Avatar for summey

Bellow is the code i am using to connect to a webservice that i created that has basic math web methods like add, subtract, etc... this is the button for my windowsform app that connects to the webservice it has 2 text boxes a label to display the answer and …

Member Avatar for summey
0
137
Member Avatar for KazenoZ

Hello, Once more, I'm having a problem which I've been breaking my head about for a few hours searching Google to no avail, and came here again for some consult about. The thing is this; I have an image file, the size of 16x16 pixels, and I want to paint …

Member Avatar for jonsca
0
697
Member Avatar for Hayzam_#include

Hi Everone, I need Help With My code If there is any mistake Please Let me Know I will correct it it is a ping program it will ping an ip address or an address like [url]www.daniweb.com[/url] [CODE]#include <windows.h> #include <iostream> #include <conio.h> using namespace std; int main() { int …

Member Avatar for pseudorandom21
0
151
Member Avatar for nailac

[QUOTE=letmec;107703]I'm working on TSR through C. i have writen dogens of them for dos, :rolleyes: but it works for dos only, can you tell me who to write TSR's for windows. Thankyou....[/QUOTE] I want to post the same question also. All I understand is: Windows (say Windows 98) runs under …

Member Avatar for dos_killer
0
110
Member Avatar for UzuNarU

Hey everybody. So I am just trying to write a script to delete a row in a MySQL database. Unfortunately I seem to have something wrong...even though I don't get any errors. Here is a snippet of the code on the page to send the request: [CODE] echo "<tr><td width='138px' …

Member Avatar for UzuNarU
0
158
Member Avatar for Igorcats

I have this piece of code: <img src="<?php echo img('Background9.jpg'); ?>" /> I would like the image (Background9.jpg) to be linked to this page: [url]www.example.html[/url] I have looked through a lot of posts and solutions here, but try as I might I cannot figure out exactly how to accomplish that. …

Member Avatar for Igorcats
0
95
Member Avatar for tcollins412
Member Avatar for tcollins412
0
69
Member Avatar for Sonny101

Hi all, I cannot seem to grasp the use of wrapper classes, or rather how to use them. I am in the middle of practicing for an exam tommorrow but I am a little stumped with the following task: [I]Create an overloaded setValue method that recieves a String parameter. This …

Member Avatar for jon.kiparsky
0
147
Member Avatar for MARKAND911

I have a Datagridview in C# windows Application In it i have one ComboBoxColumn out of 12 datagridview columns Now I want to disable/enable cells of particular row on ComboBoxColumns selected index chaged event according to Condition. Not Gridview's whole column should enable/disable, I want Cells of particular selected Row …

Member Avatar for Mitja Bonca
0
2K
Member Avatar for y2kshane

i want to send Variable to a php function when a link clicked how to do that??? so far i got to here but it doesn't work. :( plz help mee echo " <A href=\"Carscript.php\" onMouseOver=\"SwapOut('$name')\" onMouseOut=\"SwapBack('$name')\" onclick=\"func($name);\" > ";

Member Avatar for UzuNarU
0
189
Member Avatar for discovery-power

Hi All, I want to add some admin privaliges to my program, its simple enough, when the user is logged in as admin certain buttons are enabled, when the user is logged in as anyone else, these buttons are disabled. Please see my code below [CODE] Private Sub MRMMain_Load(ByVal sender …

Member Avatar for discovery-power
0
106
Member Avatar for panhwer

Hi.. I want to make following series.. I try a lot but i am having confusion in loops. so please help me. 1 212 32123 4321234 So any one have idea about this .

Member Avatar for diafol
0
92
Member Avatar for triceratops

hi guys, i am asked to do a game where the player plays against computer where each one has to put into the pursue a piece of coin, it cas be 5cent, 10, 25 or a dollar, the one that puts the biggest piece can take the change for it …

Member Avatar for jon.kiparsky
0
113
Member Avatar for denizen08

I have been trying to mimic GoogleReader's Json output, particularly the subscription listing. I started out creating classes for deserialization but I don't have a full grasp of the concepts. It crashes when I really try to consume the Json file, but when I generate my own serialized file it …

Member Avatar for denizen08
0
111
Member Avatar for zizuno

I have been told by a number of people to use xpath instead of regex for some of my regex searches. What advantages does xpath provide over regex? I can't find a webpage that says that. Been through over 10 pages of search so far.

Member Avatar for richieking
0
614
Member Avatar for MARKAND911

I have a dropdownlist on my web page along with a textbox which has property set to password field. Now dropdownlist has autopostback property true. When i change anything in dropdownlist, Password field gets erased. So how can i prevent password field from getting empty at time of page post …

Member Avatar for questpond
0
178
Member Avatar for MIA6

Hi, I am pretty new to Java. I have some basic questions. [CODE] public class Array { private Object[] values; private int count; private boolean sorted; public Array (int max) { this.values = new Object[max]; this.count = 0; this.sorted = true; [/CODE] I am kinda confused at line 9. It …

Member Avatar for MIA6
0
143
Member Avatar for Acute

Hi there, in twitter and facebook when some of your friends/follows makes new post, your page gets updated via ajax. any ideas how it is implemented? i need the best concept/idea, not the code :] thnx in advance

Member Avatar for McLaren
0
77
Member Avatar for JordanHam

I do not know if I should use a 2D or just two seperate arrays to make this easier. I have two arrays. One is just an array like {1,2,3,4...n} and the other has values that correspond to those and make pairs. I want to create an array that stores …

Member Avatar for JordanHam
0
203
Member Avatar for hqrtt

Hi I've got a strange problem that i'm going to explain but before, here is my code: /!\ This is not my finished application /!\ [CODE]#include <windows.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <conio.h> struct Date { short Jour; short Mois; short Annee; }; struct Ouvriers { char Genre; …

Member Avatar for hqrtt
0
180
Member Avatar for nuBudDy

hi, i need help on calendar picker.i placed a calendar control on a form.once i click on any date,i want the date value to be inserted into fields in database.i tried searching for the codes bt what i got was a manually designed calendar by a programmer.is it possible to …

Member Avatar for ask_girl
0
527
Member Avatar for tudorH

Hi guys, I am new to C++ and am trying to display the contents of an array in the form of {1,2,3,4} but am having some difficulties, they get printed but there is a trailing comma {1,2,3,4,}....how can I get rid of this? this is my code: [CODE]cout << "\nArray: …

Member Avatar for ravenous
0
94
Member Avatar for LoveMyPadres

Hi I posted this on another thread but messed up the title (called it y2exe) and I want to make sure this gets found if someone can help. I'm using py2exe and pysnmp, and they seem to be incompatible, at least on the oneliner form I'm using. Pysnmp claims to …

Member Avatar for LoveMyPadres
0
424
Member Avatar for RobZombie85

Hi Iam running into a problem when using classes and inheritance. I have a base class which contains a member function whos job it is to create and intialize some variables that are shared between other classes. The other classes are inherited from the base class and the variables are …

Member Avatar for Narue
0
154
Member Avatar for OpenBSD

Hi, I have any dropdown box(combobox) for retrieve data ! this dropdown box list user for each user id. now when i filter result my code not work! my database is : member : id | name | age | datanum products : id | uid | name | cat …

Member Avatar for OpenBSD
0
134

The End.