199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for KushMishra

Hello All, I want to design a DataGrid similar to the one in the design picture attached with this article (Please see the pic attached). I want the following bindings and features :- 1. The first column of every Item (Item1,...Item5) for (LineNo=1....LineNo=?) will get bind to "Unit" which is …

Member Avatar for KushMishra
0
340
Member Avatar for ram619

Hello, I want to duplicate a list in python. The way I want is, I need two list with same content pointing to different memory Location. What I tried is Dup_List = Original_List[:] , but lookes like even this is making both list point to same memory location. Both the …

Member Avatar for vegaseat
0
170
Member Avatar for mixelplik

OK, I've acheived HULK SMASH levels of frsutration with this one. I simply want to parse a date in the form of ##/##/#### The code below works peicemeal, ie each part SEEMS to work, but if I cout at the bottom the day is dissapearing or spitting out erroneous crap. …

Member Avatar for David W
0
212
Member Avatar for Labdabeta

Hello, I have a file which I need to read which contains some unusual characters (EG: '╠') and I need to be able to read it and convert those characters to numbers. As an example of what I am looking for would be code that reads a file and prints …

Member Avatar for Labdabeta
0
439
Member Avatar for ashley.vanhoesen.7

I am trying to create a palindrome checker using a single stack and pass by reference method. I just have to write the evalPalindrome() method and then I input it into a web application which holds the main. For some reason, however, when the main is calling the pass by …

Member Avatar for David W
0
695
Member Avatar for cnsk90

#include<stdio.h> #include<math.h> int main() { int n,nstart,nstop,nstep,i,j,zNumber; ` printf("Please enter a value of a positive integer nstart: "); scanf("%d",&nstart); printf("Please enter a value of a positive integer nstop: "); scanf("%d",&nstop); printf("Please enter a value of a positive integer nstep: "); scanf("%d",&nstep); printf("Number\t\tzNumber\n"); printf("------\t\t-------\n"); n=nstart; zNumber= double pow(double_n,double_i); while(i<=nstop){ zNumber = …

Member Avatar for David W
0
780
Member Avatar for LiquidCloud

So i'm in ap computer science right now and ArrayList are confusing the **** out of me. We're working on a program in which we have to create a method that adds an "ap exam class" to an ArrayList heres what it looks like: private ArrayList<APExam> myExams; myExams = new …

Member Avatar for LiquidCloud
0
155
Member Avatar for tolatallest

i need parallel program that can sort 500,1000,1500,2000 numbes in bubble sort,selection sort,insertion sort and merge sort.

Member Avatar for mike_2000_17
0
116
Member Avatar for MaddTechwf

Some of my values coming back in my recordset have a ' in them. This data is being read into a JS array so I need to change the ' in the result to the &#x27; html hex code.

Member Avatar for MaddTechwf
0
141
Member Avatar for MaddTechwf

I've written an SQL select statement. I've checked te statement in SQL Server Management Studio Express and it works greate. When I go take the code to my asp page and insert it, I get a generic IIS 500 error. When I take out my variable I'm tyring to use, …

Member Avatar for JorgeM
0
186
Member Avatar for OceanDesigns

Hi guys im a beginner at programming i started a book for beginners im only on lopps now but as uasuall i googled and wondered off into classes i keep getting this error, i initialized the float variables in the class by using the constructor. I'm not sure if this …

Member Avatar for OceanDesigns
0
118
Member Avatar for nyepoypo

can anyone help me to put a countdown timer in a dialog box. i want to prompt the user when the time expires. tnx!

Member Avatar for Xabush
0
1K
Member Avatar for anisha.silva

Hi, I want to know how do i write the grammer for the program below in JavaCC. app(name : 'First App') { View(id: top) { Label(id: l1, text: 'Hello') Button(id: b1, text: 'Press') Button(id: b2, text: 'Exit') } } appreciate a reply thanks

Member Avatar for anisha.silva
0
316
Member Avatar for MaddTechwf

I've written a sql select statement that return data just fine. I've got to format the data for my JS array though. The party I'm having issues with is place the , in the correct spot. I need to place it between the } and the next { . Current …

Member Avatar for MaddTechwf
0
215
Member Avatar for tadas.bareikis

Hello community. I'm 16 years old, a 10th grade student. My question is: How to learn programming? By that I don't mean that i want to learn a programming language. I am familiar with Python and C/C++(a bit) syntax. I want to know how to get experience, how to evolve, …

Member Avatar for Schol-R-LEA
0
206
Member Avatar for MaddTechwf

I'm working with a database that was setup before me. The column name is year. When I'm writing my SELECT string, I try referencing the year column and get NULL repsonses. How can code this correctly to reference the year column?

Member Avatar for MaddTechwf
0
127
Member Avatar for MaddTechwf

I've written my SQL lookup and tested it and it works great. I'm having issues checking and displaying text that might be null. Can anyone help me with this? This is what I've written and does not work at all <% While (Not rsUP.EOF) %> <h3 class="name"> <% If Not …

Member Avatar for MaddTechwf
0
169
Member Avatar for glao

If I want to multiple 2d arrays as 1d how should I do it? I mean ,I have a 2d array and I map it as 1d: for(int i=0;i<rows*cols;i++) A[i]=... I know how to multiply 2 arrays as 2d ,but representing them as 1d?

Member Avatar for glao
0
2K
Member Avatar for tomas.fillipus

How can i code a program in visual basic.net that when a control for color or font is clicked the appearance of the text in the text boxes is altered according to the following rules 1. If the check box text box 1 is checked the appearance of the text …

0
79
Member Avatar for Mohamed_31

A space shuttle measured the distance between earth and Mars as a very large integer number of centimeters. Write a C++ program that reads such distance as centimeters and displays the kilometers, meters and centimeters equivalent.

Member Avatar for Elixir42
0
147
Member Avatar for tharindu123
Member Avatar for leonardo.hieu

Hey guy. I'm a new beginner in C++. I'm have some problem with my new code I have just written. I try to draw a triangles with from the characters "*". But it isn't work like I want. Here is it. `#include <iostream> using namespace /* Draw a triangles */ …

Member Avatar for David W
0
144
Member Avatar for chan6212
Member Avatar for stultuske
0
2K
Member Avatar for sukanya.seluka

i have a serial id, and i should fix that only 100 entries are allowed.How can i do this by code? and also how can i automatically generate consecutive numbers i.e from 1 to 100.Please help me frnds.I have to complete my project soon.

Member Avatar for sukanya.seluka
0
168
Member Avatar for mpc123

I have this to make a file ... but the file created is only ever .php, it is like it is not echoing the field name. $newfile ="" . str_replace(' ','-',trim($file['title'])) . ".php"; and the next one i tried to echo out in the page came out blank too? <?php …

Member Avatar for mpc123
0
191
Member Avatar for davy_yg

Hello, Can anyone help me cek this filepath : $bannerAdsPath = 'localhost/phpads/install.php'; require 'localhost/phpads/install.php'; Is it correct how I wrote it? This error appears: Warning: require(localhost/phpads/install.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\phpads\admin.php on line 6 Fatal error: require() [function.require]: Failed opening required 'localhost/phpads/install.php' (include_path='.;C:\xampp\php\PEAR') …

Member Avatar for Alberto Bucur
0
171
Member Avatar for Gupta_1

hi friend i would like to make a programe in c++(code block) . which include the fallling candy, and the candy is collected by a baby below. so could you help me to make that game in c++

Member Avatar for Ancient Dragon
0
133
Member Avatar for prajwaludupa

well i tried to execute the following code.. #include<process.h> #include<conio.h> #include<dos.h> #include<stdlib.h> #include<stdio.h> void main() { system("dir"); getch(); } but it did not execute the system command... what went wrong?? plz mail me at [email]prajwaludupardx_369@yahoo.co.in[/email]

Member Avatar for sri.voma
0
681
Member Avatar for hvebsr

I want to put the path and name of a spreadsheet, the page and number of pages and the date and time into the footer(s) and display it in Times New Roman 6 pts. I made the following macro: Range("A1").Select ActiveWindow.View = xlPageLayoutView` Application.PrintCommunication = False With ActiveSheet.PageSetup .LeftFooter = …

Member Avatar for hvebsr
0
296
Member Avatar for RevathiSRS

Hai can u pls let me know how to creae chart report in windows aplication C# by taking values from database.??

Member Avatar for humorousone
0
262
Member Avatar for sabin_silwal

what is john nash game theory and how does it work?????????????????

Member Avatar for sabin_silwal
0
106
Member Avatar for humorousone

In the application i'm working on, information will be saved to a database file which is located in the same directory as the executable application. In order for this file to be accessable for the executable while in a visual studio project, i would usually place it in the debug …

Member Avatar for humorousone
0
233
Member Avatar for adetolaraphael

Havning issues with file upload in php, below is the code <html> <head> <title>margeducation</title> </head> <body> <p> Niggas Please upload your files in pdf or jpg format, size less than 500kbytes, capishe</p> <form enctype="multipart/form-data" action="processfile.php" method="post" > <p>REQUIRED DOCUMENTS:(Please Select all documents that were recieved for this student's application):<br/></p> <input …

Member Avatar for adetolaraphael
0
263
Member Avatar for Christoffer_S

Hi, First of all, I'm a newbeginner in C++. Ok, basically I'm tring to make a calculator with functions. Every function calculates either addition, subtraction, division or multiplication, pretty simple. Though I can't get it to call these functions! Here, take a look at my code: #include <iostream> using namespace …

Member Avatar for Schol-R-LEA
0
646
Member Avatar for shehnaz20

I have tried importing csv file in database but the problem is it inserts a blank record in the 1st row of database and also the date is not gettin stored in yyyy-mm-dd format also the time is not diplayed in database the datatyse is set one heto date time …

Member Avatar for Alberto Bucur
0
187
Member Avatar for Pdrhdez

Win7; 64bit; Apache/2.2.25 (Win32); PHP/5.3.28; mysql-workbench; PHPmyadmin; Drupal; Not using drupal in this case. Only HTML and PHP. Going from HTDOCS in Apache. Index.html in the HTDOCS directory does show the "IT WORKS" test. Can also do the PHPinfo.php from HTDOCs Directory. The app I am trying to run is …

Member Avatar for Alberto Bucur
0
234
Member Avatar for Grazel

"DELETE FROM tbl_status where id "= & selecteditem Hi .. i have a problem here.. the query i have for delete button is wrong.. i raelly don't know what is wrong with this code.. someone help please.. this what i've gone so far..

Member Avatar for Reverend Jim
0
113
Member Avatar for محمد_44

How i can make a Matrix by using 2 dimension arrays and function ? please i need answer thanks.

Member Avatar for David W
0
133
Member Avatar for asif49

What's a good software development methodology to follow for a project where you initially know nothing. So an experimental project where you will need to seek out APIs and so on as you carry out research and figure out what needs to be created. I'm required to follow a design …

Member Avatar for JamesCherrill
0
142
Member Avatar for happygeek

The average DaniWeb member if not already au fait with Pastebin.com is almost certainly aware of something like it. A pastebin has become, for many programmers, a default tool in the coding box and for very good reason: it makes sharing large quantities of code very easy indeed. Of course, …

Member Avatar for happygeek
0
1K
Member Avatar for phunsukh.wangdu.3511

could you please help me on where i'll get the definition of all the built in function of c#. and the buit in functions that used to create windows application form. Please this is really urgent.....

Member Avatar for KushMishra
0
386
Member Avatar for overwraith

So, I recently wrote a program for a class that involved writing an aggregate class to a file. This particular program had an order object, and each order could have 10 ice cream cones, so a ToString() of the class would look like this: Order Number: 1 Customer #1: Harrington, …

Member Avatar for cgeier
0
206
Member Avatar for aabbccbryanmark_1

Public Function analyzeTotalFilesSize(Path) As Integer Dim lookInDirectory As New DirectoryInfo(Path) For Each Directory As DirectoryInfo In lookInDirectory.GetDirectories analyzeTotalFilesSize(Directory.FullName) Next For Each File As FileInfo In lookInDirectory.GetFiles If _ListOfFiles.Exists(Function(x) x.ToString = File.Extension.ToLower) Then _SizeOfFilesToCopy += File.Length / 1024 End If Next If _SizeOfFilesToCopy < 1024 Then errorhere -------->> Return _SizeOfFilesToCopy.ToString("#,##0.00") & …

Member Avatar for GeekByChoiCe
0
183
Member Avatar for Amiet_1

Hey guys, So many times I came across source code of open source technologies, like OpenOffice, Ditto, BigAnt Messenger. They provide their source code too for free, but unfortunately I dont know how can I edit and compile those source code. Can anyone please help in this? Thanks guys in …

Member Avatar for mike_2000_17
0
272
Member Avatar for jalferez1

i asked this on the C++ forum but someone told me to try it here on C. here's my first program there are some error with this program, i can't debug it. what's the problem? #include <stdio.h> #include <conio.h> #include <ctype.h> #include <string.h> int main(void) { int strlen, a, b,c; …

Member Avatar for jalferez1
0
219
Member Avatar for MistaGeorge

So what I'm trying to do is pass the values of one class to the other. So with the code i have i believe what is happening is im not passing the values. But im passing the referenced location. import java.util.Arrays; public class numbers { int[][] x = {{6,10,14,31,32},{12,23,12,11,22}}; public …

Member Avatar for MistaGeorge
0
429
Member Avatar for anestistsoukalis

My main idea is to find an algorithm ( Java ) that takes the random letters which someone has typed in a JoptionPane for instance and then instantly by pressing "Find words" i would like the program to derive all those words that match my letters from a dictionary stored …

Member Avatar for iamthwee
0
221
Member Avatar for blazemadej

My program is almost done, but when i try to convert a number into cents, it does not calculate the cents properly. So if i enter 325, it says i have 3 dollars and 325 cents and my running total is not working. Each time NormalizeMoney is called it should …

Member Avatar for David W
0
4K
Member Avatar for kgizo

Good day I want to start using php on the command line and I keep getting two errors, the first is that access is denied and the second is that xampp is not recognized as an internal or external command. I have already set my environment variables to the php …

Member Avatar for Ewald Horn
0
169
Member Avatar for zobadof

Hi, So recently I downloaded a template off the internet for the site, and it has a contact form in it but no way to set it up. After contacing the developer he linked me to a site, however, its not been all that useful as I still cannot get …

Member Avatar for zobadof
0
500

The End.