199,114 Archived Topics
Remove Filter ![]() | |
my code is: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication2 { public partial class Form1 : Form { double num; string text = ""; public Form1() { InitializeComponent(); } private void calFactorial_TextChanged(object sender, EventArgs e) { if (calFactorial.Text != … | |
Hey Everyone, I'm compiling a code that reads characters from a file and puts them in a linked list. No problem with the Linked List but my ifstream acts weird. When it reads from the file everything goes somoothly, but at the end, when it reads that last WORD, it … | |
i have one datetime picker want to show selected date into textbox please help | |
[I]<<split from [URL="http://www.daniweb.com/forums/thread289067.html"]here[/URL]>>[/I] As tha same i 2 had tried but t is coming error like [B]Default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, [COLOR="Red"]error: 40 [/COLOR]- Could not open a connection to SQL Server)).[/B] | |
HI EXPERTS, I am trying ajax. The code I have used is given below.I linked both the javascript files inside the head section. When I select any category from first dropdown box, I call the javascript func and got the corresponding subcategories in the second dropdown. This is ok. But … | |
Hi, I am trying to insert multiple radio buttons in one row. For example, I am trying to get the user to state his/her sex using radio button and update the record. But the problem is I am running into errors. I have googled on how to insert radio buttons … | |
Hi everyone, can you help me how to add update form in this code? [CODE]<html> <head> <title>Eastern Mediterranean University-Student's ID</title> </head> <body> <h3>Edit Student</h3> <?php $num=$_POST['num']; @ $db = new mysqli('localhost', 'root', 'ilyas1987', 'dau'); if (mysqli_connect_errno()) { echo 'Error: Could not connect to database. Please try again.'; exit; } $query … | |
Hello Dear All Friends, Im learning c++ about 4 months.. Im just only using Dev c++. The reason why Im creating this thread is to check with ur all that which application is the best for me to create a system. I mean create a GUI that can make lot … | |
good day.. i am starting to learn..and experiment in namespaces just simple one... calling void functions..then print f.h [CODE]#include<iostream> #include<limits> namespace A { void f() { std::cout<< "Testing \"void f()\""; std::cout<<std::endl; } }[/CODE] f.cpp [CODE]#include "f.h" int main () { A::f(); std::cin.ignore(std::numeric_limits<std::streamsize>::max(),'\n'); std::cin.get(); } [/CODE] g.h [CODE]#include<iostream> #include<limits> namespace A … | |
I am doing a crystal report with printing. I have encountered on this problem: [CODE] try { PrintDialog print = new PrintDialog(); print.ShowDialog(); crystalReportViewer1.ReportSource = cr1; crystalReportViewer1.PrintReport(); cr1.Refresh(); cr1.PrintToPrinter(1, true, 1, 1); } catch { //MessageBox.Show("Some error occured...", "Opozorilo", MessageBoxButtons.OK, MessageBoxIcon.Error); } [/CODE] I got an error on last line … | |
Hi I have the following code and I know Message.To is a collection, just getting to grips with c# - just can't get the syntax right! [code=c] string sToAddress = ""; sToAddress = Message.To(0).ToString; [/code] | |
hi i have a .txt file containg data like __________________________________________________________________ Date Time ABC GD INo P mo SRD T 11/07/2010 9:24PM, 21.46 7.25,0000000025,0000001245,12000000,23.24 11/07/2010 9:34PM, 21.46 6.25,0000000025,0000001245,12000000,23.24 11/07/2010 9:44PM, 22.60 6.25,0000000025,0000001245,12000000,23.24 11/07/2010 9:54PM, 23.90 5.25,0000000025,0000001245,12000000,23.24 11/07/2010 10:04PM, 21.46 6.25,0000000025,0000001245,12000000,23.24 11/07/2010 10:14PM, 21.60 4.15,0000000025,0000001245,12000000,23.24 11/07/2010 10:24PM, 25.40 7.75,0000000025,0000001245,12000000,23.24 11/07/2010 10:34PM, 21.46 … | |
In the employee module i want to pick and add a picture from web camera.. On the "add picture" button i need to open a web camera screen.. Can it be possible..Please help | |
Hello :-) I read that code reading will enormously boost your programming skills. Since my skills are very low (even with practicing tutorials), i want to try code reading. Because i think this is where my weakness is. I have problems in understanding what happens with value or where it … | |
Which of these encryption methods is more effective (secure) Vinegere or basic XOR encryption, if the key we use is the same size in both cases? | |
Hi all, the following is the result of executing a command on cli of a machine 192.148.2.10: [code] PGK:1200>> show employee record show employee record EmIL Desig Street Street2 Occupation Avialability ------ ----- ------------- ------------- ---------- ------------- ----------- 3222 HOD MorganLayout HB colony Engineer Yes 3321 Read Banker's colony James … | |
Hello, I'm following the tutorial of MVCMUsicStore at [url]http://mvcmusicstore.codeplex.com/[/url] and the PDF tutorial that I'm following can be downloaded at [url]http://mvcmusicstore.codeplex.com/releases/view/44445#DownloadId=121650[/url] I'm stuck at the page 53 "Creating the Edit View" (navigate to that page using the adobe reader page input) I have created the StoreManagerViewModel class in ViewModels folder. … | |
I'm planning to design a program such that any number entered will be divided by all the numbers less than it and if any of the division gives 0 as the reminder,it is not a prime.Here is my attempt so far and iam not able to proceed after that.. [CODE]#include … | |
Server Error in '/PrecompiledWeb1' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' … | |
I need to get the focused element (label/textbox) on my page, what property used to use for it. | |
Hello! I have this piece of code, which asks the user to continue with the program even if it may overwrite some folders. [CODE]print w.fill('WIP will create Backup, Resized and Watermarked folders to store the original, resized and watermarked pictures. It will overwrite them if they already exists. Are you … | |
Hello How do I combine hexadecimal numbers? For example if I have the numbers: - aa - 14 - 5d How can I combine them to get : aa145d ? | |
I have a client and a server - the client sends the server a message, and depending on what message is sent, the server will perform an action and then reply to the client. Most of the actions that I have implemented are working. I need help with one of … | |
Here is my code for a working program that I need to sort the output by the DVD's Title [CODE]// import java.util.*; import java.text.*; import java.io.*; public class InventoryApp2 { public static void main(String args []) { Scanner input = new Scanner(System.in); // Set the size of the array based … | |
Dear All Precious programmer, I have a problem in trying to get a list of a date including days in a table start from first day of the month to the last day of the month. This date should not include the satuday and sunday. and I should be able … | |
So basically what i want wanting to do is import a csv file and then have the user specify what year they want to add up all the total revenue. here is what is in my csv file [quote] 2009|1|22|56.23 2009|4|12|86.24 2009|5|20|34.67 2009|6|22|12.67 2009|3|21|795.12 2008|7|4|753.43 2008|8|9|2345.45 2008|9|1|2357.23 2010|5|2|7552.21 2010|3|15|666 2010|4|17|2323.75 … | |
I have two doubts.. 1..I am trying to make a toolbox(As Like in the Visual studio screen at the left hand side ) in my project .when i put my mouse in the toolbox it should expand and when i put my mouse back then it should compressed. 2..In our … | |
Hi, Has anybody use phishtank.com's api? the documentation si pretty poor in their site and they don't reply to emails. The api should help me send a url to phishtank so that they verify if it's spam or not (according to their database) and then return an XML response, and … | |
can any one help me for this code. i had created 2web page say home, employee and master page. on the mater page i want to show all the employee who are online now. for that i'm firing the query and i got the all the employee name through SqlDatareader.Now … | |
How to display data from an MS Access table by selecting the a corresponding fileld from another table using VB .NET 2005? | |
hi im trying to write a program that will create a class to store info on books (title, author, number of pages and price) and that will trow a custom exception when the price entered for a book is higher than 10 cents per page. I got the class working … | |
I am trying to print the results of this code: [code=php]$cmpResult = array_intersect($productList2, $totalProductList); print_r("cmpResult:"); ?><br /><?php print_r($cmpResult); ?><br /><?php[/code] but the output is "Array ( )". How do I get it to output the values of the intersect? ![]() | |
hi..i want that the matter in my label1 on the first page shud be copied to other page on the label present there.... and also i want that the value in drop down box that person choses on first page is copied to label on second page......... pls help.... | |
Hello friends, can someone explain to me how can I submit form with radio button ? I know how to fill and submit form if the form contain just a textboxes, here is the code: [CODE=perl] #!c:\\perl\\bin use strict; use WWW::Mechanize; use HTTP::Cookies; my $outfile = "out.htm"; my $url = … | |
I have the heading down but how do I output the names and numbers including total? Does it involve calculation? Also, how do I make it so they're aligned pretty? Can someone help me with this whole process? Here it is: This payroll program calculates an individual employee pay and … | |
hi, hi i am php programmer. but i don't know how to use AJAX with php. | |
[url]http://www.deitel.com/books/jHTP5/jHTP5_faq.html#compile%20servlet[/url] Go here to get a better explaintion than my simple answer. I had this error and I looked all over online in many many forums. I then went back to my textbooks website which gave me the above page. You can do two things When compiling the fiile type … | |
Hi, I am php noob and I have question about the singleton patter in php. I am not sure how the server handles the different users. If I create a singleton class, is that "single" instance shared among all the different users connecting to the server? are there any situations … | |
hi! This is Rajesh new java developer. i need help from our community thanks (in advance) for ur help PROBLEM iam developing application in AWT when i click PRINT button i need to get printout from printer please help me providing code or idea Have a nice day | |
| |
Hello everybody, I have a problem with my mysql-server, at least, I think... This is the problem : I use aptana as my editor, in which I have installed QuantumDB as plugin. This allows me to quickly update or delete or insert data in my MySQL-database without having to leave … | |
Hello I need to modify this code to have only the first character of whatever word inputted be capitalized. I have this one that shows all the characters capitalized, but I need to modify it using isspace(). #include <stdio.h> #include <iostream> using namespace std; int main () { char c, … | |
I'm having some issues getting my menu to work right. I'm trying to make it so that when the top of a given category has the mouse over it, it creates a flydown of the submenu. Also, on the mouseover of both the top menu and submenus, i want it … | |
ok so i know how to program in JAVA.. i am trying to learn C but the language is pretty confusing.. so i want to read from a file.. i created a FILE, numbers.txt ---> this file has int values. i have code to read the file, now i am … | |
Hey everyone, For logging purposes, I want to pass an entire row of my DB to a file. Is there an easy way to store a row of items into an array or something similar that I could pass to a function for parsing? e.g., array = SELECT * FROM … | |
I am stuck on the parts of the first code that have <> in place of actual code and having trouble getting testing done at the end of the first code, the testing of the functions that I cannot get to work have being quoted out in Python. [CODE=python]from random … | |
I got this to run but it will not display the final result. It ask for C or F then the temp degree but will not display the conversion. The process just completes. Any ideas? I am new here.... Thanks My project::-/ [CODE]import javax.swing.JOptionPane; public class Assign8_Cheshire { public static … | |
hello guys . i want to learn c++ untill i become able to create advanced softwares.so please tell what am i saposed to read to be what i want to be like all files types and where can i get the lessons for free | |
Is it possible to edit the contents of fields after a select statemen? For example, I have a table Person (Id int, Username varchar(50)). Most of the rows in Username has the format of, say for example, aaa_01, bbb_02. I want to select this usernames with the underscores and the … |
The End.