199,112 Archived Topics
Remove Filter ![]() | |
This is from a training project. So the objective is to learn how to do a specific task, though there may be better ways to do the same thing. Okay, the background of the problem at hand: It's from my training Mastermind clone. The user has chosen his colours and … | |
hi fellas.. my problem is i dont know how to get and read html file using javascript. my html file is in file://C:/Documents and Settings/USER/Application Data/Mozilla/Firefox/Profiles/ksx3y6oy.default/bookmarks.html. i dont know how to access the html file. | |
Hi all, I saw a image opening effect that I like so much. And I would like to ask if anyone knows how can I do this. The page I have seen the effect is : w w w .hypersys.gr Thanks a lot | |
I am just wondering if there is a way to stop my paging images from moving around the gridview footer when using the builtin gridview paging control. | |
The output of the code below is: start Caught One! Ex. #: 1 Caught One! Ex. #: 2 Abnormal Program Termination I don't understand why the exception isn't caught. [CODE]#include <iostream> using namespace std; // Different types of exceptions can be caught. void Xhandler(int test) { try{ if(test) throw test; … | |
Hi folks, I want to open a pdf stored in the database in a new window using php server side script. Actually I want store the file name in data table, which user clicks. So i need a server side script open the things in new window along with the … | |
![]() | Hi, I am trying to develop a GUI application that has a text area for a 10 digit number. I would prefer to right click on the field and select a max length and "number type" instead of coding an 'if function on keypress' and so on. Is this possible? … ![]() |
Why am I getting the wrong output? I have a feeling it has something to do with using type char vs. int....but im not specifically too sure. Please help! [CODE]1. blade71(130)% gcc -o vt visitype.c 2. blade71(131)% vt < vt.in > vt.out 3. blade71(132)% cat vt.out 4. The code 55 … | |
Hi I am having problems using the readline command, I get an alarm lineA = fin.readline[lpa].strip() # Read line indicated by pointer a and delete CR TypeError: 'builtin_function_or_method' object is unsubscriptable when trying to run this code I tried removing the strip component and that didnt help. Some help would … | |
Hi every one! I am working with a project which envolve database. I have a datagridview to veiw the table. when i delete some data from the data base i also want to delete it from the datagridview and when upgrade some thing also want to upgrade the datagridview. How … | |
Hi All, I need to open a exe from python. For ex i used [CODE]import os os.system("C:\Winamp\Winamp.exe") [/CODE] but I need to open an exe from the "Program Files" directory. I get an error because of the space between "Program" and "Files". [CODE]import os os.system("C:\Program Files\Winamp\Winamp.exe") >>'C:\Program' is not recognized … | |
Hello All: In asp.net there is a Multiview control which allows me to switch between panels programatically, so different sets of controls can selectively be displayed in the same area on screen. I understand there is no such control in winForms but is there a best practice or technique for … | |
I'm writing a program that needs to use only the Unix system calls open, read and write to get and print data!The problem is that the program doesn't allow me to input the marital status of the first student! Am I missing something? Here is the code: [code] #include<stdio.h> #include … | |
i want solution program for this program...... Given a string and a non-empty substring sub, compute the largest substring which starts and ends with sub and return its length. test cases: strDist("catcowcat", "cat") → 9 strDist("catcowcat", "cow") → 3 strDist("cccatcowcatxx", "cat") → 9 | |
Is there an easy way to capture a firefox browser address(url) in c++? I'm trying to check if a page pops up after a click event, the test address is known and static. Any help would be greatly appreciated, thanks! | |
public class OpenMenuListener implements ActionListener { public void actionPerformed(ActionEvent ev) { if(ev.getSource() == b) { f2 = new JFrame("shashikant verma"); p2 = new JPanel(); f2.getContentPane().add(p2); String str = "<html>"+"<h>"+"<P ALIGN = \"CENTER\">"+"<i>"+"<font size = \"10\">"+"<font color= \"#800080\">"+"2. Definition of Function<br>"+"<br>"+"</i>"+"</h>"+"<P ALIGN = \"LEFT\">"+"<font size = \"5\">"+"2.1 "+"<u>"+"Mathematical Definition <br>"+"</u>"+"<P ALIGN=\"LEFT\">"+ … | |
Hi all, I just have curiosity about something that I read in a book " [B]Unlike using the DataGrid, where you are responsible for coding the sort routine, to enable column sorting in this grid, you just set the AllowSorting attribute to True. The control takes care of all the … | |
A friend referred me to this forum knowing I've been struggling for quite a while unable to find proper help. She says the people here are excellent and quick to respond. I do hope I am posting this is the correct forum area.:-/ My problem is is that I have … | |
i want to relate my tables, but i can't find out how to relate the tables. how? | |
I have a simple javascript function that shoud insert a value in the cell when the value in the dropdown list changes. Dnt knw the reason why its not working. [CODE] <script type="text/javascript"> function displaytaskid() { var id=document.getElementById(dropdown).value; document.getElementById(task_id1).value=id; } </script> <td id ="task_id1"></td> <td name = "task_id[]" id="dropdown" onchange="displaytaskid()" … | |
Hello. I am a new member of this web site. The reason for joining is that when I experienced some problems , I found most solutions on this website. Sadly, I cannot find all answers to my problems. That's why I am here now and I want to ask you … | |
Hi Guys I am created a tree view in a usercontrol..and used it in master page. But when i access the pages inside the parent node.the treeview is coming back to normal form. but i want the parent node to be expanded until i am using pages from that section. … | |
I have a text file that I need to find data and assign it to a variable. I have found code to read and search a file but the information I want is not always constant. The Items in Red will change. Is there a way to find this information, … | |
Need help could anyone know how to make an image in a form act as a submit button? Would anyone know where I can get information on how to fill a drop down box with data in a mysql database? Please help please please :-/ | |
[code]Public Class Form1 Private Sub Button1_Click(ByVal sender As _ System.Object, ByVal e As System.EventArgs) - Handles Button1.Click Button1.Text = "Hello World" End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub End Class[/code] The name of the button isn't changing to Hello World... Anyone … | |
In the Quake 4 console, there is a "spawn" command, then you put the class name of what you want to spawn, eg. "spawn weapon_railgun". >Meaning that it tried to construct the weapon_railgun class from this input. If the class that you specify is not one that can be spawned, … | |
[CODE] private void writeToDB(string password)/// { string cmdstr = "INSERT INTO " + TableName + " (Password) values (@Password)" ; OleDbDataAdapter adapter = new OleDbDataAdapter(); OleDbCommand insert = new OleDbCommand(cmdstr, vlAccessConnection); adapter.SelectCommand = insert; insert.Parameters.AddWithValue("@Password", password); }[/CODE] Hi all this is the code i've insert to update data with password … | |
hi guys, how to make an image/text to scroll as the user scroll the page also? for example if the user scrolls down image/text also scrolls down and when the user scrolls up image/text also scrolls up.. any ideas on how to get started? thanks in advance.. :) | |
I am developing a payment system and I need to produce a receipt for the client one he/she has paid. Is it possible to generate a receipt (Report Like) Using information on the form/user controls on the form. I am using ASP.NET working in web developer environment. Is there a … | |
Hi all, I have a program that need to insert the data to the database. In the form, I have 5 textbox control which required the user to insert the data in the database. To create this, I am using the visual studios 2005 and sql server 2005 for the … | |
hello frends... well...i have got a prob here...im building a webuser Control and want to create a property for the same..i want to set multiple choices in the property box.i mean when ill use it on a .aspx form it should allow user to select to a value from multiple … | |
Besides the obvious, like security issues, character limits in older browsers, etc. Is there any real difference between $_POST and $_GET besides the method in which data is passed? I have a script that works perfectly with $_POST but completely falls apart when I try to use $_GET. I rarely … | |
![]() | Hi, Below I have code that contains ajax on a JSP. The JSP runs the Servlet which gets a parameter from the JSP and returns the exact same input field's value. For some reason, it is returning a null though. Can someone please assist? Servlet: [CODE] package Web; import java.io.IOException; … ![]() |
Hi guys.. I am currenly coding a program which outputs the next state table for flip flop circuits. I have already finished the the generator for one type of flip flop, and I have 3 more to go.. So far, my arithmetic parser is working good but I suddenly remembered … | |
This is a program for generating a state table for flip flop circuits. My problem is that the program does not get anything from the Textfield which gets the value for KAEquation, but for JAEquation, it works just fine. [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; /** * @author Jenielle … | |
Hi I am working on a page which requires the grid to be populated with 'n' number of rows, as the user enters the number 'n' in a text box. Can anyone help me out in this? | |
Hi, I have uploaded a web site on the server then I hav tested it on the browser but it is taking a lot of time to load its contents. I dont have anything heavy in the site, does anybody know any solution to overcome this problem?? Please reply. Take … | |
I know java doesnot support multiple inheritence.lets say my class A extends B.Now my class A is extending class B as well as Object Class .how this happens?Why class A gets compiled? | |
Hi all, Please help me in writing a program to find the similarity between two texts and return a percentage value. Code must be efficient . Regards, Raj | |
hi.. im trying to validate a registeration form using javascript.. i successfully validated all the textbox individually by using onblur event... but when i click submit button, without entering text, or without even touching the textbox, the Form gets Submitted.. hw can i stop this... plz tell me a solution... | |
Hi everyone, i m doing an inhome project on community development... For that i need a form such that we can send a mail to anyone without authentication,, For Ex. a user of gmail can send a update to user of yahoo or gmail. Please help me | |
Hello All, how can I create a member function for a class that is reading from a txt file, which is reading computer network addresses and names for the addresses. I was guessing they need to be string and 4 ints data type. Example of data.txt file input 111.22.3.3 "green … | |
Hello Everyone, I just started to program and I'm having a bit difficult with it. Can someone run this code and please explain to me these errors and why they are not compiling. Error 1 error C2228: left of '.setFirstName' must have class/struct/union c:\documents and settings\administrator\my documents\visual studio 2008\projects\projec314p\projec314p\project314p.cpp 71 … | |
Is there a way to have a hash table as a select list that, when the user selects an option, it populates a paragraph for that option in a label? I have the code that displays the selected item's value, but I don't know how to add a paragraph or … | |
I am a total beginner with this, started a couple days ago. I have no idea on how to get numbers in order, I have to have a user enter 3 numbers and put them in order, help is appreciated [CODE]#include <iostream> using std::endl; using std::cin; using std::cout; int main() … | |
This is my code..!!! i use ob_start() but still i m getting header error Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\flower\upload1.php:1) in C:\xampp\htdocs\flower\upload1.php on line 30 can anyone tell me where m i wrong.?? why this is error is related to header only..!!! … | |
Hi -- After lots of searching I cant seem to find an answer (well one that I understand at least..) I want to make the variables wobstacle, waisle, and wturn ONLY numbers where a user cannot input a letter and break the program. I was thinking of something along the … | |
WEB.CONFIG FIlE [code] <?xml version="1.0"?> <configuration> <appSettings/> <connectionStrings/> <system.web> <authentication mode ="Forms"> <forms loginUrl="FrmLogin.aspx" protection="All" > <credentials passwordFormat="Clear"> <user name="sonia" password="citm123"/> <user name="soni" password="citm123" /> <user name="muru" password="citm1234"/> </credentials> </forms> </authentication> <authorization> <allow users="sonia"/> <allow users ="soni"/> <deny users="muru"/> </authorization> <compilation debug="true"/> </system.web> </configuration> [/code] FRMLOGIN.aspx [code] protected void btnLogin_Click(object … | |
I'm trying to compile a program that I created that takes a number and finds its average and reverses it. It's a very simple program, but when I try to compile it with g++, it gives me an error. Why won't it compile? What code is wrong? [CODE] #include <iostream> … |
The End.