132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cabsjonel

hi ! folks merry christmas and happy new year to all of you folks i have problem on my project it is a lending system I am only a begginer in vb can you give me some programs that i can learn regarding to my project folks i need your …

Software Development visual-basic
Member Avatar for abu taher
0
77
Member Avatar for hondros

Okay, I'm creating a Battleship game. It's going to be using the console for now, still don't know GUI. Anyways, this is my issue. I have created two boards as lists, the first for the user, the second for the computer. I have the computer generate random numbers and a …

Software Development gui os-x python
Member Avatar for hondros
0
103
Member Avatar for Lida_pink

How can I show these numbers exactly the same on the form? (By clicking on a command button and printing them on the form) Thanks in advance everyone :) (btw, I'm a beginner so please use the easiest way) ;) ( The "*" character means space. I actually need SPACE …

Software Development visual-basic
Member Avatar for abu taher
0
91
Member Avatar for rehber344

hi everyone ı have a very big text file which is 35mb and that includes 85000 lines. those lines are the rules of ıptales and from the command shell ı do paste and copy and as you can see it that ıs very diffucult to paste every lıne ı trıed …

Software Development python
Member Avatar for woooee
0
188
Member Avatar for foxmulder

Hi all! Merry Christmas in advance! My question is "easy", I am looking for a "finished game" that I can revise. The game must be text-based and in C++. The game description is the following: A bow must be set in both angle and force to hit a balloon in …

Software Development c++
Member Avatar for restrictment
0
88
Member Avatar for BlackPhoenix

Hi everyone, having trouble coming up with the right code for 8 directional movement [ up, upright, right, downright, down, downleft, left, upleft] My keypress handling is: [CODE] if event.type == KEYDOWN: if event.key == K_LEFT: player.moveLeft = True player.moveRight = False if event.key == K_RIGHT: player.moveRight = True player.moveLeft …

Software Development python
Member Avatar for JugglerDrummer
0
308
Member Avatar for Darth Vader

I have a mathematical problem that I am not sure how to solve. I am trying now but still cant find a solution. What I is doing is this: The example is that I have a number: "129" that I will need to round down to the nearest value. The …

Software Development c++
Member Avatar for Darth Vader
0
332
Member Avatar for shadwickman

Hello! I have a question in regards to [I]malloc[/I]/[I]calloc[/I] and [I]free[/I] in C. What I'm unsure about is the "depth" (for lack of a better word) that [I]free[/I] operates to. I know that sounds strange so let this example hopefully explain what I mean: [code=c] #include <stdlib.h> int main () …

Software Development c
Member Avatar for shadwickman
0
126
Member Avatar for gisek

Hello, I've got a problem. I created a DataGridView, where a DataTable is it's DataSource. There is a column named "Age" i this DataGridView. It's format is string as I accept the value "unknown". The problem occurs when i try to sort it. After descending sorting the rows where "Age" …

Software Development vb.net
Member Avatar for gisek
0
3K
Member Avatar for arshad115

i have so many functions in my program,what i want to do is, i want to return back to the main() but in somewhere middle of it!. should i use goto statements? i tried 'em,it gave some error! if i should use goto then please explain how to,thanks

Software Development c++
Member Avatar for Cokaric
0
6K
Member Avatar for tkud

Hey everyone, since nobody has decided to assist me in my problems, I guess I have to throw it at you guys this way: I am using Visual C++ 2008 Express edition, I have a win32 tutorial that I'm using, and I'm saving my files as .cpp. However, the codes …

Software Development c++
Member Avatar for Frederick2
0
314
Member Avatar for masterinex

Hi, I want write a program which extract 'Rated PG for some scary moments and mild language' from the following html file and return it as a list . html file: <div class="info"> <h5><a href="/mpaa">MPAA</a>:</h5> <div class="info-content"> Rated PG for some scary moments and mild language. (also 2009 extended version) …

Software Development html-css python
Member Avatar for vegaseat
0
236
Member Avatar for qwertymk

I have the following code and was wondering if it is a memory leak [CODE] #include <cstdlib> #include <iostream> #include <iomanip> #include <vector> using namespace std; template <class T> class live { vector<T> _data; live<T> *_next, *_temp; public: live(int elements, int chunk = 10) : _next(NULL) { if (elements > …

Software Development c++
Member Avatar for Agni
0
110
Member Avatar for bhas_purk

Hi guys, Merry Christmas. I created a program to delete duplicate songs from my computer. It is working nicely and for it to be really helpful I want to package it somehow so that I can give the software to my friends for use. Now I know giving just the …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
125
Member Avatar for Democles

I'm not sure this is the correct forum for this, but it's at least relative. I was wondering if anyone knew of some decent references and ebooks for a beginning Django user.Yes, I know djangoproject has tutorials, but there decently hard to understand. If someone could either help or steer …

Software Development python
Member Avatar for Stefano Mtangoo
0
80
Member Avatar for semab

i have to make a game 'hangman' in c# using object oriented programming applications ....how should i make dat...guide me plz

Software Development
Member Avatar for semab
0
53
Member Avatar for Gixxer98226

Is there a way to prevent this from running every time a web page is loaded? For instance I have a web page that opens up upon form load. So right when the form loads it starts running the code that is in the webbrowser document complete event. I tried …

Software Development web-browser
Member Avatar for sknake
0
152
Member Avatar for VINOD_2553

Hi i just have problem in my software i just want to apply more then one condition in my quary which is joined "and" operator plese helpe me by given an example(coding) it is very urgent

Software Development sql visual-basic
Member Avatar for vb5prgrmr
0
105
Member Avatar for Mitja Bonca

How can I show a message in the statusBar for 5 seconds? I do some code, on the end I write out a message in statusBar (statusBar.Text = "Notification Message"; ). But I want that is shown for only 5 seconds. Then it dissapears (with statusBar.Text = ""; ) How …

Software Development
Member Avatar for sknake
0
166
Member Avatar for OldQBasicer

I'm trying to use the timer (not a Timer object) in a Do... Until loop. I want the loop to put a single variable into a label. When I do this it works and puts the value into the label (lblOxygenReading): [CODE] If btnGetOxygen.Text = "Get Oxygen Reading" Then Select …

Software Development vb.net visual-studio
Member Avatar for selvaganapathy
0
222
Member Avatar for mwaqas1990

My Application is not db based i am developing just for learning. i have 2 form first have just user name and password textfield and submit button and second form have one label. i have make condition with if-else when username is "[B]waqas[/B]" and password is "a" then show form2 …

Software Development
Member Avatar for mwaqas1990
0
113
Member Avatar for Iam3R

Hi , I want to write a program on Lexical Analyzer: which finds the no of keywords, no of operators ( based on the classification arithmetic, logical,....), constants, and others. please suggest me one good method. i am using a method which follows as below: char *Arith_Oper[]={ "+", "-", "*", …

Software Development c
Member Avatar for Iam3R
0
112
Member Avatar for dre-logics

I have Visual Basic 8.0 and Use Mysql 5.0 Database Table Test: Field type ID Integer (PRIMARY KEY) Name Char(10) Adress Char(15) City Char(15) ID Name Adress City 1 Andre Street 1 New York 2 John Street 2 Amsterdam 3. Joyce Street 3 Londen I have create a index on …

Software Development mysql vb.net visual-basic
Member Avatar for dre-logics
0
114
Member Avatar for R_K_Sarma

I have tried following code to open an existing excel file. the code gets executed but the excel file does not appear on the monitor please help. Dim xlTmp As Excel.Application Set xlTmp = New Excel.Application xlTmp.Workbooks.Open "L:\FormsNRegisters\Accounts\Bill_Forms.xls" Dim xlSht As Excel.Worksheet Set xlSht = xlTmp.Sheets(1)

Software Development visual-basic
Member Avatar for R_K_Sarma
0
117
Member Avatar for curiouskitten

I need to convert a number (in decimal form) that is between 1 to 4999 to Roman Numeral Form. However, though the code I have is kinda working, its only outputting the thousand digit, not anything less or any part thats less. [code] def int2roman(number): numerals={1:"I", 4:"IV", 5:"V", 9: "IX", …

Software Development python
Member Avatar for vernondcole
0
4K
Member Avatar for muska

Hi, i got the same problem with installing allegro to dev-cpp. i've already reinstalled but it's stil the same: "No such file or directory" or "undefined reference for install allegro version check". Sorry, i'm absolute newbie, can anyone help me? thanks

Software Development c++
Member Avatar for DTV
0
638
Member Avatar for Corrderio

So I've recently been learning java and have been using [url]www.javacoffeebreak.com[/url] for my first tutorial, anyway everything's been going smoothly til I get to here: [url]http://javacoffeebreak.com/java102/java102.html[/url] The code that's giving me that error is the following: [code] public class Account { protected double balance; // Constructor to initialize balance public …

Software Development java
Member Avatar for Corrderio
0
153
Member Avatar for myamzen

Hello everyone, I am new to assembly, and I am trying to learn it. I was given a book by one of my professor to read over the Holidays unfortunately the book assumes basic knowledge in Assembly (BTW, the book is "See MIPS run linux") I just have some basic …

Software Development assembly
Member Avatar for nezachem
0
157
Member Avatar for telltouday

Hi, My project works fine with windows xp but when we run it in windows 7 some fields are becoming black as shown in the attachemnt Could anyone let me know the reason for that? It happens with some controls Thanks

Software Development vb.net
Member Avatar for telltouday
0
84
Member Avatar for Progr4mmer

I want to make something to read the text/strings sent to a server and maybe detect if the server is crashed or not and something to and some thing to send text/strings to a server maybe using winsock P.S. I also want to make something to crash my server.

Software Development client-server vb.net
Member Avatar for Progr4mmer
0
141
Member Avatar for MAV_DevWantaB

Cant seem to figure this one out,,,, although I have been trying for several hours and cant seem to find any good examples on the [url]WWW..[/url]. I am attempting to write a program that prints the command-line arguments of a program... I did find a example that gives the Name …

Software Development c
Member Avatar for WaltP
0
135
Member Avatar for javaman2

hi everyone, i need help with a project that i am doing. i need to use inheritance and arrays to make a poker game, making a card class and a poker class that extends the card class in the card class i would need to use arrays to make a …

Software Development java
Member Avatar for JugglerDrummer
0
1K
Member Avatar for coollife

ex : while asp web project is running , i have an option for the user , if the user presses F8 key in index page he will be redirected to login page In the same way while vb application is running i should be able to capture the key …

Software Development visual-basic
Member Avatar for jlego
0
90
Member Avatar for aakashkumar
Member Avatar for jlego
0
59
Member Avatar for charlize

I'm very new to C++ and I keep getting a parse error for the bolded line below. I'm not understand why this is. #include<iostream> using namespace std; int main() { int a; cout<<"\nPlease make me easier to read..."; a=2+2 [B]cout<<"\nLook what I can do:2+2" <<a;[/B] cout<<"\nIcan do more, but only …

Software Development c++
Member Avatar for crobicha
0
120
Member Avatar for Iam3R

how the sizeof array is the total number of elements multiped by its base data type size, when the name of the array gives only the base address. [ICODE] int array [5]; sizeof array ; [/ICODE] gives 20 bytes. why not 4 bytes. because [ICODE] array = &array[0] .[/ICODE]

Software Development c
Member Avatar for Narue
0
104
Member Avatar for eeyc

hii try to query out db file to DataTable and it work great!! but i get all db file includding Rows that as be deleted. Thare is away to quey out db file with out These deleted rows?? [CODE]System.Data.Odbc.OdbcConnection oConn = new System.Data.Odbc.OdbcConnection(); oConn.ConnectionString = @"Driver={Microsoft dBase Driver (*.dbf)};SourceType=DBF;SourceDB=D:\databases\;Exclusive=No; Collate=Machine;NULL=NO;DELETED=NO;BACKGROUNDFETCH=NO;"; …

Software Development
Member Avatar for eeyc
0
442
Member Avatar for tqmd1

Dear Sir, How to detect picture has a picture on empty? Suppose , I droped a picturebox control on form, there is no image loaded in it, what codes should I needed those will tell me that picturebox is empty? Please help

Software Development vb.net
Member Avatar for selvaganapathy
0
643
Member Avatar for vinodxx

Hello friends, I have a code snippet related to pointer increment and decrement. [CODE]int arr[] = {1,2,3,4,5}; int *ptr; ptr = arr + 2; printf("%d %d %d %d %d %d\n",ptr,(ptr+1),ptr--,ptr,ptr++,++ptr);[/CODE] It is giving console output as: [B]1245020 1245024 1245024 1245020 1245020 1245020[/B] I am a bit surprised with the third …

Software Development c
Member Avatar for vinodxx
0
126
Member Avatar for rsaska

There is a script that I have been tasked to run and modify. However, I am having quite difficulty in understanding the signifigance of return codes, and it would make my life easier if I can redirect the system console output to file. In Windows, I tried going to run, …

Software Development c++
Member Avatar for mitrmkar
0
202
Member Avatar for killerbeat

hi all, i have a program that change the look of the taskbar. But i have a problem, i want to set the start button position to the middle of the taskbar but can't find any code to do this. I know that its possible because there are some programs …

Software Development vb.net
Member Avatar for selvaganapathy
0
253
Member Avatar for MyRedz

hello guys...i just done my assignment and here's the code [code] #include <iostream> using namespace std; class CelestialBody { private: double size; public: CelestialBody (double ); ; class Planet : public CelestialBody { private: double orbit_time; public: Planet(double , double); }; Class Earth : public Planet { private: unsigned long …

Software Development c++ oop
Member Avatar for JugglerDrummer
0
154
Member Avatar for Dave Sinkula

This is a [inlinecode]strtol[/inlinecode] version of [url=http://www.daniweb.com/code/snippet353.html] Read an Integer from the User, Part 2[/url].

Software Development c
Member Avatar for anthonytan
0
551
Member Avatar for anthonytan

[Warning] It not the completed code. its just a rough idea[CODE] do{ printf("Please enter a number :") scanf("%d", &no); if (no <=0) printf("invalid"); }while(no<=0); [/CODE] Hi Guys! I've a issue with scanf. First loop the program. I entered '1', a valid input. Once i retry the program, i entered a …

Software Development c++
Member Avatar for anthonytan
0
131
Member Avatar for tech291083

Dear Friends, First of all, I would like to apologize to forum administrator if this is not the right place for my thread. Forgive me if you can. I just want to tell you all in general and forum/site owners what a fine job they are doing and expanding the …

Software Development c++ open-source
Member Avatar for tech291083
0
198
Member Avatar for stamford47

a) If the content of d0 is $30 state in words what each of the following numbered instructions will do when placed immediately after the test instruction below tst d0 a) bne fred b) If the content of d0 is $30 state in words what each of the following numbered …

Software Development assembly
Member Avatar for stamford47
0
72
Member Avatar for mehdi0016

hi currently on my ubuntu i have both wx-2.6-gtk2-unicode & wx-2.8-gtk2-unicode installed, but when i use this code in python 2.6 : [CODE]import wx[/CODE] always wxwidget 2.6 was imported. is there any solution to have both or it's better to uninstall version 2.6 ? thanks

Software Development python ubuntu
Member Avatar for vegaseat
0
94
Member Avatar for El Duke

Hi all, I have this dilemma, if I receive strings on the form of: <Ranking: AA (John)> <Ranking: CA (Peter)> <Ranking: TA-A (Samantha)> And I want to take the ranking only from the strings (i.e. AA, CA, TA-A) How can I do it using string methods like split or strip …

Software Development python
Member Avatar for vegaseat
0
139
Member Avatar for mrnutty

Some of us were having some discussion about posting some challenge question for the community to participate in. This way people could learn from the more experienced person's solution. Here is the question that : Intro : [b] [ICODE]A multiplied Sum Of digits is the sum of the digits of …

Software Development c++
Member Avatar for mrnutty
0
148
Member Avatar for punter999

hello, i want to utilize the demo code given in the wxpython 2.8 documentation & demos. can any one guide me how can i do that??? when i try to copy that code to editor to change it according to my requirements ..it gives me an error message and close …

Software Development python
Member Avatar for vegaseat
0
99

The End.