199,114 Archived Topics
Remove Filter ![]() | |
Hi, I'm developing a website using .NET 3.5 and I'm having problems with the asyncfileupload control. The problem occurs when you upload a file, and then try upload the same file again. On the second upload, none of the clientside nor serverside methods fire. Everything works fine if you upload … | |
I have worked with Java, C, and C++ primarily on unix systems. I would like to get into Windows application development, and have two questions. (In your opinion) - What is the best IDE supported lanauage in the Windows environment that is capable of sending system events to change system … | |
Any consensus? I see advantages and disadvantages to both. For a socket listener, a background thread would be good I would imagine, if the server is attempting to close, it obviously does not need or want to accept connections and any connection that is in the process of starting should … | |
a) Output the date in multiple formats, such as i) MM/DD/YYYY ii) February 25, 2011 iii) DDD YYYY I'm supposed to do this: b) Use overloaded constructors to create Date3 objects initialized with dates of the formats in part (a). In the first case, the constructor should receive three integer … | |
I have created 2 menus using JForms. I have two buttons in the 1st menu (menu1.java) I want to go to the second menu (GUI of menu2.java) whenever I press button 1 in menu1.java. How can I do that. What should I write in the actionListener func for button1? | |
Hi Sir/Madam, Need your help again, i failed to do output display for the menu list from this code. Suppose the output have to come out with menu = item selected, tax and amount of item. [CODE] #include<stdio.h> #include<string.h> #include<stdlib.h> double price[8] = {2.50 , 3.45, 2.20 , 2.95 , … | |
Hi there I am not sure whether to put this here or in the games development section I do apologies if it is in the wrong the section. I have an object with a bounding box around it. I want another object to then be able to send a ray … | |
![]() | Hello people, I have a problem in displaying my images in the dimensions I wish: I used the following code: [CODE] echo'<td><a href="portsdetails.php?idImg='.$idphoto.'"><img src="'.$lien.'" width="10" height="10" border="0"/></a></td>'; [/CODE] ![]() |
Create a class called Student. This class should have the following twelve private data elements: String studentName String studentEmail String studentLocation int projectGrade1 int projectGrade2 int projectGrade3 int projectGrade4 int quizGrade1 int quizGrade2 int finalExam int participationGrades This class should have the following public methods: A get method for each … | |
Hi Everyone I am working on to read doc file in php but it return ������€������€������€������€�� ���Œ�� ���¸������ Please help me to read doc file line by line in php. Any Help will be appreciated. Thanks in Advance | |
I have two forms and i have retrive controls from one form to another. In form 1 Two controls 1 datetimepicker1 2 datetimepicker2 in form 2 1 Datetimepicker1 now i retrive form1 controls on form2 and i want to compare form1 datetimepicker with form2 datetimepicker. here is code: /[CODE]Form2 fr2 … | |
Could anyone please tell me how to Delete two Dimensional array Which i created early or Delete the contents of from specified index and i want to insert some other values in the same index.......... | |
hi... i have given a code snippet below... though i check for nullability before i do the actual processing... it still throws an unhandled exception..... is there a way to handle this other than filling my code with try catch blocks.... [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using … | |
Hello everybody, For a school assignment I need to save images to .ser files. Could someone explain me how i get it succesfull. The program itself creates a .ser but the content is useless (¬í NUL ENQ). Thanks in advance :). This is the method i came up with: [CODE] … | |
Hi, I have the following situation; I made a website where I can manage the pages. One option, where I add more pages, is giving me problems. When working on my localhost everything works perfectly, and the generated file is being processed correctly. Online however is results in a very … | |
[code=c] void Assembler :: pass2(ifstream &inHandle, ofstream &outHandle) { outHandle<<setfill('0'); while(!inHandle.eof()) { inHandle.getline(src_line,50); //declerative or imperative statement if(toascii(src_line[0])>=48 && toascii(src_line[0])<=57) { breakStatement(); outHandle<<address<<")\t+ "<<mnemonicCode<<" "<<regCode<<" "<<setw(3)<<operand<<"\n"; } else outHandle<<"\n"; } } void Assembler :: breakStatement() { int i=0,j=0; char oprCode[20],oprClass; ifstream in; //initializing all variables strcpy(address,NULL); strcpy(mnemonicClass,NULL); strcpy(mnemonicCode,NULL); init(oprCode); regCode='0'; … | |
Have been trying to learn from some old documentation that I bought several years ago but did not persevere with! Have Person class which compiles ok. The Employee class cannot find Person class in the extend statement, the BigCorp cannot find either the Person or Employee classes. All files are … | |
Hy, I want to use some ExpandBar items in my UI, like those in SWT. I am currently using swing and unfortunately I did not find anything like this yet. So, do you know the class in swing that I can use ? ... or any other advice is greatly … | |
<?php $word = new COM("word.application") or die ("Could not initialise MS Word object."); $word->Documents->Open(realpath("result1.doc")); // Extract content. $content = (string) $word->ActiveDocument->Content; echo $content; $word->ActiveDocument->Close(false); $word->Quit(); $word = null; unset($word); ?> Please Help | |
I am making basic project for "Computer simulations of polymers and biopolymers" using Monte Carlo simulation and I currently have access only to ASUS eee PC netbook. Could anyone run attached program on a faster hardware for input data [ICODE]100 50 50 1000000[/ICODE]. Last part of data is number of … | |
Can anyone please give me a guideline on how to code the following? I have an MFC application which should call on a timer basis a python script from command line and read the ouput of that command line. I thought of using CreateProcess, but i have no clue of … | |
I have created a string, now I want to add data to the end of the string - [CODE]<p>This is the string</p>[/CODE] I now want to read from MySql from a field and add the data to the end of the string. Something like - [CODE]&Str1 = "This is the … | |
Hello, I have a CSV file like: 01,xyz 02,mux 03,mysite 04,mycarsite 05,etcweb I would like to write a cood the read this csv file and replace the password of the account as such to have formula that contains the numbers above. For example 01,xyz->mypassword01pad 02,mux->mypassword02pad 03,mysite->mypassword03pad 04,mycarsite->mypassword04pad 05,etcweb->mypassword05pad Thank you | |
Hi i keep getting an exception when i'm trying to update table values within a database. the exception is below but i dont change from datetime to varchar it always stay as datetime. is there any other reasons why this is happening ? "The conversion of a varchar data type … | |
I try to make an exercise from a book and I have only one error. On this line [CODE]cin >> t;[/CODE] it writes me that "more than one operator >> matches this operand" I know that defined this operand before in another way but I don't know how to solve … | |
Hi all, I have basic knowledge on perl concepts ... Now i am assigned with a task to automate software build installation process on windows please guide me in the following 1.what are the documents to refer for example scripts on automation 2.Should i have to install any thing else … | |
hi i'm lsvife I am beginner in java programming. I created a project that will able to send orders via bluetooth using mobile phone for a fast food chain. I want to add food item by updating the jar file on your mobile phone. how to do it without using … | |
Hi! I am looking for a function that will replace last occurence of a substring from a string: tmpStr: xxx, yyy, zzz, sss, The desired outcome: xxx, yyy, zzz and sss (ie: remove last letter and then replace last occurrence of ",") The string can differ, * xxx, * xxx, … | |
Hi, I need serious help with this code. So far everything compiles correctly but it does not output the correct change, and I've been trying for hours to figure out how to remedy the situation. All help is appreciated. This is what is being inputed: 4 1.00 .01 100.00 .01 … | |
Hi people, I have created a form that allows me to search customers from a datagrid table which holds the information from the customers table. I use a textbox to enter the phrase to search for and a search button. I can find the records within the datagrid table but … | |
Hi to all, I created the following table --------------------------------- create table publisher(name varchar(20), city varchar(20)) --------------------------------- I want to put following constraint, 'name is having unique with city taken only from 'mumbai', 'pune', 'nasik', 'panji''. I know about unique constraints with name. I searched many about constraint with city, but … | |
All i wanna do is simple, I wanna display an image from an access database. I try alot of things to no result. Like ascii code or nothing but a blank image with a red 'X'. [B]Here is the code :[/B] [code] <% set conn=server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.jet.oledb.4.0" conn.Open(server.MapPath("test1.mdb")) set rs= conn.Execute("SELECT … | |
I have trouble saving my numbers. I used an array for my saving feature. As you play the game, the computer asks you if you want to save a number. you say yes and you pick which number(s) you wish to save. My problem is, if i save 2 numbers … | |
Hi Daniweb, I spend a lot of time googling this problem and found no answer yet. The problem is I added a new column in my table, I have a dataset linked to that table and a source of data of my datagridview. Now, when I'm going to add a … | |
Hi pythoners! :) My question is very simple (the answer too, i hope): how to display files in a TreeCtrl? I've tried to use it, according to an example i've found on the web, but it displays only folder, subfolders. No files... I'll show you the portion of code i … | |
please help me guys! vb doesnt apply the changes ive made on a certain form, whenever i play debug, i cant see the changes ive made :( even though ive changes the codes and added new controls, i cant really see them when i debug the application. heres an example: … | |
Hi. I want to add character ' - ' in my string every 5th character. For example: 123456789ABC would be like this --> 12345-6789A-BC Already search in the internet but don't know how to do... can anybody help me? Thanks in advance. | |
Hi I am trying to arrange the patients according to their condition that is Serious(S), Routine(R), Critical(C), and Expectant (E). I have the method but it is not implementing correctly as the program runs and builds successfully but it does not arrange them in that order any help would be … | |
Hello, Building on the thread: [url]http://www.daniweb.com/forums/post1491690.html#post1491690[/url] I need to tease out the sums of three values from Rows that meet multiple parameters. Here is a sample of the dataset: id | blkidfp00 | fips | transtech | pop | hu | busfirms 1 | 55001950100100 | 550039 | 10 | … | |
Hi Experts, Here i am trying to create a script for Auto Back up script to Back up files. files are taking a back up with help of archive zip module along with mentioned the date in corresponding Folder name. Here i am create one xml file for daily updation. … | |
hi ive been wondering how translator work like google translator or others ive got a site im working on an i need to translate it from english to creol not Haitian Creole so a translator for my language is not available anywhere so i what to make my own so … | |
What are the purposes of using ifndef and define? When should it be used and why? I made a simple program in class just to go over the basic of Friends in classes but it wouldn't work and I was getting errors all over even though I went through it … | |
i got an if statement that will display the letter A and the percent grade if there percent grade is between 90 and 100. and the else statement will do the same but its display a B if the grade is between 80 and 90, my problem is, even if … | |
i want to do remove friend from friend suggestion list after adding the in the friend list in php.how i can do that.Please help me as soon as.... | |
Hi.. is there anybody having free php source code..plz sned me.. its urgent plz.... thanks in advance.. | |
Hi, I am building a simple android application that sends GPS coordinates from an Android phone to a Webserver, and the received co-ordinates are displayed one by one in the server. I think both my client and server side programs are correct, but I am not sure. Please correct the … | |
the output should be: Triangle Drawer Enter the size of the triangle: 0 The size is out of range. Enter the size of the triangle: 11 The size is out of range. Enter the size of the triangle: cats An invalid value was entered. Enter the size of the triangle: … | |
Hey everyone! After some research I have found that I need some javescript help to process a users click from a html drop down select list.. I am trying to create an admin area for a website in php and using mysql database. In my admin home page, I have … ![]() | |
I am making a text based game for my programming class, and am working on the saving system at the moment, however, when I run the save method, it overwrites the file, but doesn't insert the new data, it leaves the file blank. Here is the whole save class. [code]package … | |
I need to make calculator with buttons for each digit and so on. My question is, if there is any way to make one function that will handle with all events for all digits? Now I have: [CODE] private void addDigit(char i) { // some calculation with 'i' } private … |
The End.