1,975 Topics
I have two listboxes titled lstResult and lstResult2. lstResult clears with no problem using lstResult.Items.Clear() but when i use that for lstResult2 it dissapears but when i put in another value, the value(s) that i deleted come back. Also how do i fix the total to reflect the changes. Thank …
Hello - I cannot understand why I cannot get a win message box to show for my naughts and crosses game? I'm puzzled because no errors show - so I am guessing that I need to be making a 'win method' or something similar ???:confused: [CODE]Button[,] nandcButton = new Button[3,3]; …
hi, i have to build a software for my final year project. still cant think of a topic. but i thought of doing a weather tracker system. just wanted to get some advise for a topic or is this topic good..is there a better way for doing it. what should …
Hi All! I'm new to this forum and new in the field of software development as well. Anyway, let get to the point. Following is the scenario in which I badly need help: Its basically a printing press software which will have all the job details (Only details) that have …
Hi. Strange thing: When I change the clock of the PC (XP SP2), something link current time is 12:03:34 to 12:05:34, my application crash. nothing in application log, though every method has try-catch. nothing in event log... Can anyone help? Thanks.
This program gets a list of the processes running and displays them in a ListBox. When one is clicked it puts info about the process such as start time and filename in text boxes. But some of these don't return anything and the text box remains blank and I can't …
Okay so I am working on a massive program involving multiple forms, delegate calls, ext. Anyway I was wondering is there a way to make global values that can be accessed my any form or class? In otherwords, removing the need to pass in the variables. Sorry this is rush …
I need help with printing support. i followed a tutorial on dreamincode.net for printing and now i need help. When i print, it prints out two pages the first one has 0 in it and the second one has 00 on it. I am trying to get it to print …
Hi .... I need to have an idea about the project..... kindly give me idea about projects that are some robotics or involving intelligence .... or any software development type .... plzz Regards...
Hi All I've been working on a program that automates a test sequence for testing a product before it is sent to the user. The program controls 12 test stations. There is an object that controls the interactions with each station (12 instances total). One of the challenges of the …
I need a software or any way to protect my CD from pirates. I Developed a software and i am thinking to distribute it via CD,So i am in need of a copy protection method to secure my CD and Also my software. Kindly help me as soon as possible,any …
I'm developing a C# application and I need to start an external console program to perform some tasks (extract files). What I need to do is to redirect the output of the console program. Code like [URL="http://stackoverflow.com/questions/415620/redirect-console-output-to-textbox-in-separate-program-c"]this one[/URL] does not work, because it raises events only when a new line …
Hi, I would like to make a Java lottery simulator. This one is different than most, however. The program requirements are: 1) The patron enters his/her 6 chosen numbers (from the numbers 1 through 42 without duplicates) on the keyboard at the appropriate prompt(s). This same, single set of numbers …
Hi everyone...just going from console apps to windows forms apps....This is extremely basic and is annoying me now... [CODE] public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { MessageBox.Show("{0}",hello2(2)); } public int hello2(int hello) { hello = 10 / 5; …
I have two classes as shown below (NumberDisplay and ClockDisplay) and program.cs. class NumberDisplay [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _ssv111 { class NumberDisplay { // fields private int _hours; private int _minutes; // constructor public NumberDisplay() { _hours = 0; _minutes = 0; } // methods …
Hey friend what will be the minimum system requirements for the softwares made on C# VS 2010 ? plz reply as soon as possible. regards, Prayag.
hi friends, i want to make software in C#.net (new user of C#.net), on "Clothes shop for men". Can anyone suggest some help.
I'm working on a scientific/algebraic calculator and I have put all of the code that will deal with any of the math in a separate class. However I cannot access any of the controls on the form from this class. I need to write the answer into the box on …
Hey gang, Looking for some opinions here. I'm working in an ASP.Net MVC2 application. We've built a collection of "domain objects", ie, the data that represents our "real world" problem we're going to solve, and it's also the representation of what will be serialized to the database. Each of these …
Hi All I was hoping for some advice based on the pool of experience here at Daniweb. I've been teaching myself to program in Python and I'm starting to get the hang of it, now I'm able to write small programs to automate administrative tasks as well as some complex …
I think i'm try to share here .. I've recently tried out some invoicing software 1. kiinvoice - handy but too simple, not able to meet my requirement 2. Sliq invoicing plus - reasonable cool and simple 3. kBilling - rather outdated interface, feature is ok 4. invoiceit! - complicated …
HI I have install Nunit when i am running this nunit it gives me some error and the error i am getting is [COLOR="Green"][B]"This assembly was not built with any known testing framework"[/B][/COLOR]:'( and in c# in reference i am adding the .net framework and in that i am not …
Hi, For .NET developers who uses unit tests to test their code, are you suffering from regression (i.e., unit tests which fails on a regular basis)? If so, how do you face these issues? Regular debug sessions to find the problem each time a test is being failed? Some other, …
As an assignment, I have been ordered to program the game Breakout/Arkanoid. We have to implement a class hierarchy starting with an Entity. We then expand this class to a PlayerEntity and an EnemyEntity. Then PlayerEntity is expanded to a PlayerBall and PlayerPaddle. EnemyEntity is expanded to EnemyBlock and EnemyProjectile. …
Hi there just a quick question I am using C#Express. When I add the reference System.Windows.Forms I cannot seem to access Messagebox.Show...any ideas what I am doing wrong? Btw this is in a console application...
i am trying to print this: [CODE] string one = "[----------------]"; string two = "[ ]"; string three ="[ Go To Jail ]"; string four = "[ ]"; string five = "[_______________]"; Console.Write(""); Console.Write(one); Console.Write(two); Console.Write(three); Console.Write(four); Console.WriteLine(five); Console.Write(i); Console.Write(m); next to this square: string one = "[----------------]"; string two …
Does anyone know of a tool, or any solution (preferably free), to automatically generate editable assembly dependency graphs (such as Visio diagrams)? I have found similar threads online, but the several tools recommended (.Net Reflector Graph add-in, Dependency Visualizer, GraphViz, etc) generate only image files (PNG, JPG, SVG, etc). The …
Hey all. I find myself having some issues with parent and child communication. What I have been asked to do is create a MDI program with many children. I was able to get that part working great but then the kicker was brought in that the if the focus changes …
Hi Guys I am a Computer Science student at University and am looking for some ideas on a project that I have to complete. I have to come up with an hypothetical Software engineering problem in Java , I have to create a bad way of solving it and then …
At the start of the current football season I purchased a 'football fixture and table' piece of software from Sports Fixture Systems for £39. On receipt I was unable to open package and therefore contacted firm. The firm sent me another piece of software valued at £25 as substitute. This …
hi there my question is simple and i only need a hint. "how could i develop a applications which can make a new EXE application. like this,.... the end user runs the application and when he clicks on a button named "create a new calculator", the application will create the …
I consider myself still a novice programmer but I'm starting to develop and maintain applications with end users for the company I'm working for. We don't have a policy on version numbers and I'm looking for advice on when best to update them. I understand the major.minor portion is largely …
I want to have a Splash screen with process control for my final project please somebody help me.
Hey, During my development of web browser i have encountered a problem. The problem is that on my bookmarks panel if a user adds a bookmark that's already on the panel, the application gets an error and has to quit. I tried surrounding the code with a try catch statement …
Hello, I'm trying to create a Button Class that will be used to create buttons on a form. This is the class I've created: [CODE] public class CreateButton : Button { public Button newButton; private string _buttonName; private Point _buttonLocation; private Size _buttonSize; public string ButtonName { get { return …
I've been thinking about this for a week... Well, I know that this question have been asked so many times, I've also search the forums, but instead of bumping into old threads, I just post a new thread... We are to develop a project, and I just want to seek …
Hi, I am a computer Science Student having knowledge of basics in C++. I have to make a C++ project (Online airline reservation project). Please guide me how to make such an online project in C++. What all tools i need to use and how much time they will take. …
Hello, I am trying to debug a simple hello world program [CODE]namespace TestProject { public partial class frmMain : Form { public frmMain() { InitializeComponent(); } /// <summary> /// Function to create Message Box with /// with text "Hello World" /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void …
Hi Ive written my own MVC framework, which uses the mod_rewrite apache tool... first part of the url is the controller and second part is the 'action'... some of my controllers have functionality which is publicly available, and other functionality which i want to restrict to logged in users... i …
Good Morning DaniWeb users, This will be the first time I use your forum to try and solve a problem. I'm an non-traditional student and live in Michigan. For those curious about where that is located; look a world map (for our international friends) and look for the United States, …
I initialize a string, then I set it to something else, I later get it and print it with a button click BUT the first time I click the button I get the original string " ". A few seconds later I click again and this time the string is …
Hey guys. I'm new to SDL and C++ and I've stumbled upon a problem here. Here's the code: [CODE]#include <SDL/SDL.h> #include <SDL/SDL_ttf.h> #include <SDL/SDL_image.h> #include <string> using namespace std; const int screenheight = 1920; const int screenwidth = 1080; const int screenbpp = 32; int right,down = 0; SDL_Surface *bakgrund …
I have written a couple applications that Work great on 32-bit but crash on open in 64-bit. They are all compiled against "any CPU" but even when I compile them for 64-bit they still crash on 64-bit windows. both of these applications rely on 3rd party Dlls, some native dlls …
Hey, I'm making a password program for my programming class. If the user doesn't get the password correct in 10 tries, then it says "Your hard drive is erased". (Obviously, it isn't erased). I've been looking for a code to end all programs running and close down everything and can't …
Hi! I'm working on an application that only sits in the notification area and keeps track of time. At certain intervals, it will notify the user. It also has a form, with which the user can configure and see the time etc. When the form is closed with the little …
[CODE]using System; using System.Collections.Generic; using System.Text; namespace Project1 { public class Homework { public static void Main(string [] args) { Dad d = new Dad(); d.LitCig(); Helper h = new Helper(); } } public class Dad { void WithDrawMoney() { Console.WriteLine("Father: Money Withdrawn"); } internal void Mercedes() { Console.WriteLine("Father: drive …
Hello, I have a question, and i don"t know why exactly do we say that the maintenance phase of software life cycle encapsulates all previous development stages ? I hope that anyone can help me thank you
[ATTACH=RIGHT]16929[/ATTACH]In a blog posting August 26, Microsoft announced that it is revising the licensing terms of its Security Development Lifecycle, moving parts of it to a Creative Commons license. Security Development Lifecycle is a methodology that Microsoft developed that incorporates best security practices at every level of the development lifecycle …
plz help.....in solving this problem While developing the Virtual University Learning Management System (LMS), there was a requirement stated that: “Students should be able to post their questions on MDB of LMS, so that it may help them to clarify their concepts in case of any confusion, after they have …
Hi all! I'm creating a program that opens a small form for each row in a database (each form is an instance of Notebox). The user can create a new Notebox by clicking on a button (noteboxSibling) at the bottom of each existing Notebox. All Noteboxes exist inside Form1 which …
The End.