199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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?? | |
Is there a way avoid the appearance of notice msgs in PHP (in the executed page)? If yes, what's the method? | |
[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 … ![]() | |
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); … | |
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: … | |
[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] | |
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 … | |
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 … | |
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 … | |
[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] | |
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 | |
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 … ![]() | |
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 … ![]() | |
[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; … | |
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 … | |
[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] | |
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 = … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hi all, i am writing store procedure so please send me steps to follow that increase the performance | |
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 … | |
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 … | |
| |
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 … | |
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 … ![]() | |
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 … | |
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 | |
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) | |
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 … | |
I want to print a particular <td> only in php/javascript need suggestions | |
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 … | |
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 … | |
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? | |
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 … | |
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. … | |
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 … | |
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 … |
The End.