132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for StinaBremm

For my networking class we have to do an assignment using python to code a client and server that will connect to each other and the client will send these messages: 0 - Response This message is a response to a previous request 1 - Echo Request This is a …

Software Development client-server python socket-programming
0
156
Member Avatar for nazmule27

What is NULL? Please answer if know it exactly in java Perspective.

Software Development java
Member Avatar for JamesCherrill
0
133
Member Avatar for lycanickel

Hello everyone I am of course new to ppython and I am having trouble joining an integer variable and a string without a space in between them. Lets say my variabe was an integer of num = 121 and I wanted to print the proper ending of "st". which would …

Software Development python
Member Avatar for Gribouillis
0
374
Member Avatar for ponkhiraj

Hi, Everybody... Can anyone knows what is the maximun character limitation of a Label in Vb.net? Basically i need to scroll a label with timer as Marquee. The label text is coming from a richtextbox. The richtextbox contains more than billions character. I replaced all vbLf(LineFeed) of richtextbox with a …

Software Development vb.net
Member Avatar for tinstaafl
0
188
Member Avatar for jlemieux

I have an assignment to create 2 arrays. One holding Student names, one holding their grades. They then have to be sorted using BubbleSort, so that their grades are in descending order. I have created the first part of it, that allows me to put in their grades, and I …

Software Development java
Member Avatar for jalpesh_007
0
274
Member Avatar for johndy.maghanoy

how can i deleting an element in an array, then replace it with to 0 the move 0 to the last element???

Software Development java
Member Avatar for jalpesh_007
0
99
Member Avatar for almondjoy

hey guys, can you suggest a good java compiler for me? i had eclipse, but it literally FELL APART. thanks, almond joy

Software Development java
Member Avatar for jalpesh_007
0
107
Member Avatar for System Networks

'm new to Java and please try to explain to me. I am developing a game using slick2d and I'm making so called a shop.class and a player.class The shop class should add medkits to the player class. I have been making so many test on it even testing if …

Software Development java
Member Avatar for jalpesh_007
0
281
Member Avatar for crownedzero

I'm just curious about the use of frames/panels etc. What's are your general practices and why? Single main JFrame with multiple internal then toggling visibility of panels within? Just starting with swing and rather curious how other people implement them.

Software Development gui java java-swing
Member Avatar for jalpesh_007
0
138
Member Avatar for Xmod

How can I get this [code](http://www.mediafire.com/?o3kg3nii2sfoigh) to work? I am using xcode 4.5. Thanks

Software Development c++ ide
Member Avatar for vijayan121
0
479
Member Avatar for jalpesh_007

Dear all, I have following code and i want to write elements of array in single string(merge with ,) , in between all the values. like a[0] = "hi" a[1] = "hello" a[2] = 1 a[0] = "get" a[1] = "post" a[2] = 2 a[3] = 45 then i want …

Software Development java
Member Avatar for jalpesh_007
0
304
Member Avatar for HLA91

Hi all I am a noob to C++ and I was getting some source code off the web and this is the second time it has happened, when I compile (Blood Shed Dev) I get a message in the compiler "permission denied" "Id returned 1 exit status" Can anybody help …

Software Development c++
Member Avatar for graceville
0
3K
Member Avatar for James19142

Im having this weird runtime error whenever I attempt to copy a specific member of an array block. I get this from the output: ASSERT failure in QHash: "Iterating beyond end()", file tools/qhash.cpp, line 293 Invalid parameter passed to C runtime function. Invalid parameter passed to C runtime function. I …

Software Development c++
Member Avatar for James19142
0
910
Member Avatar for swap002

Hello, I'm a complete noob when it comes to .Net. I'm working on my college project. In my application there's a combobox/drop-down list. My requirement is as soon as user starts typing inside it, i.e. when text_changed is triggered it should retrieve values starting from that letter from a column …

Software Development dataset linked-list sql vb.net
Member Avatar for john.knapp
0
262
Member Avatar for swathys

hi, i write a code uisng VB.net. i have design few checkbox and would like to write class function in class file. can anyone guide me how to create and call the function from the class to the page. i have create a class file as below Public Class clsKYC …

Software Development vb.net
Member Avatar for john.knapp
0
492
Member Avatar for silvercats

1. Do virtual PCs have their own virtual processors that is a piece of a hardware? (I know that both ues the same physical processor, but how does a Guest os in a 32 bit virtual machine sees the processor as a 32 bit processor , eventhough it really uses …

Software Development assembly
Member Avatar for deceptikon
0
167
Member Avatar for LD Company

Hello programmers! I am making File Browser software and I want to display icons of my files in listview. Here is the code: ImageList1.Images.Clear() Dim di As New IO.DirectoryInfo(LocationA.Text) Dim aryFi As IO.FileInfo() = di.GetFiles("*") Dim fi As IO.FileInfo For Each fi In aryFi For Each files In System.IO.Directory.GetFiles(LocationA.Text) Dim …

Software Development display listview vb.net
Member Avatar for john.knapp
0
4K
Member Avatar for shhh

error connecting to databaseAccess denied for use 'root'@'localhost(using password:YES) using System; using System.Data; using System.Collections.Generic; using System.Linq; using System.Text; using MySql.Data.MySqlClient; using System.Windows.Forms; using DPUruNet; using System.Drawing.Imaging; using System.Drawing; namespace UareUBiometrics { class HelperFunctions { private static Fmd[] fmds; private static Fmd[] allDBFmds; public static Fmd[] GetAllFmds { get { …

Software Development mysql vb.net visual-basic
Member Avatar for kyle.santelices.31
0
286
Member Avatar for DGULLIVER

Hi, I'm printing a VB.NET form using BitBlt API my code as follows: [CODE] ' create a printing component Private WithEvents pd As Printing.PrintDocument ' storage for form image Dim formImage As Bitmap ' create API prototype Private Declare Function BitBlt Lib "gdi32.dll" Alias _ "BitBlt" (ByVal hdcDest As IntPtr, …

Software Development api storage vb.net windows-api
Member Avatar for charuwaka
0
542
Member Avatar for TeaAnyOne

12347 10000 secretary James Harrison 12348 20000 secretary Jade Powell 12341 40000 consultant Adam Johnson Hi, lets just say that the text above is a text file. How would I go about searching and printing the rows with 'secretary' only? Or any other value? When the user is asked to …

Software Development python
Member Avatar for TeaAnyOne
0
180
Member Avatar for chophouse

I just moved to a new server and installed Python 3.3. On my old box i was using Python 3.2. Now my scripts that import pymysql won't work, saying the module doesn't exist. Wher do I download this from? I'm on Win Server 2008 R2 (on both boxes) Thanks

Software Development mysql python
Member Avatar for chophouse
0
106
Member Avatar for slasel

Hi, Is it possible to embed something made with pygame, like some sort of animated display or bouncing ball... into a Tkinter made window, with tkinter buttons/frames etc... If yes, then may you please tell me how can i do that? Thanks

Software Development python tkinter
Member Avatar for vegaseat
0
235
Member Avatar for SeePlusPlus2

Hi, if we take for example 32bits: 1111 1000 0000 1000 0001 1111 1100 0000, how does it become (24bits) 1011 1110 0011 0110 1111 0110 after RLE is applied? Why/how does 1011 represent the 5 1's at the start of the 32bit number? I'm trying to understand the concept …

Software Development c++
Member Avatar for SeePlusPlus2
0
183
Member Avatar for shills300

hi guys, i was wondering if anyone knew how to make a color wheel in python using turtle. i'v searched all over the web to see examples but haven't had any luck. i am a beginner programmer and it's very confusing to say the least so any explanations would be …

Software Development python
Member Avatar for vegaseat
0
3K
Member Avatar for slasel

can someone please help me I am facing a problem; I want to draw an image in the canvas depending on the value of the IntVar called position however I get an error; Exception in Tkinter callback Traceback (most recent call last): File "C:\Python27\lib\lib-tk\Tkinter.py", line 1410, in __call__ return self.func(*args) …

Software Development python tkinter
Member Avatar for vegaseat
0
286
Member Avatar for ashsha

I have created a polygon (6 points). Lets call this one, outside polygon. inside the outside polygon I created smaller polygons. I want to flip all of it vertically. I know the points of the outside polygon and I have an ArrayList for the inner polygons. I was able to …

Software Development java mathematics
Member Avatar for Taywin
0
395
Member Avatar for voidyman

[CODE] #!opt/local/bin/perl5 use strict; use Spreadsheet::ParseExcel; use XLSX.pm; my $oExcel = new Spreadsheet::ParseExcel; die "You must provide a filename to $0 to be parsed as an Excel file" unless @ARGV; my $oBook = $oExcel->Parse($ARGV[0]); my($iR, $iC, $oWkS, $oWkC); print "FILE :", $oBook->{File} , "\n"; print "COUNT :", $oBook->{SheetCount} , "\n"; …

Software Development file-system perl
Member Avatar for 2teez
0
394
Member Avatar for PrincessLyka

#include <iostream> #include <cmath> #include <stdio.h> using namespace std; int main () { int n, x=0, ans; int b=0; do { x++; cout << "\nINPUT NUMBER: "; cin >> n; if(b<n) { b=n; } } while (x<=10); cout << "\n"; cout << "\nHIGHEST: " << b; system ("PAUSE"); return 0; …

Software Development c c# c++
Member Avatar for deceptikon
0
126
Member Avatar for tayyabatiq

Hi, I want to output [chess symbols](http://en.wikipedia.org/wiki/Chess_symbols_in_Unicode) from unicode to console in c++, please tell me how to do that. Im using Dev c++, windows8 and console. Im just a beginner so please keep it simple for me (also tell me the libraries to include please)

Software Development c++
Member Avatar for tayyabatiq
0
4K
Member Avatar for bobys

Hello, I would like to know if there is any wway to change the Title of an input box( Left Upper Corner). Lets say we have the input box: x= input("blah blah blah") if we run that the title of the input box would be like "Python input" or something, …

Software Development python
Member Avatar for bobys
0
331
Member Avatar for FakeTales

I have a client , middleware and server . The concept is a client sends a number this passes through the middleware to the server. The server checks the number against the number generated on the server side , if the client guesses the number correctly a message is then …

Software Development c c# c++ client-server regex
0
101
Member Avatar for rookanga

I have two forms with one listbox on each form. How can I show what I have in the listbox on form1 on form2. I have a button on form1 to go to form2 [CODE]Private Sub btnform2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnform2.Click Form2.Show() Dim sTemp As …

Software Development vb.net
Member Avatar for imatepda2k
0
2K
Member Avatar for dlgmu537

I have written a code in java for the following scenario. There is a class called Student and it has registration number and name as instance variables and student count as a class variable. Student class has two methods called display which is supposed to display the details of a …

Software Development java
Member Avatar for dlgmu537
0
196
Member Avatar for acerious

OK, my code is very long. But this one is a little tricky so just bare with me here guys. What my program does is generate a text file with random numbers, for eg: 123 1234 12345 123456 And the program takes in that file and puts the random data …

Software Development c++ file-system ios
Member Avatar for acerious
0
313
Member Avatar for thammalatha

Hi, I did a program which is dialog based application,in that i add listbox dynamically by deriving a class form CListBox class.and the list box is created in OnInitDialog() method.but when i add the listbox to the dialog using DDX_Control function it is failed to assert the listbox,because 3rd parameter …

Software Development c++
Member Avatar for thammalatha
0
314
Member Avatar for thammalatha

Hi, I inherit the class called ListBox form CListBox and by using this class object I create a listbox containing two items in the listbox.when ever i select the item from the listbox the generated message should be handled by the control window by using WM_CONTROL_REFLECT mesage in ListBox message …

Software Development c++
Member Avatar for thammalatha
0
237
Member Avatar for serkan sendur

hi guys, it took me some time to find out how to export listview to excel, so i wanted to share it with you. i would like to post this thread as code snippet but in that section there is no attachment button that i can attach project to. i …

Software Development listview
Member Avatar for erickaurazo
0
7K
Member Avatar for subtoneweb

Below you will find a game I written in my spare time from college. Any and all critique welcome. I plan to expand this to a console RPG later, and eventually GUI. All in C++. BTW, nice forums. //============================================================================ // Name : Monster Shot.cpp // Author : Dave T // …

Software Development c++ gaming gui
Member Avatar for deceptikon
0
410
Member Avatar for marek2121

I have a problem with serializing an Arraylist. This is my method to serialize Arraylist: public void serializeObj(){ ArrayList<Actor> novylist = new ArrayList<Actor>(); novylist.addAll(components); try { FileOutputStream fileOut = new FileOutputStream("zeditoru.ser"); ObjectOutputStream out = new ObjectOutputStream(fileOut); out.writeObject(novylist); out.close(); fileOut.close(); }catch(IOException i) { i.printStackTrace(); } } components is Arraylist with theese …

Software Development java java-swing
Member Avatar for subramanya.vl
0
767
Member Avatar for diya45

hi guyzzz in visual studio the form guest i added guest info i added it is added but not show in datagirdview and also not display in girdview but it is added in database SQL but not show in girdview plzzzzz any one tell me

Software Development display visual-studio
Member Avatar for deceptikon
0
92
Member Avatar for kaizen202

I have skinned most controls in my winform application, except scrollbar in combobox. Any ideas?

Software Development
Member Avatar for kaizen202
0
205
Member Avatar for somjit{}

i was searching for a code to perform binary XOR addition. Exams coming up, and needed to a quick way to create and verify standard array tables. However, i didnt find anything substantial on the internet, so made my own version of it. can anyone take a look and tell …

Software Development c mathematics
0
174
Member Avatar for shark101

hello I have the following program in which i am tring to copy one strct array to another so that i can sort the second struct array without messing up the original one so i do the copy but when i run the program it give the following error : …

Software Development c++
Member Avatar for shark101
0
266
Member Avatar for brentr678

Im trying to write a program that simply takes a string input and reverses it. I want the program to repeat itself by asking the user then starting over. The problem im having is that when the program first runs, the getline function works correctly but then after the program …

Software Development c++
Member Avatar for NP-complete
0
518
Member Avatar for kikiey

can anybody help me how to make a LAN connection for messenger such as yahoo in a big connection like in hostel? i use microsoft visual basic 6 and microsoft access as a database. pls help me :(

Software Development microsoft-access visual-basic
Member Avatar for AndreRet
0
290
Member Avatar for theguitarist

My B+ tree looks like : rest of tree / 9 10 / \ \ 5 9 10 If I need to delete 5, I can't simply remove it because the page wouldn't contain any elements after that. So, I decide to merge with the right sibling. I don't understand …

Software Development c++
Member Avatar for mike_2000_17
0
430
Member Avatar for UNDER-18 FG

Here's my assignment question: > **Develop a Payroll class that consists of two user-defined methods, namely calculateNetPay() and printOutput() methods. The calculateNetPay() method is used to calculate the employee's net pay, as the formula follows: > > Net pay = gross pay - state tax and federal tax > > …

Software Development java
Member Avatar for subramanya.vl
0
679
Member Avatar for tomz6

Hi all, I need to make a windows application nothing fancy - just simple menu etc. However, I also need to be able to draw pixel colors to the screen (perhaps load from a bitmap image). It must be as fast and efficient as possible - and if possible, easy …

Software Development c++
Member Avatar for mike_2000_17
0
966
Member Avatar for jalpesh_007

i have written following code so far. But now i am stuck with one porblem. I have made a loop that exactly modify Numeric Quasi identifier by one by one. Now problem is: I hv made loop that modifies exactly once,twice and all four Q.I.(Quasi IDentifier) How can i make …

Software Development java
Member Avatar for Taywin
0
214
Member Avatar for kikiey

i have one more question. how to make a connection using lan between two pc? they use a same ip address?

Software Development vb.net
Member Avatar for john.knapp
0
468

The End.