199,114 Archived Topics
Remove Filter ![]() | |
Hi All, I would like to start a web site that build from ASP.net & C# and database using MS SQL 2008. Got any good website, source code or book recommend to me to doing this project. Thank you | |
I am having problems with my code. I think it is the print function, but I'm not sure. Everything compiles correctly. Just no output. Any help is appreciated. Thanks Here is what I have: #include <iostream> using namespace std; struct node* tree = NULL; struct node { int data; struct … | |
Hi guys sorry to bother you i just wanted to ask a quick question using dreamweaver along with PHP in dreamweaver i have managed to populate a list menu with data from a database. i wanted to know if it is posible to display text from another field within that … ![]() | |
# Show # This procedure doesn't conform to any particular calling convention. It is designed specifically to work with other subroutines designed by me. Any of my examples won't be using and standard library functions either. Not because I think they are inadequate, but rather give me complete independence and … | |
Hello Friends, I need help to disable the parent window form as soon as the user will open the child form.... for eg...consider daniweb...when we click on member login the background form gets grayed out.... Disabling the form is not the option cause it will just disable all the controls … | |
Hey all, I am new to C# and want to learn it. Can anyone tell me a good book for beginners? Your help is greatly appreciated. thanks. Luckydude | |
Hello, I'm currently working on a project that basically reads some text and then performs basic Lexical Analysis on the text. I'm having a slight problem with overloading methods. So for example, I have a method that can read in the words from a txt file and another method which … | |
How do I sort this loop? I can't sort it because I just began learning PHP, so I don't know as much as most of you users... Can anyone help me? <?php $red = array(); $x=0; $min=500; $max=2000; echo "<table border=\"1\">"; for($row=1;$row<=20; $row++){ echo "<tr>\n"; //Need table ONE to have … | |
I have two differnt classes' that extend from the JFrame class. I have a button on one frame that should go to the next Frame, but how would I do that? | |
Hi all, I'd like to know if it is possible to create a perl script that would take the names of image files with its extension of say 10,000 images from out of a folder and place them into a database table in separate rows to use as sample data? … | |
Hi all, I'd like to know if it is possible to create a php script that would take the names of image files with its extension of say 10,000 images from out of a folder and place them into a database table in separate rows to use as sample data? … | |
Hi, are there any Java book available for some one who has NO knowledge about programming at all? I tried books like head first java, thinking in java but they were no help. Head first java started out with coding and I just knew nothing by reading the syntax. Are … | |
Good Afternoon, I'm having problems with my school assignment that is about a loan program. Here are the details what the program needs to do. You are required to write a loan program for the Rio Grande Bank. This program will print an amortization table for a loan, given the … | |
Hi I have two Mysql tables, one with the information in and another with payment information in. I want to echo the results that have paid first and then the rest of the results. If information has no payment associated with it it does not appear in the payment table. … | |
In my web application I'm using the Lightbox v2 by Lokesh Dhakar. Now i want to refresh image in lightbox every second. Note: Lightbox is trigered by: `<a href="screenshot.jpg" rel="lightbox"><img src="images/Screenshot.png" alt="" /></a>`. ![]() | |
Hi, I am currently working on a java program for class and I cannot figure out what I am doing wrong. Each week I have been creating this java program that calculates sales, total compensation, etc. Well for my final team assignment my group has to take a piece of … | |
I am new at coding. I wanted to read from a file(text) and then write it to another file many times so that the file I write to becomes as large as 20MB..I read Harry Potter book for that....the code works just fine for 1000 lines etc..the file is read … | |
Good evening, I have a simple problem. I'm making a shopping basket and i want to add some prices for the items but i can not figure out how to pass the value from one page to another in order to view the total ammount of payment in the cart … | |
I am developing an sql query to use to grab information from a postgres db. The scenario is as follows: the database I am grabbing information is the backend postgres database of an application (Tableau). My objective is to pull all of the workbooks, views, and datasources (considered objects) that … | |
We store a list of keywords in the database as a comma-delimited string. I want to use Sphinx to query against the field, but I'm worried that the keywords would all be treated as a single word since there are no spaces. I went ahead and edited the MySQL query … | |
I googled little around for correct way to not reinventing of the wheel for expression evaluation (even I had done some simple evaluation check for my [Tkinter calculator snippet](http://www.daniweb.com/software-development/python/code/282548/simple-calculator) earlier). After getting totally upset with [this example](http://www.bestcode.com/html/evaluate_math_expressions_pyth.html), I made this with some struggles with `__builtins__` globals parameter of eval. First … | |
I have recently gotten more involved in the logistics side of my employer’s activities and we use SAP for a large part of our CMS work (specifically, SAP by Design). We have hundreds of Sales Orders (SOs) in the system and they are spread out to 2016. I am now … | |
Hi, If i want to create a user in MySQL only to allow the Php program file to access the database and show results in my website what priviliges should i give to the user. So that access to my database is never compromised if someone can get the password … | |
I have an error called Unexpected Token 'class', did you forget a ;? I have no clue what is going on. Maybe you guys can help me out. The codes name is Player.h. The error is on line 9. #ifndef PLAYER_H #define PLAYER_H #include "Weapon.h" #include "Armor.h" #include "Monster.h" #include … | |
I have created the buttons for on-screen keyboard. The only thing I don't know is how to add the corresponding letter/character via actionListener to the jTextField. I know if it was not jTextField I could use "append". | |
![]() | Hi, I have been given the task of basically reading and writing to and from files. Below is the code from one sub: If btnSaveRecipe.Enabled = True Then FileName = "C:\Users\Leyla\Documents\Recipe Task\Recipe.txt" FileWriter = New IO.StreamWriter(FileName) For index = 0 To lstRecipe.Items.Count - 1 'For the number of ingredients in … |
This question could probably be posted in several areas, but what I am writing is a google maps application and I'm also pulling feeds, so I'm choosing this as the main category to post this question in. Basically, I've pulled a feed from NOAA which gives me weather alerts. I … | |
I am trying to write safyfied evaluator class, and get unexpected `__builtins__` added to dictionary after evaluation. Can somebody explain why/how it happens? import math def echo(n): print n return n def nothing(n): return n debug = nothing class MathParser(object): ''' Mathematical Expression Evaluator class. call evaluate() function that will … | |
Hi ALL, I am completely new to python and when i was playing with a while loop in the Python SHELL the code works but when I then put it into a file and saved and then tried to run it I got the error "NameError: name 'b' is not … | |
Hi all, Thank you for the wonderful job you are all doing. I have a small problem that I would like to get a solution for. We are creating a cloud for storage of files online for our social group where users will be able to upload files and access … | |
l have a php script writing to TCP socket. This connection needs to be always one as it can receive data anytime from the server. Now **problem** is only the first instance of socket_write works. i need to keep reading and writing data to the socket Just to clarify l … | |
Hello! I am very new to Java and programming theory and desperately trying to improve my knowledge. This is the first program I've made without help and really would appreciate some feedback. I know there must be 1,000,000 better ways to do what I did. Notes: - I want to … | |
Hello, I want to be a Microsoft Certified Professional Developer and after googling so much, I understood that in order to obtain that certificate, I have to pass 4 exams. * MCTS prerequisite: TS: Web Applications Development with Microsoft .NET Framework 4 (**Exam 70-515**) * MCTS prerequisite: TS: Windows Communication … | |
Hi, I am trying to add content to an excel sheet using the below code. However, when I open the excel sheet, nothing is added. Please advice. public class StepNoToExcel { HSSFWorkbook wb = null; String fileName = "C:\\StepNoForEvidences.xls"; File file = null; StepNoToExcel() { file = new File(fileName); if(!file.exists()) … | |
Hello all! I would like your help please.. I have a datetimepicker and I want to use it for the time part only! So, I would like to disable its dropdown calendar.. Thank you in advance! | |
I have two files, ApplicationRegister.php and UserRegister.php In ApplicationRegister.php the user fill the details and submit the form to database, it redirects to UserRegistration.php. In UserRegistration.php, User fills up the form and save the data to the lastest inserted id. I have used mysql_insert_id() to get the last inserted id, … | |
I am trying to update database by editing cell values in jtable. my table looks like  When i edit the value in particular cell and without clicking anywhere if i click on Update button the database is not updated as like this !  but if i … | |
Hello everyone,I have little problem over here with my work. It gives null pointer about JTextArea in ActionListener. Could anyone help me,please? Thanks in advance Here's code: import java.awt.event.*; import java.io.*; import javax.swing.*; /** * @author Nikola * */ public class FileListener implements ActionListener { private JMenuItem exit; private JMenuItem … | |
I am using Hindi Font and storing into database. While inserting I use mysql_real_escape_string() function; its working fine on local but not on server. **showing on server** Its adding extra slashes; but in local its showing correct INSERT INTO `tbl` (`num`, `address`, `name`, `father`, `state`, `city`, `gender`, `mobile`, `namdan_date`, `file`, … | |
void insertion_sort(int *a, int n) { int for(i=1;i<n;i++) { value=a[i]; for(j=i;j>0 && value<a[j-1];j--) a[j]=a[j-1]; a[j]=value; } } can anyone pls explain me the flow of this code... i am having confusion in understanding the flow.. | |
Inspired by some C and C++ threads regarding finding a specific pattern in a file. | |
I'm trying to develop an interactive website using php and i want to display image(retrived from mysql database) and some text on the home pag. but the image retrived from my database fills the whole page. how can i display both text and image on the same page? ![]() | |
hello i want to change text while pressing the linkbutton. i want to add feature like and dislike on website.. that's why i add two link button one is Like and other is Dislike... i am so confused about it when user press the like button then change the text … | |
Hi evrybody, i created fileuploader,user upload photos,the photos arranded in random size. i need display photos three random size first image automatically getin width:140,second:190,thrid:240. more than 10 images user uplaod. next image getin size 1; all the images display overlap. This is my fileuplaod code. public function executeUpload(sfWebRequest $request) { … ![]() | |
hai .... I want to upload the image to database...But my question is how can upload the image without using the fileupload .Instesd of fileupload i have give the specific path of the image likee c:\project\image\winter.jpg in static ..... in the button click i want to upload the image to … | |
this is our insertion logic. but the problem is that after inserting one record we reset the textfields to clear them.and after that if we again press the insert button it duplicate the previous record into our database.we want to tackle with this??????so that no duplicate entry should be inserted … | |
void selection_sort (int *a, int n) { int i, j, m, t; for (i = 0; i < n; i++) { for (j = i, m = i; j < n; j++) { if (a[j] < a[m]) m = j; } t = a[i]; a[i] = a[m]; a[m] = t; … | |
Hi there, I wrote code that reset search settings, code is: function formReset() { var fields = document.getElementsByTagName( "input" ); for ( i = 0; i < fields.length; i++ ) { if ( fields[ i ].type == "checkbox" ) fields[ i ].checked = false; } document.getElementById( 'rrpmin' ).selectedIndex = 0; … | |
Im taking a java class right now but I am still a complete noob. I want to make a program where it searches a text file and will write the usernames it finds to a new text file. Usernames are always found like this in the file... <a href="/user/iEpic" the … |
The End.