199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for karthik_ppts

Hi Frendz, I'm using the following code for generating the alert message. [CODE=php]echo '<script>alert("Your project has timed out. Contact your project Manager")</script>';[/CODE] Its working fine in my local server. But in online server its not working. whats going wrong with this?

Member Avatar for P0lT10n
0
175
Member Avatar for kapojian

ist possible to have another if statement after the first if statement.. this is just an example [ICODE] private void button_click(object sender, eventargs e) try { if(age>5||age<=10) {massagebox.show("young");} else if(age>10||age<20); messagebox.show("example"); } catch(exception) messagebox.show("error"); //can i have another if statement here??? if(something ==eg) {messagebox.show("thanks"); } [/ICODE]

Member Avatar for Momerath
0
108
Member Avatar for Archenemie

Just started learning MySQL, more specifically using Python and MySQLdb and everything is up and running fine. I have an interface where i generate buttons: 1) Firstly the main catagories are generated. 2) on clicking these buttons, sub-catagories of these catagories have thier buttons generated. 3) once again on clicking …

Member Avatar for Archenemie
0
169
Member Avatar for radiata

Hello, I'm doing a homework assignment from my Computer Science course and I'm having a bit of trouble. so far I have the code below and its producing errors, can anyone help? thanks! [CODE]#include <iostream> #include <string> using namespace std; int main() { char ans; int num; do { string …

Member Avatar for WaltP
0
178
Member Avatar for urtrivedi

Dear friends I need free vertical tree menu as shown in the link (green one) [url]http://dhtml-menu.com/menu/dhtml-floating-menu-sample.html[/url] I have heard something related to FISH, fishmenu or starfish menu, I am not sure. I have seen some fish named menu, but now I am not able to find that link or forgot …

Member Avatar for urtrivedi
0
160
Member Avatar for vaanipala

Hi, I'm new to AJAX and i'm trying to make my first AJAX request response program work. My code works fine in Mozilla Firefox. However, it is not working in IE9. The following is the result i'm getting in IE9: today is July 11, 2011, 10:55 am Notice: Use of …

Member Avatar for vaanipala
0
134
Member Avatar for shers

Hi, How do I run a form that has a progress bar on a separate thread from another form? Thanks

Member Avatar for kvprajapati
0
322
Member Avatar for piethon

I am a beginner in learning Python and I am currently reading "Learning Python the Hard Way." In one of its exercises, there's a code that says: [CODE]def bear_room(): print "There is a bear here." print "The bear has a bunch of honey." print "The fat bear is in front …

Member Avatar for GreenDay2001
0
1K
Member Avatar for winecoding

In my current program, the input information is hard coded. For instance [CODE]final String titleFieldName = "title1";[/CODE] If I want to change title1 to title2, I have to modify the source code and click "run Java application" in Eclipse. How can I change the program to allow the user dynamically …

Member Avatar for stultuske
0
233
Member Avatar for Niner710

I am new to Python and am looking for something in Python that is equivalent to parsing files in Perl. I have a text file as follows. [CODE] Blah.txt vcc = 2.6, clock = 1.5 Mhz vcc = 2.7, clock = 1.6 Mhz vcc = 2.8, clock = 1.7 Mhz …

Member Avatar for TrustyTony
0
185
Member Avatar for Lolalola

Hi, sometimes my one of function work too long. How i can break my function, if this function work longer than 3 seconds? thanks

Member Avatar for TrustyTony
0
196
Member Avatar for Gerbiler

Recently I have been working with Mysql and PhpMyAdmin a lot on Ubuntu, and I have stumbled across a very annoying error, or set of errors. I keep on getting a bunch of random loosely related error messages. These are the errors I get. When I try to log in …

Member Avatar for griswolf
0
540
Member Avatar for djbhoco

This program is to design a gui for users to add any loan amount, term, and APR; the program then gives a monthly note amount in that field. I cannot figure out what I'm doing wrong. I also cannot get the reset button to work. Can anyone give me an …

Member Avatar for mKorbel
0
240
Member Avatar for sirlink99

I am going to make a calculator and I am having some Issues arranging the buttons. You should be able to see the layout when you run the code. Some clarification though there will be a blank spot under the "3" for a "+/-" button (switches between positive and negative). …

Member Avatar for Ezzaral
0
169
Member Avatar for Miklo_jan

[B]Hi guys, Well I just reinstalled vBulletin 3.8.6, on top of the other. I tried to make a new THREAD, after posting it says:[/B] ___________________________________________________________________ Database error in vBulletin 3.8.6: Invalid SQL: UPDATE session SET newposts = newposts+1 WHERE NOT ISNULL(newposts); MySQL Error : Unknown column 'newposts' in 'where clause' …

Member Avatar for pritaeas
0
390
Member Avatar for mikedeomon

The code below works but does not loop through each name in the txt file (loops only when i just want to print their names from the text file) , it only returns the details of the last user in the list rather than returning individual user details one by …

Member Avatar for woooee
0
198
Member Avatar for sirlink99

I am learning C++ and I learned that you can create your own types. I decided to try this in java. I am wondering if there is an easier way to make a bunch of variables private other then typing out private for each of the created variables. for example …

Member Avatar for sirlink99
0
119
Member Avatar for Austinjs0102

So work is slow and i am an intern and am generally installing lots of programs on computer that have been reformatted or possibly are missing software. I Recently came across a pre-built code which search the registry for already installed programs only one problem is that i cannot get …

Member Avatar for nmaillet
0
353
Member Avatar for complete

changing a character in a C# string suppose I have created a string in C# and I want to change the last character to a blank. [code] private static string sOldMassiveOutput; public static string oldmassiveoutput { get { return sOldMassiveOutput.Trim(); } set { sOldMassiveOutput = value; } } oldmassiveoutput[oldmassiveoutput.Length - …

Member Avatar for ddanbe
0
204
Member Avatar for gujinni

anybody know how to explain this??? set_difference(a.begin(), a.end(), b.begin(), b.end(), result.begin()); std::=is this algorithm??? how thus this code work??? vector<char>=how vectors work??? cassert=how thus this work??? back_inserter(setDifference)->i don't know how this code work???

Member Avatar for gujinni
0
270
Member Avatar for Jessurider

i've have developed a project for class students allocation for examination.........the instructions for the project is given in the form itself at the bottom......... i've also added a print option for printing the page that you sees........can anyone tell how to print all the pages...........

Member Avatar for stultuske
0
155
Member Avatar for minitauros

Because using the <base> tag is giving me some problems lately, I'm curious about what the best solution is to use together with mod rewrite. I use mod rewrite a lot, and the <base> tag helps me to keep the links to my css files, for example, working. I link …

Member Avatar for minitauros
0
123
Member Avatar for zifina

I HAVE A PRINT BUTTON IN MAIN FORM. THERE ARE many child forms.when we click the print on the main form, it has to print the details in the form that was open previously (because,when we click the print button,the main form gets focus.So,the form to be printed is actually …

Member Avatar for zifina
0
133
Member Avatar for jdstone550

Can anyone see why the function "option3" isn't calculating the values for pmt and totalRetirement? The program runs, but I get 0's for those values. If I remove the function and place the code directly into the case option, the calculations work. [CODE]#include <iostream> #include <string> #include <cmath> using namespace …

Member Avatar for jdstone550
0
100
Member Avatar for smartness

[QUOTE]Database error in vBulletin 3.6.8: Invalid SQL: UPDATE session SET newposts = newposts+1 WHERE NOT ISNULL(newposts); MySQL Error : Unknown column 'newposts' in 'where clause' Error Number : 1054 Date : Saturday, September 22nd 2007 @ 11:19:12 AM Script : [url]http://gjilaniforum.altervista.org/forumi/newthread.php?do=postthread&f=91[/url] Referrer : [url]http://gjilaniforum.altervista.org/forumi/newthread.php?do=newthread&f=91[/url] IP Address : 82.114.72.186 Username : …

Member Avatar for Miklo_jan
0
239
Member Avatar for arsalanghouri

hello all i am new over here and i have got a project to make sudoku in c++ but i am getting problem to write a code for finding solution for the soduko plz help

Member Avatar for arsalanghouri
0
126
Member Avatar for gujinni

Anybody know how to remove the duplicate characters in turbo c++. the output is like this: enter string1:abc enter string2:bcd result:ad

Member Avatar for theguitarist
0
266
Member Avatar for san-angelo

Hi there, I have joined this forum to ask lots of programming and hardware relevant questions. Well first one is this.... I am a C++ programmer. But I am trying to develop a program(.exe file) that will automatically run when I want to run it. Like I want to run …

Member Avatar for Caligulaminus
0
114
Member Avatar for rhuffman8

I am still relatively new to Python and don't think I'm familiar/comfortable enough with my understanding of the datetime functions... I want to take just the current month from the datetime function so I can use the number to send the string of the month (ex, datetime would give me …

Member Avatar for griswolf
0
201
Member Avatar for Stefano Mtangoo

have planned to write my own light weight MVC for PHP, that will be used as base for my sites I develop. I have no problem with PHP, OOP, et al. I have trouble on how to actually load Models In controllers and use them amd loading Controller values into …

Member Avatar for Stefano Mtangoo
0
399
Member Avatar for zifina

hi all, i have forms with 2 or more tab pages in them. i would like to know how can we open or display "tabpage1", when we click a button "btn"in "tabpage2"... please help me..i need a reply soon.. thanks all..

Member Avatar for zifina
0
94
Member Avatar for roachae

My code is below. Lines that are not indented are debug lines or things I've been trying to get this to work. Basically, the 'filename' hidden input's value is not setting so on submit, the code that checks the $_POST values is returning an error because 'filename' is missing. This …

Member Avatar for roachae
0
120
Member Avatar for emily-bcot

I'm working on the Help system. In the Help system, there is the WYSIWYG Editor to allow users to input content. However, the content includes the text and image. My question is How to store the content of WYSIWYG Editor into database? I really appreciate all your help. Thanks!

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for melfoy

Hey , i am new to data structure and specially Graph . And i was going through a problem for finding the best path [url]http://www.codechef.com/JULY11/problems/LOKBIL/[/url] And couldn't think something usable. SO , if u guys help that will be a good start of me on this site too. PS i …

Member Avatar for alwaysLearning0
0
236
Member Avatar for kagotsky

[B]I have problem when i Run my program .I can't see the results clearly it turns to fast to see, and it goes back to my program. Do you know how to solve this?please...[/B]

Member Avatar for renish khunt
0
171
Member Avatar for bklynman01

I have a training program that is used by MANY different people. I have encountered many formatting issues already (like not allowing initials) but now I have a new one that I'm not sure about. When the code tests the name in the TextBox.Leave function, I can find if there …

Member Avatar for bklynman01
0
160
Member Avatar for Hatem Faheem

Hi, I'm working in a software that has a C# interface and access some C++ code so each button write some data in text files and run the process and read the result from other files (images) So what a button do is like that - Write an image path …

Member Avatar for Hatem Faheem
0
146
Member Avatar for Falcon25

Hi everyone. I'm new(ish) to C# and i've decided to hone my skills in windows forms applications. I've got stuck on this question and would really appreciate some expertise from you guys: [COLOR="Green"][B]"The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of …

Member Avatar for Falcon25
0
232
Member Avatar for msaqib

[HTML][/HTML] [CODE][color=#0000ff]using[/color][color=#000000] System;[/color] [color=#0000ff]using[/color][color=#000000] System.Collections;[/color] [color=#0000ff]using[/color][color=#000000] System.ComponentModel;[/color] [color=#0000ff]using[/color][color=#000000] System.Data;[/color] [color=#0000ff]using[/color][color=#000000] System.Data.OleDb;[/color] [color=#0000ff]using[/color][color=#000000] System.Drawing;[/color] [color=#0000ff]using[/color][color=#000000] System.Web;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.SessionState;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI.WebControls;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI.HtmlControls;[/color] [color=#0000ff]namespace[/color][color=#000000] lms[/color] { [color=#808080]///[/color][color=#808080]<summary> [/color][color=#808080]///[/color][color=#008000] Summary description for inc_search_books. [/color][color=#808080]///[/color][color=#808080]</summary> [/color][color=#0000ff]public[/color] [color=#0000ff]class[/color] inc_search_books : System.Web.UI.Page { [color=#0000ff]protected[/color] System.Web.UI.WebControls.TextBox Q; [color=#0000ff]protected[/color] System.Web.UI.WebControls.Button Button1; [color=#0000ff]protected[/color] System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; [color=#0000ff]protected[/color] System.Web.UI.WebControls.Label …

Member Avatar for deepakjoy
0
2K
Member Avatar for Zedith

Must need coffee or something :/ Cant figure this out. I have a table with following info: [CODE][B] unique_id block_id column_id order_id user_id[/B] 1 block-1 column-2 0 1 32 block-2 column-3 0 7 7 block-1 column-1 0 2 8 block-2 column-2 0 2 10 block-6 column-2 1 1 11 block-7 …

Member Avatar for Zedith
0
244
Member Avatar for doomhades666

How can I add a timer in the listview that minuses 1 second at a time when the button starts click and stops when the stop button is clicked? Then save the remaining time in the database. Please help me in my school project. Thanks in advance. I prof. says …

Member Avatar for doomhades666
0
927
Member Avatar for AngelicOne

I'm having a hard time to send a message to a certain e-mail account. I read that I should setup the PHP.INI at line where SMTP is located, which the default value is localhost. If the SMTP is to the computer itself which is 127.0.0.1 or localhost then the mail …

Member Avatar for NettSite
0
139
Member Avatar for jeanyl

Thus someone know how to solve my problem? I am going to make a program which is set_difference without using predefined functions???

Member Avatar for Narue
0
115
Member Avatar for bibiki

Hey there, I might not be able to accurately describe my problems, but I'll do my best. I am taking these tutorials on adobe website that walks me through building a flex web application. In order to take the tutorials, I needed to previously deploy a war file that sets …

0
243
Member Avatar for ThomoTechnician

Hi. Been trying to make a (basic) social networking site for my school but have had problems with users being able to add themselves as friends. Seems stupid but it is annoying! I have tried using the code: [CODE]<?php if ($_SESSION['MM_Username'] == '****') { ?>[/CODE] But it wont load dynamic …

Member Avatar for ibakir
0
400
Member Avatar for mbarandao

Hello, I'm trying to write a sql statement that would update a record only if a particular row column is empty; else, insert a new record. Is this doable? Currently, I have this update statement: [CODE]//query for additional cars 1 $mysql_query=("UPDATE additional_cars SET clientID='$edit_clientID', registeredstate='$edit_registeredstate', dhtmlgoodies_category='$dhtmlgoodies_categoryupdate', dhtmlgoodies_subcategory='$dhtmlgoodies_subcategoryupdate',caryear='$edit_caryear', servicearea='$lastservice', currentmileage='$edit_currentmileage', todays_date='$date2', …

Member Avatar for mbarandao
0
186
Member Avatar for arvindikchari

Hello, I want to create a software in Java that submits same/similar data to multiple web forms (eg submit link data to link directories). What I want to do is, ask the user initially for the data that is to be submitted, and then go to the web form, open …

Member Avatar for NormR1
0
196
Member Avatar for jacob21

Everthing is working fine but i am not getting emails on my id. Need help [CODE]<?php $to = "sikka.sourav@gmail.com"; $subject = "Contact Form"; // Include extra form fields and/or submitter data? // false = do not include $extra = array( "form_subject" => true, "form_cc" => false, "ip" => true, "user_agent" …

Member Avatar for Shanti C
0
208
Member Avatar for lianpiau

I'm want to join 2 table from access database and Microsoft SQL Server 2008 In microsoft visual studio 2008. Display join data in datagridview.

Member Avatar for yousafc#
0
121
Member Avatar for moni94

Hi. Let's say I have the following method: [CODE] void createNewObject() { MyClass myObject = new MyClass(); } [/CODE] If I call this method 1000 times, how many instances of MyClass will be left in my program's memory by the time all calls have been made? 1000, 1, or 0? …

Member Avatar for JamesCherrill
0
201

The End.