64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Will3Style

[COLOR="Green"]Little background info:[/COLOR] My site is gaming related; xbox 360, ps3, wii, pc an so on. I have big plans and ideas for the site. Since I can't afford vb right now, I've opted for php to code the site. The friend I did have to code the site was …

Member Avatar for Will3Style
0
169
Member Avatar for ektron

Helllloooo DaniWeb peoples!! - I have books and whatnot, but I thinks I need opinions from real people ya know? My question - What do you think are essential projects that a professional web programmer needs to know how to do? Let em fly!! - an earnest THANK YOU

Member Avatar for chrishea
0
136
Member Avatar for DizzyHead

Im quite new to C#, please forgive me if my question is stupid. Im currently doing a project (alarm clock) and encounter some problems. I need to know is there anyway to change the Time ("6:02") from textbox or other means instead of changing it from the source code itself. …

Member Avatar for DizzyHead
0
100
Member Avatar for y2kshane
Member Avatar for y2kshane
0
157
Member Avatar for cac186

I'm taking on a new project and was hoping to get some help. I recently helped complete a Java application in which the user enters various inputs (of the type double or string)into text fields. The application then saves these inputs into a text document which is then used for …

Member Avatar for NormR1
0
291
Member Avatar for VBNew

Hi, does somebody knows how to convert the password input so it does not appear to the screen as what we type and it appears as special characters like******. thanks!

Member Avatar for Aslam Mansoor
0
168
Member Avatar for 0x69
Member Avatar for Rashakil Fol
0
114
Member Avatar for mike42intn

I am writing this program for class and it compiles fine but when i debug it it gives me an assertion failure any suggestions would be welcomed i need it to output 20 random sentences. [CODE]#include "stdafx.h" #include <iostream> #include <cstdlib> #include <ctime> #include <cctype> using namespace std; const char …

Member Avatar for mike42intn
0
232
Member Avatar for judithSampathwa

Hey I have a question regarding datagridview cells, I have made made the rows that display data from the database as read only, but the thing is when I click on one of the cells an event triggers out, I have coded for cellcontentclick, cellvalidating, currentcelldirtystatechanged, editingcontrolshowing. When I clik …

Member Avatar for judithSampathwa
0
488
Member Avatar for MatejM

Hello everyone, First of all sorry for my English. How can I rename headers in dataGridView? When I press on Find button all works just fine. I get the information wich I want. But headers of columns in dataGridView have names just like in database (PersonID, Name_Person,... ). I would …

Member Avatar for PierlucSS
0
458
Member Avatar for Laurence26

I found this little program for a game in a book. [CODE]class Tank (object): def _init_(self, name): self.name = name self.alive = True self.ammo = 5 self.armor = 60[/CODE] It is named tank.py When I import it in python and I try to add [CODE]my_tank = Tank("Bob")[/CODE] Python gives an …

Member Avatar for umbuty
0
173
Member Avatar for AngelicOne

My form1 has datagridview, that is populated by a dataset. I want to pass the selected value of the datagridview to my other form which is form2. How could I do this?

Member Avatar for SHatcher
0
1K
Member Avatar for heshanm

Hi guys, I have a small problem here... There is a [B]customer id[/B] field and a [B]search button[/B] in one page. In my database there is a [B]table[/B] called "[B]customer[/B]" which contains fields of [B]customer_id, full_name, name_with_initials, address, contact_number and gender[/B]. The table is filled with record of each customer …

Member Avatar for heshanm
0
86
Member Avatar for ChaseRLewis

Wanting to create an error handling function, I want it to return the line without having to pass an int value for it. I've seen functions given to me in books and so forth do it, but I have no idea how to get that value.

Member Avatar for ChaseRLewis
0
128
Member Avatar for buster2209

How can I execute some code when the user closes the application? Where do I put this code?

Member Avatar for buster2209
0
102
Member Avatar for P00dle

Okay, this puzzle the hell out of me. I've got 2 different sets of code, one which works, one which doesn't. They are both very similar, and I can't see what is causing the problem. Code that works: [CODE] public static void main(String[] args) { PropertyConfigurator.configure("log4j.properties"); new Settings().globalSettings(args[0]); logger.info("Read settings …

Member Avatar for jon.kiparsky
0
567
Member Avatar for tedtdu

Dear all. Thanks for you kind and generous supporting. From the String s="<hell <world </world </hell"; I wanted push the elements "<hello, <world" into stack, and pop off if current element equal to peek element in stack. Question: Even stack.peek().equals(CURRENT ELEMENT), why can not pop off, but occurs error?? Please …

Member Avatar for jon.kiparsky
0
283
Member Avatar for heshanm

Hi all, Here i have a serious problem. I want to sought it out using [B]PHP and MySQL only[/B]. I have a form includes fields of customer id and Account type( [B]stored in a jump menu and includes 6 different types of accounts[/B]) [CODE] <style type="text/css"> <!-- body,td,th { font-size: …

Member Avatar for heshanm
0
121
Member Avatar for shalini_roy

can someone tell me how to do this??? i have a product category in a combobox and the associated product codes in a list box. i'm using oracle for backend. the combobox on form loading shows the product categories from oracle database. but the product category is not a primary …

Member Avatar for agrothe
0
417
Member Avatar for leo002000

Hi all, Basically I am attempting to determine whether the first 2 columns (tab delimited file) from file1.txt match the first 2 columns of file2.txt. If they do I want to output the entire row of file1.txt to outputfile.txt... I can do this using vbs but due to the amount …

Member Avatar for mitchems
0
242
Member Avatar for loll_l

When submitting an order on my booking form found here: [url]http://www.n-v-m.co.uk/Booking.html[/url] the php file 'sendfile.php' is triggered and this sends booking details to my email account. This is the php code in 'sendfile.php' [CODE] <?php $Name = $_POST['name']; //senders name $to = "info@n-v-m.co.uk"; //recipient $subject = "Order from ".$_POST['company']." (".$_POST['name'].")"; …

Member Avatar for loll_l
0
138
Member Avatar for koveras vehcna

Hello everyone, I am currently teaching myself language processing by using the book of NLTK -found at http://www.nltk.org/book - and I have a problem. The following code retrieves every sentence in Shakespeare's Macbeth respectively as a list of list of list -or something like that- format: from nltk.corpus import gutenberg …

Member Avatar for koveras vehcna
0
253
Member Avatar for ftl25

Hi, I have a structure defined in my header file as follows: [CODE] struct TestInformation { int TestPointer; // pointer to the selected test long TestPointerValue; // the value contained within the pointer long TestSize; // the size of a test char *TestText; // the text contained within a test …

Member Avatar for ftl25
0
286
Member Avatar for Prashant20

I have created an Exams form which has all its control(1 txtbox, 2 combobox) binded to exams table (SQL Database). The form has a Datagridview which shows two column, Subject and OutofMarks(dats total mark assigned to a subject e.g. Subject [B]English[/B] is of [B]100 [/B]mark. The subject column of datagrid …

Member Avatar for dhananjaygupta
0
114
Member Avatar for ivan3510

Hi! Sorry for my bad english. I need help. I have a code (it's long so here's short version) that will, when I click on the button 1 (input field 1 and button 1), make a new input field and button with new name (input field2 and button 2) and …

Member Avatar for ivan3510
0
117
Member Avatar for phplover

Hi, Sorry it's me again :-O I am in the middle of creating a download/upload management script. Currently it has one upload method HTTP upload via HTML form which obviously is not good as users would be restricted by the PHP max upload size and script timeout issues and so …

Member Avatar for phplover
0
145
Member Avatar for jbisono

If you have 3 tables with over 10,000 records each and you have to build a recursive function with this 3 tables link, and you expect to have in return around 200 records, What will you do? "The website is intranet host" Query the sql server multiple times or load …

Member Avatar for jbisono
0
105
Member Avatar for azegurb

hi all i have taken script from internet but in this script i dont understand what does mean this.length. when we write [CODE]this.length[/CODE] as what length we must understand it here is code. [CODE]Array.prototype.max = function() { var max = this[0]; var len = this.length; for (var i = 1; …

Member Avatar for Taywin
0
119
Member Avatar for anirban1087

Hi, I have 5 Numeric fields in my from, I am using onkeyup to check for numeric values only, now I have a total field also. I would like to have a sum of the values entered in the 5 fields to be shown automatically on this total field. How …

Member Avatar for benhowdle89
0
87
Member Avatar for buster2209

I have successfully managed to get my data the way I want it in ListView and have two questions; 1 - How can I select an item on a single (or double) click of a mouse button that executes some code using that as the variable passed to it from …

Member Avatar for buster2209
0
295
Member Avatar for fire_

Hello. I'm writing program wich reads from file line by line and then rewrites everything to other file. This is simplifyied part of code: [CODE]for (int i=0; i<=5;) { getline (file1, str1); /* file1 is file from wich i read and str1 is string*/ file << str1; }[/CODE] No i'm …

Member Avatar for Ancient Dragon
0
275
Member Avatar for starlight849

Hi, I am looking for advice on the best way to achieve my current goal. I am reading a textfile and extracting information from each line. For example string1 and string2. I am then writing these string to a datatable. However, sometimes there will be repeats in string1 and string2. …

Member Avatar for starlight849
0
163
Member Avatar for Pinchanzee

My internet browsing skills have failed me and I can't seem to find any solution to this. I image it'll be easy for you guys though and I'd be incredibly grateful if you could help me. I'm new to Python so a relatively simple explanation would do me very well, …

Member Avatar for Pinchanzee
0
2K
Member Avatar for ebanbury

Hello Now this is very strange and way out of my knowledge-basis. I had a working form (see code) which inserted data into eph_product. Suddenly it stopped working and when I click on 'submit' I get the following error: [B]You have an error in your SQL syntax; check the manual …

Member Avatar for ebanbury
0
221
Member Avatar for buster2209

I want to be able to double left click my mouse on an entry in a populated listview window and pass that variable (as a string) to a textbox. Can anyone give me some sample code?

Member Avatar for Geekitygeek
0
139
Member Avatar for shena

Hi all, I have form to populate list view items which allows the user to view, add, update, and delete model records. But when i start the project, the [B]Run-time error '380': Invalid Property Value[/B] comes. i click to debug, it highlighted a line as i have indicated below in …

Member Avatar for shena
0
3K
Member Avatar for shena

Hi all, I have string like this: JK-501-[COLOR="Red"]3556-25[/COLOR]-A-03#C I would to extract the middle part without dash which suppose to look like this:355625 I wrote the code this way, but the string extracted looks like this: 3556-25355625 [CODE] For i = 1 To Len(cbPN.Text) If Mid(cbPN.Text, i, 1) = "-" …

Member Avatar for shena
0
131
Member Avatar for shena

Respedted Seniors, I have a form to input a product model detail. When i run the project and choose to click the menu 'Model Master', an error as below occurred. [B]Run-time error '3709': The connection cannot be used to perform this operation. it is either closed or invalid in this …

Member Avatar for shena
0
7K
Member Avatar for sakush100

The explode function breaks the data in $kkkk into fragments and stores them into array whenever - is encountered. Now the problem is i want to explode the same data, whenever Enter key was used. Please help me,i got stuck for whole day. [CODE]<?php // TO BREAK THE DATA INTO …

Member Avatar for sakush100
0
150
Member Avatar for farsen

Hi. I am interested in converting an amount of pixels into a real cencimenter or inch value. I´ve read some articles which confused me more that they informed me, so hope you can guide me in the right direction :) Lets say I have a user input his monitor size …

Member Avatar for farsen
0
190
Member Avatar for Stefano Mtangoo

Hi to all, is there any place i can download MSDN Library for VB 6.0? I really need it! with regards!

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for ankilosado

I have writen a code for adding (math +) two arrays. Actually, I have two arrays of a class I have also designed, that has two attributess, one of wich is an integer. I would like to sum (add element by element) one array on the other by adding the …

Member Avatar for ankilosado
0
180
Member Avatar for smcguffee

Hi all, I'm gradually starting to make this transition from the world of C to C++, and now that I have a little progress, I have some things that are still a bit confusing to me. One of them is if I nest a class inside another class. If I'm …

Member Avatar for smcguffee
0
121
Member Avatar for dsul

Hey people, I've been coding in vb.net for a while but never had to publish anything (it didn't get covered during any of my classes) so here's my confusion: Context: My application uses an existing excel spreadsheet which it then modifies per user input, and saves the modified version to …

Member Avatar for ÜnLoCo
0
387
Member Avatar for joker400
Member Avatar for shinyhelmet
0
247
Member Avatar for serkan sendur

I have never found a logical explanation to make my mind about using interfaces in c#. Does any one know a robust benefit of using interfaces? please explain to me in a structural manner.

Member Avatar for Sam.ars
0
1K
Member Avatar for buster2209

I have the following code which is used to get various details about wireless networks; [CODE] // Lists all networks ssid, signal stregth, availability, & security Wlan.WlanAvailableNetwork[] networks = wlanIface.GetAvailableNetworkList(0); foreach (Wlan.WlanAvailableNetwork network in networks) listBox1.Items.Add(GetStringForSSID(network.dot11Ssid)); foreach (Wlan.WlanAvailableNetwork network in networks) listBox2.Items.Add(network.wlanSignalQuality + "%"); foreach (Wlan.WlanAvailableNetwork network in networks) listBox3.Items.Add(network.wlanNotConnectableReason); …

Member Avatar for PsychoCoder
0
151
Member Avatar for skamranj

Hi, I am having some problem using nested if else in C# project. I have no idea why it is always executing the Save() function. I don't want to execute the save() function if the (dr.Read()) is true. Here is the code: [code=c] protected void BtnSave_Click1(object sender, EventArgs e) { …

Member Avatar for skamranj
0
140
Member Avatar for dany12

First of all I want to thank the guys form this forum for there work and help that I found more then use full an different occasions. Here is my c programing exercise. Write a c program that shows all the products tahat have the price over 10. Any help …

Member Avatar for dany12
0
133
Member Avatar for monicao

Hello! I've a Javascript function that has to verify if a form field is empty or not. My function works fine on my local server (Vertrigo), but when I upload it on server (online), the function doesn't verify if form fields are empty or not. Please help, I'm not good …

Member Avatar for monicao
0
183

The End.