199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Nishara

I am using C#.net.I want to delete a datarow from the sql server database table when the delete button is clicked.Specific row should be selected according to a text field value.Say user enters a userID to a text box...then he clicks delete button to delete the relavent row. Please help …

Member Avatar for sknake
0
99
Member Avatar for san_crazy

I am using following GridView control in WebForm [CODE] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" style="z-index: 1; left: 276px; top: 192px; position: absolute; height: 133px; width: 187px"> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <Columns> <asp:BoundField HeaderText="userid" /> <asp:BoundField HeaderText="password" /> <asp:BoundField HeaderText="usertype" /> <asp:BoundField /> </Columns> <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> …

Member Avatar for Ramesh S
0
353
Member Avatar for sakhi kul

Hi To All, I want to show popup calender control in my website. How to do that? Plz help

Member Avatar for sakhi kul
0
121
Member Avatar for digtokiller

Hello people, i need a code so when someone join my site, the site resize after the size of the screen on the coputer joining. cause i have seen my site on a small screen and big screen but they look different... så if the site could resize so it …

Member Avatar for digtokiller
0
122
Member Avatar for matthewl

I get an error (Object doesn't support this property or method) on 56. In Internet Explorer and I would like to try to keep it cross browser compatible. This is the source of the function: [CODE=javascript]SM.Util.prototype.constructor.Notify = function(txt) { chat = document.getElementById('chat'); //this is line 56 and chat is a …

Member Avatar for Troy III
0
151
Member Avatar for DarkChao

Hello I've been trying to create a function that creates objects and another function that can delete them when triggered the objects code is generated server side and triggers the function passing the object data. The object data sort of looks like this [code] <OBJECT id="RandomNumbers" width="0" height="0" style="position:absolute; left:0;top:0;" …

Member Avatar for Troy III
0
71
Member Avatar for triumphost

Ok the code below is supposed to edit a file called license.dat and replace texts in it... it works great it does all that but I want to implement user input in it. By this I mean I want the user to be able to enter the drive letter for …

0
80
Member Avatar for smvec

hi.. im dynamicelly creating text box in a html file using javascript.. [CODE]<script> function create_input_boxes() { if(document.getElementById("name0")) { return true; } var boxes=""; var num_boxes=document.getElementById("num_boxes").value; if(num_boxes) { for(var i=0;i<num_boxes;i++) { boxes+="<input id='name"+i+"' name='name"+i+"' value=''><br />"; } document.getElementById("textbox_container").innerHTML=boxes; } return false; } </script> </head> <body> <form id="theForm" action="dynamic.php" method="post" onsubmit="return create_input_boxes();"> …

Member Avatar for smvec
0
89
Member Avatar for new programer

Hello all, As my name indicates, I am a new programmer. I was doing a program which calculates the roots of a quadratic equation but unfortunately there seems to be something wrong as it ignores my if statements! Please take a look at my code and I'd appreciate your help

Member Avatar for new programer
0
79
Member Avatar for Zohar

Hi, This is a very basic question, but I can't seem to get working, I've a set of numbers that I need to display in the following, this is a class function btw. The ouput should be something like { 1, 2, 3, 4, 5} (there are {} brackets and …

Member Avatar for Zohar
0
268
Member Avatar for prinju

can any one give me a c program for finding the length of the string and also to compare it with other strings with the help of linked list

Member Avatar for DangerDev
0
91
Member Avatar for scrace89

[CODE]# This file contains python code that will determine whether a potivie range # of integers entered by the user will contain odd or even numbers, prime or # composite numbers, perfect/abundant/deficient numbers, square numbers, and # triangular numbers. def main(): import math firstNum = 0 secondNum = 0 n …

Member Avatar for Gribouillis
0
582
Member Avatar for suricata

I have this code: [code]typedef struct { unsigned short a, b, c, d, e, f, g, h; }est_; est_ est[512];[/code] I want to know if there is a way to access to a variable of est by this kind of thing: [code]var='a'; est[1].[var]=0;[/code] Yes, it doesnt work but, there is …

Member Avatar for suricata
0
260
Member Avatar for thoutmosis

Hi guys, I got a file having this kind of records: 000000000111GOOGLE 5428[B]MG[/B]45525[B]RC[/B] 000000000122MICROSOFT 8565[B]MG[/B]85454[B]RE[/B] 000000000044APPLE 5814[B]KL[/B]484545[B]RC[/B] I want to keep only the records that have 'MG' in position 34 and NOT ('RE' or 'RD') in position 41 What should I add to this code? #!/usr/bin/python infile = 'DATA' input …

Member Avatar for thoutmosis
0
71
Member Avatar for StaticX

Hi ,im having a problem with my do while loop,basically I want it to loop so long as the users attempt is less than 10. However,it just doesnt want to seem to let me do this.Ive tried putting the "attempts++" several places through the loop as i thought this might …

Member Avatar for bennie22
0
146
Member Avatar for Peric

So...I'm working on VB.NET application and I'm wondering if I could make rounded corners of panel? One of my ideas is to make image (with Photoshop) in a size of panel and put it into background of panel...the thing is, this works but application is running very slowly and "weird" …

Member Avatar for kvprajapati
0
151
Member Avatar for swolll

New Question. I end the output to one file (fout1) and try to start it to a new input and output file, using this code: [CODE]" fout1.close(); } cout << endl << "Detailed employee reports have been printed in " << fileOutput1 << "." << endl << endl; cout << …

Member Avatar for Ancient Dragon
0
363
Member Avatar for 666kennedy

i currently am developing a program that monitors a folder, if anything new is added to the folder it is then copied to another folder. the code i have so far is [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace filemover { class Program { static void Main(string[] …

Member Avatar for DdoubleD
0
141
Member Avatar for minigweek

Hi, I am working on building a C# Winforms application which will allow me to login to a forum or site and perform certain tasks. I am stuck at the very 1st step. I cannot login to the forum. Here is what I have tried so far, the [B]Login[/B] button …

Member Avatar for hohy
0
1K
Member Avatar for Dixtosa

there are many info about it but what does this mean? what does object orienting mean? and what Oriented prog. language is better? sorry for my weakness english. :)

Member Avatar for BestJewSinceJC
0
89
Member Avatar for triumphost

Below is the code that I have to find the Mac address of any pc (physical host ID) I struggle to make it print to a file but now i have a problem... It prints MAC Address: XX-XX-XX-XX-XX-XX to C:\\Physical-Address.txt but I only want it to print the XX-XX-XX etc …

Member Avatar for triumphost
0
146
Member Avatar for froggy1976

Good evening, I am writing a program in C++ for a Tic tac toe game. Here are my directions: Create a C++ console application that allows two players to participate in a tic-tac-toe game. The program will be responsible for deciding who wins the game. The program should include the …

Member Avatar for froggy1976
0
329
Member Avatar for seo2005

To convert 1310 to binary, the steps are as follows: 13/2 = 6 remainder 1 6/2 = 3 remainder 0 3/2 = 1 remainder 1 1/2 = 0 remainder 1 I didn't understand the last step. How can 1/2=0 . It should be 0.5 And how can remainder be 1. …

Member Avatar for BestJewSinceJC
0
91
Member Avatar for Star Frost

I have been struggling with this one for a day now and I cant seem to figure out if my problem is syntax or simple impossibility. The function in question looks something like this: [CODE] string *function( string temp[] ) { string sides[ 4 ]; // code return sides; }[/CODE] …

Member Avatar for Star Frost
0
127
Member Avatar for armyofone83

Ok so i am trying to redo my inventory program but the problem is that it won't run because i don't have a main method. Every time i try to put a main method in I get an error. Is there something wrong with my code thats keeping me from …

Member Avatar for BestJewSinceJC
0
142
Member Avatar for george21

I am getting an error that says "The type Chapter165 must implement the inherited abstract method ActionListener.actionPerformed(Action Event). Can someone help me with where I went wrong? [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; class Chapter165 extends JFrame implements ActionListener { private JTextField inputMile = new JTextField(10); private JTextField outputKm …

Member Avatar for BestJewSinceJC
0
3K
Member Avatar for sbhavan

I have to create my own FTP Client in Java. Can anybody help me in the following. Which and all libraries or packages should I use. Which and all documents/tutorials I have to read Thanks in advance.

Member Avatar for iamthwee
0
91
Member Avatar for ineedhelp3

i am haveing alot of problems in my computer programming 1 clas in school and was wondring if any people on here would be kind enough to help me out with some programs 1 of them is this i need to make a basic program in the compiler that allows …

Member Avatar for Grn Xtrm
0
91
Member Avatar for charmedangerous

Use a do-while statement, write a program that continuously requests a grade to be entered. If the grade is less that 0 or greater than 100, your program should print an appropriate message informing the user that an invalid grade has been entered, the program should exit the repetition loop …

Member Avatar for Grn Xtrm
0
94
Member Avatar for kosofi

need to read and write to xls (excel sheet) using javascript read and write should be to specific cell in that sheet if its possible , please help do it thanx .

Member Avatar for kosofi
0
141
Member Avatar for red999

I am writing a program that reads from a file that contains a list of appointments and then put them into an dynamic array named day. I am having trouble figuring out what is exactly wrong with my program. It keeps on crashing before it finishes reading the file. I …

Member Avatar for red999
0
124
Member Avatar for Reliable

Good afternoon all, I'm at the beginning stages of learning PHP. I'm trying to understand passing in functions. I have a video lesson so I can see what is being explained but for some reason i am still not getting it. [CODE]<?php function hello($word) { echo "Hello {$word}!<br/>"; } hello("Daniweb"); …

Member Avatar for Reliable
0
71
Member Avatar for Towely

I'm trying to create a program that takes 2 numbers from a user (a numerator and a denominator), displays one ontop of the other separated by dashes, and then shows the answer of one number divided by the other. Inside an If statement, I want to output several lines using …

Member Avatar for Towely
0
233
Member Avatar for grudgemuch

hello. this is my first post in here :) im new to programming and im learning C as my first language. I need help on this problem, i am making a running clock and it prints out in this format: 1:1:11 but i would like to make it look like …

Member Avatar for Dave Sinkula
0
285
Member Avatar for number87

I got a question about c++ strings. Let's say string text = "0R14" and I access each element using text[0],text[1] etc does text[0] return an integer 0? or a character '0'? if it doesn't return an integer, how do I convert individual string element to integer type if I need …

Member Avatar for number87
0
165
Member Avatar for summey

I wrote a small app that dl youtube vids but like most company's they dont allow you to view youtube so i would like to incorporate a proxy option into my app to dl the youtube vids through a supplied proxy ip and port. Thank you for your time.

Member Avatar for summey
0
94
Member Avatar for omotoyosi

Please all, I am currently working on a web application which i must submit as soon as possible. I have a button and a text box. What i want is that if the textbox is empty, the button should be invisible. Immediately the user starts typing in the text the …

Member Avatar for Geekitygeek
0
118
Member Avatar for Zero-Method

hello smile.gif i am having trouble with the 2D array i am making.......it is supposed to be an address book of sorts Miller, Joseph, 910 Auburn Avenue, McLean, VA, 7035551234 Frank, Michael, 1 York Road, Baltimore, MD, 4105551234 Roland, Frank, 346 Bellona Avenue, Lutherville, MD, 4435551234 Smith, Jan, 432 Burke …

Member Avatar for JamesCherrill
0
92
Member Avatar for loolyn

Hi All. I have created a message box using Win32 API messageBox() function. Now I want to move a button on that message box a little higher. I'm trying to get that by the following code, but when executing the code only the button is moving, leaving its background in …

Member Avatar for K0ns3rv
0
84
Member Avatar for IndyColts

First off, you should know I just started learning C++ today. Anyway, whenever I type in my code to Dev_C++ Compiler, and then try to run it, it always says "Source file not completed." Here's my code: [CODE]// operating with variables #include <iostream> using namespace std; int main () { …

Member Avatar for TheComputerGal
0
129
Member Avatar for sjcomp

Hello, This is not a c++ question per se, but I do not see a better forum to ask it. I have a binary executable (compiled with Visual Studio C++ 2005) and the source code for this file. I need to change a constant, but for various reason I do …

Member Avatar for William Hemsworth
0
790
Member Avatar for Venom Rush

Hi everyone I've been googling my time away trying to find a resource that explains how many php uploads http can handle at once and any extra info on the process and limitations etc. Does anyone have a link they could share. Google isn't being very helpful (or the problem …

Member Avatar for Atli
0
138
Member Avatar for Cheesy74

I'm writing a collision algorithm based on the Separating Axis Theorem that works like so for each side: - Gets the separating axis of the side - Measures the object's width on that axis and places the width on the axis. - Measures/places width for object that is being collision-tested. …

Member Avatar for VernonDozier
0
362
Member Avatar for Venom Rush

As the title suggests, I'm having trouble sorting the results of a union statement. I'm trying to sort the results by date descending and it's coming out ascending. [CODE=mysql] (SELECT a, b, c, d, e, f, date FROM table1 WHERE a=10 AND b=1) UNION (SELECT a, b, c, d, e, …

Member Avatar for Venom Rush
0
93
Member Avatar for enzo420

hi hows it going? ive tried loads of times to fix this problem but its not happening here is the registration page code [CODE]<div id="apDiv6"> <form name="register" method="post" action="regform.php"><p> <input type="text" name="username" id="username"> </p> <p> <input type="password" name="pass" id="pass"> </p> <p> <input type="password" name="pass2" id="pass2"> </p> <p> <select name="usertype" id="usertype"> …

Member Avatar for enzo420
0
162
Member Avatar for genieuk

Hi, Ok.. i have some pages on my site that has a link like [code=text]<A HREF="<?php $websiteaddress ?>/webbuilder/downloads/download.php?filename=age_verification_popup.zip">Download</A>[/code] if you look carefully you will see using get in my below script i get the filename in this example [b]age_verification_popup.zip[/b] This is then sent to this script. [CODE]<?php @include ("/home/sites/genieuk.co.cc/public_html/includes/global.php"); // …

Member Avatar for Atli
0
124
Member Avatar for nadnakinam

Hi to all, page1 -- login page page2 -- secured page 1 [COLOR="Green"] No Problem[/COLOR], If user logged out successfully using logout button. session ends and doesn't allow user to go to secured pages. But... [COLOR="Red"]Problem[/COLOR], if user press backspace or back button in browser staying in page2, directed to …

Member Avatar for nadnakinam
0
252
Member Avatar for farsen

Hi. I have this console based Asynchronous VS project that works fine. And then i have a remoting project which also works fine. I want to edit the remoting project so it is non-blocking, using asynchronous calls. I´ve tried different examples, but I cant get it to work. None of …

Member Avatar for farsen
0
367
Member Avatar for avirag

I need one more help DdoubleD.In my application I have applied functionality for searching various string(form text) which are the combination of characters and math symbols. Now for varoius symbols like squareroot, cuberoot , fraction, exponent, power,we cannot enter them directly from keyboard.So I have made form text in such …

Member Avatar for DdoubleD
0
112
Member Avatar for programmingnova

This next practice problem has me implementing functions into code I completed before calculating data about students. I'm getting an error message, and am looking for where my problem(s) are. Objectives of this problem: -Collect data from user: major, last name, credits completed, gpa, tuition paid. -Call a function to …

Member Avatar for dkalita
0
166

The End.