199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shubhang

Hi! I wanted to know in simple language what is an API (application program interface). I have made an address book program so can I call it an API. Help will be highly appreciated.

Member Avatar for verruckt24
0
147
Member Avatar for Filipe11

I need to know to turn off a combobox, and a trackBar! I explain, when you select an item from a combobox, I would like to disable another combobox and a trackbar in the same form ... Who can help me?:S

Member Avatar for Filipe11
0
108
Member Avatar for Kentoro

It is my final assinment to create a program similar to yahtzee. I need it to roll 6 dice visually. Allow the user to keep the dice they want to save. And after three rolls select a place to save their number value. At end of program, it should tally …

Member Avatar for verruckt24
0
148
Member Avatar for bachma7

hi every body,i have a question- i programing UDP server to download file,it 's work but it can serve only one client one time, how could i create a udp server that can serve a lot clients at the same time. thank you very much.

Member Avatar for neilcoffey
0
228
Member Avatar for OmniX

I am looking to recreate this photo gallery: [url]http://www.bourakis.com.au/gallery-contemporary.htm[/url] With its sidescrolling and picture enlargement. Thankyou, Regards X

Member Avatar for durgamadhab
0
422
Member Avatar for soniagupta98

Write a program that implements the BinarySearchTree interface given below . The type of data stored in this tree is Integer. You are free to use any type of implementation; [CODE] public interface BinarySearchTree { public void insert(Integer data); public int size(); public int height(); public boolean contains(Integer target); } …

Member Avatar for masijade
0
95
Member Avatar for papuccino1

No code from me, because I have no idea what to do! :P I'm trying to build a password generator. Hope you guys can help.

Member Avatar for deathdarts
0
86
Member Avatar for MaxManus

Hey, what does figure() and show() do? I have tried help in ipython, but I still don't understand other than my program sometimes stop when I don't use them.

Member Avatar for MaxManus
0
85
Member Avatar for dinilkarun

HI, Please help me in colourin the text frame with 2 different colours. With ppSlide1.Shapes(3) .TextFrame.TextRange.Text = "Wing PRR :Total Weight: " .TextFrame.TextRange.Font.Bold = True .TextFrame.TextRange.Font.Color = vbWhite .TextFrame.TextRange.Font.Size = 26 .TextFrame.TextRange.Font.Name = "Arial" End With "Wing PRR:" - in White colour "Total Weight" - Yellow colour Regards, Dinil

Member Avatar for QVeen72
0
467
Member Avatar for rakeshpatil1234

i have a textbox,button and datagrid i want to add textbox value in grid on button click(with out database) and finaly store this grid data in database(mySql) i want to add multiple value from textbox to grid? plz help

Member Avatar for diananizam
0
81
Member Avatar for firoz.raj

sir i want if user click in combo box corresponding value should come from pquery, mquery from access database. but i am not getting the result i have put some code in combo_click but when i click in text combo box to display the last value of product_id then i …

Member Avatar for firoz.raj
0
133
Member Avatar for ejohns85

Hello, I am trying to create a basic war game. I have two classes, called Army, and Unit. Army contains an array of 10 Units: [code] public class Army { public Unit[] units; public Army() { units = new Unit[10]; } } [/code] When my program runs, an Army class …

Member Avatar for LizR
0
103
Member Avatar for Se7Olutionyg

[CODE]#include <iostream> #include <cmath> using namespace std; const float G = 32.17; // function declaration float caltime ( float,float, float ); float calheight ( float,float,float); // main function int main() { float theta, float cotheta, float sitheta, float distance, float velocity, float time, float height; cout << " Input the …

Member Avatar for shadwickman
0
130
Member Avatar for abhi.nalluri

I have developed a tabbed gui.I need to do some operations when the CLOSE button in the GUI is issued.I have removed OK and CANCEL buttons as I have no use with them. Can anyone please help me where can I include my code so that I can execute it …

Member Avatar for cikara21
0
215
Member Avatar for Se7Olutionyg

[CODE]#include <iostream> #include <cmath> using namespace std; float scale (float,int) ; int main() { float num1; int num2 ; cout << "Enter a real number : " ; cin >> num1; cout << " Enter an integer: " ; cin >> num2; cout << " Result of call to function …

Member Avatar for VernonDozier
0
127
Member Avatar for kevintse

[code=c++] #include <iostream> using namespace std; #define OUT(x) cout << (x) << endl; template<class T, int size> class Stack{ T arr[size]; int top; public: Stack():top(-1){} void push(T obj); T pop(); }; template<class T, int size> void Stack<T,size>::push(T obj){ top++; if(top >= size){ top--; OUT("the stack is full"); }else{ arr[top] = …

Member Avatar for kevintse
0
139
Member Avatar for the reaper

anyone know how to add your program to start up on windows xp/vista and regardless of user admin guest or normal user...any bit of source code available will be helpful..

Member Avatar for jbennet
0
315
Member Avatar for Raygoe

Well, for the first time it seems I have stumbled onto a bug I have never been able to figure out with google. Application Type: wxPython 2.8.9.1 (Python 2.6 Version ANSI) Python 2.6 py2exe 0.6.9 Anyways, I compiled an application that uses wxPython. I then proceeded to run the application …

Member Avatar for jbennet
0
153
Member Avatar for CoolAtt

hi. actually i hv to read lines from a file which is getting updated at the same time( new lines are appended at the end of the file). plz suggest a way to implement it in c. thx.

Member Avatar for Murtan
0
153
Member Avatar for davids2004

Ok I have everything pretty much working except for one small detail. When I do inpatient I need to display the room charges as well as the medication and labs and services. It only displays the medication and labs and services charges but in the total includes the room charges, …

Member Avatar for davids2004
0
673
Member Avatar for Stefano Mtangoo

I'm learning ctypes right now and have made simple function and here is the code [CODE=python] #import ctypes module import ctypes as ct #get BOOL C++ value from ctypes from ctypes.wintypes import BOOL #Loading the DLL see: http://www.daniweb.com/forums/thread160430.html bass_dll = ct.cdll.bass #here is function description on the function """ Loads …

Member Avatar for Murtan
0
343
Member Avatar for smile4evr

HI ALL....all posts n posters in daniweb hv helped a lot alwayz...one more help needed...i want to know about datareports.... now i need my reports to be generated under different conditions...... it should be able to retrtieve da data as well as print if required! ive tried through many sites …

Member Avatar for smile4evr
0
129
Member Avatar for carson myers

Sooooo I'm writing a program that involves a lot of writing to the screen and I want to do it at bios level. Mostly because the DOS calls can't do what I want to do, and also because I'm afraid to go all out and write directly to the vram. …

Member Avatar for carson myers
0
146
Member Avatar for hhamdan

Hello every body, i have a table has username and encrypted password, and i want to write it in different table and i want to decrypt the password filed and i am using this code [B]I am selection the data from the login table[/B] [ICODE]<cfquery name="dec" datasource="ds"> select * from …

Member Avatar for arrgh
0
126
Member Avatar for Fouly

Hi, I'm building my own simple Messenger via Intranet using WCF...but i've a little problem with sending an attachment. I attached the project to check it and here's the steps to follow in order to test the project: 1-Run the SimpleSvcHost( to run the service). 2-Run the SimpleClient. 3-choose one …

Member Avatar for Fouly
0
108
Member Avatar for eedythh2

I'm very new to C++ I have an assignment where I have to create a calculator. Should work in console window and should allow user to enter 1st then 2nd number and then operator user wishes... In addition I have to use a switch statement. Not only that but it …

Member Avatar for daviddoria
0
187
Member Avatar for konata_89

i dont understand how to do makefile .? can u give me some exmaple how to makefile for this code.and where to add the make file ...im using devC++ and vb2008 [code=cplusplus] //file for GradeBook.h #include <string> using std::string; // GradeBook class definition class GradeBook { public: GradeBook( string name …

Member Avatar for daviddoria
0
95
Member Avatar for callprem26

Hi all, 1. In C++, how can we print "Hello World" say 100 times witout using any loops (for, while/do while, for_each or recursion)? 2. I need to make a Base class underivavle. Could somebody tell me why "virtual" keyword is necessary in following code snippet? [code=cplusplus] #include <vector> #include …

Member Avatar for Narue
0
179
Member Avatar for 4ukh

giving me error when compiler run the query i thing the only thing which is messing is the check box yes/no i don't know how to store the check box state into the table field... please find me the solution... thank you [CODE]Private Sub Chop_it_Click() Dim sql_val As String Dim …

Member Avatar for 4ukh
0
111
Member Avatar for sciwizeh

Ok, i'm trying to make two player, no-network pong. i don't know what the problem is, there are some very strange things happening... at the beginning of the program i try to set a y value to half the height, but it doesn't it stays at y=0 when the user …

Member Avatar for sciwizeh
0
140
Member Avatar for Filipe11

Sorry to be upset again, but I am doing a project and need your help! I have a list of a class (eg: List <Medicamentos>...), but this class has 3 subclasses and, how I use properties ,I dont know how to change the attributes of the Superclass and subclass at …

Member Avatar for Filipe11
0
98
Member Avatar for tristan17

hi people, I want to convert the pixel to a set of rgb values, but I don't really have an idea. If i am not wrong, there are some java commands like readImage and readPixel and raster that are related to digital image. Can someone shed a light on me? …

Member Avatar for sciwizeh
0
707
Member Avatar for Speedy Hawk

Can someone please reply before Tuesday..........I know it is late but cos I had login problems and it only just sorted now. I am having problems with add traveller into Resort class. I can add traveller fine, but I don't know how to add traveller on home world. I am …

Member Avatar for Ezzaral
0
151
Member Avatar for squarkman

Hi, This is a tough one! Is there a way to prevent someone from typing in a url to get to a page YET that page IS accessible from a LINK on some other webpage. Thx

Member Avatar for Fungus1487
0
154
Member Avatar for micky692002

Hi guys, I have to make a program for my programming class and I have no idea of how to do it. Can someone help me? Here's the program that I have to make in C++. A common memory matching game played by children is to start with a deck …

Member Avatar for Murtan
0
3K
Member Avatar for relequestual

Hi everyone. I'm new to this forum, recommended by a friend. I've just finished my first term at uni, and learnt some java. I'm creating a simple helicopter game in java, and have some issues using timers. The funny thing was, i started the project on my laptop, and it …

Member Avatar for Ezzaral
0
1K
Member Avatar for mikewalsh89

I recently wrote a program to determine perfect numbers..... [CODE]n=raw_input("Please input a number: ") factors = [] p=int(n) for k in range(1): x=0 while x < p-(p/3): x=x+1 z = p/x if p%z == 0: factors.append(z) if factors.count(z) > 1: factors.remove(z) print "The factors are,", factors print "the sum of …

Member Avatar for Murtan
0
119
Member Avatar for echilon

I'm trying to rotate a shape around a point, but I'm having a problem. To give this some context - it's for a game. The transform is applied and the image is drawn, then green rectangle is drawn, then the transform is reset. When I try to use newTrans.createTransformedShape() to …

Member Avatar for AlbertPi
0
166
Member Avatar for bhanu1225

Hi everyone, I am very new to use python scripting language. I am having a doubt that, [COLOR="Red"]how could we write the html programs on python for web applications ? [/COLOR] Please give quick response to my post.

Member Avatar for Stefano Mtangoo
0
80
Member Avatar for harrybern

Hi I am working on a pocket pc application. I am displaying text as one word at a time on the screen with a delay of 240ms. But the problem is as soon the the text starts running on the screen ,, i cant access any menu functions. It is …

Member Avatar for harrybern
0
106
Member Avatar for vijaysoft1

I trying to make small personal website in PHP + MYSQL . In my database there is a table named ' tblUsers ' . I am using this table for users Login .I displayed the username of the user after the login . But how to track the userID of …

Member Avatar for flagbarton
0
155
Member Avatar for oobokensilence

Well to start off...here is my code. import java.io.*; import java.util.*; // my name public class project12 { static Scanner console = new Scanner(System.in); Scanner inFile = new Scanner(new FileReader("f:\\JAVA\\projects\\receipts.txt")); public static void main(String[] args) { int movies; double price; price=2.00; double change, cash, tax, total; System.out.println("Enter how many movies …

Member Avatar for stephen84s
0
135
Member Avatar for veledrom

Hi, I want to buy a JavaScript book to learn. What is the best book that should also have information about form validation, HTML DOM etc. with examples. Thanks

Member Avatar for Luckychap
0
56
Member Avatar for codedhands

Hello,am newbie in python.Am trying to write a function that deletes urls in a file.The function accepts the url to be deleted as an argument.I want to use regular expression to match the url in the file and then delete it(maybe replacing it with a white space).My problem is that …

Member Avatar for codedhands
0
124
Member Avatar for NinjaLink

For Linked Lists, I know the code for insertBack and deleteFront....but [B]How do I change insertBack into insertFront and deleteFront into deleteBack with the code I currently have?[/B] Please help! [B]deleteFront code:[/B] [CODE=Cplusplus] void deleteFront(nodeType*& first) { nodeType *last,*current,*trailcurrent; bool found; int num; cout<<endl; cout<<"Inside deleteFront...removing item from front of …

Member Avatar for NinjaLink
0
313
Member Avatar for CoolGamer48

I'm trying to load a bitmap into an Image object using the following code: [CODE=Java] System.out.println("Point A"); System.out.println("Point B"); m_image = Toolkit.getDefaultToolkit().getImage(getClass().getResource(filename)); System.out.println("Point C"); MediaTracker mt = new MediaTracker(null); System.out.println("Point D"); mt.addImage(m_image, 0); System.out.println("Point E"); try { System.out.println("Point F"); mt.waitForID(0); System.out.println("Point G"); } catch (InterruptedException ie) { System.err.println(ie); System.exit(1); } …

Member Avatar for Ezzaral
0
179
Member Avatar for jimbob90

im writing a program that adds up command line arguments, how can i account for a situation where there are no arguments at all? [code=c++] #include <iostream> using namespace std; int main(int argc,char *argv[]){ int answer = atoi(argv[1]); if (argc=='0'){ cout << '0'; } else if (argc == '1') cout …

Member Avatar for Freaky_Chris
0
79
Member Avatar for dr.eu

Hi! I have to write program, that reads signs and it counts, how many is capital letters, how many small letters, and how many remaining signs. It stops, when reads thrue 20 signs or when sign q or Q is entered. Before the end it writes out typed and calculated …

Member Avatar for dr.eu
0
95
Member Avatar for ninja_gs

Even a Working Code in Turbo C++ is not working in Dev++ .. I have Just installed ...... in C: and All Lib /Bin/Dir/Include Paths Are Correct as it was........But still Not working........... I have Tryed To rebuild it But No use any Help me out or Provide me a …

Member Avatar for ninja_gs
0
141
Member Avatar for antonis233

hi im try to do a program to put binary number like this 1 0 0 0 and after display in this way 0001

Member Avatar for Freaky_Chris
0
48

The End.