199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sys73r

so I'm new to the language so I've trying to do a vertical bar graph as shown below without luck, so far the only thing i've managed to do is to make it horizontally like this: [CODE] *********** ******* **** ********* **** [/CODE] which i do it by for v …

Member Avatar for sys73r
0
764
Member Avatar for gambit_1607

after typing in the "Your message:" field and clicking the "Send e-mail", my page refreshes and gives me the error message "Your message field is required." it's as if what i'm typing in the message field gets discarded. also if i type something in "Send to:" and "Subject:" fields and …

Member Avatar for almostbob
0
331
Member Avatar for duuude

Hi, I'm trying to use tabbedpanes, my objective is to have a frame split in half( in height). You have the upper tabbed pane, and the lower tabbed pane. Both of them have the same three panels, so the user can choose wether to see panel1 in up and pane2 …

Member Avatar for Anuradha Mandal
0
140
Member Avatar for bhallarahul

Is it possible to run C/C++ program on java platform? if yes? please tell me how can i get the output of the program??

Member Avatar for komyg
0
126
Member Avatar for utthu

Is there a way avoid the appearance of notice msgs in PHP (in the executed page)? If yes, what's the method?

Member Avatar for almostbob
0
107
Member Avatar for apanimesh061

[CODE] function getAjax() { var XmlHttp; //Creating object of XMLHTTP in IE try { XmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { XmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (oc) { XmlHttp = null; } } //Creating object of XMLHTTP in Browers other than IE if (!XmlHttp && typeof …

Member Avatar for diafol
0
149
Member Avatar for FoxInBoots

I have problem completing a program and I would be really really thankful if someone could help me with this . This is my code so far: [CODE]#include <fstream> #include <iostream> #include <conio.h> using namespace std; void registret(void); void lista1(void); void lista2(void); void search(void); void sortering(void); void addcar(void); void sell(void); …

Member Avatar for NathanOliver
0
126
Member Avatar for dwinn

I am trying to download a selected FTP file from an FTP site in ASP.Net and VB.Net. Earlier I was having problems that the box wasnt registering my selection being made, but now it is. However, when I go to download the file I get an error message that says: …

Member Avatar for dwinn
0
1K
Member Avatar for bhawna_5nov

[ICODE] public void actionPerformed(ActionEvent evt) { String arg=evt.getActionCommand(); if(arg.equals("ORDER INFO")) { AppletContext context = getAppletContext(); context.showDocument ("file:///C:/Java/jdk1.6.0_24/bin/Order_info.html", "_blank"); Applet Order_info = context.getApplet("Order_info"); }[/ICODE]

Member Avatar for NormR1
0
164
Member Avatar for PythonNewbie2

Let's say I have a text file with these contents: [CODE] color1 = yellow.$199 * 100 color2 = red.$1 * 22 myNextColor = green.$3 whatsNext = blue.$$ oneMore = orange.$ [/CODE] I need to be able to get an array like this: [CODE]colorsInFile = ["yellow","red","green","blue","orange"][/CODE] In python, the regex for …

Member Avatar for AhmedGhazey
0
165
Member Avatar for kapojian

i have three forms, mainform(which is the "MAIN") log-in and home form. when accessing buttons in the main form to enable it i did this. its property is set to public. [CODE](this.Owner as Main).homebtn.Enabled = true;[/CODE] after logging in homebtn is anabled, when clicked, the home form will show and …

Member Avatar for CsharpChico
0
157
Member Avatar for ppetree

I have 2 tables: Users and Log I want to select ALL users from Users who are not in Log having already received a msg_id matching 'x' What I have so far is this: [CODE] SELECT * FROM users AS USR WHERE USR.user_id=2 NOT IN ( SELECT * FROM msg_log …

Member Avatar for ppetree
0
120
Member Avatar for bhallarahul

[CODE]#include<stdio.h> #include<conio.h> void pass(int); void main() { int a=23; int c; clrscr(); pass(a); printf(" %d ",c); getch(); } void pass( i) { //int i; if(i>40) return 1; else return 0; } [/CODE]

Member Avatar for Narue
0
135
Member Avatar for praveen_dusari

hi, i am developing a website of reading newspapers and magazines..in a page where it shows 6 different newspapers in grid view in horizontal view in tablet, same page when twisted vertically should show only 4 in grid view.... how this can be done...any ideas please Regards, Praveen

Member Avatar for pritaeas
0
118
Member Avatar for srdva59

hi, i need copy a local folders and files to a ftp server for example i call this: copy ( $ftpserver, $user, $password , local path + file ); or copy ( $ftpserver, $user, $password , local path / folders / folder + file ); the script must see all …

Member Avatar for diafol
0
179
Member Avatar for Tigermes

Hello guys, I am using php mail form where visitors contact with the registered site members. Searching for a solution to avoid unwanted spam messages. Is there a way to put in code which deny sending messages from custom mail ids? Thanks in advance. Using this post to great thank …

Member Avatar for diafol
0
420
Member Avatar for CPT

[code="C++"] class item { string name; string identifier; public: item( string name,string id):{this->name=name;this->identifier=id;} friend ostream& operator<<(ostream&, const item&); friend istream& operator>>(istream&, item&); }; ostream& operator<<(ostream& out, const item& temp) { out<<item.name<<" "<<item.identifier<<endl; return out; } istream& operator>>(istream& in, Cmessage& temp) { getline(in,item.name);//in case sring has space char getline(in,item.identifier); return in; …

Member Avatar for mike_2000_17
0
176
Member Avatar for learningcpp

Hi, I know that I can overlaod the operator >> and << and declare it as a friend function in the class for which i am overloading and then write the definition outside of the class. But recently I was writing a string class for myself only to learn and …

Member Avatar for m4ster_r0shi
0
350
Member Avatar for Majestics

[code]ORA-00001: unique constraint (WAJAHAT.INVOICE_UQ) violated[/code] its the exception, i want to match it with condition and take decision , but its not working [code]if(e1.getMessage().equals("ORA-00001: unique constraint (WAJAHAT.INVOICE_UQ) violated"))[/code]

Member Avatar for mKorbel
0
116
Member Avatar for ViRiPuFF

Hi I've written this code (that works) to inserts registration details into an Access 2010 DB from an aspx registration page. How do I check for duplicates Email before inserting a new record into the DB Dim strConn As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\InetPub\WWWRoot\BushHouseGibraltar\Bush.accdb;Persist Security Info=False;" Dim MySQL As String = …

Member Avatar for ViRiPuFF
0
124
Member Avatar for guillem_bcn

hi, i want to alert (javascript dialog) after user clicks the submit button, then process it with php and then show the alert after the body has reloaded (same body after post, just calling the same page. the easy thing to be done, but i'm going mad with it, is …

Member Avatar for guillem_bcn
0
5K
Member Avatar for public-image

Hi Guys! I was wondering if anyone could shed some light on this problem. I recently changed my login forms ugly default submit button to and image. The problem being that the image is submitting the form but I'm not getting the results I hoped for. It isn't logging me …

Member Avatar for Zagga
0
185
Member Avatar for rsandp

sir/ma'am can somebody help me configure Textpad As i want to compile a java file and run it that i have saved in the directory of my choice 1.configure 2.preference 3.select Tools on the left hand side of the preference panel and select the java tools by adding them. after …

Member Avatar for Sadun89
0
337
Member Avatar for ana_1234

Hey, May someone please explain to me why the rename function isn't working? result should display a 0 if the files were sucessfully renamed. it keeps returning a -1. [CODE] #include <iostream> #include <fstream> #include <iomanip> #include <cstdio> using namespace std; int main(int argc, char *argv[]) { bool Stats; char …

Member Avatar for ana_1234
0
269
Member Avatar for RameshKumar.M

Hi, Am getting the below error at the time of running form to save data. Am checking step by step, at that time i found the error occured in the open connection line [Con.Open()]. Am Using MS Access 2007 for Database, format is (Dashboard.accdb). Kindly give any solution to solve …

Member Avatar for RameshKumar.M
0
81
Member Avatar for shailaja mohite

Hi I was created one web application. In which i am using the ajax control asyncfileupload file uploader in update panel. Upload file correctly but when i refresh the page then double this file is uploaded.. how to fix this problem in asp.net? please help me how to postback the …

Member Avatar for crishlay
0
286
Member Avatar for pril

[code]#include <stdio.h> #include <stdlib.h> int main() { int numbers[10] = {12,33,51,1,-1,97,7,23,0,-99}; sort(numbers,10); display(numbers,10); return 0; } void sort(int *numbers, int size) { /* Hop you could help me provide codes to sort the numbers. after calling this function, the numbers array in main should be sorted. hint: use the size …

Member Avatar for Narue
0
172
Member Avatar for Arjun_Sarankulu

I have Following Procedure [CODE] alter PROCEDURE GET_REQUEST_FOR_LEAVE_N_ATTENDANCE @ENAME VARCHAR(100), @FR_DT DATETIME, @TO_DT DATETIME AS BEGIN SET NOCOUNT ON SELECT B.CEMPLOYEE_NAME,A.* FROM TRN_EMPLOYEE_ATTENDANCE_REQUEST A INNER JOIN MST_EMPLOYEE B ON A.EMPLOYEE_ID = B.EMPLOYEE_ID WHERE B.CEMPLOYEE_NAME LIKE '%' + @ENAME + '%' AND ABSENT_DATE BETWEEN @FR_DT AND @TO_DT SELECT B.CEMPLOYEE_NAME,A.* FROM TRN_LEAVE_REQUEST …

Member Avatar for Arjun_Sarankulu
0
105
Member Avatar for dawsonz

Hello I'm currently trying to get my GridView to update all rows at the same time. The gridview takes data from an .XML file - I can use the 'onRowEditing' to update a single row at a time - however I want it to be able to update all rows …

Member Avatar for crishlay
0
102
Member Avatar for mayank.ati

Hi I am trying to get the values from dropdown list but everytime it selects the default value asp code: [CODE]<asp:TemplateField HeaderText="Customer Id" sortexpression="cust_id"> <EditItemTemplate> <asp:DropDownList ID="ddl1" runat ="server" OnLoad="ddl1_load" ></asp:DropDownList> </EditItemTemplate> <ItemTemplate> <asp:Label ID="lblc" runat="server" CssClass="label" Text='<%#Eval("cust_id")%>'></asp:Label> </ItemTemplate> <HeaderStyle BorderStyle="Inset" Font-Bold="True" Font-Underline="True" ForeColor="Teal" /> </asp:TemplateField> [/CODE] code behind: [CODE]Protected …

Member Avatar for dawsonz
0
104
Member Avatar for jollyjain

Below is my javascript validation file which i hv imported in my php form. the problem is the kind of pattern(or function in the javascript file below) i m using in case of name address and username they r validating correctly but they r not including the spaces in the …

Member Avatar for divyakrishnan
0
105
Member Avatar for jemz

Hi, Hello, I apologize if i got the wrong thread to post...can you help me please,where is the forum for learning a cobol language?because i want to learn this language i'm still beginner on this and i have not yet tried to code...Thank you in advance and I'm Hoping for …

Member Avatar for jemz
0
121
Member Avatar for tatarao25

hi all, i am writing store procedure so please send me steps to follow that increase the performance

Member Avatar for tatarao25
0
174
Member Avatar for divyakrishnan

Hi, I am using c#. I have a problem of finding the difference between 2 dates in terms of year,month and day. For example Finding the difference of 2 dates(mm/dd/yy). date1=12/3/2010 date2=3/5/2011 I used the following code [ICODE] int year=date2.Year-date1.Year; int month=date2.Month-date1.Month; int day=date2.Day-date1.Day; [/ICODE] The output I am getting …

Member Avatar for divyakrishnan
0
132
Member Avatar for MARKAND911

Hello friends. I have a webpage (my.aspx). In that page i have some controls inside div tag and some controls outside div tag. Now i want the html source of those controls which are [B]inside[/B] div tag using JAVASCRIPT. How can i do this. I got the code with which …

Member Avatar for crishlay
0
144
Member Avatar for naru vaishnaw
Member Avatar for roXy101208

hi guys, Can you help me. How can I delete the uploaded photo ?? if I click the delete button message box appear and asking if I am sure to delete the photo, if I choose the Ok button the image was still there. How can I remove that?? what …

Member Avatar for crishlay
0
123
Member Avatar for naru vaishnaw

how to view messages with profile image .anyone help me my profile view page [CODE] <?php require("connect.php"); $username=$_SESSION['MM_Username']; $query=mysql_query("SELECT *FROM members WHERE username='$username'"); if(mysql_num_rows($query)==0) die("User not found!!!!"); else { $row=mysql_fetch_assoc($query); $location=$row['avatar']; echo "<img src='$location' width='100' height='100'>"; } ?> [/CODE] My message page [CODE] <?php require "database.php"; $userfinal=$_SESSION['MM_Username']; // get the …

Member Avatar for diafol
0
221
Member Avatar for dawsonz

Hello I'm trying to include a dropdownlist in my gridview and then bind data to that dropdownlist. I have come across an error: [quote] error CS0103: The name 'sortOrderDropDown2' does not exist in the current context at System.Web.Compilation.AssemblyBuilder.Compile() [/quote] Now i'm not sure why I get this error as my …

Member Avatar for crishlay
0
720
Member Avatar for sweetyg

hi friends... i am doing my project and the title is "IMPROVEMENT OF ABC ALGORITHM FOR CLUSTERING".... I am not getting how to start the coding... can any one please help me out how to start the coding... thanks in advance

Member Avatar for Salem
0
91
Member Avatar for Mike516

I have a code that gives me a unix time ie)1277851200 How would i be able to convert that to x minutes x seconds and so on. (real time)

Member Avatar for tech.biztech
0
114
Member Avatar for Celtrix

I'm not known to be a very memory friendly guy but after about 4 hours debugging my lua+sdl in C++ I finally figured out how to use threads but now I have another problem. I apparently have zero knowledge of memory manangement but thats kind of ok so I've narrowed …

Member Avatar for Celtrix
0
252
Member Avatar for jacob21
Member Avatar for divyakrishnan
0
106
Member Avatar for jatpatel1

Hi there, I was wondering if anyone can resolve my problem. Just to give you a heads up. I have a page with many input fields like textboxes, select etc. All these input fields are on one line in a table row. The number of rows depends on the amount …

Member Avatar for Troy III
0
345
Member Avatar for arsenalfun

Hello guys, i need some idea or someone to give me right directions how to make something like this: if user want's to insert a proxy site in database he got to backlink from proxy site to my proxy list. that's made at atproxy and centurian.com/submit.php i hope you can …

Member Avatar for arsenalfun
0
105
Member Avatar for Ritesh_4

Hello Am trying to implement something similar to this page, [url]http://www.k-optisports.ch/fr/optic/team.html[/url], whereby hovering on an image changes it to display the user's details. anyone can pls help me with finding a tutorial or pre-built gallery using such type of effect?

Member Avatar for Ritesh_4
0
99
Member Avatar for gnl74

Dear All, I am working on an existing web application trying to integrate reports. The application was developed with the 2.0 Framework. I converted it to 3.5 since I could not use the ReportViewer with the 2.0. Trouble I get a lot of errors. What can I do? Does anybody …

Member Avatar for gnl74
0
531
Member Avatar for bangla

Hi, I am trying to find out list of employees who have no dept_id. Below code works. [B]select e.emp_id, e.last_name, e.dept_id from employees E where dept_id IS NULL[/B] Below code does not work. i want to rewrite the query using NVL to replace the value by 0. does not work. …

Member Avatar for urtrivedi
0
116
Member Avatar for Evesy

Hi, I recently got a wireless printer which is downstairs and I want to make a program that turns the printer on/off. If anyone knows how I can do this, that would be great. I may be able to do this in C# if necessary. I will post more details …

Member Avatar for debasisdas
0
212
Member Avatar for dhruv_arora

Hey, I created a simple user register script which later stores the data in a mysql database. What I did initially was that a small code would count the number of rows in the database and then automatically increase the variable by 1 to set the user id. For example …

Member Avatar for dhruv_arora
0
286

The End.