199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Wiki_Tiki

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 …

Member Avatar for Ancient Dragon
0
129
Member Avatar for DS_sniper

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 …

Member Avatar for DS_sniper
0
93
Member Avatar for rejisha

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 …

Member Avatar for ~s.o.s~
0
159
Member Avatar for annuw

HI, i want to generate html file from xml and xslt documnet using java...pls,,,

Member Avatar for annuw
0
75
Member Avatar for SolTec

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 …

Member Avatar for hepatit_h
0
76
Member Avatar for bleh1318

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 …

Member Avatar for ArkM
0
110
Member Avatar for sbuggle

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 …

Member Avatar for peter_budo
0
97
Member Avatar for FCrivello

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 …

Member Avatar for FCrivello
0
152
Member Avatar for shab.s3udi

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 : …

Member Avatar for shab.s3udi
0
75
Member Avatar for deftones

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 …

Member Avatar for deftones
0
84
Member Avatar for farooqaaa

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

Member Avatar for farooqaaa
0
151
Member Avatar for foundsheep

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 …

Member Avatar for Troy III
0
129
Member Avatar for himsymcpp

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

Member Avatar for ArkM
0
2K
Member Avatar for deftones

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 …

Member Avatar for selvaganapathy
0
105
Member Avatar for marcux

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 …

Member Avatar for buddylee17
0
92
Member Avatar for wrappingduke

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 */ …

Member Avatar for wrappingduke
0
128
Member Avatar for tactfulsaint

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 …

Member Avatar for ChaseVoid
0
149
Member Avatar for MikeyFTW

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

Member Avatar for ZZucker
0
119
Member Avatar for websurfer

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 …

Member Avatar for websurfer
0
89
Member Avatar for ambarisha.kn

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") …

Member Avatar for CoolGamer48
0
86
Member Avatar for kavithabhaskar

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 …

Member Avatar for kavithabhaskar
0
88
Member Avatar for ocw

hihi.. how can i upload a folder to the FTP Server instead of uploading file by file. ??? ocw

Member Avatar for inf4mi5
0
126
Member Avatar for amjad277

[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 …

Member Avatar for amjad277
0
168
Member Avatar for Rakesh Nagekar

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. …

Member Avatar for trudge
0
81
Member Avatar for Shihabudheen
Member Avatar for IamOnCloudNine

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. …

Member Avatar for IamOnCloudNine
0
89
Member Avatar for heath_spence

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. …

Member Avatar for heath_spence
0
153
Member Avatar for kevin wood

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, …

Member Avatar for nav33n
0
232
Member Avatar for berlindeb

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%" …

Member Avatar for soolmaan
0
97
Member Avatar for Erik

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 …

Member Avatar for soolmaan
0
420
Member Avatar for praveen_dusari

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

Member Avatar for praveen_dusari
0
86
Member Avatar for Venom Rush

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.

Member Avatar for Venom Rush
0
104
Member Avatar for himi

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 …

Member Avatar for digital-ether
0
97
Member Avatar for sangham
Member Avatar for veledrom
Member Avatar for veledrom
0
475
Member Avatar for andrew13d

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 …

Member Avatar for Shanti C
0
101
Member Avatar for Rakesh Nagekar

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

Member Avatar for Shanti C
0
85
Member Avatar for praveen_dusari

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; …

Member Avatar for Shanti C
0
77
Member Avatar for lydia21

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

Member Avatar for lydia21
0
213
Member Avatar for jithusdani

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...

Member Avatar for praveen_dusari
0
85
Member Avatar for simeon.andreev

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 …

Member Avatar for simeon.andreev
0
121
Member Avatar for tactfulsaint

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 …

Member Avatar for tactfulsaint
0
92
Member Avatar for sam1

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

Member Avatar for sam1
0
98
Member Avatar for psathish2

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]

Member Avatar for psathish2
0
146
Member Avatar for Lokesh.snghl

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 = …

Member Avatar for Lokesh.snghl
0
119
Member Avatar for OmniX

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

Member Avatar for Nick Evan
0
116
Member Avatar for lIGhT4umEnAll

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 …

Member Avatar for manoshailu
0
151
Member Avatar for dmmckelv

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 …

Member Avatar for wujtehacjusz
0
99
Member Avatar for Rakesh Nagekar

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

Member Avatar for Rakesh Nagekar
0
83
Member Avatar for codered152

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

Member Avatar for vidaj
0
83

The End.