199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gingank

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

Member Avatar for gingank
0
243
Member Avatar for txhornsfan

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 …

Member Avatar for Lucaci Andrew
0
223
Member Avatar for jonnny_brown

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 …

Member Avatar for diafol
0
200
Member Avatar for ShiftLeft

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

0
146
Member Avatar for poojavb

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 …

Member Avatar for poojavb
0
7K
Member Avatar for luckydude

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

Member Avatar for geric823
0
940
Member Avatar for phorce

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 …

Member Avatar for phorce
0
187
Member Avatar for <M/>

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 …

Member Avatar for somedude3488
0
224
Member Avatar for godzab

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?

Member Avatar for NormR1
0
690
Member Avatar for codeblock

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

Member Avatar for codeblock
0
188
Member Avatar for codeblock

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

Member Avatar for codeblock
0
97
Member Avatar for Gen.Asura

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 …

Member Avatar for Krokcy
0
129
Member Avatar for poloblue

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 …

Member Avatar for poloblue
0
7K
Member Avatar for gilgil2

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

Member Avatar for gilgil2
0
252
Member Avatar for spajky

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

Member Avatar for diafol
0
322
Member Avatar for rynop
Member Avatar for L1ndzee

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 …

Member Avatar for NormR1
0
405
Member Avatar for Remy the cook

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 …

Member Avatar for Remy the cook
0
180
Member Avatar for greek_wizard

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 …

Member Avatar for brynFlew
0
1K
Member Avatar for cmstoner

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 …

Member Avatar for urtrivedi
0
284
Member Avatar for Dani

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 …

Member Avatar for Dani
0
240
Member Avatar for TrustyTony

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 …

0
642
Member Avatar for DavidB

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 …

0
100
Member Avatar for David2012

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 …

Member Avatar for David2012
0
176
Member Avatar for Monster99d

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 …

Member Avatar for Monster99d
0
4K
Member Avatar for enakta13

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

Member Avatar for Krokcy
0
291
Member Avatar for leyla

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 …

Member Avatar for Branickiod
0
221
Member Avatar for sleign

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 …

Member Avatar for sleign
0
647
Member Avatar for TrustyTony

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 …

Member Avatar for HiHe
0
308
Member Avatar for deepthought

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 …

Member Avatar for deepthought
0
8K
Member Avatar for naheedkassam

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 …

Member Avatar for pritaeas
0
204
Member Avatar for masocha

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 …

Member Avatar for masocha
0
133
Member Avatar for speakon

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 …

Member Avatar for JamesCherrill
0
3K
Member Avatar for UFO Disko

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 …

Member Avatar for Michael27
0
219
Member Avatar for anuj_sharma

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

Member Avatar for dougWill
0
284
Member Avatar for skran

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!

Member Avatar for poojavb
0
783
Member Avatar for my3h

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

Member Avatar for hemgoyal_1990
0
245
Member Avatar for 47pirates

I am trying to update database by editing cell values in jtable. my table looks like ![a](/attachments/large/2/a.JPG "a") 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 ! ![b1](/attachments/large/2/b1.JPG "b1") but if i …

Member Avatar for dougWill
0
3K
Member Avatar for grga4life

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 …

Member Avatar for NormR1
0
173
Member Avatar for abhi10kumar

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

Member Avatar for abhi10kumar
0
133
Member Avatar for shibu2all

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

Member Avatar for TrustyTony
0
229
Member Avatar for Lucaci Andrew

Inspired by some C and C++ threads regarding finding a specific pattern in a file.

Member Avatar for TrustyTony
0
319
Member Avatar for dagtad

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?

Member Avatar for diafol
0
891
Member Avatar for mani508

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 …

Member Avatar for mani508
0
167
Member Avatar for vijayram

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

Member Avatar for diafol
0
157
Member Avatar for dskumar_85

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 …

Member Avatar for motrack
0
141
Member Avatar for chunkbar

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 …

Member Avatar for hericles
0
410
Member Avatar for shibu2all

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

Member Avatar for shibu2all
0
251
Member Avatar for lemur

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

Member Avatar for peter_budo
0
119
Member Avatar for iEpic

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 …

Member Avatar for JamesCherrill
0
98

The End.