199,114 Archived Topics
Remove Filter ![]() | |
Hey hey! I'm trying to write a script that finds out if a given program name exists in the OS environments PATH variable (cross plathform). Thing is, I get a NameError, it's probably a simple error, but I've struggling with it the last hour. Any help would be appreciated [CODE=python] … | |
Hi all, Just a quick question: I have my website done and the database I used is MS Access. Problem is MS Access' return of results are really really really slow. Now I want to shift to SQL server, but the web hosting site we paid does not support this … | |
Need some help where to start...what to do???? The objective of this program is to simulate playing the game of Bingo. A Bingo card basically consists of a 2-d array of 5 rows and 5 columns containing integers. The first column contains integers in the range 1-15, the second column … | |
A soft-drink manufacturer produces several flavors of drinkāfor example, cola, orange, and lemon. Additionally, each flavor has several versions such as regular, diet, and caffeine-free. The manufacturer operates factories in several states. Assume you have input records that list version, flavor, yearly production in gallons, and state (for example: Regular … | |
when I did the following porgram I got the error like NewNamespace.Focusview does not implement interfaceNenamesapce.Iencrypt.Icompress why? can any body explain this problem [code=asp.net]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NewNamespace { interface IEncrypt { void IEencrypt(); void Idecrypt(); } interface Icompress { void compress(); void decompress(); } … | |
Hi All, I'm trying to figure out how to pass an object to a function by constant reference. If I write a single class, can I write a function in this class that accepts an object of this class by constant reference? If so (or in any case) how does … | |
Hi I am John Tayler, new to this topic. This is a my first post. I want to make a website, will anybody tel me from where to start. Ive selected dreamweaver 8 to build my site. Is this suitable tool? Any tutorial about dreamweaver will be appriciated. Tayler | |
hi can anybody tell me how ti skip blank spaces in java.Is there any function for that.Or we have to write code for that. thanks | |
Hi iam developing one application where i need to to send simple sms from to tomcat server .. can any one help me in this.. if possible plz send me the sample code...how to configure port number and mobilenumber.. thanks&Regards Basha | |
Hi , I am working with MFC SDI application, when i open any project [ SDI ] default icon gets loaded [ ie MFC icon ] , i am not able to change it , even i tried modifying the icon file, only the ABOUTDialog box icon changes, at all … | |
i have an array of 16 things, now 8 of them have to be chosen at random so basically what i want to do is random(CHR/2) like choose a random number from CHR/2 (as there are 8 not 16 now) what code would i use because that doestn work | |
[COLOR="Red"][B]Hi all... I tried to maked Stack with Dynamic Array but ........[/B][/COLOR] [ICODE]class Stack { private: int *SS; int size; int t; void Expand(); public: //constractors Stack(); ~Stack(); Stack(const Stack & Original); //operations Stack &operator= (const Stack& RHS); bool Empty(); void Display(); int Pop(); void Push(int Value); int Top (); … | |
Hello there, I've been doing some research about the Outlook.Selection interface and made an application out of it. My goal is to get all of the items in my inbox folder. I have already created a way to get all of them, my problem is to filter each types of … | |
I am new to vb.net crystal report. I have created a dataset,a report and a vb page. I am running a view for the month of jan. so my report looks like project name jan aaa 01 bbb 20 ccc 30 but i want a report like the below project … | |
Hey, Im having a problem with sorting numbers. I want to sort 4 numbers in orders of size i.e. if the order is 5,8,9,2 I would like it to distinguish the highest number (which in this case would be 9) and lowest (2). Could someone suggest how i would go … | |
Hi Friends!! I have done a task of Importing excel in SQL server 2000 using Vb.Net 2003. I have provided Import/Overwrite facility to the User here. For this i used a Combobox. I have inserted values in Combo at design time. From the Property, Items (Collection). In Code i checked … | |
hey everyone i am pretty new to programming and i need a little help with a code that i am writting it is a pacMan and i need it to open and close its mouth but i am not sure how to do that i started an array with the … | |
hi all, I want to create a link in Reporting Service that redirect me to another page(Not a supreport) or executes some code. e.g, the customers IDs appears as links and when clicking it retrives this customer details or redirct me to another page that displays the customer details. I … | |
How To Get Data From Intranet ? I Want To Get An Access File | |
Hello all, My first thread here and im in need of some Javascript help. I have 3 categories: Starters, Mains and Sides, which when clicked displays any content inside my element. This is great but I would like to go that bit further and have only one element on show … | |
Hello guys! Hope everyone's doing good. Well I desperately need the code for insertion in 2-3 trees, can anyone of you kindly help me out??? Actually I missed one of the lectures given in this regard, therefore i'm facing few daft problems, I tried to some extent but couldn't make … | |
Why does following does not work ?? [CODE] #include<iostream> using namespace std; class point{ float x,y,z; public: point(float f_x =1.0, float f_y=1.0, float f_z=1.0); void getxyz(float &x, float &y, float &z); }; point::point(float f_x, float f_y, float f_z) { x= f_x; y= f_y; z= f_z; } void point::getxyz(float &x, float … | |
Hi i want to send a mail from vb.net 1.0. I have done some code for that as follows. [code] Try myMessage = New System.Web.Mail.MailMessage With myMessage .To = sendTo .From = From .Subject = Subject .Body = Body .BodyFormat = System.Web.Mail.MailFormat.Text SMTPServer = "smtp.rediffmailpro.com" If CC <> "" Then … | |
well the title kinda describes it. I tried LOWORD(lParam) = somenum; and it threw me an error saying that the left side valye has to be a 1-value | |
Hi guys, I'm currently working on a program to return whether an inputted number is perfect or not. I've found that the formula for the perfect number is If 2n-1 is prime then 2(n-1)(2n-1) is perfect. I've worked out some code, but I'm stuck. [CODE]Def listfactors(n): For 1=2 to n/2 … | |
I need to make a java app that computes and prints mean and standard deviation for a list of integers x1 through xn. If anyone can help out, point me in the right direction even, that would be awesome, I get intimidated by these math problems when it comes to … | |
Hello All, I just recently started a new open source project and I'd like to see if anyone would like to contribute. The project doesn't have specific purpose other than just accumulating a lot of common reusable code....any and all languages are welcome. If you would like to contribute, have … | |
Hey guys im doing the NCSS python challenge and I need help!! ok so here's my current problems (p.s. my teach cant even help) PROBLEM 1 ************************ [code]# This is a Python file def fibonacci(n): return (n <= 1) and 1 or fibonacci(n-1) + fibonacci(n-2) def decrypt(s): def helper(s): return … | |
I have problem in counting the number of letters in the strings entered by the user. CAn anyone suggest something in the following codes? [code=cplusplus] #include <iostream> using namespace std; int main() { char* str; cout<<"enter the string to count the number of letters in it."; cin>>str; cout<<str.length; return 0; … | |
Hello, Having a bit of an issue here. Can't seem to fugure out how to display the proper text along with an image when a user selects a drop-down. When you select a catagory and a sub cat the text diaplys fine but when going to a another cat the … | |
How can i get the digits out from file and the player who scored the most points? Input file to read from Match A score: 3-1 [U]Mark Peter Peter[/U] Match B score: 1-1 [U]Jim[/U] underlined - player who scored the points [code=cpp] #include <iostream> #include <fstream> #include <string> using namespace … | |
I dont know why, but this program I wrote is having a problem. it has a problem converting an Ace from 11 to 1 when the players have more than 21. if you could look over this, I would appreciate it. [code] #include <iostream> #include <ctime> using namespace std; double … | |
I am stuck in a problem where I should show a progress in % in a label. I have manage this code and think this should work but the label doesnĀ“t update the % value it only shows "Progress... 0 %". Is there anything I perheps should add to update … | |
With printf, you specify the output type like this unsigned char a; printf("%u", a); but with cout, cout << a; there is no type required. Do you have to cast the variable in order to see a reasonable output cout << (int)a; or something like that? How do you know … | |
Every time i try and run this program it gives me an error saying "cannot find symbol constructor AnimationThread" The error occures on line 26 I was woundering if someone could please please help me with this Thx!! import java.awt.*; import java.applet.*; import javax.swing.*; import java.awt.geom.*; import java.util.concurrent.*; import java.awt.event.*; … | |
Does anyone know how to search a text file for just alphanumeric words using regex? And could you show me? | |
Hi All, I'm using a script that displays a larger image when a thumbnail is clicked or moused over. I need the larger image of the first thumbnail to be displayed by default so that I never have an empty white space on my page. The html page is as … | |
hi, please helpe me my code include one problem and i dont know how to slovet the heder [ICODE]#ifndef COURSE_H_ #define COURSE_H_ #include <iostream> using namespace std; #include<string> using namespace std; class Course { private: string id; int NumberOfCredits; static string serialId; public: Course(string corsename) { } void print() { … | |
Hello, this is my first post so be nice :) After hours of trolling various forums and websites along with a few books i've decided to ask for help. I've put together the whole of the program which is to carry out a few simple processes using inputted data and … | |
I need to make modifications to [B]BIOS[/B] code which runs at [U]PowerUp[/U] or [U]Boot[/U] time and I need to access more than the lower 1,048,576 bytes of memory. Is it possible to switch into [B]Protected Mode[/B] at this time in order to access more memory? If so, how? What is … | |
Hi, i'm new to ASP.NET, been using PHP for a while but now getting into ASP.NET/C# and was wondering how i would go about accomplishing the task in the title. I'm still an ASP noob right now so any suggestions/help is welcome. To do something like this normally I would … | |
Hi there, been working on a small program that will loop a function which adds two integers until the user enters 00, but can't seem to work out the finer details. A little newer to C++, don't need a complete answer but any advice would be much appreciated [code=c++] #include<iostream> … | |
hi friends; i am trying to build a class using multimap, the idea is something like this: I have say N no of particles and each particle has fix position in 3d space something like this: Coordinate: Particle level (1,2,3) ----------------> 1 (1,2,3) ----------------> 7 (1,0,0) ----------------> 2 (0,0,0) ----------------> … | |
[code] string MAP[11][11]; MAP[0][0]= "|I|"; MAP[0][1]= "|I|"; MAP[0][2]= "|I|"; MAP[0][3]= "|I|"; MAP[0][4]= "|I|"; MAP[0][5]= "|I|"; MAP[0][6]= "|I|"; MAP[0][7]= "|I|"; MAP[0][8]= "|I|"; MAP[0][9]= "|I|"; MAP[0][10]= "|I|"; //1 MAP[1][0]= "|I|"; MAP[1][1]= "|R|";//thing MAP[1][2]= "|T|";//thing MAP[1][3]= "|F|"; MAP[1][4]= "|F|"; MAP[1][5]= "|F|"; MAP[1][6]= "|F|"; MAP[1][7]= "|R|"; MAP[1][8]= "|R|"; MAP[1][9]= "|G|"; MAP[1][10]= "|I|"; [/code] This … | |
I am importing object files and making tables from the for a project due tommorow night. The function works fine when I use it the first time i.e. input pro1.txt, but when I call the function again and input pro2.txt as the file name my program crashes. All of the … | |
hi here is BNF grammer.Can anybody help me to understand it. <bool exp> -> <bool term> { "&" <bool term>} <bool exp> -> "!" "(" <bool exp> ")" <bool exp> -> <relation> { "|" <relation>} <relation> -> <exp> ("=" | "<" | ">") <exp> <exp> -> <term> {"+" <term> | … | |
Here are my parameters to follow: Every Account at the bank keeps track of a balance. In addition, each Account allows users to deposit and withdraw money. Accounts are subdivided into: SavingsAccount. This type of account has an interest rate associated with it. This rate is used at the end … | |
Hi there, Does anyone know any good books for Struts 2? I have tried reading: Struts 2 In Action, but I wasn't very thrilled about it Thanks | |
I realize that the response time of my GUI is extremely slow! I have three combo boxes - I want the user to select a template from one drop down list, which will populate the second drop down list with customers related to that template. When a customer is selected, … | |
In my application iam unable to click the items in the menu. And my browser is IE 7. And i have used the menu control for displaying the menu items on mouseover function. Note: Iam able to click the items in IE 6 browser. Plz help me sort out this … |
The End.