64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Olifant
Member Avatar for Moschops
0
103
Member Avatar for bleedi

Hiya, I've got a small problem. I have an interface called "event", which represents a networking event. I have classes implementing this interface. Now, when my server app receives a new event, it checks the class of the event and acts accordingly. This works nicely when the implementing classes are …

Member Avatar for bleedi
0
161
Member Avatar for andylbh

I have to: Find the distinct names of all diners who ordered 2 or more portion of the same foods on the same day in the same restaurant. [CODE] SQL> select * from foodorders order by diner; DINER RESTAURANT ODATE FOOD ------------------------------ ------------------------------ --------- ------------------- ALICE BEST FOOD 09-APR-11 BAKED …

Member Avatar for andylbh
0
147
Member Avatar for wenbnet

HELLO. i want to put logo in my crystal report, i couldn't find image property in crystal report plz help. Thanks in advance.

Member Avatar for wenbnet
0
211
Member Avatar for kirtee2209

Hi. I am doing a C# windows form application and I am retrieving data from a database and saving in a datatable temporarily. I have to access each cell and update them. [CODE] try { string TaskStatus = "Assigned"; SqlCommand cmd1 = new SqlCommand("SELECT Day_Date FROM tblDaily_Task_Schedule WHERE Task_Status='" + …

Member Avatar for kirtee2209
0
141
Member Avatar for cliffcc

As i know we can set the radio button as default buttion by using the code (checked) . how about the select button? Can i do the same thing to select button? Thanks!

Member Avatar for vibhaJ
0
216
Member Avatar for tultul

i have a problem. i don't know where i am making the mistake.... i need to refreshed my JPanels automatically with time..... i have used timers for this. i used in the constructor of the class... public class HoursPanel{ //.... //..... public HoursPanel(){ int delay = 60000; Timer timer = …

Member Avatar for tultul
0
130
Member Avatar for karthik_ppts
Member Avatar for karthik_ppts
-2
172
Member Avatar for Mr. K

I am trying to move a ball using time. The ball must move 5 pixel per second. In my code the ball is moving faster. Why is it moving faster? What is wrong with my code? [CODE]#include <allegro.h> #include <cstdlib> #include <time.h> int ball_x = 320; int ball_y = 240; …

Member Avatar for Mr. K
0
117
Member Avatar for dnk

Hi All, I try to make my caption text scrolling. Actually, i already make it scrolling but after the last letter it would appear all of text and scrolling again. I want the text scrolling one by one, after the last letter it following by the first letter. How i …

Member Avatar for dnk
0
231
Member Avatar for toferdagofer

Im trying to get this game to play again once the user gets the right answer or the guesses exceede 8. The problem comes in when i type in Y or N. It doesnt loop back up to the top of Do loop like i would like it too. Please …

Member Avatar for toferdagofer
0
176
Member Avatar for MoreBloodWine

Code: [code]<?php $data = file_get_contents('http://support.xbox.com/en-gb/Pages/xbox-live/xbox-live-status.aspx'); preg_match_all('~<div id='xbox-live-status-box'>\s*(<div.*?</div>\s*)?(.*?)</div>~is', $data, $matches ); print_r($matches); ?> [/code] Result: Array ( [ 0 ] => Array ( ) [ 1 ] => Array ( ) [ 2 ] => Array ( ) ) I was hoping to maybe see something similar to this... trying to …

0
90
Member Avatar for johng123

i have 4 columns in the mysql database url, showingtext, target want to make a hyperlink from those columns: question: how do i automatically fill the 4th column containing the html hyperlink code question: should i rather string the 3 columns togheter using php, how would one do that sorry …

Member Avatar for johng123
0
399
Member Avatar for IwalkAlone

Q.Create an equivalent of four function calculator. The program should request the user to enter two numbers and an operator. It should carry out specified arithmetic operation on the two numbers( using switch case).After displaying the result, the program should ask the user if he/she wants to do another calculation.If …

Member Avatar for lokeshg
0
2K
Member Avatar for wildplace

so.. my professor ask us to read map(x,y) into a graph data structure and traverse using Breadth First Search. although i asked him for help, i still so lost..can someone please explain how should i start, such as what are some functions the graph class should has..and what they should …

Member Avatar for wildplace
0
108
Member Avatar for barttoo

Hi, I am new here. I need some help on inter-process communication. I am developing a high performance console app in C# 4.0. The reason i chose console to winform because to minimize the GUI thread overheads. But i need to view the processing statistics from time to time (occasionally …

Member Avatar for Momerath
0
128
Member Avatar for Buffalo101

Hello, let's say I have these classes: [code=java] public class ClassA extends JFrame{ private JButton btn1; private JPanel panel; public JPanel getPanel(){ return this.panel; } ClassA(){ this.setSize(500,500); this.setVisible(true); panel=new JPanel(new FlowLayout()); btn1=new JButton("LALALA"); this.add(panel); panel.add(btn1); } } public class ClassB { ClassA a; ClassB(ClassA a){ this.a = a; JButton button2 …

Member Avatar for mKorbel
0
2K
Member Avatar for anitaNg

what is wrong with my code?i cant figure it out. [CODE] #include<iostream.h> #include<stdlib.h> #include<stdio.h> #define MAX 50 struct Node { char judul[MAX]; char pengarang[MAX]; int harga; Node* nextPtr; }; Node* makeNode(char judul[], char pengarang[], int harga) { Node* newNodePtr = (Node*)malloc(sizeof(Node)); if(newNodePtr == NULL) { cout << "Out of Memory" …

Member Avatar for jonsca
0
144
Member Avatar for Iamthecheese

I'm having trouble formatting a binary tree. In my program, the tree format should print every output as such: 35 30 29 25 24 20 15 This is the code that I have thus far. [CODE]public void treeFormatTraversal(){//begin int level = 0; if(root !=null) treeFormatHelper(root, level); else System.out.println("\nTree is Empty\n"); …

Member Avatar for Iamthecheese
0
155
Member Avatar for dejanc

Hello, I have access database which have hyperlink column, and values as "/yes.bmp", "/no.bmp". Then in asp.net have a GridView with ImageField which in browser will show Yes image, or No image. ImageField Properties >> DataImageUrlFormatString: ~/images/{0}.jpg. My goal is to get in vb.net code a value from GridView's imagefield. …

Member Avatar for dejanc
0
397
Member Avatar for jemz

hello... Can you help me please, how can i use the checkbox if i want to display on my listiew Active or not Active After clicking the addbutton. Example Jemz Gimz 123 then i will check the checkbox and click the Add button it should display on my listview Jemz …

Member Avatar for jemz
0
116
Member Avatar for kris0r

Hi all, I recently made a web crawler as part of a Uni team project building a small search engine. I've managed to incorporate it into our GUI, there is a button which starts the crawling process by creating the crawler in a thread. (I did this because otherwise the …

Member Avatar for JamesCherrill
0
160
Member Avatar for Buffalo101

Hello, I'm making an application that supports sending text/files. It will use a server and 2+ clients. The clients won't communicate directly with each other, their messages will be forwarded by the server. My problem is this: in C++, after starting a client, I'd have 1 thread stuck on RECEIVE …

Member Avatar for JamesCherrill
0
240
Member Avatar for david59

This is my Program: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Myclass { static void Main(string[] args) { Myclass d = new Myclass(); d.Myprog("ahasda"); } void Myprog(params string[] s) { int num=0; foreach (string r in s) { if (r.Contains('a')) { num++; } } Console.WriteLine(num); …

Member Avatar for Mitja Bonca
0
146
Member Avatar for shayankhan

Hello again guys, I am little bit stuck in this situation and searched everywhere in google but i did'nt find what actually i want.. a problem with autonumber in access database. i have created a database with 4 columns .. deleted primary key slip, cname, nic... the slip column is …

Member Avatar for shayankhan
0
95
Member Avatar for MWE_QUE

Any help would be appreciated. I have a working command line program (trivia question) and decided to try to put it in a Gui. I got the user menu to print, but it gets to line 162 and blows up (going line by line) where I'm thinking it should do …

Member Avatar for MWE_QUE
0
320
Member Avatar for virusisfound

Hello, I want to save multiple record in database from DataGridView. I have some code but their is an error i.e [B] Column named id cannot be found. Paramater name:columnName[/B] [CODE]SqlConnection cn = new SqlConnection(); cn.ConnectionString = "path of connection"; cn.Open(); string q = "select * from abc"; SqlDataAdapter da …

Member Avatar for virusisfound
0
464
Member Avatar for Tenaciousmug

Here is my code for the login script. Everything works perfectly, but everytime I enter everything CORRECTLY into the forum, it says "The username, ____, and password do not match!". When they do match. If I leave the areas blank, they say "You must enter a username!" or "You must …

Member Avatar for cuonic
0
95
Member Avatar for Tenaciousmug

It's working great, but at some points after one of the random events goes through, I reload the page and it either gives me or takes away some starpoints without showing the message.. but it shows the message all the other times. Could someone help me debug this and see …

Member Avatar for cuonic
0
97
Member Avatar for n1csaf3

I am having trouble correctly allocating memory for a parent function that will remain upon the child functions exit. the call to the child function is [code=c]HTTP_packToGen((char*)http_headerContent.HTTP ..[/code] the HTTP variable within http_headerContent is a char pointer that isn't allocated until the child function is called, http_headerContent is a static …

Member Avatar for n1csaf3
0
321
Member Avatar for murnesty

i searched about this error. they said is mostly caused by forgot putting semicolon... but i find for 1hours+ still cant find out >.< anyone can help me? the error is pointing test.h lines 9: multiple types in one declaration test.h: [CODE]#ifndef TEST_H_ #define TEST_H_ class TEST { public: //call …

Member Avatar for Kanoisa
0
1K
Member Avatar for Vega_Knight

Hi all, I am writing a program in VB6 where I need to determine the path for the system32 folder. I know the default path is c:\WINDOWS\Sytem32, but some people installed they windows in another drive. How i can get the path of system32 folder? Best Regards Vega

Member Avatar for Jx_Man
0
183
Member Avatar for gangemia

I'm using a single WSH script controlled by Microsoft Task Scheduler that calls a series of daily run batch files sequentially. However, some of these batch files only need to run on the first working day of each month. I don't want to create additional Task Scheduled events for these …

Member Avatar for TrustyTony
0
4K
Member Avatar for deadelgabar

hi, all im working in access 2007 vba, i write a code in the login screen, to check if the user name and password match with the corresponding username and password in the database. the problem im facing is if a user enters a usernam correct and a password which …

Member Avatar for Jx_Man
0
209
Member Avatar for oree

Hey there, I am looking to have 2 drop down lists, 1 for provinces and 1 for cities. i saw some examples in java script but since i dont know how to use java and i do know and LOVE php i wondering if anyone can help me with this …

Member Avatar for oree
0
2K
Member Avatar for dalip_007

Guys Is there a way to export the record of a table in csv format and then send that csv as attachment in mail to anyone using php? Thanks

Member Avatar for vibhaJ
0
122
Member Avatar for 68thorby68

I have all but completed my design for an application in PHP and MySQL using apache as my web server. However, I was wondering whether apache supported transaction logging which would save me creating code with numerous database calls to log all activity myself. I appreciate I may have to …

Member Avatar for 68thorby68
0
153
Member Avatar for SpecialForce

Hello everyone, I am trying to take a screenshot and save it as jpg. I have found a code and save it as bmp but the file size is pretty big. After searching a lot I found this thread [url]http://www.daniweb.com/forums/thread327090.html[/url] but I can't compile the code... :( I am trying …

Member Avatar for daviddoria
0
6K
Member Avatar for jakizak

Ahhhh! OK, so I've been learning PHP for about 7 years now on and off, but never have I taken the time to look into URL rewriting. Until now I've not needed it, but you can guarantee the one thing you think you wont need, you need! I have the …

Member Avatar for blocblue
0
357
Member Avatar for tultul

Sorry.... i have posted this question before in JavaRanch Forum but i did not get any satisfactory answer to my question. probably no one notices there. I am posting here with the hope that someone will come forward and give me some suggestion. i am using java swing and i …

Member Avatar for tultul
0
887
Member Avatar for tracieam

I am trying to write the code for a face that winks. My code doesn't give me any errors however when I try to run it the window comes up as a blank window. It does have the corredt title but no face is drawn in it and I'm not …

Member Avatar for tracieam
0
104
Member Avatar for shadowscape

hey everyone, i am attempting to create a simple dll in c++ that creates a timestamp, in the following format... [B]17042011233200[/B] Which is: [B]17/04/2011[/B] @ [B]23:32:00[/B] thus far, i have found a code ([B]see below[/B]), but after compiling with devc++ it doesnt seem to work, i am new with dll's …

Member Avatar for JasonHippy
0
161
Member Avatar for cafegeo

I have this function which reads in a workers.age from a structure. It determines how much taxes that worker will have to pay based on a base[i] salary that is also passed to that function. I am able to print out the net salary and amount of taxes paid for …

Member Avatar for cafegeo
0
472
Member Avatar for Labdabeta

I have the following trig functions, but I am wondering if there is a faster algorithm that I could implement: [CODE]static const double SINMIN=0.0009999998333333; static const double COSMIN=0.9999995000000417; static const double TANMIN=0.0010000003333334; static const double E=2.718281828459045235360; static const double PI=3.14159265358979323846; static const double MINVAL=0.01; double sin(double ax) { double x=aabs(ax); …

Member Avatar for mrnutty
0
638
Member Avatar for shine_jose
Member Avatar for makman99
0
161
Member Avatar for dnk

Hi, I try to change all first letter of the words in the textbox to uppercase. THis how far i try to change it but just the first word not the entire words. [CODE] Private Sub txtQuote_Change() txtQuote.Text = UCase$(Left(txtQuote.Text, 1)) & LCase$(Mid$(txtQuote.Text, 2)) txtQuote.SelStart = Len(txtQuote.Text) End Sub [/CODE] …

Member Avatar for dnk
0
174
Member Avatar for PM312

i have Msflexgrid with two column (Invoice No and Amount) say 5 rows Invoice no column is left align and amount column is right align i want to transfer this 5 rows data to a single text box i.e entire grid data to single text box invoice no should be …

Member Avatar for Jx_Man
0
1K
Member Avatar for Labdabeta

I need a way to do the following and I cannot think of one, this is what I have so far: [CODE]typedef Obj2*(*Reaction)(); class Obj1 { public: Reaction reaction; }; class Obj2 { public: unsigned int numobj1; Obj1 *objects; }; class Obj3:Obj2 {};[/CODE] Can you find any way of doing …

Member Avatar for Labdabeta
0
93
Member Avatar for HiHe

I was exploring random art and modified this nice example from vegaseat: [code]# random circles in Tkinter # a left mouse double click will idle action for 5 seconds # modified vegaseat's code from: # http://www.daniweb.com/software-development/python/code/216626 import random as rn import time try: # Python2 import Tkinter as tk except …

Member Avatar for HiHe
0
18K
Member Avatar for Tellalca

Hey; I am currently busy with multiprocessing and multithreading. There I saw a signal SIGCHLD which is an excellent zombie process cleaner by handling that signal. But when we are writing our handler function why we declaring it with an signal number arguement ? Is this arguement is automatically passed …

Member Avatar for nezachem
0
169

The End.