199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for luke77

Hi guys, I'm new to programming and am trying to get better by writing "useful" things. Here is a very simple stock portfolio tracker that I started yesterday. It is not very complex and I feel like I'm not really improving my skills since it uses mostly beginner concepts, but …

Member Avatar for sneekula
0
539
Member Avatar for VernonDozier

I'm starting to experiment around with Java Web Start since applets have some limitations. I'm using Net Beans and it's working fine except that I get this pop-up when I run it: [quote] The application's digital signature cannot be verified. Do you want to run the application? [/quote] It would …

Member Avatar for VernonDozier
0
514
Member Avatar for KirkPatrick

I'm having a problem with my countdown timer and am figuring that I'm missing something obvious. All I'm trying to do here is get my jLabel to countdown from 60 to 0. [code] ActionListener refreshListener = new ActionListener() { int counterLimit = 60; public void actionPerformed(ActionEvent e) { javax.swing.Timer refreshTimer …

Member Avatar for KirkPatrick
0
118
Member Avatar for kimbokasteniv

So I am writing a voice activated recording program, and one of the things I would like it to do is plot the current and past volume level on a JPanel. Write now I am simply reading one byte from the audio buffer, converting it to an int, taking its …

Member Avatar for kimbokasteniv
0
215
Member Avatar for pymatio

I'm using python & i am trying to match ";" in a line: [CODE] for page in css: f = open(page, "r") lines = f.readlines() count = 1 obcount = 0 ebcount = 0 probwithfile = False for line in lines: [B]if not re.match("^{$", line) or not re.match("^}$", line): if …

Member Avatar for pymatio
0
108
Member Avatar for dave49

I'm very confused. I'm suposed to expand this pointer-based list class in this program by setting ListItemType to int then adding methods to find the smallest number, the largest number, and the average of the list. Before I added the findLargest function the program would compile but, when ran, gave …

Member Avatar for dave49
0
255
Member Avatar for dinnib

hello all. please am in a dilemma right now. am supposed to submit my project proposal in 2weeks time but as right now i dont even have a topic. please graet minds i need your help on suugestions about a topic that is VB related please. its very urgent..

Member Avatar for s_sridhar
0
93
Member Avatar for catchmrbharath

I am having a problem in implementing of sieve of eratosthenes.. please check the code and tell me the error [CODE] #include<iostream> #include<cstdio> using namespace std; int main() { int i,j; long array[100001]; int count=0; for(i=1;i<100001;i++) { array[i]=i; } for(i=2;i<100001;i++) { if(array[i]!=0) { cout<<""<<array[i]<<endl; int j=0; j=i*i; while(j<100001) { array[j]=0; …

Member Avatar for siddhant3s
0
293
Member Avatar for petya.ivanova

Hi guys, Im pretty new to C# and I have a problem hoping that most of you could solve cause you are quite an experienced developers :) Here's my problem: I have a simple Windows Application Form with a dataGridView and a button. I want when the button is clicked …

Member Avatar for petya.ivanova
0
158
Member Avatar for sfener06
Member Avatar for Ramy Mahrous
0
42
Member Avatar for Cosa

Hi, Im new to VB. Im just trying to do a simple if statement that will open a specific form based on user input. The database requires me to scan in a barcode from a card. I then want to check if that barcode number is already in the database. …

Member Avatar for jireh
0
352
Member Avatar for hepsy.i

I want to get all the files from my local directory in my web page the same code works fine and it returns all the files when i run the code on the local system but when i'm trying to do that online it gives me error. the error is …

Member Avatar for kvprajapati
0
110
Member Avatar for krm08

Hi experts, I'm extreme beginner in PHP.My problem is that,i've an html page and there's combobox on it,I want to load the form according to the selection of items. The html page is [code=html] <form action="search.php" method="post"> <select name="option" size="1"> <option value="1">value1</option> <option value="2">value2</option> <option value="3">value3</option> <option value="4">value4</option> </select> <input …

Member Avatar for djjjozsi
0
98
Member Avatar for versatile36

What is the purpose of view state,application and session and what is the difference among them?? i googled it but couldn't get exact idea .. i'm just a beginner.. help me plz

Member Avatar for versatile36
0
208
Member Avatar for Clockowl

Hey guys, Can I tell istream to ignore ALL the characters until the delimiter char? It can be done with a loop but it's kinda weird I can't tell istream "discard until this char" imho, so maybe there's an hidden option somewhere. Thanks in advance!

Member Avatar for Narue
0
281
Member Avatar for guahack

well, I created an C#.NET application that close other applications that are consider to unwanted, so, my application list all the running processes and search for unwanted apps, my application uses Timers and Threads. So the problem ocurs when execute an batch file like this: [CODE] pause My_app.exe Exit [/CODE] …

Member Avatar for guahack
0
83
Member Avatar for mbabaali

am writting my class work project assignment but am stuck can some one help me out, am tring to pick data from patients table and diagnosistreatment tables which are mysql tables but the code is not working [code]<?php //This code retrieves a particulat patients record from dianosis and treatment table …

Member Avatar for djjjozsi
0
96
Member Avatar for Tini791

I am coding a program and have this function where i need to delete a record. The current code i have at the moment deletes a record but only deletes the top record but i need it to delete the record the user has selected. This is the current code: …

Member Avatar for kvprajapati
0
73
Member Avatar for mr.khurrams

I want to make the clone site of [url]http://fishershippingcompany.com/home.php[/url] . is it possible in wordpress or I have to self code this all??? Please suggest me

Member Avatar for mr.khurrams
0
315
Member Avatar for Stefano Mtangoo

Hi, I'm working on little phone book program with wxPython and SQLite. I can get database populated and can retrieve back the phones and names, but when I do fill them in ListCtrl it throws cruel errors :) Here is the retrieved data from database: [(1, u'Steve', u'Giddy', u'0654743553'), (2, …

Member Avatar for Stefano Mtangoo
0
991
Member Avatar for Sky Diploma

I am confused by the use of an un-named namespace and its practical applications. The C++ Programming Language states that. [code] namespace { //Content } [/code] [b][COLOR="Green"]is equal to [/COLOR][/b] [code] namespace $$$ { //Content } using namespace $$$; [/code] Where $$$ is a unknown and random name. However I …

Member Avatar for siddhant3s
0
110
Member Avatar for cwarn23

Hi, I'm looking for an open source c++ compiler to embed into an ide project I'm working on. I'm using Visual C++ express 2008 and would like to know what you's recommend as I have heard of gcc and MinGW but don't know what is best and EASIEST as they …

Member Avatar for cwarn23
0
379
Member Avatar for Xessa

like isnull? Is there any way to check if like? select @myVariable isequal("hotta","kutel") If it is equal to "hotta" set it as "kutel" something like this?

Member Avatar for Xessa
0
73
Member Avatar for rmlopes

Hi all, I am new to threads in c++, and I must use the pthread library. The documentation is easy to understand, but there is a more general aspect that I am missing. My question is: Is it possible to give a pointer to an object's function as argument to …

Member Avatar for rmlopes
0
118
Member Avatar for sravan953

I have some code here: [CODE]import urllib import subprocess import time open_site=urllib.urlopen("http://www.freewebs.com/sravan953/command_python.html") read_site=open_site.read() site_list=[] for a in read_site: if a=='<': break elif a!='<': site_list.append(a) site_list.remove('\n') site_list.remove('\n') site_list.remove('\r') for a in site_list: site_string=''.join(site_list) def run_program(): current=time.asctime() print 'Runnning program'+' ['+current+']' subprocess.call(site_string) def check_argument(): current=time.asctime() if str=='': print 'No command given'+' ['+current+']' …

Member Avatar for Stefano Mtangoo
0
134
Member Avatar for saalvi

Problem Statement: Writing and Reading student data in a file. Detailed Description: Write a program in which you have to: 1) Create a text file "Student_info". 2) Using Code Write the following data in it: Roll NO Student Name Class 101 Ali Raza BS(CS) 102 Usman MS(CS) 103 Faizan BS(CS) …

Member Avatar for siddhant3s
0
174
Member Avatar for newToC

Hello everyone. I am new to C++ and, I guess trying to pool task that is to advanced. I have a MDI application written in PowerBuilder. One of the child windows in that application has MultiTab control with several tabs on it. What I’m trying to do is to add …

Member Avatar for newToC
0
172
Member Avatar for Shraddha Kiran

hey people i wud really really appreciate a hand here ohk dis is my task i have been given a bunch of urls to webpages containing blog posts i need to extract the authorname,date,content of blogpost and meta data and put it into a database. Here is wat i thought …

Member Avatar for Shraddha Kiran
0
157
Member Avatar for vishalag

Hi I am using eclipse under ubuntu for my work. I am calling a function with specified arguments. It builds correctly but while debugging it stops at the call giving the error as "no source available for function()" [code] int f1(a1,a2){ //some description here } int main (){ //call f1 …

Member Avatar for vishalag
0
414
Member Avatar for elisgugu

Hello! I am using BCB and I really need a help! I have to fetch the value from each row in a table and I know I have to add a loop,but when I read the buffer-it takes only the firs value in the firs row in the field and …

Member Avatar for elisgugu
0
148
Member Avatar for Zay

[ICODE]#include <iostream.h> main() { int n, k = 5; n = (100 % k ? k + 1 : k - 1); cout << "n = " << n << " k = " << k << endl; return 0; } [/ICODE] How the value of n become "4" ? …

Member Avatar for kvprajapati
0
1K
Member Avatar for alsoumhi

Hi all , I have decided to use java applets and java servlets regarding creating a form.(because I don't know other langauages except java) guys the scenario is like this , visitors will enter to website, surfing it and then they will enter to feedback form , they have to …

Member Avatar for kvprajapati
0
107
Member Avatar for adrivit

Hello I will be joining Duke University (Durham, NC) as an applied math major with a research interest in applied neuroscience and Artificial Intelligence. So, should I buy a Macbook or a Macbook Pro for all the mathematical work that I will be doing? The work should include a lot …

Member Avatar for dirt14
0
114
Member Avatar for nigelburrell

Hi I am developing a login screen for my website, with usercode and password fields, and a Login button. I need to know how I can make the Login button automatically submit when the user hits the Enter key in either field (as apposed to the user clicking the Login …

Member Avatar for diafol
0
2K
Member Avatar for ChrisJ

Can Crystal Reports be used with MySQL? If not, what reporting tool do you recommend?

Member Avatar for furqan219
0
75
Member Avatar for enzogoy

I just create a php page where user will enter their name in then the page will send them an email with a few word in the body message. Here is the code: [code] $fromEmail = "admin@domain.com"; $subject = "Welcome"; $body = "Hi,\n\nYou have visited the page."; if (mail($Email, $subject, …

Member Avatar for gingank
0
154
Member Avatar for gingank
Member Avatar for gingank
0
107
Member Avatar for devin.lawks

I have no idea why, but the form mailer I'm using is not working correctly. Granted, I'm still a newb, but everything in the code looks fine to me. I'm using a modified version of the free form mailer available at [url]www.TheDemoSite.co.uk[/url] The exact problem is this: I fill out …

Member Avatar for peter_budo
0
233
Member Avatar for krishnampkkm

[CODE]string source; char *src = (char*)(source.c_str()); LPCWSTR lpszsrc = (LPCWSTR)src; Handle h= CreateFile(lpszsrc,.........); if(h==INVALID_HANDLE) printf("Error occured") return 0; [/CODE] [B]The above code segment always shows invalid file handle.I know the reason is my LPCWSTR conversion is not correct.How to make it correct.?[/B]

Member Avatar for krishnampkkm
0
124
Member Avatar for SKANK!!!!!

Length/Values1 what do i put there. this is a collumn in one of my tables its bigint so the number can get increased by alot. its a point system. it asks for length/values whn i edit the name of the column but i dont understand what to put there. i …

Member Avatar for Atli
0
2K
Member Avatar for grisha83

Hello, I am getting out of bound error whenever i run the program and trying to add a Node (this would be in my switch). but the error that i am getting is just above my switch statement. Can anyone help me to figure out what it is that i …

Member Avatar for grisha83
0
223
Member Avatar for mrnutty

I know that it returns the remainder but what happens when say : x% y, where x,y is int and x<y. I see that results in x; For example, 3% 101232 = 3 and similarly 3%y, where y is greater than 3 yields 3. Why is that> Just wonder the …

Member Avatar for chaines51
0
284
Member Avatar for kings

hi, my clients have asked to do payment gateway using RBS worldpay.please do tell me how start the integration using php. thanks in advance.

Member Avatar for nikesh.yadav
0
127
Member Avatar for cruisx

Hi guys, I am making a memory game for my school project and i just have a few things that i would like to add to it to make it better. In my game, i have a 5x5 grid that has letters hidden by $ underneath. So when the user …

Member Avatar for mrnutty
0
181
Member Avatar for duttydea

Hi all, I need some help creating a cart system. I’m currently using roman cart & MySQL which means I have to maintain two separate databases. The MySQL database holds the Product information and a Link to RomanCart. When the user clicks the “Add to Cart” info is added to …

Member Avatar for chris055
0
196
Member Avatar for tefflox

I have no experience with javascript, so I would like to know if it is possible to align a paragraph of text so it is placed in the middle of any browser window, using only html and css. Can this be done without js? If not, how much javascript will …

Member Avatar for michaeli99
0
123
Member Avatar for star34

Hi, i made a display()function that uses level-order traversal of the tree to display nodes level-by-level.I was told that I needed to put a queue class in my project. the hint was to put the queue in the root, do regular traversal but when we meet the marker, get() the …

Member Avatar for s_sridhar
0
205
Member Avatar for hypernova

[U]see the following code-[/U] [code] #include<stdio.h> #include<conio.h> struct emp { int age; char name[6]; }*e; void main() { printf("%u\n",&(e->age)); printf("%u\n",(&(e->age)+0)); printf("%u\n",(&(e->age)+1)); printf("%u\n",(&(e->age)+2)); printf("%u\n\n\n",(&(e->age)+3)); printf("%u\n",(&(e->name)+0)); printf("%u\n",(&(e->name)+1)); printf("%u\n",(&(e->name)+2)); printf("%u\n",(&(e->name)+3)); printf("%u\n",(&(e->name)+4)); printf("%u\n",(&(e->name)+5)); printf("%u\n\n\n",(&(e->name)+6)); printf("%u\n",((e->name)+0)); printf("%u\n",((e->name)+1)); printf("%u\n",((e->name)+2)); printf("%u\n",((e->name)+3)); printf("%u\n",((e->name)+4)); printf("%u\n",((e->name)+5)); printf("%u\n\n\n",((e->name)+6)); } [/code] OUTPUT------------------------------- 0 0 4 8 12 4 10 16 22 28 …

Member Avatar for s_sridhar
0
125
Member Avatar for sciguy77

I finished making a basic web server a little while ago, however I cannot access it at all. I ran it on my mac, which didn't work. I then ran it on my PC and tried to access it from my mac using Firefox. This is the code I have …

Member Avatar for xav.vijay
0
452
Member Avatar for webCurious

Hello all! I have 3 different links on my main page (main.asp) - X,Y,Z. Link X opens x.asp , Y opens y.asp, Z opens z.asp When clicking on X, x.asp opens in a pop up. When I click again on X, the focus will come to the same pop up …

Member Avatar for essential
0
225

The End.