199,114 Archived Topics
Remove Filter ![]() | |
hi this is Akash , i need help in adding java code to jsp. i have a class called JTree , which displays a tree structure menu. now i want to include this code in jsp. i am using websphere to design my GUI. i trying this but i am … | |
How to compare a number stored as string to an integer value in shell scripting? Here is what I have, if [$temp -ge 2.5] then; when I run the above code, it gives the error as "Integer Expression expected". Here the temp variable contains the number "3.0" as a string, … | |
I need some direction on how to split up code into a .h header and two .cpp files. [code] #include <iostream> #include <cstring> using namespace std; //function for displaying name void DisplayName(char * Name){ cout<<"Name: "<<Name<<endl; //print name on screen } int main(){ char first_name[50]; //static array for holding first … | |
I am REALLY interested in game development. I have been looking at a lot of 3D software. I don't know whether the more expensive, the better, or if there is a cheap 3D program that still is good. Also, which should I start on, 2D or 3D, or does it … | |
[code]############################################################################ # # # This program seeks out every copy of "starcraft.exe" in the computer # # and deletes them. # # Created by Matt in Python 2.5 May 2007. # # # ############################################################################ import os def file_find(folder): """search for a filename fname starting in folder""" for root, dirs, files … | |
Hi; please check my code i am sure that everything and every statemnt is correct but the output is not true. this code is to show what the array a and b contain also it show their dot product . [CODE] include irvine32.inc .data a byte 1,3,5,7,9 b byte 2,4,6,8,20 … | |
[code] double M2_0(c,m) double c[160]; double m[16][5]; { int n; int s=0; for (n=0; n<16; ++n) { s = s + c[n+16*0]*m[n][0]; } return s; } [/code] can someone help me! error: c and m was not declare in this scope (this is the error in c++ but in c … | |
I have a little question to ask. I need to have an defitinition of what mean Inheritance and to have an example. I have the book of C ++ but do not have any proper expanation | |
Hi, I wish I could solve this on my own but I tried searching and googling but nothing doing. Althought worse comes to worse, I can use Perl to do what I want, but I would prefer having a SQL syntax that can handle it. Problem: 3 columns: username, daily … | |
hi i need to connect the jsp page with database using hibernate framwork how to possible ? can any one have the example or source code for this it's urgent my configration is following hibernate+jsp+netbean5.0+tomacat server+postgreSQL database [COLOR=red][B][U]HELP ME URGENT PLZ[/U][/B][/COLOR] | |
can anyone help me where the cin.get(); should be put? i cant view the final output... it was compiled successfully but i cant view the output when it runs.... #include <iostream> #include <cstdlib> #include <iomanip> using namespace std; typedef int Bool; // converts 0 to 'S', 1 to 'M', etc … | |
Does anyone know which include file is needed for functions; IsLetter (ch) and ToLower(ch) ? Dick | |
Hello I'm just wondering what kind of practice do I need, because I'm ending with C++ and moving to c#. What do I need to be prepared most and what is the hardest part of learning C# from beggining yours sincerely ! thanks :) | |
Hi everybody, Would any-one send me java compiler at <email snipped> ![]() | |
[code=cpp]#include <iostream.h> #include <stdlib.h> #include <conio.h> #include <graphics.h> #include <iomanip.h> int i,emonth,eyr,wday,nwday,pmdays,x,y; unsigned int totaldays; int monthd[]={31,28,31,30,31,30,31,31,30,31,30,31}; char* mname[]={"January","Febraury","March","April","May","June","July","August","september","October","November","December"}; int gm,gd=DETECT,mx,my; char*cp,*yrp; int xp,yp,textw,texth,skey; void display_month(); void monthgraphics(); void monthloop(); void process_date(); void yeargraph(); void yearloop(); /*main starts*/ void main() { char choice='v'; initgraph(&gd,&gm,""); while(choice!='e') { cleardevice(); setcolor(1); rectangle(1,100,639,350); rectangle(4,102,637,348); … | |
I have to make a simple JSP page that takes 2 inputs as file names and then when you hit submit these files a passed to another method that takes 2 file inputs. i just wante to know how to do this in the second page. the first page is … | |
Hi everyone, I'm writing a little app for myself in VB1.0 (I like the language, please don't knock it) and it more or less adds buttons into the top-right corner of whatever window is active, like NVidia does. My problem is that these buttons are on a form. In an … | |
Hi all, I'm a beginner and I tried to write a program to convert celsius into Fahrenheit but i have a problem due to type casting operation. That is even though i explicitly converted an integer to float number I'm getting only integer value . Here's the program : [code]# … | |
I am writting a program which receives args on the command line. Before they can be used however they must be converted to ints. I am using vc++ express edition and I have tried the _strtoi64 function but I cannot get the parameters to this function right. It is specifically … | |
Hi all, Please can u tell me what are the method involved in algorithm transforms? since I am working on DSP algorithms and i want to reduce the complexity which are written in c language so please help me to understand what exactly is the algorithm transform means? please give … | |
hi i've been making a small site in my pc using Visual Web Developer 2005 express edition and everything works. when i upload the project to a server it starts to give some weird errors. some i've already solved, others... the one annoying me rigth now it's this one: [INLINECODE]Compiler … | |
Greetings to everyone!!! I am editing a program in Php 4 generated in a CodeCharge 2.0.5. The last and only task i found trouble with is saving information of a billing statement to the database. I can display the information to the textboxes but i dont know how to create … | |
Hi all , I want to disable a text box when i select a value from drop down list, but im not able to so can u please help me This is my code: [COLOR=#0000ff]Protected[/COLOR] [COLOR=#0000ff]Sub[/COLOR] type_SelectedIndexChanged([COLOR=#0000ff]ByVal[/COLOR] sender [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Object[/COLOR], [COLOR=#0000ff]ByVal[/COLOR] e [COLOR=#0000ff]As[/COLOR] System.EventArgs) [COLOR=#0000ff]Handles[/COLOR] type.SelectedIndexChanged [COLOR=#0000ff]If[/COLOR] type.SelectedItem.Value = [COLOR=#800000]"Income"[/COLOR] … | |
Hi, I have a problem that happens very rarely. I have a calculation which ads (for example) -15000.00 to 15575.51 and saves the results to an oracle database. However, the reslut in the databse is 575.51000002 Both figures are loaded elsewhere from the database and either have 0 or 2 … | |
Hi, I have used the following code to add a new field to a database. Is there a way to stop this field having a Null value but still keep it empty? [CODE] strSQL = "SELECT * FROM cells ORDER BY cell, Proof;" Set db = OpenDatabase(lblDatabase.Caption, False, False) Set … | |
how can i show data into DataGridControl 6.0 by using dao connection method. Note: database is Oracle 8i. plz reply me........................ | |
Hi people, I need an urgent help in this. I have a form where I have created a textbox(disabled) in order to show the Number ID from the access database Auto ID but have a problem here. The newly created table in the database doesn't show any number example like … | |
![]() | Hello, I'm trying to add a JMenuBar to a JFrame and having alot of difficulties with it. I've searched the net and gone through a book I have looking for a solution to the problem, but everywhere tells me I'm doing it right, yet I've no JMenuBar at the top … ![]() |
Hi I have an application in vb which encountes this two errors: cannot find dlllentrypoint:setLayered.window attributes in user32.dll and 2nd runtime error 91: Object variable or block variable not set. when i run it on windows 98 , but it works fine with windows XP.. Can any one please help … | |
Hi.. im a newbie in shell scripting, and also new in this forum.. i understand the command below is just reading from /etc/passwd and getting whatever in field 1 and 3 (which are username and userID) after the cut the format will be username:uid my guess,its making the array with … | |
I graduated high school last year in '06 but unlike a lot of people I know what I want to do for a career move and not sure exactly how to pursue it. In my last 2 years of high school I was enrolled in Cisco Networking Academy I, II, … | |
Hello, I need help. I have been searching the web to try and find to somehow add vbscript in my visual basic application. I'm not sure how to go by doing that. What I'm really trying to do is to use visual basic as a GUI and then use vbscript … | |
Hi whom it may concern How can i write my first java application in windows os? 1)what do I needs to install before start coding? 2)what environment(notepad,wordpad,..)do you offer me to try in? 3)what ever you think may help me to start java programming? [System.out.println("Thankyou so much");] | |
I am writing a program to ssh into another computer on our network. However with the commands ssh, scp etc... terminal requests the password and os.system() seems to open a new terminal window each time it is called. This makes it difficult to enter the password. I have been looking … | |
dear members, I am a diploma student in information technology and I am required to develop a system using visual basic codes.Please advise on the project and also help me with the codes to help in full-filling this requirement. Thank you. | |
I would like to design a search engine what course should I take to start out with? | |
well i need to ask one or two questions on a project i want to work on.for my final year project i want to work on a customer web based interface for a bank with maximum security features.i want to use orace database,php,and macromedia swish max.i wqant to know how … | |
I'm trying to make a simple website as I'm just learning php. But reading through your forums all morning hasent brought me to what I'm looking for. I would liek to make a site with a simple input box to edit the end data of a hyperlink but I would … | |
In my Submit button I have a JavaScript coded that will validate certain textfields.. The problem is if the value in the text field fails I must make away to stop the form from submitting.. any suggestions? I'm using JSF with this Javascript.. and to get a picture of my … | |
Greetings! i need help. Does anyone know how to set record or primary key properties to a text box on a form in VB6 through the code? | |
[I][B]Hi To all,i used progress bar control of 7 array i.e 0 to 7 ProgressBar(PB) with same name pb1 ,but how to write code for each .My code is working if i select 1 PB and there is any other event for pb that i should not click on pb … | |
hi there, i have posted my code...please am seeking help, syntax wise Here's my code , please i do need help myda = [COLOR=green]New[/COLOR] SqlDataAdapter("Select Distinct COUNTRY from FO_TestingLines_TBL order by COUNTRY", ConfigurationSettings.AppSettings("myconnection")) ds = [COLOR=green]New[/COLOR] DataSet() myda.Fill(ds, "AllTables") OPERATOR.Visible = [COLOR=green]True [/COLOR]COUNTRY.DataSource = ds.Tables(0) COUNTRY.DataTextField = ds.Tables(0).Columns("COUNTRY").ColumnName.ToString() COUNTRY.DataValueField = … | |
Hi I am working on some homework and I seem to be in a bit of a bind, I keeping hitting a wall, and I have been reading my book and looking for examples that may help, but I am quite unsuccessful. My Assignment Pull grades and sexes of people … | |
Hello, I am doing a homework assignment and need a bit of help. I have to overload the prefix ++, postfix ++ operator, and the = operator for a circle class. Heres the code I have so far: [code] #include<iostream> using namespace std; class Circle { public: Circle(); Circle(int n); … | |
![]() | Hi, I am designing a puzzle game and I am trying to use the data that comes back from "getLocation()". It tells me the x, y co-ordinates of a button on the screen but so far I cannot export the x, y data to a String or int. There is … ![]() |
hello everyone! :))) i am new here and i am really happy that i found such a useful forum. my problem is that i need some help for a project on c++. i have to do a problem (it can be mathematical) which must include classes,list,polymorfisym; hmm i think only … | |
Hi , i have some elements in one form(sample.jsp).I want to insert that fields into database.But i know abt, the insertion of form values in to the database using next page(next page contains database connection) .But i don't know how do write the database connection within the same page(sample.jsp). Anyone … | |
hello! i have 3 textfields: one for the arrival date, the 2nd is fordeparture date, last is for the number of nights. both dates are picked in a datepicker calendar popup. would it be possible to display the difference between the two dates automatically right after selecting a departure date? … |
The End.