132,726 Archived Topics
Remove Filter ![]() | |
i don't know what happened, but i was running an applet that i made on a webpage and it works fine. i have the latest JRE and i am running firefox 4. then i've made some changes to the applet, tested it, it works, and copy and paste the class … Software Development html-css java java-swing | |
Hi to all, I am new to this forum..If i did any thing wrong in this thread please correct me... Let me tell you something about my project .... I am working on ARM7-LPC2148 processor with Graphical LCD. Now i am making a calculator which should be like as our … | |
Im currently working on a project to build an application for Windows Mobile 6. Im just stuck with this stupid issue: I have a SQL query string: Dim connectionString2 As String = "Data source = " + path + "\HC.sdf" Dim cmdText2 = "SELECT * FROM BigC_Rangsit_0_" I want to … | |
Hello guys. I currently code in C++.But I want to gain knowledge of internals of C++.So , I want to analyse my each and every program in ASM. I use Windows 7 platform and code::blocks.Please provide necessary information or tools , which can help me in this regard. Thanks! | |
While debugging in VS 2010, my code gives no error but on the output screen it shows the output of the other code file in the project.Please help. Software Development | |
I have a C++ standard related question. Let's say I have 2 derived object D1 and D2 (which may contain class D virtual functions) of an identical class base B. Now, I create base pointers bpD1 and bpD2 to those objects. 1) Are bpD1 and bpD2 *guaranteed* to be different … Software Development c++ | |
Guys I need help. When I am already done inputting the needed information, when it comes to outputting file stream to a notepad it stops and says "program.exe has stopped working. windows is checking for a solution" and there is a loading bar. please help i don't know what I … Software Development c++ file-stream ios streaming-service | |
i have this dataset: [CODE]String[][] trainData= { //featIdx////////classInfo {"s", "y", "r"},//0 {"s", "n", "r"},//1 {"w", "y", "r"},//0 {"r", "y", "p"},//0 {"r", "n", "r"},//2 {"r", "y", "p"},//0 {"w", "n", "p"},//0 {"w", "n", "r"},//3 {"w", "y", "r"},//0 {"s", "n", "r"}};//1 int[] trainClassInfo = {0, 1, 0, 0, 2, 0, 0, 3, 0, … | |
Borland has released some "Turbo Explorer" editions of it's development tools. I am wondering if anyone here can tell me (as objectively as possible) if the Delphi language is -"Better" -More powerful -Easier to learn -More Flexible -Able to create better performing apps Than C# (I am particularly referring to … | |
Hey guys, I'm writing a program for a class that basically is a menu that allows you to add people, delete people, change info, locate them by ID and last name, print the list, load the list from a file, and save the list to a file (in that order … Software Development c++ linked-list | |
Hi , I'm new to servlets and I'm trying out the Date function in servlets. Instead of printing todays date it is giving something like "Date@fbb7cb" this . Could you please point of my mistake .... Following is the code snippet [code] PrintWriter pw = response.getWriter(); Date today = new … Software Development java | |
I am using windows username and password to authenticate user for login following is my code [CODE] namespace Test1 { public partial class Login_Form : Form { string emp_code = ""; public static string temp_emp_code = ""; string s = WindowsIdentity.GetCurrent().Name.ToString(); private string _path; private string _filterAttribute; public Login_Form(string path) … Software Development | |
Recently, I've been using Selenium to record a few simple tests. Although Selenium tests are initially stored as html files, the program allows you to export the test cases in a variety of languages (in this case, I'm using C#). I downloaded NUnit to use as my testing framework -- … | |
I am using 2 checkboxes on WinForms. I am trying to say to the program, if the box is checked.. do this.. If the box is unchecked..do that.. I know how to make it do what i want when the button is checked, but i dont know how to make … Software Development | |
I have a Binary logfile,and i have to read it and convert it to a normal file,and use the obtain values and represent it in a Datagrid. I joint a example of my Logfile and the convert form, and hope that somebody can help me thx in advance Software Development | |
Hi there guys I need a little help about separation of two worded strings. Below is a program that will ask a user to input first name, middle name, and last name. Whenever I input a two worded string in the "Enter First Name" part, for example: "Michael Jordan" and … Software Development c++ | |
Hi, I am doing login using data reader of C#. Here is my codes, [CODE] try { Access_Db.OpenTransaction(); Access_Db.BeginTransaction(); bool usrExist = false; string SQLStr = "SELECT ID,Password FROM RegisterEmployee"; OleDbCommand sqlComm = new OleDbCommand(SQLStr); OleDbDataReader reader = sqlComm.ExecuteReader(); // program got exception when run till here while(reader.Read()) { if … Software Development | |
I'm trying to understand the correct way to instantiate objects in C#, and I just can't seem to get it right. My code is in lines 17-37 lines 47-51 and lines 102-103 Any direction would be genuinely appreciated. Jim [CODE] private void findMortgagePayment() { string prompt; bool validPV = false; … | |
Hello DaniWeb community! I am writing code for problem 10 of Project Euler. I have decided that the Sieve of Eratosthenes was the best option for creating a list of primes less than two million. Here is my code (yes, I mis-spelled Sieve and Eratosthenes): [CODE]package projecteulerjava; class ProblemTen { … Software Development java java-netbeans | |
Hi all, I'm hoping someone can help me with this as I can't for the life of me figure it out. I have a single form called 'FolderSelector' with a label, textbox and a button. The problem I'm having is that everytime I run the application, the only thing that … Software Development vb.net | |
Hey all, i am a newbie at C# and need help with this program. This is what i have so far.The first part of the program work, but the second method InchesToFeetdoes not work. Please help. Due on Monday. Create a class named InchesToFeet. Its Main ( ) method holds … | |
Hello , I have a .exe file written in C++. i have used; Process.Start("E:\\cmdf.exe"); to execute the code from C#. Now i need to ; (1) hide the command prompt (2) Then to find a way to stop the command prompt (as in closing the application) How do i do … Software Development | |
Hi, im currently doing a pacman game in c++ as a project. im currently not using graphics but only using the console for simple representation. right now, I'm having problems concerning detection of pellets. Im a bit confused why it detects it as walls even though i check if the … | |
Im to develop a payroll calculating system using abstract classes and implementing polymorphism, With respect to inheritance of super class Employee by sub classes. i dont know how to start implementing it on GUI, bt its okay on cmd. Any help either with sample code is highly appreciated. cretaros. ![]() | |
hi! we are having trouble in our program. every time we click login button it will proceed to the next form even if it doesn't have anything on it. can you please help us regarding this problem [code] Private Sub Command1_Click() Adodc1.RecordSource = " select * from login where username … Software Development visual-basic | |
Can someone explain this excerpt from a book I'm studying: [CODE]char phrase[] = "Game Over!!!";[/CODE] [U]BOOK:[/U] [I]"C-style strings terminate with a character called the null character to signify their end. You can write the null character as ’\0’. I didn’t need to use the null character in the previous code … | |
This program is giving me a count up to 999. which is not what it is suppose to do. can someone tell me how to fix it. The question is as follow: Write a program that allows the user to enter any number of integer values continuously (in any order) … Software Development ![]() | |
My problem is that I have to send my textbox data to crystal report, i am trying a lot but iam not getting I know how to use crystal though database. Thanks Software Development | |
How to determine the encoding of a text file? And are there any tools to handle the content of a text file independent of its encoding? Software Development c++ | |
I need to make a SIMPLE BASIC program that plays crabs [code] #include<iostream> #include<string> #include<ctime> using namespace std; int main() { int money, i, wager, roll, roll1, roll2; string name; char bet, R; cout <<"Lets Play Craps!" << endl; cout << endl; cout <<"This program stimulates a session at a … | |
I have 2000 emails to send to my customers. But I what that, it sends 400 emails at a time. How can I do that? Please help me! Thanks | |
hi i have 2 timers... and i want them to count just 1,2,3,4.... etc now i have figured out how it works with date and time but not with ticks... do you maby know a short way to do this? Thijscream Software Development | |
The following is the code for my program that is supposed to choose a random number and then get the user to guess it by using the basic hints. It seems like it should work but it keeps coming up with the error:'else' without a previous 'if'. it is getting … Software Development c++ | |
This is just a quick question about when calculations are performed in a line of C++. Say I have the following block: [CODE]int numItems = 0; inventory[numItems++] = "sword"; inventory[numItems++] = "armor"; inventory[numItems++] = "shield";[/CODE] the ++ operator increments the array number of inventory AFTER it reaches the ; operator? … Software Development c++ | |
Hello Ive been searching around Google and while I have found some answers, Im not sure how to implant them correctly. I wish to disable the Close (X) button on a Windows Form. I read about ControlBox (I think that the property) but I perfer to do it another way. … Software Development vb.net | |
Hi, I have the database of the application i am doing stored in the bin. Now i want to make a new connection how can i do so? Software Development | |
![]() | Hi all, I am writing a server in Java and I have an issue which I've been working on for days now and I can't seem to find a solution. I want to upload files to the server using an HTML form. I can read the whole POST request and … Software Development client-server file-system java ![]() |
Hello Im am trying to write a high score list . The user is suppose to enter name and score that will be sorted.. like Emma 500 Andy 400 Linda 300 there will be room for five names on the list... I know how to make the program work to … Software Development c++ | |
I have a Visual C++ console application (I am using windows Vista, Visual studio 2008). When executing the program i don't want to see the Console popping up. How do i code this. I tried simply removing all cout and printf statements but yet this didn't help. Need help here. Software Development c c# c++ visual-studio windows-vista | |
I don't understand why it is allowed to declare variables in a while or for loops. For example this is allowed (or at least compiles ??) [CODE] for(int i = 3; i > 0; i--) { int d; }[/CODE] and this will give you a compiler error; [CODE] int d; … | |
Hello DaniWeb! I've found your website very useful for previous problems in my course, but this time I've come across something I just can't figure out. I'm attempting to create a program thats instructions are defined in the code. I've used a previous post as a guideline, and it was … Software Development c | |
Hi, I have a flowLayoutPanel, into which I want to add new labels when the user clicks on a button. Is this possible? C#, Winforms, Visual Studio I am trying something like this: [CODE] //inside click event handler string submitWord = tempWord; Label lbl = new Label(); lbl.Text = submitword; … Software Development visual-studio | |
Hi there I need your help about a program because I am not quite sure if there's still a need for me to use streaming in this program here it is: [COLOR="Green"]Create a program that will prompt the user to enter how many students she/he wants to enrol. After the … Software Development c++ | |
I have tried a lot for JDBC using mysql but none of them work.... Can anyone help me how to get this work.... [CODE] import java.sql.Connection; import java.sql.DriverManager; public class Main { public static void main(String[] argv) throws Exception { String driver = "com.mysql.jdbc.Driver"; String connection = "jdbc:mysql://localhost:3306/abc"; String user … Software Development java | |
I have C# windows form application, with all default settings. I am using VS 2008, OS - Windows VIsta. When my form loses focus, (as in when a user clicks on something behind the form), i need the same form that lost focus to regain it. I made use of … Software Development windows-vista | |
can anyone tell me why sorting is not working in the below code.......... [CODE] using System; class stringarray { public static void Main() { int n,i; string [] str= new string[10]; Console.WriteLine("enter the limit:"); n=int.Parse(Console.ReadLine()); for(i=0;i<n;i++) { str[i]=Console.In.ReadLine(); } Array.Sort(str); for(i=0;i<n;i++) { Console.WriteLine("\n"+str[i]); } } } [/CODE] Software Development | |
Any function for changing the text color in Microsoft Visual Studio 2008? Thanks. Software Development c++ visual-studio | |
Hi there friends I have an inventory program that stores all the data entered by a user. I am having trouble trying to output the infos entered. I tried to use for loop but no luck. Mine only outputs the last set of keyed in information. It will not output … Software Development c++ | |
I created a windows form application (using windows vista, MS visual studio 2008). This form only has a button and a textbox. I need this form not to lose focus. for example when the form is on the screen, the user can click something that is behind the form, then … Software Development visual-studio windows-vista |
The End.