199,114 Archived Topics
Remove Filter ![]() | |
In the following code i am able to change the case of my entered text with each entry of letters.. can you tell how do i dynamically display its length as well without using ajex.. [CODE]<html> <head> <script type="text/javascript"> function length(x) { var y=document.getElementById(x).value document.getElementById(x).value=y.toUpperCase() } </script> </head> <body> Enter … | |
This is where netbeans is putting my class files. How do I get the apache tomecat 4.0 and JSP page to find these classes? C:\myjspapp\creditcardProject\creditcardProject\creditcardProject\build\classes\creditcardproject | |
when i, [code] g++ -c Serdar.cc [/code] compiler says: [code] Serdar.cc:3: error: semicolon missing after declaration of `Serdar' Serdar.cc:4: error: ISO C++ forbids defining types within return type Serdar.cc:4: error: two or more data types in declaration of `SetValue' Serdar.cc:4: error: prototype for `Serdar Serdar::SetValue(const int&)' does not match any … ![]() | |
I am started a new with VB6 Access project. I am connected database with ADODB, DSN Method that Code Given below. '================In module ============== '============ Connection With Database =============== '============================================= Public CNN As New ADODB.Connection Public RS As New ADODB.Recordset Public cString As String Public Sub Main() Set CNN = … | |
Hi ... I am totally new to vb programming.I have to do something like this for this i am not having any idea,kindly help me. I have two excel files-- file one has data like thi--- 601A 600 580 780 48 300 33 601B 600 580 780 48 300 601C … | |
I ran the program in Xcode with Java Tools: [code=cpluslus] #include <iostream> using namespace std; main() { int employeeid; int hoursworked; float hourlyrate, grosspay, taxamount, netpay; float const TAXRATE = 0.10; cout << "ENTER THE EMPLOYEE ID: "; cin >> employeeid; cout << "ENTER THE HOURS WORKED: "; cin >> … | |
I have a backup utility that copies all files and folder into a backup area This can take some time as the files take up 92Mb over a 1Mbps Data Link I have added multi-threading to the utility so that the copy can be aborted and so the GUI keeps … | |
Hi! I am trying to write a procedure which extracts data from 2 tables named partymst and challan. [B]Fields in Grfile[/B] 1) Grno 2) Name [B]Fields in Challan[/B] 1)Grno 2)Chno 3)Chdate [B][U]Data in GrfileB] CustID Grno Name 1 123 a 1 345 b 1 456 c 2 123 d 3 … | |
Hi All, I have to do a validation on date in my form. I get a string of the format "dd/mm/yyyy" in my form. now i have to check that this date should be of the past including the present week(for eg. if I add the entry on 04/09/2007 then … | |
Can anyone give me a place to read up on these or possibly an outline of one? I need to register an IP and then collect data from the device. | |
[CODE=C]#include <stdio.h> int main() { float f=0.0f; int i; for(i=0;i<10;i++) f = f + 0.1f; if(f == 1.0f) printf("f is 1.0 \n"); else printf("f is NOT 1.0\n"); return 0; }[/CODE] | |
I'm sending an HttpWebRequest to a BizTalk server. BizTalk receives and asyncronously processes correctly, but I never receive an http response. The last statement in the snippet below is where my code hangs. This same code works in my DEV environment - I get the repsonse almost instantly. IIS appears … | |
I am trying to calculate the date of easter in the years 1900-2099 ,inclusive.And a,b,c,d,e variables are defined as in program and the date of easter is March 22+d+e(which may be in april),except in the years 1954,1981,2049 and 2076 when easter is one week earlier than the formula given. From … | |
I have a Table with a 'Dates' Field as the primary key and 20 other Fields of Integer Type. This is the Master Table with 9 other Detail Tables all with a 'Dates' key field. I have a form to view all this and it works fine. My problem is … | |
Hi guys. I was messing with Threading and stuff, and i have reached a point where i'm not sure what's causing the current behavior. Here's the code: [code][COLOR=green][LIST=1] [*]Public Class Form1 [*] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click [*] Dim nt As New newThread(Me) … | |
[code] typedef map<string, Attr_info, less<string> > AttrMap; [/code] i do not know what "map<", less and ">" represents? What I little understood from the code is AttrMap is a collection of Attr_infos. If so how can i add a Attr_info into AttrMap? could u plz help? thanx | |
Hi everyone This is my first post so please help me out !! ;) I am writting an application in VB.NET to print orders. The orders are shown on screen in a listview and the user can select individual orders/range of orders to print. This Access query looks like: [code]PARAMETERS … | |
Kindly let me know Code for (a) Checking whether a number is a prime number or not, (b) to generate the first 10 prime numbers, (c) finding HCF of 3 numbers in C++ and a programme to print the first n number in the fibonacii series. An early reply from … | |
I have a binary data block(a byte), and I want to convert it to decimal. Is there any inbuilt function to do that. | |
Hi, hoping someone might be able to help us with this one as we're well & truly stumped... we have a site that uses PHP to authenticate users against a database and allow access if the login details are correct. We then have a script on each page to make … | |
Hi, I have a report desigend in Crystal Report 11. The report has 2 sections which is divided in between by a simple dark line. The report's left side has the fields of TABLE A and will be used to show records from TABLE A only. And the report's right … | |
how to tell more than one include folders to the compiler Makefile : [code] CC = gcc CFLAGS = -I../include HVFUTILCFLAGS = -I/home/empress/HamVeriFeeder/hvfutil/include/ all: HVFE.o RdbMapping.o BUFR_Encoder.o clean: rm -f BUFR_Encoder.o HVFE.o RdbMapping.o ../lib/libhvfe.a *.bufr *.dat BUFRENCODER_CFLAGS = $(CFLAGS) $(HVFUTILCFLAGS) BUFR_Encoder: BUFR_Encoder.o $(CC) -g -c BUFR_Encoder.c $(BUFRENCODER_CFLAGS) HVFE: HVFE.o $(CC) … | |
[code] CC = gcc CFLAGS = -I ../include/ LD = gcc EmpCC = empcc HVFUTILLDFLAGS = -L/home/empress/HamVeriFeeder/hvfutil/lib -lhvfutil all: BUFR_Decoder.o HVFD.o BUFR_Printer.o clean: rm -f BUFR_Decoder.o HVFD.o BUFR_Printer.o ../lib/libhvfd.a ../bin/BUFR_Printer BUFR_Decoder: BUFR_Decoder.o $(CC) -g -c BUFR_Decoder.c $(CFLAGS) HVFD: HVFD.o $(CC) -g -c HVFD.c $(CFLAGS) BUFR_Printer: BUFR_Printer.o ../bin/BUFR_Printer $(CC) -g -c … | |
I'm a school guy from Sri Lanka.Still im not following any course.I'm very interesting in doing programming with VB6 and using some books referenced VB6 .I'm a apprentice. My question is * How to disable the Close Button? *Can we have links with external softweres like WinZip etc through VB6?If … | |
I'm wondering how I would be able to tell if an integer is even or odd, I know that if the least significant bit is 1 then it is odd but I don't know how to tell if the integer has this bit as a 1 or a 0. | |
[6 #include <stdio.h> 7 int main () 8 /* Declare and initialize variables. */ 9 int number1 = 4, number2 = 7, sum; 10 /* Calculate sum. */ 11 sum = numberl + number2; 12 /* Print the sum. */ 13 printf("The sum is */.d \n", sum); 14 /* Exit … | |
hi all, Very new this forum. i am using MSSQL 2005 and i want to create a backup script for a table [create and insert statements] without using mssql datapublishing wizard 2005. is it possible?? how can i do it Best Regard | |
Hello I am at a work computer (firewall) I need to add to the CLASSPATH and the PATH to use apache tomcat. Though I know this addition won't disrupt anything I do not have a administrative password. Is there a way to add to these enviornmental system variables? DOS maybe? | |
Hello there, do you have any idea of what is the corresponding standard lib function of Win32's WideCharToMultiByte()? Thanks! | |
[code] <form action="interface.jsp" method="post"> <input type="text" name="accttxtbox" value="Enter Account number"> <% if(request.getParameter("createacct" != null)){%> <jsp:useBean id= "creditCardBean" class = "creditcardproject.CreditCard"/> <%long AccountNo=getNewAccount()%> <%accttxtbox.value(AccountNo)%> <% double CreditLimit =creditCardBean.CreditLimit %> <% double TotalCharges =creditCardBean.TotalCharges %> <% double TotalPayments =creditCardBean.TotalPayments %> <tr><th>Account</th><th>CreditLimit</th><th>TotalCharges</th><th>TotalPayments</th></tr> <tr> <td><%= AccountNo %></td> <td><%= CreditLimit %></td> <td><%= TotalCharges %></td> <td><%= … | |
[B]This class was given to me. I need to work with JSP. Am I correct in thinking that I need to make the methods setters and getters for each method I need data from. And if so could you give me an example of one? Lets say I needed to … | |
Hi, I would like to know how to create variables like booleans When you type a boolean command it look like this Dim Boo as Boolean Boo = True False and then you select one Can this style of preset entries be done for Other Custom Variables i.e. Dim Height … | |
Hey guys, Just got started on this, and I keep getting an error saying Missing ";" before "." starting at line 25 and pretty much on all of my functino calls in main. Anyone know what I'm doing wrong? Here's my code: //driver - main #include "prob6.h" int main ( … | |
Hi, im having trouble with a code, it doesnt do what its supposed, theres something wrong with it but i cant find what, maybe you could help me find the problem and fix it. heres the code: public static byte[] runlengthencoding(byte[] m) { byte[] copia = new byte[m.length+9999999]; for(int w … | |
Dear Friends,, i want to download a pdf file from any server since i have url of a pdf file then i convert it in html format. i am working in PHP and enviorment is linux. Pleas help me for this script i am much upset due to this With … | |
hello friends, I'm doing a project with JSP, MySQL and Tomcat. I need a code to calculate the execution of a JSP page. Its V.V.V.Urgenttt... plzzz help mee out | |
Hi all, newbie here but I've got a question and HOPEFULLY someone can assist me here. I'm getting an error that says its on the LAST LINE of my code. Here's the error: [quote]Parse error: syntax error, unexpected ';' in /home/editedreg.php on line 113[/quote] Now here's the final lines of … | |
[code] <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <context-param> <param-name>webmaster</param-name> <param-value>webmaster@myeducationonline.com</param-value> </context-param> <context-param> <param-name>jdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </context-param> <context-param> <param-name>dbURL</param-name> <param-value>jdbc.odbc.clientDB</param-value> </context-param> <session-config> <session-timeout>30</session-timeout> </session-config> <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list> </web-app> [/code] so this file as to be put in my "workspace" where my projects are ? | |
I created this thread to have a common place to discuss these issues. GTK is a cross-platform non-commercial graphical user interface for C, now there are these snippets here using GTK [url]http://www.daniweb.com/code/snippet744.html[/url] and [url]http://www.daniweb.com/code/snippet737.html[/url] but i hope that there would be more :) Maybe the best howto is this [url]http://www.ibiblio.org/apollo/WinGtkHowto.html[/url] … | |
You really do not have to open the netbeans project. However you can. Does anyone know why when I comple the jsp's can not find the bean because the class file is in the build/classes file and not the src file. Does it not need to be there? Or I … | |
hi every one I have lots of excel tables which I need to fech specific data from them and show it on my form so that the user can choose them and I need to record the user's choices in one excel file. how do u think I should explore … | |
var a = document.createElement('a'); a.appendChild(dynval); a.href='javascript:void(0)' a.onclick=bindme(dynval) td.appendChild(a) row.appendChild(td) function bindme(bval){ temp=bval return function(){ alert(temp) } } The above code is not complete.... the problem is i am generating dynamic rows inside table's tbody. and i split the rows in to client side pages where each page may display 5 … | |
How to solve stack over flow? In my application no recursive function call. It is a [B]J2EE application (web)[/B] In the application one Applet is calling. This applet having many pages and many records, and the records arranged in different pages. While going to next page it taking too much … | |
depython [[url]http://www.depython.net[/url] depython online service] could decompile python bytecodes. Depython online service supports Python versions from 2.4 up to 2.5.You can freely test its function online. | |
Hi, how do I print a string such that only a section of it gets printed, without printing it character by character? I thought of pointer arithmetic, but that will only change the starting point of the string for you. What I want to do is to print from start … | |
hello someone there could have met a similar problem. please help me out Am using this commant to save data to an sql server database. me.validate() me.bindingsource.endedit() me.tableadapter.update(me.dataset.datatable) but when i click the save button on my winform it brings an error "System.Data.DBConcurrencyException: ConcurrencyViolation: The UpdateCommand affected 0 of the … | |
Hi Friends. I am using javascript to display timer in my .aspx page..I also use javascript to do validations in that page.when i alert the user with a message.i.e when alert function is called,the timer stops and becomes idle.Again when i click the ok button of the message box that … | |
Hello! How can it be done? I've the two things installed, but in order to get help about anything within the VC++ I must manually open the MSDN Library. Pushing the F1 button on a needed function to get help for it is much more comfortable... Respectfully, Alex | |
I'm trying to calculate sin(x) without using #include <math.h> i need to use Maclaurin Series to calculate sin(x) with recursive process. thanks | |
could u plz give 4 little files-sample (c and c++ code and header files) which shows how to call c++ class public member function. thanx. |
The End.