199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Alba Ra

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 …

Member Avatar for Geekitygeek
0
152
Member Avatar for nazarahmat

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.

Member Avatar for nazarahmat
0
67
Member Avatar for bufospro

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

Member Avatar for bufospro
0
80
Member Avatar for cgyrob

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.

Member Avatar for cgyrob
0
65
Member Avatar for HappyOrangutan

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

Member Avatar for HappyOrangutan
0
226
Member Avatar for jithusdani

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 …

Member Avatar for jithusdani
0
3K
Member Avatar for feoperro

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

Member Avatar for feoperro
0
515
Member Avatar for Ineedhelpplz

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 …

Member Avatar for Ineedhelpplz
0
194
Member Avatar for chico2009

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 …

Member Avatar for ov3rcl0ck
0
279
Member Avatar for ejazmusavi

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 …

Member Avatar for DdoubleD
0
95
Member Avatar for pysup

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 …

Member Avatar for ov3rcl0ck
0
4K
Member Avatar for TinoMclaren

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 …

Member Avatar for TinoMclaren
0
119
Member Avatar for DARK_BYTE

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 …

Member Avatar for DARK_BYTE
0
233
Member Avatar for sarvari591

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

Member Avatar for Ancient Dragon
0
97
Member Avatar for cleonar

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!

Member Avatar for marco93
0
148
Member Avatar for Ashwin Vasnai
Member Avatar for shashikant.v

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\">"+ …

Member Avatar for majestic0110
0
113
Member Avatar for jbisono

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 …

Member Avatar for jbisono
0
130
Member Avatar for Spunky

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 …

Member Avatar for pritaeas
0
655
Member Avatar for scias23

i want to relate my tables, but i can't find out how to relate the tables. how?

0
100
Member Avatar for tarunkhatri

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

Member Avatar for mick_sp
0
153
Member Avatar for Kashaku

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 …

Member Avatar for hmortensen
0
2K
Member Avatar for jas05

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

Member Avatar for Ramesh S
0
111
Member Avatar for Joe Hart

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

Member Avatar for Joe Hart
0
177
Member Avatar for mundetas

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

Member Avatar for mundetas
0
82
Member Avatar for Denxerator

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

Member Avatar for Geekitygeek
0
241
Member Avatar for tomtetlaw

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

Member Avatar for tomtetlaw
0
72
Member Avatar for facadie

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

Member Avatar for sknake
0
97
Member Avatar for cguan_77

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

Member Avatar for cguan_77
0
92
Member Avatar for marangajared

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 …

Member Avatar for Kusno
0
300
Member Avatar for lil_Is

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 …

Member Avatar for babbu
0
147
Member Avatar for love_dude1984

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 …

Member Avatar for love_dude1984
0
103
Member Avatar for CFROG

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 …

Member Avatar for cwarn23
0
173
Member Avatar for feoperro

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

Member Avatar for feoperro
0
138
Member Avatar for einjelle

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 …

0
144
Member Avatar for einjelle

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 …

Member Avatar for einjelle
0
191
Member Avatar for Anupama G

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?

Member Avatar for Anupama G
0
272
Member Avatar for coolmind259

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 …

Member Avatar for cwarn23
0
246
Member Avatar for sarath.koiloth

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?

Member Avatar for JamesCherrill
0
133
Member Avatar for rajeevns

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

Member Avatar for Laiq Ahmed
0
85
Member Avatar for smvec

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

Member Avatar for smvec
0
104
Member Avatar for sugumarclick

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

Member Avatar for sugumarclick
0
111
Member Avatar for gemgirl1972

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 …

Member Avatar for dkalita
0
203
Member Avatar for CRz315

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 …

Member Avatar for dkalita
0
96
Member Avatar for twilitegxa

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 …

Member Avatar for Ramesh S
0
95
Member Avatar for rockermonki

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

Member Avatar for rockermonki
0
196
Member Avatar for sam023

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

Member Avatar for sam023
0
139
Member Avatar for plobby

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 …

Member Avatar for mrnutty
0
140
Member Avatar for sonia sardana

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 …

Member Avatar for Ramesh S
0
113
Member Avatar for Towely

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

Member Avatar for siddhant3s
0
189

The End.