199,113 Archived Topics
Remove Filter ![]() | |
how to retain the values of radio buttons back from databese? for example, if user provided with 3 options (red, blue & green) if a user selected green(the value is stored in database) then next time he/she returning to the same page, previously selected option green radio button need to … | |
I currently have strings that are all the same throughout my classes, I was just wondering how I could make the value of the strings pass from the main class to the rest of the classes. My reasons being that I am wanting to create a property file and have … | |
Hi; I am new to VB.net and am developing a memory quiz. The quiz contains more than 100 questions imported from access 2002 db. For the learning process, I need to run the game again and again. At the moment, I can't randomize the question order, I am getting the … | |
I am a complete newbie to ColdFusion and Flex. There was a Flex and Coldfusion developer in our project who left so that work has come to me. My programming background is mainly in C,C++, UNIFACE, PL/SQL with some HTML, JavaScript. I have a couple of questions and would appreciate … | |
Hi all, I'm just starting to dabble in databases and I'm a little lost. I have a couple of questions: I have two excel spreadsheets containing employee records & equipment records respectively. For MS Access, I simply import these spreadsheets into MS Access. Is this the way to do it … | |
Ok, this question probably has been asked quite a number of times, but I am fairly new to this technology and am not sure of what I should search for. So, if someone could either point me to a link where it has already been answered or provide the answer … | |
Please tell me how to check the version of the JDK of the java installed .... I wanna knw the version of the JDK which is the version of my code. NOT the version of JRE! | |
I'm currently re-writing a bit of code and i'm in two minds about which way to take it. Advice would be greatly appreciated :) The application is used to control a USB circuit board. The board has 32 analog outputs. The outputs are switched on and off by sending a … | |
I started an introductory Programming Course in High School, and right now we're doing Visual Basic. (We're learning about For Loops :/) I find the course far too easy and I can do 90% of the work of a single unit in one class. I would like to get ahead … | |
I have a problem with creating this database. I want to create the student record system. I have a table containing Individual information and using of ID as primary key. For registering grades I use another table for grades. But here is the problem. Here we have 6 or more … | |
Hi Guys Past few days i added an ASP membership database which uses the Visual studio controller's (Login, Creat user Wizerd, Password recovery), it was working fine until yesterday, now i cant log in with any user i've created, but i can create new user or recieve/recover password. I checked … | |
![]() | Hi, I'm starting to learn Ajax after playing around with JSP and Javascript, I felt the need for interaction without reloading the page. I've searched everywhere for a simple java servlet/ajax example that I can play around with but just found a lot of asp and complex java examples. Could … ![]() |
I want to insert multiple rows in a database table, from an submit form. But not able to trouble shoot the problem in my code. Following is the code which is not inserting any row in the database. [CODE]<form action=test_insert.php method="post"> <table> <?php for($i=0; $i<10; $i++) { ?> <tr> <td><input … | |
Hai, I had developed a web site. In that website I need to add a facility to check for the domain name availability. I am a PHP programmer. I need to check for .com, .net, .info, .co.in only. Please help me how to do this. Thanks Rajeesh | |
Hi, i'm trying to focus the cursor on a textbox inside one of my tab controls (3 tabs) but my method doesn't seem to work...Any ideas? Here is my code: [CODE]private void Maintenance_Load(object sender, EventArgs e) { tabControl1.Focus(); tabControl1.SelectedIndex = 0; txt_CLName.Focus(); }[/CODE] | |
Hello all, I'm trying to add a multiple JTextFields onto a single JPanel that has been already initialized thanks to the Design tool from the JFrame. I'm pretty sure that I already added them and I'm not getting any errors but they aren't showing up when I execute the program. … | |
I am trying to create a page where it will look the same if the screen is resolution 1024 x 768 or if the screen is resolution 800 x 600. The below finds the resolution but the page looks different depending on the resolution. Please advise how I can make … | |
Hi All, I have a C++ program( using VC++6.0 with MFC) which calls another C++ .exe and performs some actions on it. The problem I am facing is that I get the file name of the .exe by using a GetDirectory function. Thus I am able to get the full … | |
Hey guys, long time reader -- with maybe one post I think. I'm pretty new to C++ but can hold my own.... but I was looking for some help. What is the best way to go about allowing the user to input as many inputs as they want, then when … | |
I have two source files main.cpp and process.cpp and two header files dheap.h process.h all under project assignment1, I am using code blocks. I compliled main but I got the following message: [COLOR="Red"]Linking stage skipped (build target has no object files to link) Nothing to be done.[/COLOR] Is there anything … | |
Hey everyone, I'm working on something ridiculously convoluted right now and am so close to finishing, hopefully I can get some proper help here. I have my base table, as so: [CODE] -- Insert statements for procedure here CREATE TABLE #starter ( emplid char(6), acct_code char(128), div char(3), payroll_sect char(3), … | |
I have one directory consisting of logfiles... I want to run 3 threads for m files where m is big. Here is my code in which i have created thread array and want to reuse the threads soon they finish the void run. But i am not able to use … | |
I have worked in PHP for 1year and a half,Now i want to develop website using the CMS,and some people suggested it would be better to start with Joomla...i have installed it in my comp,but i reall dont know how to get started. So if there is anyone who knows … | |
[CODE] package farecalc; import java.io.*; public class FareCalc { public static void main (String[] args) throws IOException { BufferedReader in; in = new BufferedReader(new InputStreamReader(System.in)); double firstMile = 2.80; double otherMile = 1.20; System.out.println("Please insert your total Mileage"); String mileageInput = in.readLine(); double mileage = Integer.parseInt(mileageInput); double price = firstMile … | |
[CODE]import java.applet.*; import java.awt.*; import java.awt.event.*; public class MultipleChoice1 extends Applet implements ItemListener { String question1 = new String("1. 7+2 = ? a.6 b.8 c.9 d.10"); String question2 = new String("2. 9-5 = ? a.2 b.4 c.6 d.8"); String question3 = new String("3. 144/12 = ? a.12 b.10 c.14 d.16"); … | |
Please can somebody explain to me whether sometimes the strrev function fails or not. I was giving an assignment to write an application that can detect whether an entered word from the keyboard is a palindrome or not. After accepting the string and tried to use the function from the … | |
Hi dudes, Many times when I read others codes I found they're using[ICODE]attributes [/ICODE], and actually I don't know when to use attributes, or when it becomes necessary to use it to be aware of it in my written codes. So, would some one here help me. Any help appreciated, … | |
im not a little bit familiar with c program.....so can u help me to change this program to c program......pls ASAP.. here are the code: import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; import javax.swing.*; public class TicTacToeServer extends JFrame { private byte board[]; private boolean xMove; private JTextArea output; … | |
i have to write a program where i input two positive integers (L and H) which are both less than 21. the program then prints out a box of solid asterisks wit L horizontal asterisks and H vertical asterisks. i dont really know where to start... can someone tell me? | |
I have to write a program to take in user input (VIN#, Car Maker, Car Model) and reorganize it based on either alphabetical order (for Car Maker only) or numerical order (VIN#). I'm using g++ to compile the code on CentOS. I've done a majority of the code but I … | |
Hi All, Can I Show my file-dialog form as Right-to-Left? because Persian language is Right-to-Left. Thanks. | |
Hi, I am trying to do a simple task in Python but I keep getting error. I have a string stored in a variable and a simple GUI with a button (in 1st.py) which will call another function in a separate file (twond.py) which will split that string and store … | |
Hello, I am new to this forum and need a little help. I am taking an intro to Java Course and we are creating a project that reads in a set of user inputted numbers and stops when the user inputs any letter. From a textbook example they have the … | |
hi guys, How to make a child form refer to it's parent form, what i mean is that when the child form created it's lock the parent till it finish. thanks in advance | |
Hi there, I get an error message everytime I try to run a software written in vb6.0. The error is "vsflex7d.ocx not currectly installed or one of its components is missing". I tried to seek it on the net but it seems it is not available on the net also. … | |
My understand is in generic programming you can have multiple containers, which use iterators but use the same algorithm. Wouldn't template be considered a ADT? Really confused. | |
Please explain me and when we [ICODE]echo $form;[/ICODE] then it shows. please explain this. [CODE]$form=<<<POST <form method="post" action=""> </form> POST;[/CODE] Thanks in Advance... | |
i have tree select boxes. i fill those with data coming from a database (mysql) i want to change the data of the last two selects regarding the selection of the first. here is my code. it doesnt work (i used a little bit of javascript) in head [code=JavaScript]<SCRIPT language=JavaScript> … | |
I have written a dehasher and the first 446000 rows in the mysql database have turned out ok but now my script isn't placing the entries into the database in order and is taking like a minute per entry to do it. Does anybody know what is wrong with the … | |
Hi to All, I am accessing text box value and error is operator '-' cannot be applied to operands of type System.web.UI.WebControls.TextBox and int | |
whenever i click an update button to update values in a single column of a gridview, all the columnss gets updated with the same values. eg. if a 1st column of a row with s.no. 1 is updated with values watch,50.,,,rest of the columns of the rows with s.no.2,3,4,5 etc. … | |
hey guys.... does anyone here knows how to disable and enable CTRL, Alt, windows keys, or Tab key in keyboard?... because im going to use it in my time cafe client project in vb... | |
First i'll explain my program a bit. Im writing a Windows based app. In the main form, i have a DataGridView which binded to a DataSet. When i double-click the RowHeader, a detailed view of the selected customer will pop-up. So i can make changes to the customer details, and … | |
[CODE]while(size!=0) { printf("loop start"); printf("File Size in int: %d \n",size); byte_count = recv(sock,recv_data, 1024,0); recv_data[byte_count] = '\0'; printf("hhahaha %d \n",10); printf("char is:%c \n",recv_data[0]); //fputc(recv_data[0], fpW); size=size-1; printf("loop end"); } fclose(fpW); This is a piece of Client side code .. i am sending data from Server Side but when i receive … | |
in data environment I write code[CODE]SELECT AccountInfo.incategory, Sum(AccountInfo.InAmount) AS SumOfInAmount FROM AccountInfo where Date and Date between DTFr.value and DTTo.vlaue GROUP BY AccountInfo.incategory;[/CODE] in form I write code in a command button like:[CODE]Private Sub Command2_Click() Load DataEnvironment1 With DataEnvironment1 If .Command3.State <> 0 Then .Command3.Clos .Command3 Format(DTFr.Value, "dd/mm/yyyy"), Format(DTTo.Value, "dd/mm/yyyy") … | |
is there a way to make .html files process php tags? | |
I have a form with check boxes, but if some of the check boxes I are not checked I get undefined index is there a why around this please help. I am using $_POST. :-/ | |
Hello master... I want to build a web crawler that can detect all files which extension is : .pdf .ppt .xls .doc First, insert the domain of a website to search files, than the result will be like this : domain : [url]www.examle.com[/url] Files : 1. xxx.doc 2. xxx2.doc 3. … | |
I´we been crazy looking on google after this the protocol function won´t work I need to make something happen at those events WM_QUERYENDSESSION WM_ENDSESSION WM_QUIT WM_DESTROY WM_CLOSE Thanks for help yours truly Alexander | |
sir.......i m confused for the function of jvm,jdk,jre. i know the full form of these but i m not sure about these working so please help me... if anyone know the full form of java then please tell me. one from i find is "just another vegue approach" but i … |
The End.