199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for riahc3

Hello Im trying to do some basic FTP work. What I am trying to do is: 1: Search for a folder named "hi" in "C:". If hi exists, enter it. If it doesnt, create it THEN enter it. 2: Inside hi, count FILES and see if there is greater or …

Member Avatar for Taywin
0
485
Member Avatar for dbalas

Hi! I have a problem... I need to make simple upload script which for me as a novice php programmer isnt so simple aat aall! So if someone could point me to a good tutorial or solve my problem, it would be great! Ok, this is what i have now. …

Member Avatar for dbalas
0
182
Member Avatar for coder91

<asp:HyperLink ID="Link1" runat="server" Text="Record an activity" NavigateUrl="~/ActivityRecord.aspx"> </asp:HyperLink> </div> <div> <asp:HyperLink ID="Link2" runat="server" Text="Add information" NavigateUrl="~/Information.aspx"> </asp:HyperLink> This is the code I have and I have the pages ActivityRecord and Information but it's not working. When I click either of the links it just reloads the home page I am …

Member Avatar for JorgeM
0
2K
Member Avatar for Riu 2009

hi everyone :) i have two tables (learningmaterial & evaluations) in mysql DB and i want to display all the learning material (from learningmaterial table ) and evaluations (if any) from evaluations table.. here is my code and i just want to ask how will i insert another select query …

Member Avatar for Riu 2009
0
269
Member Avatar for designershiv

For example > look at the code below <div class="s1 s2 s3"> //content goes here </div> This class is added dynamically, so i like to know how the find the second class (say for example : **"s2**"). and do some action..

Member Avatar for designershiv
0
194
Member Avatar for Violet_82

Hi I run into something peculiar. I have an html file linking to a local file jquery-1.4.4.js. Now, everything works ok in every browser but when I test the page in IE7 and 8 it fires the following error: SCRIPT87: Invalid argument. jquery-1.4.4.js, line 18 character 20135 and everything falls …

Member Avatar for Violet_82
0
204
Member Avatar for molla.getachew

Hi, I have file into which I am getting feedbacks from users. But when the file is open, users can not give feedback because it does not write into it. Worse of all, Plus it gives Warning erros on users browser. So the code has to check if the file …

Member Avatar for diafol
0
233
Member Avatar for nicholas.buckley.14

I have to write a program that accepts data for a class and then ouputs it in the main. so far i have this. #include<iostream> #include<string> #include<fstream> using namespace std; ifstream infile; class animal { string species; string family; string phylum; string desc; static int count; public: bool readIN(const string …

Member Avatar for rstralberg
0
315
Member Avatar for ct_hunny

hello i' trying to take out data from start time and end time from my database record..any idea how to solve it for example: 2012-09-08 12:09:33 roadA 2012-09-08 10:49:09 roadA 2012-09-08 10:39:27 roadC 2012-09-08 09:09:33 roadA if i select 10:39:27 to 12:09:33, then only 3 data will be display...

Member Avatar for aravind326
0
217
Member Avatar for vizz

How to add **Facebook like button** , **twitter share button** and **google plus button** on website?

Member Avatar for vizz
0
185
Member Avatar for vizz

How to get computer name and computer username using php? Computer name and server name are same or they are different?

Member Avatar for vizz
0
112
Member Avatar for missy_mi

HI, i am new at this programming stuff. so, i really dont know much about programming especially when it come to converting pages to pdf. so, i need to understand one thing, this..fpdf,mpdf,wkhtmltopdf and others..do they convert php page..because they said "convert HTML to PDF"..so i am confuse..i did try …

Member Avatar for missy_mi
0
380
Member Avatar for revelator

How can i extract information inside the switch statemnt to outside in c langauge.... for eg. i want the information of case 3 to display out the switch statement, then how can i do ? plz respond,,,

Member Avatar for DavidB
0
182
Member Avatar for irshsheikh

hi, i am buliding a website as my mini project. problem: when i submit registration form, if the username or email or even both already exist, I have writen the code to check if either of them exist in the database.. and that is working great.. and if the user …

Member Avatar for jalpesh_007
0
303
Member Avatar for abhi10kumar

How I can create Pop-up Login window on a particular page. If user login successfully, the back page will refresh.

Member Avatar for jalpesh_007
0
231
Member Avatar for challarao

Hi all, A problem asks me to create a point class,line class composing two points, a triangle class composing three lines.Also a right angle triangle and an equilateral triangle class both inherit triangle class.I did this. public class Point{ private int x; private int y; public Point(int x,int y){ //error …

Member Avatar for jalpesh_007
0
197
Member Avatar for anand01

Hi all, I know that Vector is synchronized, when I run the following program public class ClassA extends Thread{ static Vector<Integer > v=new Vector<Integer>(); public void run() { callMethod(); } public void callMethod() { System.out.println(v.size()); v.add(0); System.out.println(v.size()); v.remove(0); } public static void main(String[] args) { for(int i=0;i<1000;i++) { ClassA a=new …

Member Avatar for anand01
0
188
Member Avatar for Vish0203

hi everyone! I'm working on project which Generates certificates for different students. The interface takes the input of Name, College, Secured position and generates the certificate... but I want to generate all the certificates at once. So, to avoid overlapping of the file names, i want to generate different file …

Member Avatar for Vish0203
0
132
Member Avatar for bcassillo

Here is my code.... It is supposed to go throught this maze and can move where there are "." and blocked by "#". I keep getting an out of bounds error. Can anyone help me? import java.io.*; public class ProgramMAZE { public static char maze[][]= {{'#', '#', '#', '#', '#', …

Member Avatar for NormR1
0
198
Member Avatar for Monkey101

Mirroring is done by copying. Suppose a Picture has H rows of Pixels and W columns of Pixels and W is an even number, like W is 2N. Here N is a the whole number that is exactly 1/2 of W. How many Pixels are copied when the Picture is …

Member Avatar for NormR1
0
114
Member Avatar for Malymieczek

Hi All, For homework I had to write a "guessing game" program, which I decided to take to another level and add on the option to add names and keep a score, etc. The problem is however, That my program will not display the text "*Player* Has Won! Congratulations!". Here …

Member Avatar for NormR1
0
165
Member Avatar for darkeclipse8

---------------------------------------------TSet.h------------------------------------------------------ #include <iostream> using namespace std; template <class V> class TSet { public: TSet(); TSet(int size); ~TSet(); void add(V new_item); void remove(V item_to_remove); int num_of_items(); bool isFull(); bool is_item_in_set(V item); friend bool operator==(const TSet<V>& left, const TSet<V>& right); friend bool operator!=(const TSet<V>& left, const TSet<V>& right); friend ostream& operator<<(ostream& outs,const …

0
158
Member Avatar for Tristan2036

This is for an ecommerce site. This is supposed to display a complete list of categories with their ids next to it. The names should be like this Animals : Pet Supplies : Dog Supplies : Dog Bowls, Feeders & Waterers 41 The problem is that each parent category with …

Member Avatar for LastMitch
0
111
Member Avatar for ohwhatacuteanaconda

I have to use a basic ByRef and ByVal in a program and its not showing up in the labels when I hit the calculate button. The program I am creating is very basic and it calculates your age, nextyear age, month born, astrological sign, days old and seconds old. …

Member Avatar for Reverend Jim
0
176
Member Avatar for KatyHex

I have always used Excel.interop before but I thought oledb would be simpler because, for this application, I only have to read the data which it can't seem to do. It accesses the file alright because I can't open the file while I am at a breakpoint. It attempts to …

Member Avatar for AutoTester
0
317
Member Avatar for izabella.pearson

I can not figure out the problem with my program. I am extremely knew at this. The error I get is at the last ' } ' of the program it says "Error expected declaration before '}' token" please help? This is my code #include <iostream> //Header Files #include <fstream> …

Member Avatar for Lucaci Andrew
0
156
Member Avatar for bladelord76

Hello. I am attempting to make a text-based game in Python. Although I assumed it would be rather easy, there are not that many examples to go by. Therefore, I've come to ask for some assistance with my code - being the relative newbie to coding that I am. Excuse …

Member Avatar for Blacktono4
0
1K
Member Avatar for nah094020

Ok guys i have a few questions about implementing a gneric hash table using linear probing. Ok first, i need to make an entry class Entry<K,V> then An Entry <K,V> table array but since its gneric must initiatied elsewhere my question is how does the class entry work , from …

Member Avatar for NormR1
0
2K
Member Avatar for PM312

When working with loop some time the loop goes into infinity while testing and I have terminate with “Ctrl+Alt+Del" and lose all unsaved work. How to get out of infinity loop without losing unsaved work. thanks

Member Avatar for PM312
0
139
Member Avatar for trishtren

Hello, im a beginner at sql and i am struggling at comparing data from one table to another and then copying other data. *I have 2 tables both of which have 2 columns with the same name lets call them tableA and tableB. * tableA has a column id and …

Member Avatar for trishtren
0
159
Member Avatar for HiHe

Method onPaint does not change the color. Does anyone know why? (there are no errors received) # explore the wxChoice widget # a simple ComboBox (dropdown box) that combines a ListBox with an EditBox # can't get the self.onPaint method to work!!!!! import wx ID_CHOICE = 120 ID_PANEL = 130 …

Member Avatar for HiHe
0
705
Member Avatar for Triarius_1

hi master programmers ! I am new to programming and i have an assignment im working on, it seems simple but i just cant get it ! i was wondering if anyone could help ! it would be greatly appreciated ! here is the question : =================================== "The sample input …

Member Avatar for vesuvius
0
393
Member Avatar for vishalonne

Hi I just wan to to pass the value of Input Type File html tag to a 2nd PHP page where I will insert the image in mysql but I am always getting a notice and isset() is not getting the $_FILE('IMAGE'). Here is the notice - `Notice: Undefined index: …

Member Avatar for vishalonne
0
1K
Member Avatar for sourabh.asu

Hello, I have the following table, for readability I broke down the after every manager for every case number. The last column is the cumulative sum of the second last column. Value for month should ideally run from 1-3 (Like you see for both the cases for Chicago). But from …

Member Avatar for adam_k
0
613
Member Avatar for alex910TN

Hey guys. I have the following loop structure condition statement: while ( ord(UpperCaseWords[i]) >= ord('A') and ord(UpperCaseWords[i]) <= ord('Z')) do Problem: When a compile, I get an error saying: "Error: Incompatible types: got "BOOLEAN" expected "LONGINT" " using Dev-Pascal 1.9.2. Description: UpperCaseWords = PACKED ARRAY of Characters that may contain …

Member Avatar for pritaeas
0
206
Member Avatar for arishy

To start, it is NOT a hacking job. I want to access my USAGE report from my ISP. At the home page I have to select Account Management then login with my user name and pw from newly created prompt. One clicking login I get yet another prompt so I …

Member Avatar for arishy
0
263
Member Avatar for nUmbdA

Hello again, I am working on a homework problem and I am not able to get the accumulator to accumulate the tickets sales for each section. My assignment is to create a basic program that will use loops. I need to have it ask for each day of the week …

Member Avatar for nUmbdA
0
211
Member Avatar for kw83028

Hello, this is my first post here so please let me know if I'm doing something wrong. I have a linked list project that I'm having a little trouble with. I was given LinkedList.cpp (main) and that can't be changed. I had to use a completed program that we did …

Member Avatar for kw83028
0
421
Member Avatar for Dani

[b]Flowcharting [/b] Pseudocode can almost be classified as half-code, half-text. Even as its name implies, it is semi-code. It is used by a programmer to outline the algorithms he or she has written, before they are actually translated into code. It is almost a high-level abstraction of code. For the …

Member Avatar for arielsandara.mije
0
438
Member Avatar for happygeek

The world's largest digital jobs survey, using data extracted from more than 230,000 jobs posted to The Freelancer.co.uk site, reveals some interesting hiring trends in the developer sector. ![dweb-androidapps](/attachments/small/0/dweb-androidapps.jpg "align-right") According to the latest Freelancer Fast 50 survey, if you are a mobile apps developer than it's pretty good news …

Member Avatar for Galbatorix
0
799
Member Avatar for MB.ShadowFox

Hi all, I'm pretty new here but I do have "some" knowledge of sql and PhP, I'll start by telling you what I have and then ask what I need. What I have: I have a database which holds multiple tables, the one in question is called storage.sql The table …

Member Avatar for MB.ShadowFox
0
288
Member Avatar for jrm44

I am having trouble figuring out how to execut the following SQL query. Say for example I have the following 2 databases. Db1 Col_1 Col_2 1 a 2 b 3 c 4 d 5 e 6 f 7 g 8 j 9 h 10 i Db2 Col_1 Col_2 1 j …

Member Avatar for BitBlt
0
783
Member Avatar for khair.ullah

Creating a Report in Visual Studio 2008 In this section, you create a report that draws its information from the sample Microsoft Access database that ships with Crystal Reports. To create a report with secure data from the Your database follow these steps . 1. In Solution Explorer, right- click …

Member Avatar for khair.ullah
0
423
Member Avatar for cigoL..:)

Hi guys! I'm currently making an integration of 2 different web apps. I would to ask if is it possible to restrict adding duplicate data in your table. for Example i have two different tables from two different databases. App1_Invoice (from Web App 1 database) e.g. transno name amount App2_Invoice …

Member Avatar for cigoL..:)
0
313
Member Avatar for vivekanandaan

I am using VS2010 and created a database using SQL server residing in VS2010. the database is stored in the folder APP_DATA with an extension .mdf My PC name is rvivek and it resides in a domain. below is my connection string. myConnection = New SqlConnection("server=rvivek; uid=; pwd=; database=Database1.mdf;") when …

Member Avatar for MikeSmithDev
0
127
Member Avatar for sannidhikumar99

hai! i am trying to check a character with another character which are in the same text box. when we are entering date,date in the first text box and month in another text box and year in another text box. now i want when i am trying to enter '0'in …

Member Avatar for phoochaliaw
0
158
Member Avatar for coolbeanbob

I would like thoughts/advice on the project I am working on. I am trying to build a program that simulates the score of a baseball game given individual player statistics. As of right now, the program only has one team batting for nine innings. I am a computer science student …

Member Avatar for JamesCherrill
0
196
Member Avatar for McCrockett

Hello. I'm currently taking a computer science course and I'm doing a little research paper about C++. I honestly don't know C++ too well yet. But I have a few questions that I would like to ask and feel free to post your opinions. I hope this is the right …

Member Avatar for L7Sqr
0
138
Member Avatar for Sarah2012

def get_score(word): '''(str) -> int Return the point value the word earns. Word length: < 3: 0 points 6-9: 1 point per character in word 7-11: 2 points per character in word 10+: 3 points per character in word >>> word_score('DRUDGERY') 16 ''' I have this homework I want some …

Member Avatar for HiHe
0
124
Member Avatar for Growl

# MERSENNE PRIMES # ## There is an integer n. Find primes that is < than n (p < n) and they can be expressed in the form 2^k-1. ## Hey! I'm done with connecting parts together - all works fine! But I need to replace (pow(2,p)-1) because my professor …

Member Avatar for NathanOliver
0
111

The End.