199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rickbill

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 …

Member Avatar for Darkangelchick
0
181
Member Avatar for goyofoyo

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 …

Member Avatar for Ezzaral
0
296
Member Avatar for nanna

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 …

Member Avatar for nanna
0
327
Member Avatar for shahab.burki

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 …

Member Avatar for BestJewSinceJC
0
153
Member Avatar for kazitula

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

Member Avatar for dickersonka
0
114
Member Avatar for Sallad

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 …

Member Avatar for DemonGal711
0
3K
Member Avatar for thijo

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

Member Avatar for BestJewSinceJC
0
98
Member Avatar for LeBurt

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 …

Member Avatar for magicgunnar
0
254
Member Avatar for serkan sendur

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?

Member Avatar for serkan sendur
0
196
Member Avatar for amerninja2

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 …

Member Avatar for amerninja2
0
249
Member Avatar for joejoe55

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

Member Avatar for mcriscolo
0
230
Member Avatar for lllllIllIlllI

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

Member Avatar for lllllIllIlllI
0
240
Member Avatar for jajafofo

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 …

Member Avatar for jajafofo
0
102
Member Avatar for NagendraR

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 …

Member Avatar for tux4life
0
243
Member Avatar for idb_study

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

Member Avatar for tux4life
0
154
Member Avatar for serkan sendur

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 …

Member Avatar for serkan sendur
0
94
Member Avatar for Designer_101

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 …

Member Avatar for nav33n
0
620
Member Avatar for confused!

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 …

Member Avatar for hajiakhundov
0
269
Member Avatar for HelenLF

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 …

Member Avatar for HelenLF
0
73
Member Avatar for songweaver

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 …

Member Avatar for siddhant3s
0
171
Member Avatar for ahmedo047

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 …

Member Avatar for LizR
0
140
Member Avatar for LindseyV

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 …

Member Avatar for hkdani
0
525
Member Avatar for moonw3ll

[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(); …

Member Avatar for moonw3ll
0
156
Member Avatar for firoz.raj

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 …

Member Avatar for firoz.raj
0
118
Member Avatar for Eager_Beever

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 …

Member Avatar for dickersonka
0
416
Member Avatar for itslucky

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

Member Avatar for itslucky
0
268
Member Avatar for delifion

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 …

Member Avatar for delifion
0
88
Member Avatar for koolhoney07

hiiii is their any special functin available to calculate the execution time of a program written in java.?? thanks in advance..

Member Avatar for verruckt24
0
79
Member Avatar for kiddo39

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() …

Member Avatar for kiddo39
0
303
Member Avatar for etserrano

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 …

Member Avatar for etserrano
0
160
Member Avatar for mohamed1

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 …

Member Avatar for tomer1
0
76
Member Avatar for everard

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.

Member Avatar for vb5prgrmr
0
94
Member Avatar for itslucky

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 …

Member Avatar for itslucky
0
534
Member Avatar for Rutu99

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

Member Avatar for happygeek
0
42
Member Avatar for rohnni

<?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: …

Member Avatar for rohnni
0
146
Member Avatar for dev_kc

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

0
65
Member Avatar for stoymigo

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 …

Member Avatar for stoymigo
0
124
Member Avatar for darkagn

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 …

Member Avatar for darkagn
0
173
Member Avatar for jaz215

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?

Member Avatar for jaz215
0
104
Member Avatar for AirmanTheGreat

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 …

Member Avatar for AirmanTheGreat
0
101
Member Avatar for Lilal

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 …

Member Avatar for Lilal
0
103
Member Avatar for iTsweetie

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 …

Member Avatar for jencas
0
100
Member Avatar for am_dumb

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 …

Member Avatar for am_dumb
0
3K
Member Avatar for raiko098

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 …

Member Avatar for abhishekcs
0
279
Member Avatar for vimotaru

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 …

Member Avatar for debasisdas
0
136
Member Avatar for lifeworks

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

Member Avatar for nav33n
0
253
Member Avatar for crazyhorse09

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 …

Member Avatar for crazyhorse09
0
177
Member Avatar for boydale1

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 …

Member Avatar for boydale1
0
124
Member Avatar for heldhostage

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 …

Member Avatar for zwr
0
247
Member Avatar for WesFox13

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 …

Member Avatar for WesFox13
0
91

The End.