199,124 Archived Topics
Remove Filter ![]() | |
Hi everyone, I've written a test program, and I need help limiting the amount of characters a user enters in a char. I want it so that that maximum amount of characters is 1, and if they enter more than 1, it will display a message. Here's my code: [CODE]#include … | |
Hay everyone, first time poster. I am designing a program in Visual C++ 2008 Express Edition and i need the following code It is a console app. I need code to beable to create a directory on drive C. I also need some info about how to copy the programs … | |
i have two text boxes with the id as first and second respectively.In javascript i took the values using [code] var first=document.getElementbyId("first").value. var second=document.getElementbyId("second").value. var sum=first+second; [/code] But the problem is when i alert the sum i got the result as concatenated.i didn't get the original sum.I also tried it … | |
HI, i want to generate html file from xml and xslt documnet using java...pls,,, | |
I have a very large MS Access database with over 80 tables and 15 queries. My problem is I can get the data that's in the tables to show and load, but I can't add any new records and get them to save in the database, using the DataBase Wizard … | |
Hi, Being someone who is now working with C++ but initially started with Java, I am experiencing some problems seperating my classes from the main file. So I want to seperate the following simple class into it's own standalone C++ file so I can use it with multiple programs: #include … | |
Hello, I need detailed examples of how to create a pdf from jsp. On the jps page there will be a print button and when clicked the same jsp will pop up as a pdf to print. How do you include this behind the print button.... Using ireport Someone said … | |
I am helping a friend make a site using FrontPage 2002. He wants to have on his home page at the top 3 slideshows next to each other and changing at same time automatically. I am not familiar with javascript but (with the help of some of the wonderful tutorials … | |
I don't know if this is the best section to ( ask questions ). So, excuse me. It's my first topic anyway, and I couldn't find any other section to ask for help. I believe you don't need any explanation about my problem, but here it is anyway: E.g : … | |
Ok, I have this code as an ex.: [code] Private Sub Command1_Click() Dim L As Long, L1 L = Label1.UBound L1 = L + 1 Load Label1(L1) Label1(L1).Move Label1(L).Left + Label1(L).Width Label1(L1).Visible = True End Sub [/code] If I press the button two times, it will make two copies of … | |
Hello all, I want to make an application just like Notepad. Write text, save them, open them and thats it. Is there any tutorial for it? Thanks | |
I have a DHTML ajax pop up that I would like to have centered in the page as it is currently left justified. Also, I would like it to only show the first time a user views the page. Here is the code: [CODE] <script type='text/javascript'> // Browser safe opacity … | |
hi friends, I want to calculate the amount of heap memory at runtime at any point in the program. how do I do this?? do we have a function for it. Thanks, himanshu k. symbian application developer | |
Hi everyone, I have a tiny problem here but just cant handle it, since I'm new to VB6.. I want to put a code into a module which contains a lot of lines with same objects. I have an idea of relating those objects with variables, so instead of, for … | |
Hi all! I have made a page with an input "file" field for the user to be able to upload an image. I have made an php script that takes care of the checking of the file and saves it to the server. The problem is that the browser caches … | |
Hello, Attempting to create a progress bar for awt-based application. I'm trying use a thread to do some simple animation to give the appearance that a frame (the progress bar) is incrementing. However, frame will not paint immediately. Here's the code: [CODE] import java.awt.*; /** * * @author user */ … | |
import javax.servlet.*; import javax.servlet.http.*; these servlet package does not exist, any idea [QUOTE] import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class EmployeeDetails extends HttpServlet{ static int i; Connection con; PrintWriter out; ResultSet rs; public void ini(){ i=0; con=null; out=null; rs=null; } public void doGet(HttpservletRequest request, HttpServletResponse respose) throws … | |
just wanting to know how to implement any background like a picture or something into python programs, i think i can only use .bmp but yeah thanks | |
Hello, All: I have a php enabled site, and as of late it's been doing the strangest thing, when I make any changes to any of the pages residing under the main html site folder, they seem to take forever to upload (be it pages or images); but if I … | |
The following is giving output as follows String:Astro.cfg Fail If buff is Astro.cfg, it has to give success output, but it is giving fail. I want to print Success.. Please guide me regarding this pointer usage.. [code] #include<iostream> using namespace std; int main() { char arr[]="Asto.cfg"; char *buff=&arr[0]; printf("String:%s",buff); if(buff=="Asto.cfg") … | |
Hi I have 12 comboboxes for data entry. Everytime I type in some input in the form, it gets stored in the Access Database. Every time my form loads, it picks up all distinct values from the database and fills the combo box. But there are several repeated values because … | |
hihi.. how can i upload a folder to the FTP Server instead of uploading file by file. ??? ocw | |
[B]- I try here to close the XAConnection and XASession session.close() connection .close() - but the server shows me this Exception:[/B] 2008-07-18 09:30:14,093 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE java.net.SocketException: Socket closed at java.net.SocketInputStream.read(SocketInputStream.java:162) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2376) at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2443) at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2515) at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2664) at … | |
Hello friends, when iam working on mysql server 4.1 the power suddenly went off. and when i restarted the mysql the mysql service is not starting and the error [B]"#2003 - The server is not responding"[/B] is comming can any one please help me to get back the database please. … | |
Hello, Presently I'm working on a web form and I want to put a table in it with rounded edges. Can anyone suggest a way about how to do that? I don't want to use images for that purpose(like getting the four edge images with the same background color etc. … | |
Hi, I've designed a site in Dreamweaver (HTML). I have a form and included a submit button. It's very simple, but I need to get it to e-mail to an address and thank someone for submitting their information. Please can someone help me. So far my form looks like this. … | |
i am trying to set up this db and i am getting a parse error which it says it is on line 24 i cannot see the error. help need [CODE]$sql="CREATE TABLE IF NOT EXISTS `merc_users` ( `****` int not null, `******` varchar (250) not null, `*****` varchar(250) not null, … | |
I am not sure how to ask the question, but here goes. I have a multiline survey storing data about a specific project. I want to store the data in the following fields: proj_id strat_issue strat_goal strat_obj strat_value here is an example of my code [code=html]<form action="strat_survey.cfm?update=gogo" method="post"> <table width="90%" … | |
Hi everyone, I want to make a website that would nave a verified through email members with their photos and profiles to view by verified members (just like on this site) according to their profile they would be automatically going in different lists like people NY, VA, MA would be … | |
hi everyone, iam working on project in which there are many features like forums,chat,image gallery etc i did'nt get idea on how to develop video gallery. is it the same way as image gallery or different? any help is greately appreciated thank u in advance | |
Hi there I just need some clarification on how time is seen in PHP 1000 would equal 1 sec ? and therefore 60 000 would equal 1 minute right ? and 1 hour would be 3 600 000 ? I somehow think I'm wrong. | |
Hi, I have made a webpage with 3 divs and have put images / text on these pages which can be dragged. I want to limit the area in which the user can drag the text. The user will be allowed to drag the text from the left div to … | |
Friends can i return a list or a map from a function??? | |
Hi, How can add 4 rows and 6 columns into MsFlexGrid1 with Command_click event in VB6? Thanks | |
I do not clearly understand this concept of scripting. May someone please explain this to me and give me some applications of scripting. I have seen some examples of scripts but I am trying to really see what can be achieved through scripting. I hope am not jumpig the gun … | |
can any one help me in getting the categories like this means i want the categories side by side like in this image [ATTACH]6677[/ATTACH] by providing the code, Rakesh Nagekar | |
hi all, iam trying to retrieve video file from database bit its nat working here is my code[CODE]<? include_once('functions.php'); include_once('conn.php'); if(!empty($_GET['pid'])) { $pqry="SELECT * FROM vdo_cat where c_id='".$_GET['pid']."'"; $pres=mysql_query($pqry) or die(mysql_error()); $prow=mysql_fetch_array($pres); $len=strrpos($prow['videos'],'.'); $vtype=substr($prow['videos'],$len+1,5); $vname=($prow['videos']); if(isset($vtype)) { ?> <link href="site.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- body { margin-left: 0px; … | |
hi i have a application where the user will post article in textarea.....i want to include some editor instead of text area.plese do tell me how to do tat thnks | |
hi all I Have created an application in php. and in that i want to delete a particular row when the client checks the checkbox the same thing i done in asp but php its not working plz anybody can help me... | |
The problem I need to solve is: create a multitude of Stacks with different types of data. And what makes it difficult for me is the following: In the multitude there should be all sorts of data stacks. Would it be stacks with integers, chars, objects from user defined classes … | |
i need help with login mechanism, i have this application that i am trying to add a login form but i dont know how to authenticate the username and password.. i need to learn how to send the username and password to the database and when the user logs in … | |
Hi, i need to display a query result in textbox. can you please show me how to do this, here is the query: Dim CouponDes As String = Convert.ToString(Me.cboDescription.SelectedValue) Dim sql As String = "select Code from QueAns where Description = '" + CouponDes thanks | |
hi [COLOR="Green"]below the coding i not opened the popup window [/COLOR] Code: [code] <html> <head> <script language="JavaScript"> window.open('test.htm','myExample9','width=200,height=200'); } </script> </head> <body> <form action="test.htm" target="myExample9"> <input type="submit" value="Open new window"> </form> </body> </html> [/code] | |
Hi all, i am facing a problem to display image in IE 7.0 which are coming from my database (SQLSEREVER2005). for displaying image i am using folloeing code. [code=asp.net]Public Sub DataImage() Connstring = ConfigurationManager.ConnectionStrings("TestingConnectionString").ConnectionString 'Conn = New SqlConnection(ConfigurationManager.AppSettings("conn_string")) Conn = New SqlConnection(Connstring) If Conn.State = ConnectionState.Closed Then Conn.Open() i = … | |
I am trying to get quite a large number 0.00012354684 to X required decimal places. Using <iomanip> and setprecision() but I cant seem to get it to work. Could someone please give me a small example. Thankyou, Regards X | |
Hi friends I need some help from VB and Oracle guru's. I am trying to create a dynamic table from VB 6.0 in Oracle (mean I want to create a table whose name is dynamic issue) For this purpose I code as follow and get error table name is not … | |
![]() | Hopefully this will be an easy one for someone. I am trying to write a SELECT statement that pulls the row with the least time for each Special Number. Example data would be: Time Special Number 3:25:00 1 3:26:00 1 3:25:30 2 3:26:30 2 The expected output would be: 3:25:00 … |
i write the code for register but its not working can u please check the code please [ATTACH]6674[/ATTACH] please tell the solution for this the data is not inserting in database(Mysql) Thank you Rakesh Nagekar | |
Hi All i have java question for you guys. How can i add columns by click the button. i want my program keep adding columns whenever user click the button. any help. Thank you |
The End.