199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for emilio

hi my html form contains a table tag <table id="MainTable">. i would like to populate this table using a javascript function. my probllem is that i created a table that contains another table inside on of the <td> tags. i tried to write the most basic code: [CODE=javascript]var myTable = …

Member Avatar for serkan sendur
0
3K
Member Avatar for tominic

So I've created an array based on posted information (a big list of numbers separated by lines which has then been exploded) So this array may contain numbers from 0-100 or whatever So I have one array of numbers Now for each number I want to find out many numbers …

Member Avatar for nav33n
0
87
Member Avatar for turbomen

To create a game of Heads or Tails against the computer. Write a program that asks the user for Heads or Tails, then simulates a toss of a coin and then tells the user whether they have guessed correctly. DISPLAY a title for the program Issue the statement that stops …

Member Avatar for FlamingClaw
0
676
Member Avatar for etti

I really need help with the below error. I dont get this when i run my asp.net c# application in VS@005, but when i make virtual directory on my office Windows server I get this error. Tell me what changes need to be done in C# code or crystal report …

Member Avatar for etti
0
305
Member Avatar for gcr007

Hi, I need a to create a java file dynamically .This file contains myown methods,variables and constructors.Any one please help me..

Member Avatar for masijade
0
133
Member Avatar for Tizzie

So I have to write a program which writes all even numbers between 0 and 50 INTO AN ARRAY and then display them on the screen.... My problem is how i am going to put it into an array I only did part of it but I can't continue doing …

Member Avatar for stultuske
0
151
Member Avatar for bilal_h86

Helloo iam building vb chat application using winsock, work on LAN but problem that face me that iam tring to connect to a computer in a network this computer in a network of three computers "192.168.2.1" and "192.168.2.2" and "192.168.2.3" local Ip's and with only one internet IP, so the …

Member Avatar for bilal_h86
0
224
Member Avatar for kohuke

Hi. I'm trying to learn how to make my own web app and following those tutorials: [url]http://www.netbeans.org/kb/docs/java/gui-db.html[/url] [url]http://www.netbeans.org/kb/61/web/applets.html[/url] I created a desktop application like showed in the first guide. Then tried to integrate it into the Web Applet. But for some reason after right clicking my desktopapp's java file and …

0
102
Member Avatar for SSagar

Hi, I have a file system tree. I need to select a file and highlight it without selection. I am not able to build the TreePath for this. Plz let me know how to build the treepath. Thanks in advacne, Sagar

Member Avatar for SSagar
0
85
Member Avatar for reachb4

Hi, I have two combo boxes in an aspx page. [code] <asp:DropDownList ID="drpCategory" runat="server" Font-Names="Verdana" Font-Size="8pt" Width="138px" AutoPostBack="True" OnSelectedIndexChanged="drpCategory_SelectedIndexChanged" OnTextChanged="drpCategory_SelectedIndexChanged"> </asp:DropDownList> <asp:DropDownList ID="drpSubcategory" runat="server" Font-Names="Verdana" Font-Size="8pt" Width="138px" > </asp:DropDownList> [/code] I need to populate the drpSubcategory depending on the value chosen from drpCategory. As you can see i've added drpCategory_SelectedIndexChanged …

Member Avatar for greeny_1984
0
108
Member Avatar for wll6568

I have the control id name in string, and try to find it in the event handler: 1 protected void btnGo_OnClick(object sender, EventArgs e) 2 { 3 ((TextBox)Page.FindControl("txb" + strColumn)).Text 4 } but that throws an object reference not set to an instance of an object. It seems as if …

Member Avatar for greeny_1984
0
285
Member Avatar for Xessa

I have an .aspx file and i try to align the table to the center. But when i do this [code] <table style="text-align:center"> [/code] it does not work. It shows the table always at the left side of the page.

Member Avatar for greeny_1984
0
146
Member Avatar for Hsus

<asp:datagrid id=DataGrid1 style="Z-INDEX: 104; LEFT: 304px; POSITION: absolute; TOP: 104px" runat="server" CssClass="grid" AutoGenerateColumns="False"> <Columns> <asp:EditCommandColumn EditText="Edit" CancelText="Cancel" UpdateText="Update" /> <asp:BoundColumn DataField="Message Id" ReadOnly="False" HeaderText="Message Id" /> <asp:TemplateColumn HeaderText="Opcode"> <ItemTemplate> <%#Container.DataItem("Opcode")%> </ItemTemplate> <EditItemTemplate> <asp:DropDownList AutoPostBack = false id="ddl_Opcode" runat="server" DataValueField="Opcode" DataTextField ="Opcode" DataSource ="<%#TempDataView%>" > </asp:DropDownList> </EditItemTemplate> </asp:TemplateColumn> <asp:BoundColumn DataField="Message Status" …

Member Avatar for greeny_1984
0
189
Member Avatar for RushNP774

First, I searched the forums and couldn't find a thread that matched my problem. I also searched Google for my error message (in quotes) and received 9 results. If you know of a post/article that deals with my specific problem, I'd love to read it. I have a TemplateField in …

Member Avatar for RushNP774
0
114
Member Avatar for sparso

I am in need of a script that reads a log file, takes some data from the file and saves it in a .csv (coma separated value) format. The example log is below: log.txt: Date: 3/14/09 Device #: 1 Test: Cont: pass Test: Leakage: pass Test: INL: 0.88 Test: DNL: …

Member Avatar for Gribouillis
0
186
Member Avatar for praskuma

I have these two tables.. [B]Product[/B] ============================= ID Title Description ============================= 1 My first product First description 2 My second product Second description … … … …. …. …. [B]META[/B] ============================= ID PRODID KEY VALUE ============================= 1 1 StartDate 22-MAR-2009 2 1 EndDate 23-MAR-2009 3 2 StartDate 28-MAR-2009 4 2 …

Member Avatar for praskuma
0
109
Member Avatar for swinefish

Hey Guys I'm kind of a newbie to C#. Now the syntax and the like don't bother me because I love java, so the actual programming is no problem. However, I'm trying to do something I can't figure out. I want to write a module in Visual C# (Visual Studio …

Member Avatar for swinefish
0
129
Member Avatar for Eager_Beever

I have as ASP.Net 2.0 website with SQL Server as database and C# 2005 as the programming language. The website is almost complete and all the links are working fine. But I want to prevent normal users from opening a couple of pages. When any user clicks on those specific …

Member Avatar for Dhaneshnm
0
1K
Member Avatar for AlSal

I am just breaking my head and trying to figure out how double pointers are represented in box and circle diagrams and how they might change by changing the values. Can anyone help?

Member Avatar for siddhant3s
0
70
Member Avatar for artemis_f

Hello, Python newbie here. I have been using various templates to play around with wxPython and see what I can do and am stuck at the following bit - I have a MyPage panel. This panel has wxTextCtrl boxes and when the button the panel has is clicked I want …

Member Avatar for lllllIllIlllI
0
186
Member Avatar for kbullard516

Hello. My task is import data from a text file into an array, and then sort the array and print out the sorted array. Each element of the array represents a clothing item and has name,category,quantity, and price values. I have an Item class to represent a single clothing item, …

Member Avatar for kbullard516
0
156
Member Avatar for abu taher

If I click a button how my computer will be open? I want I click a button then my computer will be open. help me with my computer, control panel

Member Avatar for hkdani
0
143
Member Avatar for cppStudent

I can't understand why there's a memory leak. Can someone please enlighten me ? [CODE=cpp]#include <fstream> #include <string> #include <iostream> #include <sstream> #include <stdlib.h> #include <math.h> using namespace std; class ChocBar{ public: ChocBar(string name = "Barone",double price =1.20){ name_ = name; price_ = price; } string getName(){ return name_; } …

Member Avatar for Agni
0
86
Member Avatar for homeryansta

I'm trying to write a a program that simulates a multi queues, multi server such as a grocery line at the grocery store. The user will enter the desired number of queue/server pair. how would i write this? I mean, I can have 3 - 4 different queue stacks as …

Member Avatar for homeryansta
0
136
Member Avatar for farhan.foxtrot

Hi, I am a beginner for the zend framework. I have viewed the screencast from the zend site and followed them. The summary of the screencasts are: [code] application controllers IndexController.php models views scripts index index.phtml library Zend public .htaccess index.php [/code] The codes are following: index.php: [code] <?php //error …

Member Avatar for farhan.foxtrot
0
96
Member Avatar for Takafoo

Reverse the case of all alphabetic characters in the string. That is, all upper case characters become lower case and all lower case become upper case. Hello World becomes hELLO wORLD. So I figured I need to use the toupper and tolower commands. I'm just not to sure how to …

Member Avatar for Takafoo
0
68
Member Avatar for tashy

[code]<?php/** *.Hack Name: Shop Hack * Version: 3.0 Beta2 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at …

Member Avatar for nav33n
0
426
Member Avatar for charlie81

I know I am missing somethings in my code not sure what I am supposed to put in. Here is what I have so far. import javax.swing.JOptionPane; public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String firstNumber;//first number …

Member Avatar for verruckt24
0
167
Member Avatar for clarkpoon

[B]Convert Case To Random In Vb6[/B] I've only 1 Textbox & 1 Button... can anyone help my? Thanks

Member Avatar for clarkpoon
0
179
Member Avatar for Arrorn

I am writing a dice rolling simulation and i need help redefining a variable inside a loop.

Member Avatar for woooee
0
104
Member Avatar for Derice

Is it possible to send mail through my web application without having SMTP server? For example, the mail will be send through my existing hotmail account or yahoo account to ppl who registered in my web application. If it is viable, please provide me some resources on the method...Thanks in …

Member Avatar for Derice
0
113
Member Avatar for bugmenot

I have an discrete maths exhibition, and i wanted to illustrate the influence of discrete maths in computer science. so i need some softwares to illustrate. A few examples like set theory for computer networking. graph theory and big O for analysis of algoritms. please can some of you suggest …

Member Avatar for xkey
0
187
Member Avatar for db11

I've just started c# having done VB and a bit of c++. I think c# is probably a more viable option than ++, thus here I am. I've had this problem in a few languages. How do you create an array in code that is linked to an array of …

Member Avatar for papuccino1
0
2K
Member Avatar for blackbyron

Hello, i have a question for my C++ program. void GasPump::setHighGal(int gallons){ gallons = 0; } void GasPump::setMedGal(int gallons){ gallons = 0; } void GasPump::setLow(int gallons){ gallons = 0; } Those functions will sets the quantity of gas in the indicated tank to parameter value,resets total cash for that type …

Member Avatar for blackbyron
0
97
Member Avatar for rickbill

I wrote a console application that shows a survey of salespeople that earn a salary in a certain range based on their grossSales. I am not getting the right results. A salesperson makes $200 plus 9% commission on grossSales. when I enter $5000 grossSales I get the result of the …

Member Avatar for timothybard
0
103
Member Avatar for rEhSi_123

Hello fellow members. I am having a bit of a issue with my forum edit. Here is the code to give you an idea: [code=php] <?php if(!$_SESSION['uid']){ header("Location: index.php"); } $action = $_GET['act2']; $actions = array('reply','topic','admin'); if($action){ $admin = isa($_SESSION['uid']); if($action == 'admin'){ if($admin){ // }else { echo "You are …

Member Avatar for rEhSi_123
0
112
Member Avatar for bondgirl21

Hi , I already created a button "enjoy button" that i want to move in a form when the "timer start button" is clicked. how do link the timer to the "timer start button" and make it move? this is what i tried so far..then am blank first [quote] Private …

Member Avatar for bondgirl21
0
153
Member Avatar for VIPER5646

I been searching for days for a sulotion but can't seem to find one. The coed that I have does not give me an error but it does not save anything on the table either ' Can someone help me find what I'm missing? this is my coed [CODE] Dim …

Member Avatar for jonc
0
171
Member Avatar for mansi sharma

Mine code split strings using "^", I want to split the strings using "^^^^", [code] string b = "mansi^^^^sharma"; [/code] But i m not getting it,Cz split takes just one char. Mine code is as below- [code] protected void Button1_Click(object sender, EventArgs e) { string b = "mansi^sharma"; string[] splt …

Member Avatar for JerryShaw
0
92
Member Avatar for BobLewiston

Is there any way to copy an entire Visual C# solution in such a way that it works? If you just copy it and rename it, it gives an error message that it's been renamed and therefore it refuses to work.

Member Avatar for BobLewiston
0
150
Member Avatar for neelima156

Hi There, I have to do this read a list of names from an input file of my own, In main() I declared a Namelist[][] object, read several names from thefile using redirection and then print out the list. I have to add the name to the list only if …

Member Avatar for neelima156
0
131
Member Avatar for dilipkk

Hi, I am looking for a tool in python which can build a model based on some set of training documents with manually assigned keywords. And then it uses that model to extract keywords from new documents. I want to know whether using NLTK can I do this? Reply me …

Member Avatar for woooee
0
239
Member Avatar for sid78669

I have a function which outputs a really long string in a box of defined size. The problem is, after a few lines, I get an error saying that HEAP CORRUPTION has occured and I wrote to a memory beyond the allocated limit. Now, I'm only writing to console and …

Member Avatar for sid78669
0
193
Member Avatar for HB25

Hi I am using the code below to validate user when they login to my website, the first part check if user have typed their username and the second part search the table to check user exist. These two parts work fine but the last part the while condition don’t …

Member Avatar for HB25
0
174
Member Avatar for mastermosley

I'm building a telnet server and I need a type of arraylist. I need this arraylist to contain an index 0 - 100 thats how many connections I allow at once, and an Ip address so when I refer to index 0 it will give me the ipaddress. I'm new …

Member Avatar for mastermosley
0
84
Member Avatar for dollycharm

[code] <?xml version="1.0" encoding="ISO-8859-1"?> <monthly> <heading>Monthly Specials at the Jazz Warehouse</heading> <body>Here are some of the latest specials from the Jazz Warehouse. Please note that all Miles Davis and John Coltrane CDs will be on sale for the month of March.</body> <line>______________________________________________________________________</line> <jazz> <subheading>Kind of Blue</subheading> <author>Miles Davis</author> <price>US: $11.99 …

Member Avatar for fpmurphy
0
106
Member Avatar for Mahsa_C++

hello every one here, hoping u're all doing fine. i am face with a wierd error while trying to encode a class about courses and students ( student is itself a class) i'm give this error, and googling seems of no help! [COLOR="Red"]error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> …

Member Avatar for Mahsa_C++
0
95
Member Avatar for bluebird

Hello! I am writing c++ program on linux. Whenever I read a char or string, I got problem. In c, I sove the problem using if(getchar()=='\n') in c++, how can I sove that problem? Here is my program. I cannot do any input for name. Please help me. [code] #include<iostream.h> …

Member Avatar for tux4life
0
100
Member Avatar for cause&effect

I’m new in C#. My first attempt is a console application for the Noughts & Crosses game. I’m stuck in writing the condition for break if any player wins. Any comments will be appreciated. [code] //Tic Tac Toe using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TTT { class …

Member Avatar for Antenka
0
93
Member Avatar for Hiroshe

Just getting back into c (I've been dosing assembly for the last few months), so don't laugh at me :S I'm trying to read an input file. The fist line contains how many lines to read. The rest of the lines contain 3 words. Here's an example: [CODE]3 Hello, World …

Member Avatar for kenji
0
105

The End.