132,726 Archived Topics
Remove Filter ![]() | |
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 … Software Development c++ linked-list | |
i have one datetime picker want to show selected date into textbox please help Software Development vb.net | |
[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] | |
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 … Software Development c++ | |
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 … Software Development printer | |
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] Software Development | |
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 … Software Development c++ | |
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 Software Development vb.net | |
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 … Software Development python | |
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 … Software Development c | |
I need to get the focused element (label/textbox) on my page, what property used to use for it. Software Development | |
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 … Software Development python | |
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 ? Software Development c++ | |
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 … Software Development client-server java socket-programming sql | |
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 … Software Development java | |
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 … Software Development vb.net | |
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 … Software Development python | |
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 … Software Development vb.net visual-studio | |
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 … Software Development | |
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 = … Software Development perl | |
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 … Software Development c++ | |
[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 … Software Development java | |
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 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, … Software Development c++ | |
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 … Software Development c | |
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 … Software Development | |
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 … Software Development python | |
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 … Software Development java java-swing | |
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 Software Development c++ | |
I've been trying to find out the error returned from [iCODE]MkDir[/iCODE] to no avail. [iCODE]Err.Number[/iCODE] is 0 and I can't find any other error mechanisms available. [CODE] On Error GoTo mkError MkDir txtDir(Index).Text On Error GoTo 0 Exit Sub mkError: On Error GoTo 0 Text1.Text = Str(Err.LastDllError) + " " … Software Development visual-basic | |
I am relatively new to visual basic. I have VB 6 professional complier. I am working to play .wav files in a program. I'm having a problem understanding APIs and functions can you direct me to a beginners tutorial that might help me? Thanks, Bill Software Development visual-basic | |
I've recently downloaded the package that allows you to work an excel file using python at: [url]http://www.python-excel.org/[/url] I'm new at installing things from a programmer perspective... can anyone tell me how I'm able to determine if I have installed the programs correctly? Software Development microsoft-office python | |
Hello! It may sound silly but I really need help. I am just a beginner in vb .net. I am now developing a window-based software. This is the problem: 1. After the user log-in, the system must show the parent form and automatically show the main transaction form base on … Software Development vb.net window-manager | |
I am having problems primarily with the sorting function. What I need is for the polynomials after being entered to be sorted from the highest exponent to the lowest and then added and to have that displayed. The other thing is that I need to do a pushback for the … Software Development c++ | |
The title in and of itself is fairly descriptive, however, I am looking for some help. I am writing a program which reads the output of a command-line based program and puts that output to a GUI. Due to my need of asynchronous i/o, I have had suggestions to use … | |
I am creating a GUI calculator. When I enter amounts and press submit, negative infinity appears in the monthly payment area instead of the dollar amount. I'm not sure what is causing the problem. My code consist of three files: the GUI, calculation, and text file. GUI [code] import java.awt.*; … Software Development gui java java-swing | |
Hi again! Pls some one help me to find out what is the problem with this code.... [CODE]import java.io.*; import java.net.*; public class NewClass2 { public static void main (String args[]) { try { // Construct data // Send data String data="Something"; URL url = new URL("http://www.google.co.uk/"); URLConnection conn = … | |
Hi All Can anyone tell me how to read a file but only print to the screen certain parts of it? Below is what I've got already - apologies if it's very basic, I'm new to this! All I can do is get a program which prints the whole file … Software Development c | |
Hello, I'm having a little trouble learning some python and I'd appreciate a little direction. One of the exercises in my books says to create a string list [CODE]list = ["a","b","c","d"][/CODE] Convert each character in the list to it's ascii equivalent and then populate that information into a new list. … Software Development python | |
Hello, im trying to write to an external program and the inputs and outputs works fine for the first time that im printing the stdin. After this time the program look like it stuck. Help Please. Software Development java | |
Fellow coders Ive contributed this code to show how to send an email using winsock but Im having problems working out what to do to get this to be SSL oriented and know that it requires something to do with Secure Sockets and SetSockOpt and GetSockOpt and WSAIOctl but Im … Software Development c data-structure | |
I am inserting an int value using numericupdownvalue from a form to database, using the following code [CODE]SqlCommand cmd = new SqlCommand("insert into student where student_no='"+numericupdown1.value+"'",con)[/CODE] Now I have another form that is when loaded, will read the inserted value made by the numericupdown.value, using the following code [CODE]numericUpDown1.Value = … Software Development | |
In the following code how to fix problem that the batch file won't get created. When I run in debug mode exception I get is "could not find part of path" Thanks [CODE] StreamWriter sw = null; try { if (AgilentNVisaDriver.Checked == false && RequiredDlls.Checked == false) { MessageBox.Show("Please select … Software Development assembly | |
Hello I am very new to Java and I really don't know exactly what I am doing. I know a little bit of other programming languages so I'm trying my best to figure it out for myself but I am supposed to: [B]Write a Java Application which will read a … Software Development java | |
I was given a font finder program, but I need to resize the applet... any suggestions on where and what code is needed to fit the applet to a specific size? If not, is there a setting in eclipse that will work? [CODE] public Dimension getPreferredSize() { return new Dimension(800,800);// … | |
Hi! I was wondering if anyone knew a way to have a date/time picker only allow the selection of months/years? Like January, 2010...etc and not the specific day of the week? Kinda like the attached image. Software Development | |
Could anyone please explain what is Idempotent method in Java? After google, what I found about this is [B]Idempotent methods are methods, which are written in such a way that repeated calls to the same method with the same arguments yield same results[/B]. And am not getting any example to … Software Development java | |
If I have a string. String msg = "I love mickey mouse"; What method can I used to display the string, "mickey"? Software Development java |
The End.