199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jmwmulle

I'm an amateur web developer trying to move toward more professional coding practices, and I'm making my first site that makes extensive use of ajax. I've used the xmlHttpRequest object on a few occasions, for which simply creating functions as I needed them were adequate. But the site I am …

Member Avatar for jmwmulle
0
236
Member Avatar for ebanbury

Hello I am trying to create a one-field search form with fields that match fields in a database, carry out a search for records which match the word put in the search button, and show the results in a table on the same page. I have got myself a bit …

Member Avatar for Javvy
0
255
Member Avatar for davidjg

Hello all, I am new to C programming and I am currently working an encoder program that encodes text unintelligibly. I need help writing my recursive function to provide the desired output results. A sample is below. Can anybody help me out or point me in the right direction or …

Member Avatar for davidjg
0
126
Member Avatar for kra9853

The program asks the user to provide from 1 to 6, inclusive, numbers between 1 and 59, inclusive, as their lotto numbers. The lotto program will then use the random number generator to provide the same number of numbers in the same range. Check to see how many of the …

Member Avatar for kra9853
0
584
Member Avatar for Jake.20

Guys, can you give me some idea on how to turn the combo box/drop down box uneditable.

Member Avatar for bLuEmEzzy
0
96
Member Avatar for FireBlah

I have to write a very simple code (GUI code) and my last buttons are supposed to be in the middle at the bottom of the frame. Well, they are not in the middle. They are at the bottom but on the left side of the frame. /* I called …

Member Avatar for Katana24
0
130
Member Avatar for iskinner

Thanks to some great help for my first ever post on this formum [ [URL="http://http://www.daniweb.com/forums/thread346113.html"]Fetch a node based on a value of another node.[/URL]] I am now recursively traversing through my XML data where nodes are related to each other. Example XML [ICODE] <gedcom> <INDI ID="@I001@"> ... <FAMC>@F001@</FAMC> </INDI> <INDI …

0
121
Member Avatar for goshiluvarchie

Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> …

Member Avatar for goshiluvarchie
0
5K
Member Avatar for Joshua Kidd

Hello, I am making a program for Microsoft Flight Simulator X, and When you are in Multiplayer in most games there is a Chat room, or Chat Box. Do you think that there is any way I can reach maybe an API or possibly monitor the Screen so If someone …

Member Avatar for Joshua Kidd
0
79
Member Avatar for haqayyum

Dear Friends I am using visual basic 2008 amd creatomg a datagrodview format like below Product Code | Product Description | Price | Qty | Discount(%) | Total 00001 Biscuits 10 2 00002 Cream 50 2 Now I wnat to get total balance in total column after less discount in …

Member Avatar for CodeWord
0
103
Member Avatar for patrickmh

I'm fourteen trying this on my own for the first time. Yes it is for my junior high math class. I am having a few issues.. I have cleared many of my issues up after I found I had left out a lot of {{ type things.. Any help would …

Member Avatar for pseudorandom21
0
157
Member Avatar for GDICommander

Hello, DaniWeb community! I want to know how I can delete environment variables in Python so that I can no longer see them outside of the execution of the Python script (on Windows, in "Advanced System Settings/Environment Variables...") This is what I tried: os.unsetenv deleting entries in os.environ, but it …

Member Avatar for GDICommander
0
2K
Member Avatar for brightline

I am using Enterprise Library 4.1(October 2008) and I am trying to use DBCommandWrapper but I can't find it I had added the following references: [code=asp.net]Imports System.Data Imports Microsoft.Practices.EnterpriseLibrary.Data Imports Microsoft.Practices.EnterpriseLibrary.Data.Sql[/code] I wrote the following code: [code=asp.net]Dim db As Database = DatabaseFactory.CreateDatabase() Dim objDBCommandWrapper As DBCommandWrapper = db.GetStoredProcCommandWrapper(sqlCommand)[/code] but when …

Member Avatar for gtaalbi
0
176
Member Avatar for bklynman01

I'm relatively new with VB.net, so please bear with me... I have a tabpage with 28 textboxes in it. These textboxes will be loaded with data and maybe changed. There is a Save button on the form that will take the data from these textboxes and save them in a …

Member Avatar for CodeWord
0
173
Member Avatar for MykMallett

I am asking on multiple forums because I am desperate! Hi, firstly I would just like to say that I am not a C++ programmer and I never intend to be - I am an SQL, javascript and PHP developer. For a module at University I have to alter a …

Member Avatar for Moschops
0
248
Member Avatar for bettybarnes

i have problem guys about overload resolution Overload resolution failed because no Public 'Add' can be called with these arguments: 'Public Function Add(text As String) As System.Windows.Forms.ListViewItem.ListViewSubItem': Argument matching parameter 'text' cannot convert from 'DBNull' to 'String'. 'Public Function Add(item As System.Windows.Forms.ListViewItem.ListViewSubItem) As System.Windows.Forms.ListViewItem.ListViewSubItem': Argument matching parameter 'item' cannot convert …

Member Avatar for CodeWord
0
190
Member Avatar for carlitosway17

Hi its me again, I have an error on the highlighted line below :Error 1 'BankLibrary.Record' does not contain a constructor that takes 4 arguments [CODE] // Fig. 19.8: Record.cs // Class that represents a data record. namespace BankLibrary { public class Record { // auto-implemented LastName property public string …

Member Avatar for Momerath
0
292
Member Avatar for MagicMedia

I'm creating a forum like this one and I need to display my topics by last post. I want to create it so that the topic gets bumped back to the top whenever someone adds a new reply, like most forums including this one. I have a timestamp on both …

Member Avatar for MagicMedia
0
159
Member Avatar for fab2

[ICODE]Hi, I am following a C course on a book, that's good. Now I am studying the functions, the different type of variables, such as static, local and global variables. There is in the chapter an example of how these types of variables behave when they are on a program, …

Member Avatar for fab2
0
220
Member Avatar for Xytheron

Hey all! Homework help again...except this time not in the way you think lol...I finished all my problems and realized there's a problem in my makefile which I need in order to submit Here's the original make file that our professor gave us [CODE] CC = gcc JVC = javac …

Member Avatar for gerard4143
0
200
Member Avatar for kim.beaul

Please help, I have only been using Java 2 weeks. I am to ask the user how many columns he wants and then print an ascii table in that many columns. So far I can get the program to print the ascii table in one column. How do I specify …

Member Avatar for gazzatav
0
170
Member Avatar for avatrin

How can I solve the following ODE numerically using Python and Euler's method: v' = 5 - 0.5v Also, can anybody recommend a good book or website where I can learn solving differential equations using Python?

Member Avatar for bumsfeld
0
167
Member Avatar for rockerjhr

i have to impplement a dynamic stack to create a program but when i try to compile my stack.c file(with gcc) I get a bunch of errors here are my files GLOBALS.h [CODE] #ifndef _globals #define _globals #define DATA( L ) ( ( L ) -> datapointer ) #define NEXT( …

Member Avatar for rockerjhr
0
312
Member Avatar for TrustyTony

Saw somebody was viewing this thread and thought the qrange needed one update. From post [url]http://www.daniweb.com/code/snippet216627.html[/url].

Member Avatar for TrustyTony
0
636
Member Avatar for blee93

This problem was from the book C++ Primer Plus Chapter 4 #8. The point of the code is to create a structure and use the new keyword to dynamically create a new structure. This problem makes me alter my code for the previous problem in the book so that I …

Member Avatar for blee93
0
123
Member Avatar for libathos
Member Avatar for ztini
0
168
Member Avatar for caltech

[CODE] #include <iostream> #include <cmath> #include <iomanip> using namespace std; int main () { int numb, sum, divis3, divis5; numb = 20; sum = 0; double value = sqrt(numb); cout.setf(ios::fixed,ios::floatfield); cout << setw(8) << left << "NUMBER" << setw(8) << left << "DIVIS3" << setw(8) << left << "DIVIS5" << …

Member Avatar for rxlim
0
135
Member Avatar for ttchiwandire

Hie guys, I've been missing in action for quite some time. Today am back with a problem to do with the creation of an HL7 message in java. I'm using Eclipse and Java, and I've been researching about sending HL7 messages from my java application but dont seem to be …

Member Avatar for ztini
0
456
Member Avatar for ujjval dave

hey, i have problem with paging,i need to use two tables to fetch data. i am submitting my developed code. i hope some body will help me. [CODE] mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("dummy1") or die(mysql_error()); $START=$_GET['start']; if(!$START) { $START=0; } $data = mysql_query("SELECT * FROM scrapmsg ORDER BY date …

Member Avatar for diafol
0
98
Member Avatar for NewOrder

i have got an exception, i dont understand why? basically, below there is the bottom part of my server code that i try to use. In short, i built 2 Dictionaries of streamWriter and StreamReader and one List of names. Exception is thrown there: [CODE] Some of the collections that …

Member Avatar for NewOrder
0
181
Member Avatar for eduard77

i have the next code that compiles without problems but when I run it after I put in the input data it gives me the next error: line 128 vector iterator not decrementable I use visual c++ 2010. [CODE] #include <iostream> #include <iomanip> #include <vector> #include <iterator> #include <algorithm> #include …

Member Avatar for mike_2000_17
0
442
Member Avatar for punter

The basic structure of the program is this: 1. issue an interactive prompt for the user to enter a non-negative number, 2. verify that the input is indeed non-negative, or that the user wishes to end the program, 3. calculate the square root of the input value, using the method …

Member Avatar for SaadBinSaulat
0
191
Member Avatar for Speleo

Hey all, I'm relatively new to python, just started learning it about a week ago. I've been working on making some small scripts to make learning easier for me. This is a cypher script I've been working on that is based off of the order of letters used on a …

Member Avatar for bumsfeld
0
271
Member Avatar for DGeneral

Hello, I took a C++ code from a colleague which uses OpenCV for image processing, and when I try to debug the program using Visual Studio 2008, as soon as the black output window pops up, I get the following error (Windows error, not code error): [B]"The program can't start …

Member Avatar for pseudorandom21
0
269
Member Avatar for winecoding

With respect to the following code segment, what should be the n value in different classes, e.g., what is a.n, b[2].n, and c->n How to analyze them? [CODE]#include <iostream> using namespace std; class CDummy { public: static int n; CDummy(){ n++ ;}; ~CDummy(){ n--; }; }; int CDummy::n = 0; …

Member Avatar for pseudorandom21
0
101
Member Avatar for shivarocks

Hello Friends... I am new to jsp and i need to edit a .doc file present in a server using jsp! i tried googling and i got to know about "apache poi". this is working great for opening a doc file and also for writing a doc file but my …

Member Avatar for shivarocks
0
501
Member Avatar for akase2010

The Assignment is: Write a class named Car that has the following member variables: yearModel, make, speed. In addition the class should have the following constructor and the other member functions constructor-accept the cars year model make as arguments. an assign to the objects year, make also assign speed 0 …

Member Avatar for rxlim
0
202
Member Avatar for Acute

How to store both cyrillic and latin in MySQL and is there anything special that I should know to display cyrillic with PHP? (conversions etc.) Thnx in advance

Member Avatar for smantscheff
0
118
Member Avatar for stultuske

for the moment, I'm working on a project where I have to apply filtering as used on one table (using the jQuery datatables plugin) to a next table (which is using the picnet.table.filter plugin). now, I have been able to retrieve the values used to filter from the original table, …

Member Avatar for johnsteve.bravo
0
254
Member Avatar for andrewliu

I have an [B]ajax-register.php[/B] [CODE]include("connection.php"); if($_POST) { //form data $fname = mysql_real_escape_string($_POST['fname']); $lname = mysql_real_escape_string($_POST['lname']); $password = md5(mysql_real_escape_string($_POST['password'])); $confimPass = md5(mysql_real_escape_string($_POST['confirmPass'])); $email = mysql_real_escape_string($_POST['email']); $confirmEmail = mysql_real_escape_string($_POST['confirmEmail']); $dob = mysql_real_escape_string($_POST['dob']); // database $queryreg = ("INSERT INTO users (fname,lname,password,email,dob) VALUES ('$fname','$lname','$password','$email','$dob'"); mysql_query($queryreg) or die(mysql_error()); }[/CODE] Then I have my [B]register.php[/B] with …

Member Avatar for johnsteve.bravo
0
239
Member Avatar for kischi

Hi, I'm kind of new to AJAX, but heard this might be the way to go for what I wanna do. I wan't to create a link, and when a user presses the link it's creating another text box underneath with some text in. so ofcourse there'll be multiple link …

Member Avatar for johnsteve.bravo
0
158
Member Avatar for robinthomas

Can anyone help me to find some questions for php practical interview test ? I need some question in the following pattern . 1) what is the output of the following program ? 2) Some tough multiple choice questions 3) Write a PHP program to ......

Member Avatar for mschroeder
0
194
Member Avatar for eduard77

The output of the vector that you helped me make is a little hard to read. Can you help me make it a little more readable like: Input: Enter number of different sizes: 5 and the inputs are : 35 x 2.36 23 x 1.23 12 x 4.23 16 x …

Member Avatar for eduard77
0
97
Member Avatar for al2henry

I have created an .xml file with 2 items linking to 2 announcements/news stories on the Conservation News page that I intend to update frequently in the near future. This .xml file has been validated. I would like visitors to the page to be so entranced with the range of …

Member Avatar for al2henry
0
267
Member Avatar for plang007

Here is my code: [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <cmath> #include <time.h> #include <assert.h> using namespace std; int main() { // = (num3&&num4) - (num1&&num2); // save this calc for later: hrIn + (hrOut/60.0); // same thing = num3 + (num4/60); // write an alogorithm to establish the …

Member Avatar for rxlim
0
164
Member Avatar for abhi10kumar

How to access all values of the selected Row of a DatagridView in C# using Coding, MS Access as a Database..??

Member Avatar for Mitja Bonca
0
124
Member Avatar for XA04

I'm trying to create an array of my object I made, and basically the object doesn't have a default constructor, only a self made one. I've made my object array in the header file e.g. Object myObject[4];, however doing it this way requires for me to have a default constructor, …

Member Avatar for rxlim
0
707
Member Avatar for 20pav08

Hi, guys. I am all new to java. Wondered if someone could help me please. Basically what I am trying to achieve is: when the button is pressed then content of textfield1 in class1 is copied to textfield2 in class2. I would know how to do this in vb but …

Member Avatar for Akill10
0
103
Member Avatar for mdminternet

Hi guys, I'm not great with PHP and the guy I normally work with who does know a thing or too about it is on holiday. Currently, I'm having problems using a contact form mailer which returns the following error when it is sent. Warning: session_start() [function.session-start]: Cannot send session …

Member Avatar for ko ko
0
203
Member Avatar for bleedsgreen33

My professor has working with very large number. We bring them into our project through a file stream (.txt). I get the MATH behind using 3 arrays to add, subtract, and store the sum of the numbers. I get that you can do a "x-'0'" to convert the char to …

Member Avatar for bleedsgreen33
0
176

The End.