132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chinmayi4216

A player is good if the following conditions are satisfied: He is either from “India”, “Japan” or “Korea” He has a minimum of 3 years of experience He has won at least 3 major tournaments, and one of them must be "World Championship Tournament". He must know more than 10 …

Software Development c
Member Avatar for Gonbe
0
297
Member Avatar for TIP.Synergy

Hi to Everyone, I want to get the total (column) amount using Listview w/o database VB.NET Help me please... Thanks.. _______________________________________________________________________________________________________ lstitems Item Name | Unit Price | Quantity | Amount ------------------------------------------------------------ Sample1 | 100.00 | 1 | 100.00 Sample2 | 100.00 | 1 | 200.00 Sample3| 100.00 | 1 …

Software Development listview vb.net
Member Avatar for N.E.Y.O-01
0
6K
Member Avatar for Kamlesh_sj08

Hye friends. I am facing one issue related to socket program written in VB.NET (2008 + 3.5 framework) since long time....I am having a socket server application which accepts the connection...It accepts 800 connection without any problem but after that it throws exception saying...."Exception of type 'System.OutOfMemoryException' was thrown. : …

Software Development client-server vb.net
Member Avatar for gerdal
0
616
Member Avatar for dilbert_here00

Hello All, I am trying to access files which are on a shared network file system, but not sure which python API I should be using. Description: For example the IP address of the file system is 10.10.10.1 1. From windows if i want to access this server i simply …

Software Development api python windows-api
Member Avatar for Gribouillis
0
470
Member Avatar for foobar1337

Hi, guys, I'm programming some artificial intelligence for a graphics program, Graphics Gale. The program is horrible, it won't let me combine layers with the same name, and it won't let me save the image as a Photoshop file, so what do I have to do? I have to code …

Software Development artificial-intelligence-llm
Member Avatar for tinstaafl
0
287
Member Avatar for wollacott

i need my program to read in a file reverse it then write the file out. i got the reverse correct but its not working.my errors are: n.c:12: warning: passing argument 1 of 'fopen' from incompatible pointer type n.c:21: warning: passing argument 1 of 'fopen' from incompatible pointer type n.c:22: …

Software Development c
Member Avatar for Miorfs
0
2K
Member Avatar for Sally123

I was wondering if it was possible to bound 2 combo boxes to each other. the first combo box with a set of information. Based on what the user selects, the second combo box changes. this involves 2 tables. table 1 ProductID Descritption table 2 Id FK_ProductID Category example: the …

Software Development visual-basic
Member Avatar for sai ganesh
0
702
Member Avatar for Rachna0309

I want to set default value for column of datagridview.I am adding combobox column "caste" at runtime in datagridview.Now while adding each row,if database have value for caste field,combobox should show that value as default value else no default value should be selected.Thanks in advance.

Software Development vb.net
Member Avatar for Rachna0309
0
2K
Member Avatar for ZZucker

Santa just brought me a fancy notebook computer and I want to know if anyone has some experiemce with accessing that little camera with Python code?

Software Development python
Member Avatar for ZZucker
0
221
Member Avatar for jimmyshote

anytime i add a directory in a .pth file of my c:\python30\Lib\site-packages folder on windows and i try to import from the listed directory in my .pth files, i get an import error that the module does not exist and after importing sys on the windows command line interface and …

Software Development python
Member Avatar for ZZucker
0
555
Member Avatar for t2nator

I have been programming in c++ exclusively at my university. This upcoming semester I am learning Visual Basic. Right now I am looking for a way to use my c++ code in Visual Basic, I have read that it is possible by making a shared library. But my question is …

Software Development c++ vb.net visual-basic
Member Avatar for Ancient Dragon
0
176
Member Avatar for ImZick

First i don't know if this will be right forum but i know its related somehow? I'm using excel developer visual basic and i have a combobox Dim x As String Dim y As String x = "O15" ' range With ComboBox1 If .Text = "" Then Range(x) = "" …

Software Development visual-basic
Member Avatar for tinstaafl
0
202
Member Avatar for deanpaul.taylor

the MySql command is being skipped and the error being execute within th Try Catch.. Please help of possible Dim myConnString = ";" & _ "Database = inventory;" & _ "Uid = root;" & _ "Pwd = root;" & _ "Connect Timeout = 30;" Dim myupdateconnection As New MySqlConnection(myConnString) Dim …

Software Development mysql vb.net
Member Avatar for Reverend Jim
0
158
Member Avatar for shane.barrow.35

# Hello Everyone. # I'm sortta new here I have been a member for a while but have not partaken in any discussions. Not out of rudeness but because I have no idea where to start. Everything I know about programming I have taught myself, it was very difficult figuring …

Software Development pay-per-click
Member Avatar for shane.barrow.35
0
135
Member Avatar for Jacklittle01

Hi guys, I am working on a text based adventure game in Python and I am constantly getting this error: **There's an error in your program: return outside function(g.py, line 179** Here is the code http://www.mediafire.com/?4ga0weu4ifc6s1u

Software Development python
Member Avatar for james.lu.75491856
0
187
Member Avatar for devilmaycry1

hi friends I've a code to compute integral with area function in code. I used Fork, and for returned values I must use shared memory. now I need to embed a semaphore in my code to control the critical area(here is shared memory). I don't know how to embed semaphore …

Software Development c motherboards-cpu-ram multithreading
Member Avatar for DeanMSands3
0
2K
Member Avatar for wwielen

Hi, I'm trying to make a slider, but for some reason all the numbers of the slider get in left corner of the frame, all at the same position(instead of the 1;left,the position of the slider;middle and 100; right). Also see added File Here is my code: import wx class …

Software Development os-x python
Member Avatar for wwielen
0
141
Member Avatar for bilal_fazlani

hi people.. I was wondering if u experts could help me with this. I have attached a screenshot of my form. This is an invoice system.. I have customers table for customer profiles.. I have Products table I have manufactures table I want to save all invoices so that these …

Software Development client-server sql vb.net
Member Avatar for nilesh7136
0
437
Member Avatar for giancan

Dear Friends, I have a sequence of two values as the following: 00001.doc d:\pathtofile\image50.jpg 00002.doc d:\pathtofile\image38.jpg 00003.doc d:\pathtofile\image40.jpg ... I would like to add the values to a list, sort the list by second value and rename the first value accordingly. For example, the following steps: Step 1 '00002.doc', 'd:\pathtofile\image38.jpg' …

Software Development python
Member Avatar for vegaseat
0
187
Member Avatar for Strange&Evil

Which Are The Best Compilers For C++ and C . I Was Using Dev-C++ Till This date , I Just Upgraded From Windows 7 to 8 , Any Good Compilers ? Thank You !

Software Development c++
Member Avatar for mike_2000_17
0
300
Member Avatar for lovely ari

hi I have an access database, which I connect it to the form I have text boxes which displays info from the fields in the database. I have created a "Next", and "Previous" button, which the user can move between the database info but i don't know the code for …

Member Avatar for Ruzz
0
3K
Member Avatar for felix001

What is the best way to use a dictionary within a class. Do I have to assign the dict within the class ? Thanks

Software Development python
Member Avatar for vegaseat
0
124
Member Avatar for matan2t

Hello im braking my head with a problem, im using netbeans building a web application using java, jsp that handel a database with hebrew fields. String cityTable = "CREATE TABLE IF NOT EXISTS hebrew_test.table (" +"id int(11) NOT NULL AUTO_INCREMENT," +"en varchar(30) NOT NULL," +"he varchar(30) COLLATE utf8_bin NOT NULL," …

Software Development java java-jsp java-netbeans sql
Member Avatar for matan2t
0
670
Member Avatar for mgunia

Hello Everyone! I am a beginner user of Python without IT background (I am interested in IT developing my knowledge step by step). So far I did simple scripts in Python and I encountered a problem. I was looking on Google, however I didn't find the satisfactory answers which would …

Software Development file-system python
Member Avatar for vegaseat
0
9K
Member Avatar for leyla

I was just wondering if there was any way to validate a listbox into only allowing a letter to be entered once, no matter the case. I am making a Hangman game and I only want the user to be able to enter a letter once, but I want the …

Software Development vb.net
Member Avatar for leyla
0
694
Member Avatar for jeffbeck8

okay I have it almost complete with one issue: When the report runs it is suppose to add up the property values for each agent and only display the total value of the properties. like:COMMERICAL FARM LAND RESIDENTIAL 101 600000.00 105 30000.00 106 200000.00 107 1040000.00 110 250000.00 but for …

Software Development display java
Member Avatar for jeffbeck8
0
197
Member Avatar for selcabs

2. Write a program that asks the user the size and the elements of the array. The program should display the reverse of the array. Example: INPUT output Enter the List The list 10 10 20 30 40 50 20 30 The inverse of the list 40 50 40 30 …

Software Development c++
Member Avatar for Lucaci Andrew
0
106
Member Avatar for Cameronsmith63

Dont know the application switches to my form that makes use of odbc when I close the application. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } As I step through, when it gets to components.Dispose(), it goes to private void TerminalStatus_SelectedIndexChanged(object …

Software Development
Member Avatar for Ketsuekiame
0
95
Member Avatar for rrreeefff

Hello, I am trying to compute the GCD non-recursively. I have no errors but when I run the program it aborts because it says c is not intlized. [code=cplusplus] #include "stdafx.h" #include "stdio.h" int main (void) { int a,b,c,r,result; printf("enter a value for a\n"); scanf ("%d", &a); printf("enter a value …

Software Development c
Member Avatar for deceptikon
0
358
Member Avatar for caKus

I have noticed that when I install a new .NET program (using msi file) on a slow computer, this program needs a lot of time for its first execution. Once the first run is done, if I restart the same program, execution time is normal (even after restarting the computer). …

Software Development asp.net
Member Avatar for deceptikon
0
144
Member Avatar for prakhs

Hi, can u all help me with a question. I have been given two boolean 2d square arrays. 1st array is one having random true or false values. 2nd array is with all true values. Suppose eg n = 4; 1st array : false true false true true true true …

Software Development c
Member Avatar for prakhs
0
367
Member Avatar for Chase.Dangerfield

Hey I was trying to create an Managed Dll so i could call it from C# Im using i tried using pragma comment (lib, "user32.lib") I'm Continually getting linker error with the project, even though I have linked the header file and the lib to the project. Another Clue I …

Software Development c# c++ visual-studio
Member Avatar for happyHacker
0
792
Member Avatar for Carpetfizz

Hello, After a relatively small C++ background, I decided to learn some Java. I want to be able to pass two variables from my main class, evaluate them in another class, and return that answer to the main class. I have all the code done for it pretty much, but …

Software Development java
Member Avatar for Carpetfizz
0
175
Member Avatar for ImZick

Hi.. do you think you can make an shortcut of this? I have combobox like 40 combobox i have to put it like combobox1.additem("sample") combobox1.additem("sample2") combobox1.additem("sample3") combobox1.additem("sample4") combobox2.additem("sample") combobox2.additem("sample2") combobox2.additem("sample3") combobox2.additem("sample4") combobox3.additem("sample") combobox3.additem("sample2") combobox3.additem("sample3") combobox3.additem("sample4") until combobox40 i put it like that is there a way to make it easier?

Software Development vb.net
Member Avatar for TnTinMN
0
197
Member Avatar for myk45

Hi all, I am reading about non-copyable objects from this source: [Link](http://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Non-copyable_Mixin) I am not able to understand how making the "=" operator for the base class as private is preventing the derived class to make copies. We could just have a public "operator =" in the derived class that …

Software Development c++
Member Avatar for myk45
0
314
Member Avatar for LinaClark

I need help figuring out how to fix my code. Every time I run the code its traceback is to this part of it. My code is Unbound Local Error for 'result'. Please see code below: def Level1(self): sql = "SELECT easyhint, gps, qrcode FROM gamedb WHERE quad = 1 …

Software Development python sqlite
Member Avatar for scaba
0
172
Member Avatar for RaJsHaH.23

[import java.util.Scanner; import java.util.Random; public class HangmanMy { public static void main (String[] args){ System.out.println("Welcome to the game Hangman :)/>"); Scanner input = new Scanner(System.in); boolean done = false; String guess; String guesses = ""; char letter; int wrongGuess = 0; StringBuffer dashes; System.out.println("Choose a category -> places / games …

Software Development java
Member Avatar for corby
0
244
Member Avatar for james.lu.75491856

Traceback (most recent call last): File "C:/python files/USACO/crazy/crazy.py", line 87, in <module> grid.plot(x,y,"F") File "C:/python files/USACO/crazy\grid.py", line 63, in plot self.g[(x,y)] = replace TypeError: unhashable type: 'list' You see, I'm hashing a string with the key bing a tuple. This is using my own 2d grid data structure.

Software Development data-structure python
Member Avatar for james.lu.75491856
0
588
Member Avatar for vickim360

Hello, I have been working on a code to simulate wind turbines. However, I can't seem to rotate the wind turbine. Here is the code. import pygame ############################################# # Written by P****** ******* and V***** *** # # Copyright 2012 # ############################################# pygame.init() # Gets Information humidity = float(raw_input("Enter Humidity …

Software Development gui python
Member Avatar for Jacklittle01
0
332
Member Avatar for Rachna0309

I have 2 datagridview (dgvFrom and dgvTo) and 2 buttons with right and left arrows. dgvfrom is populated from dataset. Now when I select rows in dgvFrom and click right arrow button, selected rows should move to dgvTo grid and those selected rows should get deleted from dgvFrom grid.and vice …

Software Development dataset vb.net
Member Avatar for TnTinMN
0
813
Member Avatar for LinDoc

Hi! I am learning C, and am at very introductory level, using this book called C Programming: A Modern Approach. I have just studied about arrays, and while tackling the programming exercises,i got stuck in Que 9 in Chapter 8. This is what the question says [INDENT]Write a program that …

Software Development c
Member Avatar for pizFunk
0
2K
Member Avatar for Prysm[VA]

Perhaps this question has been asked or even has a thread written about it so I apologize if it's been asked before however I can't seem to find a solid answer online. I read the article: [Written by Narue](http://www.daniweb.com/software-development/cpp/threads/90228/flushing-the-input-stream) about using getline instead of cin when obtaining input from the …

Software Development c++
Member Avatar for Ancient Dragon
0
3K
Member Avatar for Bchandaria

Any one can help me out i want to display a spiral of n*n size with out using arrays? out put when n=2 should be 3 2 0 1 when n=3 should be 8 7 6 1 0 5 2 3 4 when n=4 should be 15 14 13 12 …

Software Development c
Member Avatar for ahmedhamdy
0
3K
Member Avatar for -acir-

Do you have a sample code suggestion to predict illness to a blood type? Blood type is an input from the user and when the user inputs the blood type it would give you all possible illness for that blood type. Is that possible? Am using netbeans and not sure …

Software Development java
Member Avatar for -acir-
0
145
Member Avatar for Minko

Hello, How can I go about hiding a form from another thread. I have two forms and a module, from the module I have started a new thread and at some point during this thread I want to hide the second form. How would I go about this as everything …

Software Development vb.net
Member Avatar for Minko
0
2K
Member Avatar for whitech

Hi everyone I wish a happy new year for all. This is the code that i wrote so far. TITLE MASM Template (main.asm) ; Description: ; ; Revision date: INCLUDE Irvine32.inc INCLUDE macros.inc Employee STRUCT idnum BYTE "0000",0 lastname BYTE 30 DUP(0) years WORD 0 Employee ENDS .data workers Employee …

Software Development assembly
Member Avatar for ShiftLeft
0
254
Member Avatar for BobFX

Hi, I'm trying to get the printer name selected by the user with the PrintDlg() dialog. I made a sample Win32 project with VS 2008, (with "Use Multi-Byte Character Set") and inserted the following code in the "About" callback part: PRINTDLG pd; BOOL rc; DEVMODE *dev; DEVNAMES *dvn; char *name; …

Software Development c++ printer
Member Avatar for BobFX
0
389
Member Avatar for vikuseth

Inside General.h #ifndef GENERAL #define GENERAL namespace counternamespace{ int upperbound; int lowerbound; } #endif Inside Analyzer.h #ifndef ANALYZER #define ANALYZER #include"General.h" class Analyzer { public : int var ; int func(); }; #endif Inside Test.h #ifndef TEST #define TEST #include"Analyzer.h" //Error class Test2 { public: Test2(void); public: ~Test2(void); }; #endif …

Software Development c++
Member Avatar for vikuseth
0
158
Member Avatar for Ariah17

Hey guys, I've managed to successfully create a little basic installer for installing all of the files. HOWEVER. I have multiple Access database files which cant also be installed to the Program Files directory because then they become read-only. So, I was going to install them to the Application Data …

Software Development vb.net
Member Avatar for TnTinMN
0
155
Member Avatar for tadas.bareikis

Hi I have started learning C and my first problem is very simple. I can't get output from a program! What am i doing wrong? #include <stdio.h> #include <stdlib.h> int main() { int a; int c; c = 0; int i; a = 0; for (i = 0;c = 0;i++) …

Software Development c
Member Avatar for deceptikon
0
112

The End.