199,114 Archived Topics
Remove Filter ![]() | |
This is what I have so far. I need to let the program toss the coind each time the user presses the Toss button. Count the number of times each side of the coin appears. and display the results using heads and tails images. I am stuck Public Class Form1 … | |
i am working with a piglatin translator that has a GUI but i am stuck on how to make it translate when i you push the translate button here is my GUI what is in red is were the error occurs if someone could help i would appreciate it thanks … | |
hi, Iam trying to add names and numbers to a database then save them by updating them. i run my program, but when i press any button nothing happens????? pls help me, i do not know where is the problem in my program???? [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import … | |
Hi, I am stuck in implementing the linked list in Java. I am using three classes to construct Liked List. One is Data Class (for holding Node's Data), Node Class (which encapsulates the Node properties) and a Linked List Class. Though it creates a successful linked list, but when I … | |
hi I have got a table for internet accesswith user ID, it has 3 column user ID, starttime and endtime, i want to make another column which will show how many mins or hours that user was logged in to the internet. can anyone please help me... thanks kaz | |
![]() | Hello, my name is Dallas. I'm (obviously) new to the site. I've spent the past couple of days doing absolutely nothing but trying to work on this program. I usually don't like trying to get help, but I've spent so much time on it by myself that I have no … |
[B]hi, i'm coding to take a input vector inputdata, and continuously find standard deviation to count how many distinct data ar available.for this i implement a small method called findk().[/B][code =java] public int findk(Vector inputdata ,double minSD) { inputdata=new Vector(); double tolerance=0.001,thisSD; Collections.sort(inputdata); if(minSD<0.0) this.minSD =inputdata.getStandardDeviation(); inputdata d1= getHalf(1,inputdata); inputdata … | |
Hi all, I'm using exec() to launch external commands from a web application under OS X Leopard. To put my problem in context, when I launch this: exec ("export", $output); I get this: export OLDPWD export PATH="/usr/bin:/bin:/usr/sbin:/sbin" export PWD="/Library/WebServer/Documents" export SHLVL="1" My problem is with PATH, I need to include … | |
if i have two projects in the a solution and i want to use exactly the same code file in this two projects, how do i create that file in one project and link to that file from the other? | |
So I'm working on a program "Master Directory Control", it gets all the information about all files in a directory (name, location, size, exists, etc.) and puts them into ListBoxes. That all works fine. There's a feature where you right click on selected file in the Name ListBox, and you … | |
I have drawn a small box in a game, that I would like to be able to click it in order to bring up another Larger box that would contain various information, I have named InfoLarge() This is the Small box VOID InfoSmall () [ICODE]Rectangle(730, 390, 60, 17); draw(732, 405, … | |
Hi guys, When i run my programs in c i always use things like [code=c++] include "stdio" [/code] But then i see things like [code=c++] include "stdio.h" [/code] and [code=c++] include <stdio> [/code] I was wondering which one i should use and also why there are so many different ways. … | |
Can anyone show me how to make this perform the calculation using the postfix data?? I assume I would have to read the post fix data one character at a time and code what to do with each character??? For example, if I entered this: 5 ^ 3 * 4 … | |
Dear All, I am facing a problem in passing 2D array of pointers to a function. can any one give some suggestions on this. 1. How the Declaration fo the function should be ? 2. How to pass 2D array of pointers to that function? 3. How to access the … | |
Hi All, Could you kindly help me regarding the usage of array of pointer (1dimension or 2), I mean where we can use it. Regards, IDB | |
Let say i have two applications one is windows forms and the second windows mobile application. If this two applications will do exactly the same thing, how can i share the functionality between them? Apperantly i cant create class library as each has its own class library project type. Any … | |
Hi I seem to be getting this error on the reply section of my forum. I've never had this problem before and have tried google but found nothing. So, now i turn to daniweb, surly someone must be able to help me here. [B]This is the error:[/B] [CODE]Warning: Wrong parameter … | |
Hello! I have an assignment in my "intro to programming class" and I am having trouble just getting started. We are suppose to take a txt file that has several lines of text - and create a program using "fin" to test each line to determine if it is a … | |
I have some product details on a page which are produced dynamically from a database. When the user makes a selection, they choose the number of items they want to purchase from a list box. Each item has a very limited stock - sometimes only 1 or 2. A form … | |
Hi Guys! Was wondering what I was doing wrong with this program. This a program that when a person enters a number, 2-9, it gives them the letters that correspond just like on your phone, e.g., 2 is a,b,c. They also have to chose if they want a switch statement … | |
I have the following code. when I run the code I have to one by one input fx,ft,apha,m,n. After I run the code: Y 10 0.5 1 10 50 Code works with this way. I writed to a file called "d:\\a.txt" this values(that is upper values).I tried to work the … | |
Hello there. I am witting a program in vba/access and I have a string coming in. I need to go through the string and look for specific tags and return the rest of the line. So lets say: "I went" "to the" "park" I need to tell the program to … | |
[code] #include <stdio.h> #include <string.h> #include <conio.h> #define MAX 17 #define TAX_RATE 0.12 #define LENGTH 30 struct menuItemType { char menuItem[LENGTH]; float menuPrice; int numOrdered; }theMenu[MAX]; void Menu(void); int getData(int); void overView(void); void initialize(void); int order(void); float pbill=0; float bill=0; float totalTax=0; int main(void) { int choice=0; char end; initialize(); … | |
i simple want progressbar should execute until it becomes 100 after some interval.but it is not working properly.can anyone help me .Any help would be Greately appreciated.Here is the code what i have written. [code] Private Sub Timer1_Timer() For i = 10 To 100 Step 10 ProgressBar1.Value = CInt(i) If … | |
I am working on an ASP.Net website with SQL Server database and C# 2005 as the programming language. In my database I have two fields namely RDate and RTime. RDate stores the date of the record and RTime stores a time like 09:00 AM, 09:15 AM, 09:30 AM etc. The … | |
Hi, :) Dear Friends i want to run the Windows Calculator when i click on the Particular button in my C# application anybody please tell me that how can i do this... :?: | |
Hi, I know this kind of stuff been wandering around. I did have a look through the search function but I haven't got the answer. This is the program to check whether the number inputted is a prime number or not. [code=c++] #include <iostream> #include <math.h> #define TRUE 1; #define … | |
hiiii is their any special functin available to calculate the execution time of a program written in java.?? thanks in advance.. | |
Hi I'm trying to use PIL to get data from an image and find 'unusual' RBG values but haven't found the right way. [code] Import Image, PIL im=Image.open("image.bmp") ans=im.getdata() print ans [/code] This doesn't examine the RGB values for me to find any unusual ones. If tried others like: im.load() … | |
Hi, I'm writing a C++ single-threaded Unix daemon that listens for data arriving at a port. The whole application logic is contained into an infinity loop. The problem is that the daemon consumes a lot of CPU cycles, specifically because the loop is being continuously executed. I’ve looking around for … | |
Hi all :) :( i want to make messaging system in my site contains : -sending messages to users when there are new threads user can choose to receive it or not -sending messages to users when there are new threads user can choose to receive it or not -sending … | |
How can I terminate a full screen game application using VB6? I've created an internet cafe management system for my internet cafe and I want to add a feature on my program wherein I can terminate a running game application. Thanks. | |
Hi, My Dear Friends, i have created a database and connect it with the C#, now i want to view the Print Preview the reports from the Database and show the preview in the C#, (when i click the perticular button) Now please help me to print and view the … | |
Hi all, I recently learned ASP.net and I am planning to do certifications for ASP.net using C#. Can any of you just me the examinations that are required and any ebooks to study for certifications. Thanks | |
<?php session_start(); $ss = $_SESSION['event']; if ($ss != "eventcal") { $type = $_POST['type']; if($type=="auth") { include "checkauth.php"; }else{ include "authlogin.php"; $block = true; } }else { $block = false; } ?> Notice: Undefined index: event in E:\domains\h\highweb.co.uk\user\htdocs\geeta\assignments\php\HEC_1_2\HEC\authheader.php on line 3 Notice: Undefined index: type in E:\domains\h\highweb.co.uk\user\htdocs\geeta\assignments\php\HEC_1_2\HEC\authheader.php on line 6 Notice: … | |
The control is not going to EditGoto,its is coming out of the whole sub part on report click btn Public Sub Create_Report() WordDocument.EditGoto "CurrentDate" WordDocument.Insert Format(Now, "mmm,d,yyyy") End Sub Public Sub EditGoto(inNm As String) owordapp.Selection.Goto What:=wdGoToBookmark, Name:=inNm End Sub Please help me with this:S | |
Hi,(i post about wpf here because didn't find dedicated forum) I don't know WPF or asp.net . I do know c# well. Should i learn WPF or ASP.NET to make an intranet web application which users don't need to install (except .NET Framework 3/3.5 for wpf). If i use wpf(and … | |
Hi all, I am trying to make a simple game of Craps in Java. My idea was to have a JFrame with an image of the Craps betting table as the background image and when the player clicks on a section of the table they can place or remove a … | |
Hi, I am redoing a VB6 application. In the print function the app determines which printer to use, I want to change this to let the OS choose which printer to use is this doable? | |
OK. So this program is supposed to prompt the user whether they want to play the guessing game. If they say no then end the program otherwise it will start the game and ask them for their first name, last name and the number of guesses they want. Then it … | |
Heya, Not sure this is the best place to post but can't see a better forum :P Not 100% sure I've done this right so looking for some clarification. Thankies Steph -------------------------------------------------------------------------------- CreateTables.SQL [code] DROP TABLE student; DROP SEQUENCE student_counter; CREATE SEQUENCE student_counter INCREMENT BY 1 START WITH 1 NOMAXVALUE … | |
My professor has assigned a machine problem that asks us to write a program using cin.getline, strcmp_s, and strcpy_s to get a string of words and then count how many times those words were used in the sentence. I have searched online for a solution to my problem but I'm … ![]() | |
i've got an error when render report. am stuck here, please help me.. error like : Microsoft.Reporting.WinForms.LocalProcessingException: An error occurred during local report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: One or more parameters required to run the report have not been specified. my code is : [CODE] private void RenderReport() { LocalReport localReport … | |
hey guys, im having a little problem here. here's my code so far: [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click con = New SqlConnection("Data Source=.\SQLExpress;Integrated Security=true; AttachDbFilename=C:\Users\Carlo\Documents\Visual Studio 2008\Projects\OTTO Payroll System\OTTO Payroll System\OTTOdBase.mdf;User Instance=true") con.Open() Try If CType(Me.ACCESSTableAdapter.ScalarQuery1(Me.UserBox.Text, _ Me.PassBox.Text, Me.PosBox.SelectedItem), Integer) > 0 Then … | |
Hi I'd like to know if is possible update a record when load a table. The update must be over a record with a primary key. For example: I have a record with: id|date_begin|date_end|data 2|02/03/2009|NULL|0 and I want that line to be update when a record like 2|02/03/2009|10/03/2009|56,7 comes. Is … | |
Hi I have the following CSS menu, which uses a js to create the menu on Mouseover... I want to add a delay onMouseOut... I have tried the setTimeout function, but am having some trouble getting it to work... the submenu just stays out... [code=javascript] var menuids=new Array("verticalmenu") //Enter id(s) … | |
Hey guys, I'm working on a poker clock for fun just for me and some friends, and have a form with 2 textboxes and a button. The user enters a time in minutes in the 2nd textbox, and presses the button, and it displays the time in [icode]Hours:Minutes:Seconds[/icode] format, centered … | |
I have to construct a class for strings. C++ already has one, but my assignment is a home-made version. I am very lost as to how to make the constructor work. I have toyed with a few things, but I was given a header file to follow and I have … | |
I'm not a developer so I won't even pretend to know what I'm talking about. I just loaded CF 8.0 & DWCS3 and i'm trying to load an existing website that uses CF. I'm trying to set a data source and was sucessful with one of the sites that uses … | |
Hey all I have a bit of a problem, I need a little help fixing this little error problem. The Error is "error C2668: 'sqrt' : ambiguous call to overloaded function" it is on this line of code: [code=c++] void myint::square() { // Output square root cout << "The square … |
The End.