64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for abelingaw

Ok here's my problem. What i wanted to do was that if i save the value i enter on my txtbox (txtIDNo) and saves it to my database, the default value should automatically adds 1 or + 1 on it. I set the field data type to Number and the …

Member Avatar for AndreRet
0
136
Member Avatar for Kingcoder210

I have created setup file of my program. I have tried to install it there in two pcs to test it that its working properly or not. One pc has visual studio & my program worked there after being installed but another pc doesnt have visual studio & my program …

Member Avatar for nore
0
358
Member Avatar for danholding

[CODE]Traceback (most recent call last): File "C:\Documents and Settings\Administrator\My Documents\textprocessing\test files\keep 6 latest file.py", line 37, in <module> shutil.move(file_name, dst_file) File "C:\Python31\lib\shutil.py", line 278, in move copy2(src, real_dst) File "C:\Python31\lib\shutil.py", line 113, in copy2 copyfile(src, dst) File "C:\Python31\lib\shutil.py", line 66, in copyfile fsrc = open(src, 'rb') IOError: [Errno 2] No …

Member Avatar for danholding
0
421
Member Avatar for abelingaw

Here i am again. I would like to to know how to use/connect a database for my login program to a Database from another computer. I will be using 2 pc unit and connect them with a CROSSOVER connection UTP Ethernet cable. My Dbase will be on the other unit …

Member Avatar for AndreRet
0
270
Member Avatar for jet101

Hi everyone... im new to this forum and also in web application using jsp-jstl. im having problem passing data from a multilple check box lists. here's my code: [CODE]<form method="post"><sql:query var="charge" dataSource="${datasource}"> SELECT chargeID, commodity FROM other_charges where charges_typeID = 1 </sql:query> <span class="cell_content">Toiletries:</span><br /> <c:forEach var="row" items="${charge.rows}"> <input type="checkbox" …

Member Avatar for Watashi
0
1K
Member Avatar for _neo_

Hi. I want to run some shell commands on linux machine with python Popen, for ex. "ping". How I can terminate the process, if it isn't finished normally in a given time? I've tried write some code, can anybody improve it or give some better idea? Any suggestions appreciated. Thanx. …

Member Avatar for Gribouillis
0
1K
Member Avatar for imolorhe

Please, How do I properly add a Winsock Control in WPF for purpose of LAN applications? I tried adding the Winsock control dynamically but then the event functions are not available then. Note: Using WindowsFormHost does not show in my WPF application. Help please!

Member Avatar for jdsurgeon
0
457
Member Avatar for ceeandcee

Here is my problem. I have a table that produces 11 names with 2 values for each. These values are derived by subtracting one field in the database from the other. I have no problem gettign the table to produce those 22 values, but now I want to total each …

Member Avatar for ceeandcee
0
108
Member Avatar for dennishall

Hi there: I am running FCKEditor 2.6.4 and am looking for a solution to insert onClick and onMouseOver external javascript into the anchor tags of my editor instances. This insertion would be handled via a toolbar button. What I already know and have tried: 1. Know how to manually do …

Member Avatar for Taywin
0
143
Member Avatar for iqlas
Member Avatar for Ashena

Hi everyone. I have two dictionaries. In dictionary1 I have numbers as keys and the occurrence of those numbers as values. In dictonary2 I have numbers again as keys, but there are more numbers here than in dictionary1. The values in dictionary2 are the description of the numbers. From dictionary1 …

Member Avatar for Ashena
0
107
Member Avatar for recyan

Hi, Am a total newbie to programming & trying to learn python thro pdf tutorials. I have this working code which uses four numbers as arguments to calculate the distance between 2 points. Tried to unsuccessfully convert it to use Class. Can some one guide me & can I request …

Member Avatar for recyan
0
2K
Member Avatar for cwestern

Hello, I am new to vbs and I am trying to copy 'multiple folders' out of a folder called 'voice profiles' into the 'my documents' folder. I've tried this script I wrote and haven't got the results I've wanted. dim filesys, tempFile, readFile, fileText, fileVer On Error Resume Next '' …

Member Avatar for AndreRet
0
193
Member Avatar for maichy

hi all am trying to obtain a daily report from my database using the code below but it keeps giving me an error of false,when i say debug.print. when i say rptETR.show it gives me all the transactions and not the daily transactions.below is the code Private Sub Cmddaily_Click() Dim …

Member Avatar for AndreRet
-1
409
Member Avatar for ingeva

After close to 40 years of programming one might think that databases would be a well known subject, but it's not for me. In fact I have never had a need for a database until now. I have installed Joomla because I want to develop my websites faster and more …

Member Avatar for ingeva
0
241
Member Avatar for aldoc1

I have a form (vb.net, VS2010) which retrieves product orders and displays the result to a datagridview and text fields. I also have a combo box which displays a list of all products in a product file. I need to set the displayed text of the combo box to match …

Member Avatar for poojashah623
0
2K
Member Avatar for new SE

Hi all, i need some help in c# in order to display the attrtibute that is not in the same table.. i have a table COMPANY and CODE..in company table, i have attribute called CmpStatusCode that just display in int (input by ddl which is selectedvalue ex: 1,2,3)..but in CODE …

Member Avatar for siju kuriakose
0
115
Member Avatar for discovery-power

Hi All, Hope everyone is well, it has been a while since I last posted. I am creating a Yahtzee game, the first thing I want my game to do when it loads is ask for the player/players name/names, so that there scores can be saved to a high scores …

Member Avatar for codeorder
0
85
Member Avatar for sss33

When you have a file with a lot of lines of numbers. I want to know if instead of writing the formula to calculate the numbers for everyline of data. Is there a way to tell it to apply the formula I have made to every line until there are …

Member Avatar for Gribouillis
0
99
Member Avatar for new SE

Hi all, i have a problem with my datagrid attribute "OnPageIndexChanged="gridedit_PageIndexChanged""... for example if i have 2 page and the second page contain only one record.. if i want to delete the record, this error appear.. anyone can help me plz.. [CODE] Invalid CurrentPageIndex value. It must be >= 0 …

0
69
Member Avatar for headedtomexico

I'm distributing a binary that users are required to install the following: Microsoft Visual C++ 2005 Redistributable Package (x86) Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) If they don't have them the program puts up a ambiguous error message. I'm not really sure how static linking works, but I …

Member Avatar for Ancient Dragon
0
160
Member Avatar for Steve_Jones

My program lags the computer because i have it going through a while loop to continue check if a condition is true. Is there any way i can have a wait for user input such as pressing a key to perform the evaluation. Or is there any way to have …

Member Avatar for Steve_Jones
0
98
Member Avatar for samuel17

Hi all, Me again. I am having issues with a looping program. My current issue right now is that it wont compile, it keeps saying i need another perentheses at line 20. This program is suppose to calculate the investment and show for every year. The year and amount of …

Member Avatar for tong1
0
240
Member Avatar for gus7984

The assignment was to write a C++ program that implements Insertion, Bubble, Merge Sorts for sorting Arrays of non-negative integers. The three Algorithms should return as output not just the sorted Array but also the number of COMPARISONS needed to sort the array. The array is has randomly generated numbers …

Member Avatar for kes166
0
166
Member Avatar for valonesal

Im a novice at php and cant seem to get the following two line together. We want to use this line [CODE] <?php if($logged_in) { echo "Welcome back, $logged_row[username]&nbsp"; } else { print('<a href="http://xxx/login.html">Login</a> / <a href="http://xxx.com/signup.html">Signup</a>'); } ?>[/CODE] But we need this put into it, we need it before …

Member Avatar for valonesal
0
103
Member Avatar for aaronmk2

I am having trouble with the evaluate class. An error message is coming back for the pow(x, degree). I have included the cmath library and have cast x and degree into double. Any hints or tips would be greatly appreciated. I have tested the program without the pow(x, degree) and …

Member Avatar for sfuo
0
97
Member Avatar for Ghostenshell

How would I pass something from a driver into a list inside a class. I then need remove a word from the list and replace it with a new word.

Member Avatar for griswolf
0
156
Member Avatar for jimbob90

OK so I'm doing this assignment and i'm confuzzled: write a basic class, with a constructor, default constructor, setter and getter functions. This is what I got: [code=c++] class Car { private: int yearModel; string make; int mpg; public: Car(int, string, int); //constructor void setDefault(int, string, int); // def constructor …

Member Avatar for jimbob90
0
93
Member Avatar for vasilevich

Hello DaniWeb, I am pretty new to this community and overall to the C++ language. Not so long ago i've decided to learn C++. Anyways the problem is: I am trying to make a simple calculator, its very easy my problem is i am trying to advance my knowlege about …

Member Avatar for vasilevich
0
264
Member Avatar for jayzee1989

So I have an assingment that I am stuck on -_- So I am supposed to create a code that "tests" out a range of integers and determine the perfect squares(4,16,25, etc) within the range without using square root calculations and using a function. I have written the following, and …

Member Avatar for TrustyTony
0
109
Member Avatar for empyrean

Hello.. i have two datatables with only one column each. i wanted to compare those two columns in two datatables. here is the example dt1 apple orange peach banana dt2 apple peach mango apricot now i want to compare dt2 with dt1. dt2 is bound to a list box. so …

Member Avatar for mshauny
0
154
Member Avatar for sen4ik

Hi I am parsing .csv file which contains 21 000 records. While i am parsing it i insert records in database. It is taking about 40 second for script to parse the file. User will not sit and wait 40 seconds - he might close page. How can i print …

Member Avatar for MooGeek
0
64
Member Avatar for Xufyan

I had an assignment to create a calculator in two ways, 1) Method returning values. 2) Method without returning values. I've done this with methods returning values but how could i add, subtract, divide , multiply without returning a value from methods ? [CODE]import java.io.*; class first{ int a=5,b=2,c; public …

Member Avatar for java_programmer
0
151
Member Avatar for El3et

Having the following message when trying to run my DirectX10 application. A screen shot of the message is attached. Would appreciate help with this and just before someone asks yes I have DirectX10 installed. Sorry if this is the wrong place to post this thread. Thanks.

Member Avatar for xtrmR
0
75
Member Avatar for MackAttack30

Hi forum, This will probably be an easy one but i have a situation where i have multiple PHP/HTML <SELECT> tags. So i hold their id and name in an array. When i go to call this enableBox JavaScript function and i try to call the selectorName[] using the getElementById …

Member Avatar for MackAttack30
0
325
Member Avatar for Kakashi Hatake

I wanted some information on the return values : 1. Is it always necessary for a return value of [B]main()[/B] to be an integer. 2. What happens if the return value of [B]main()[/B] is not integer. 3. When a return value other than 0 is returned - does it always …

Member Avatar for pro_rocky
0
122
Member Avatar for ceeandcee

Good Morning, I am looking for some code that will simply echo "0" when the result is negative. I dont want it to output a negative number. Here is the line I am looking to add this to: [code] echo $row['GP1011_'.$wk.'']-$row['GP1011_'.$prev.'']; [/code] Any help is appreciated. Thanks Chris

Member Avatar for nevvermind
0
114
Member Avatar for gyannitin

Hi All, When I am fetching a photo from the database, it is getting save into my tomcat server root directory. Now to use this photo i have to give path as C:\Program Files ...... I dont want to hard code this path in any of my web page. Is …

Member Avatar for gyannitin
0
87
Member Avatar for CarterJJ

I'm looking forward to some tips on how to improve this code I wrote. Don't rewrite it yourself please, as I'm really not looking for someone else to do my homework. What advice would you give me? [CODE] import java.util.Random; public class CompareTo { public static void main(String[] args) { …

Member Avatar for NormR1
0
125
Member Avatar for joss23

Hi there,I am stuck here.The question ask to Write an application for a university admissions office. Prompt the user for a student’s High School Grade Point and an admission test score (value from 0 to 100). Print the message “Accept” if the student has any of the following: A grade …

Member Avatar for joss23
0
119
Member Avatar for JJHT7439

Alright, so for the lab I have to do using turtle in python I have to draw an H and then draw H's off of each end of the first H at a 45 degree angle and switch the color between blue and orange. The first H has to be …

Member Avatar for JJHT7439
0
109
Member Avatar for terzenta

I'm trying to work on a basic checking account program. It will eventually allow the user to make a deposit or withdrawal to an account. I honestly have no idea what I'm doing wrong here, but I'm hoping it's just something incredibly stupid. [code] //Deposit and Withdraw Funds package deposit_withdraw; …

Member Avatar for terzenta
0
150
Member Avatar for DSalas91

Hi guys! I'm having a problem with a project in which I analize a .cpp file for certain reasons and I need to create a ifstream Class Variable but I can't! Here in the header I declare the variable, look: [CODE] #ifndef ANALIZADOR2702010 #define ANALIZADOR2702010 #include <iostream> #include <fstream> #include …

Member Avatar for DSalas91
0
192
Member Avatar for thinstaafl

Please help! I have a form with checkboxes. When one or more checkboxes are clicked, I want the program to dynamically create a div, assign that div an editable text area, then when user clicks submit, I need it to gather the input from EACH textbox and output that to …

Member Avatar for sana3366
0
217
Member Avatar for phaedrusGhost

Hi all, I mistakingly posted this in the PHP forum but hope to find my solution here. I am trying to make a dropdown system for states and cities but the cities aren't coming up correctly. I have this on the root page: [code] <? echo "<form name=sel>\n"; echo "States …

Member Avatar for phaedrusGhost
0
165
Member Avatar for Q8iEnG

Dear friends.. I'm working on a project, which is simplified in making a program in Java for mobile phones that sends GPS coordinates as SMS.. Is there any open API for that? I'm using "Pulsar from Eclipse" with "Nokia SDK". It doesn't matter what kind of phone it'll work on, …

Member Avatar for peter_budo
0
170
Member Avatar for adityaagrawal

Sir, I have developed a few simple projects using Netbeans IDE.They contain JSPs,Servlets,Java Classes and i use Mysql as database.Please guide me how to place them on internet.how will the databse work.I have created (exported) a[B] .sql[/B] (dump file) of my databse. I Understand that i will have to register …

Member Avatar for adityaagrawal
0
208
Member Avatar for kiyu2keith

How do you store data in the access database and also to retrieve it? and also a search engine for the database?

Member Avatar for kvprajapati
0
89
Member Avatar for jonathan96

Basically, Im trying to get a list of groups that a member is part of in an array (excluding a few), and limiting it to certain status in that group. I want all the values returned from the query to go into an array. The problem is, when I do... …

Member Avatar for vibhaJ
0
101
Member Avatar for samsons17

Hi.. I've just finished built my website,and now what left is to create the login page so that i could do the admin things.. For this website i just have one user only that is me.. So ,should i create the database for the login page or not? is that …

Member Avatar for swilliamrobert
0
247

The End.