199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for khanrock

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 != …

Member Avatar for khanrock
0
115
Member Avatar for group256

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 …

Member Avatar for group256
0
188
Member Avatar for gobinaga
Member Avatar for hirenpatel53
Member Avatar for hirenpatel53
0
281
Member Avatar for balu_s

[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]

Member Avatar for pritesh2010
0
64
Member Avatar for yuvi2288

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 …

Member Avatar for yuvi2288
0
139
Member Avatar for mahadevan.swamy

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 …

Member Avatar for seger
0
93
Member Avatar for ilyas_varol

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 …

Member Avatar for ilyas_varol
0
100
Member Avatar for angel_banned

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 …

Member Avatar for wwefriend
0
76
Member Avatar for Anyzen

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 …

Member Avatar for Anyzen
0
193
Member Avatar for Mitja Bonca

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 …

Member Avatar for hirenpatel53
0
323
Member Avatar for exgliderpilot

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]

Member Avatar for exgliderpilot
0
257
Member Avatar for xinyonz

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 …

Member Avatar for WaltP
0
140
Member Avatar for arch_mah

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

Member Avatar for arch_mah
0
93
Member Avatar for HelloMe

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 …

Member Avatar for TrustyTony
0
82
Member Avatar for moni94

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?

Member Avatar for TrustyTony
0
559
Member Avatar for prashanth s j

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 …

Member Avatar for TrustyTony
0
274
Member Avatar for esia168

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

Member Avatar for esia168
0
110
Member Avatar for xaop

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 …

Member Avatar for technology
0
737
Member Avatar for simi pillai

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

Member Avatar for sunki_janareddy
0
376
Member Avatar for azfarhus

I need to get the focused element (label/textbox) on my page, what property used to use for it.

Member Avatar for azfarhus
0
94
Member Avatar for acrocephalus

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 …

Member Avatar for TrustyTony
0
141
Member Avatar for gretty

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 ?

Member Avatar for archana.c07
0
2K
Member Avatar for P00dle

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 …

Member Avatar for P00dle
0
896
Member Avatar for Guest51

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 …

Member Avatar for griswolf
0
179
Member Avatar for molivia03

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 …

Member Avatar for hirenpatel53
0
150
Member Avatar for keith1569

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 …

Member Avatar for TrustyTony
0
344
Member Avatar for arch_mah

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 …

Member Avatar for arch_mah
0
237
Member Avatar for theighost

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 …

Member Avatar for theighost
0
3K
Member Avatar for pritesh2010

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 …

Member Avatar for pritesh2010
0
102
Member Avatar for sreyad12

How to display data from an MS Access table by selecting the a corresponding fileld from another table using VB .NET 2005?

Member Avatar for kingbawee
0
98
Member Avatar for alex9292

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 …

Member Avatar for wisaacs
0
137
Member Avatar for marrithl2

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?

Member Avatar for rajarajan2017
0
83
Member Avatar for arc64

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

Member Avatar for k.d.m
0
179
Member Avatar for Krstevski

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

Member Avatar for Krstevski
0
360
Member Avatar for itisgood

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 …

Member Avatar for itisgood
0
105
Member Avatar for swi2
Member Avatar for canterorist
0
204
Member Avatar for bert2020

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

Member Avatar for satija_tarun
0
254
Member Avatar for hramos

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 …

Member Avatar for griswolf
0
95
Member Avatar for Rajesh.n84

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

Member Avatar for Mr.Antony
0
937
Member Avatar for rahul95
Member Avatar for gaurang4
0
134
Member Avatar for Geertc

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 …

Member Avatar for rch1231
0
356
Member Avatar for intills

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

Member Avatar for mrnutty
0
255
Member Avatar for kahaj

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 …

Member Avatar for kahaj
0
123
Member Avatar for vovasquez

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 …

Member Avatar for abhimanipal
0
102
Member Avatar for Duki

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 …

Member Avatar for k.d.m
0
160
Member Avatar for Simes

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 …

Member Avatar for Simes
0
205
Member Avatar for Bewitched

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 …

Member Avatar for pi_lord12
0
180
Member Avatar for Awah Mohamed

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

Member Avatar for mrnutty
0
88
Member Avatar for ds2r

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 …

Member Avatar for ds2r
0
92

The End.