132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for HoneyBadger

Guys how do I install WxPython in Ubuntu? I tried following the directions here: But to no avail.... [URL="http://wiki.wxpython.org/InstallingOnUbuntuOrDebian"]http://wiki.wxpython.org/InstallingOnUbuntuOrDebian[/URL] Is there an easier way to do this?

Software Development python ubuntu
Member Avatar for vegaseat
0
337
Member Avatar for gskssit

I wrote the code as below its extracting all tabular data by splitting. Now i want to extract the last column(Values) data by removing Text in the middle of the table. import re f_read = open('filename','r') f_write=open('filename','w') str='CEN/4' for line in f_read: m=re.search(str,line) if m: for line in f_read: # …

Software Development python
Member Avatar for rrashkin
0
138
Member Avatar for Lamirp

I'm looking to make a single method that takes in my object and spits out a checkbox with an item listener. Here's my relevant portion, the IDE wants me to make my argument and checkbox final prevents the listener from functioning during runtime. Any ideas or help would be appreciated, …

Software Development ide java
Member Avatar for Lamirp
0
285
Member Avatar for giancan

Dear friends, I need again your help for a new challenge ;) I have a number of files with 5 columns of values (comma separated). I would like to find a way to the values in the first 2 columns and compare them with the first 2 columns of the …

Software Development python
Member Avatar for giancan
0
394
Member Avatar for xXghostXx

I create small database and I want to show all information about the students when a techer enter Students ID I caret my database using visual studio 2008 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim constr as new OleDb.OleDbConnection constr.ConnectionString = "Provider=localhost;data source=C:\USERS\USER\DOCUMENTS\VISUAL STUDIO …

Software Development dataset vb.net visual-studio
Member Avatar for TnTinMN
0
241
Member Avatar for NYCRAVEN

I have a simple data input form in which when the form is activated if sets focus on a textbox and sets the back color. I later have a datetimepicker control. The tab stops are coreectly set but when ever the users selects a a date from the datetimepicker the …

Software Development vb.net
Member Avatar for TnTinMN
0
176
Member Avatar for vinay7868

hii i am stuck with a problem as i am using VS 2010 and developing an app in vb.net. i require crystal report so i downloaded from SAP the exe and installed but i cannot find the crystal report menu in add new item of right click of application so …

Software Development vb.net
Member Avatar for tinstaafl
0
293
Member Avatar for Kingcoder210

How can I make parent & child form there in vb.net? I guess to make a parent form I have to activate IsMdiContainer from form`s properties. But how should I make child form? Please help me.

Software Development vb.net
Member Avatar for Luc001
0
952
Member Avatar for AndyPants

I have an array with a couple of webpages that need to be sent some information. I have a thread function that gets the link in the parameter and visits that page. I would dont want my application to wait for the page to load each time. So, would it …

Software Development vb.net
Member Avatar for Begginnerdev
0
180
Member Avatar for harinath_2007

Hi.. I want to read data from the microsoft access file(.mdb) using my servlet application . I need to read the data in .mdb file and format it to display on the web using my servlet application (or JSP)..How can i read data from .mdb file? I have never worked …

Software Development java microsoft-access
Member Avatar for stultuske
0
2K
Member Avatar for lester.awotwe

Situation: A pet shop contains multiple pets, namely two cats (Fred, Tom), two dogs (Buch, Bravo) and one bird (Tweety). Each pet has a distinct price, a name, and a sound. In Addition, a pet owner can enter the shop and buy one or multiple pets. On entering the shop …

Software Development java
Member Avatar for JamesCherrill
0
181
Member Avatar for SylvanSagacious

Hi all. I'm trying to create a server/client program in java for an assignment. I'm struggling to get the receiver thread working, which I want to do before I implement the more complex features, but I keep tripping up with the receiver. The sender will send the message, the server …

Software Development client-server java
Member Avatar for JamesCherrill
0
782
Member Avatar for <M/>

So, my assignment wants me to take an integer and print how ever many numbers until it reaches that number. So basically, if you type 5, the output would be : 1,2,3,4,5. My logic was this Define a for loop that starts at 1 and iterates until i is equal …

Software Development
Member Avatar for <M/>
0
186
Member Avatar for hassansayed

4. Write a program that reads a series of integers until the user enters 3 successive negative ones or 4 successive positive ones (Zeros should be ignored and skipped as they have no effects at all). The program then should display the number of changes (from positive to negative and …

Software Development java
Member Avatar for <M/>
0
109
Member Avatar for game06

i have no insert method and still its adding node in linkedlist. code below have no error so you can run to see the problem better. if u run this it will ask u to enter a command. i only have two commands exit and display. display command will print …

Software Development java linked-list
Member Avatar for game06
0
176
Member Avatar for waqas.zafar.125

hey guys ! i have a problem relating to linked lists .. Make a class called Card. Each card is represented by a suit and a rank. You can keep both as strings. Implement getters and setters for the Card class as well as a print function. A 7 of …

Software Development algorithm c++ linked-list
Member Avatar for tinstaafl
0
201
Member Avatar for tingwong

Hi everyone I am having trouble finding the nth node of a binary search tree in an inorder traversal. I am getting NullPointerExceptions for any numbers other than 2 and 3 and even those print out the wrong values. If anyone could help it would be greatly appreciated. The method …

Software Development java programming-construct
0
135
Member Avatar for silvercats

1.what is the Visual studio c++ run time environement that is asked to be installed when running programs? Is it the CLR? 2.Can we use the same CLR for every .NET language? 3.I get that languages are first compiled into an object file and then interpreted into machine language by …

Software Development assembly visual-studio
Member Avatar for silvercats
0
265
Member Avatar for smith32

Hi, Here is the File content. I want to use strtok to separate each. but the problem is if i use `strtok(string, "\",");`, the zip code (19428) of the detail is miss place and take State (PA) for the first record Because of "," in State. Although the second one …

Software Development c
Member Avatar for smith32
0
1K
Member Avatar for triumphost

I'm trying to write a cout formatter that uses the comma operator and insertion operator. I wasn't able to get that to work so I decided to write it similar to std::boolalpha. when you use `std::boolalpha`, it is able to change 0 values to true and false and you can …

Software Development algorithm c++
0
190
Member Avatar for tyler.dahle

if(kbhit()){ getch(); if(getch() == ' '){ while(y9 < 770){ readimagefile("PIX\\thunderball\\thunderball.gif", x9+10, y9+40, x9+40, y9+70);Sleep(80); putimage(0, 0, background, COPY_PUT); readimagefile("PIX\\thunderball\\thunderball2.gif", x9+10, y9+40, x9+40, y9+70);Sleep(80); putimage(0, 0, background, COPY_PUT); readimagefile("PIX\\thunderball\\thunderball3.gif", x9+10, y9+40, x9+40, y9+70);Sleep(80); putimage(0, 0, background, COPY_PUT); y9++;}} if(y9 == 730){ readimagefile("PIX\\thunderball\\thunderball_contact.gif", x9, y9, x9+30, y9+30);Sleep(80); putimage(0, 0, background, COPY_PUT); readimagefile("PIX\\thunderball\\thunderball_contact2.gif", …

Software Development c
Member Avatar for tyler.dahle
0
199
Member Avatar for zawpai

Hi, Currently, I have 3 listboxs' data, but I don't know how to create 3 columns and show them with datagrid control. Does anyone give me a guid line how to show listbox's data with datagrid? regards

Software Development visual-basic
Member Avatar for zawpai
0
2K
Member Avatar for coolbeanbob

I am trying to get the program below to work. I keep getting the error below, and I can't figure out why??? Derived.obj : error LNK2001: unresolved external symbol "public: virtual class Other * __thiscall Derived::add(int,int)" (?add@Derived@@UAEPAVOther@@HH@Z) #ifndef _BASE_H_ #define _BASE_H_ #include "Other.h" class Base{ public: virtual Other *add(int x, …

Software Development c++
Member Avatar for Moschops
0
242
Member Avatar for kux

ok, I've checked the forum and I don't think this topic was touched. What I would need is an open-source or at least free static analysis tool for C++ code. Does anybody have any suggestions? I mean, searching the web C++ lacks A LOT at this chapter, compared to Java, …

Software Development c c# c++ open-source
Member Avatar for IssamLahlali
0
255
Member Avatar for Nandomo

package battleship; public class BattleShip { public static void main(String[] args) { Addons a = new Addons(); Board b = new Board(); Computer c = new Computer(); Human h = new Human(); LinkedList list = new LinkedList(); while(a.intro()) { a.sleep(1); a.countDown(5); b.prepareBoard(); do { h.play(b.getBoard()); a.checkWinner(b.getBoard()); System.out.println("How the Board stands."); …

Software Development java
Member Avatar for stultuske
0
251
Member Avatar for LionelMessi

Hello, As the title says: How can I put a textbox in a table grid? I am asking because when I drag a textbox from ToolBox to a table in the form, it is not displayed in the grid of the table. Instead it is being displayed outside the boundaries …

Software Development
Member Avatar for ddanbe
0
140
Member Avatar for dirtydit27

Hello, I'm currently working on a homework problem that requires me to create a dictionary from a .txt file that contains some of the worst cars ever made. The file looks something like this: 1958 MGA Twin Cam 1958 Zunndapp Janus 1961 Amphicar 1961 Corvair 1966 Peel Trident 1970 AMC …

Software Development file-system python
Member Avatar for snippsat
0
380
Member Avatar for Siberian

Can there be a conflict between two different version of python ? I have a program that needs access to Python 2.6, I have a environment variable setup, so the program that needs access to a subfolder of the Python 2.6 installation is suppose to access via this environment variable; …

Software Development python
Member Avatar for Siberian
0
1K
Member Avatar for clouds_n_things

Quick question on stripping, I'm executing a simple program, but whenever I try and run it in Terminal, it strips all wrong. The error it puts out is below. It iterates [+]Trying: admin/admin for the first line, but wont repeat it for the rest of the lines, as well as …

Software Development python
Member Avatar for clouds_n_things
0
242
Member Avatar for kent.johnstone_1

Hello, I thought when creating a struct, I could call it anything I want. However, in the line: static struct usb_device_id usbtmc_devices[] = {... my compiler gives me "unable to resolve identifier 'usb_device_id'". Are struct names supposed to be defined somewhere else?

Software Development c
Member Avatar for kent.johnstone_1
0
125
Member Avatar for asmona

heyyy im trying to write a code to read from a file book name#Auther#subject#year the title takes 50 char anth then wanna sorted using bucket sort and continue by ( write to the file ) i just dont know how ! could u help me ?!

Software Development c
Member Avatar for deltascrow
0
86
Member Avatar for LionelMessi

I am using Visual Studio 2010, and I am trying to make a label that moves randomly in the form window, Like this: [Click Here](http://i.stack.imgur.com/IF3IA.gif) I just want a hint on how can I make the label move randomly? Thanks in advance.

Software Development visual-studio
Member Avatar for tinstaafl
0
2K
Member Avatar for RubyRuby

[WinForms].I have 3 columns in a gridview - code,Qty,name.If a cell(Say Code), is in edit mode, pressing the arrow or tab keys will fire the 'CellEndEdit' event and after that,moves the selection to the next cell. I want to have different selected cell if it is an arrow key and …

Software Development asp.net
Member Avatar for RubyRuby
0
818
Member Avatar for saurabh.mehta.33234

public class HelloWorld{ static int a; public static void main(String []args){ System.out.println("Hello World"); HelloWorld h =new HelloWorld(); a = h.foo(); System.out.println(a); } int foo() { try{ throw new Exception(); } catch(Exception e){ System.out.println("catch"); return 9; } finally{System.out.println(a);return 10;} } } When I ran the above code output was: Hello World …

Software Development java
Member Avatar for IIM
0
163
Member Avatar for Kiefchief

How would I put the output is rows of ten? public static void main(String[] args) { int count = 1; int j = 0; // for (the numbers from 100 to 200) for (int i = 100; i <= 200; i++) // if (this number is divisible by 5 or …

Software Development java
Member Avatar for stultuske
0
3K
Member Avatar for ImZick

Hi guys i need help i have a table1 and table2 in access table1 structure is something like this Months / Revenue / GP Jan / 10000 / 5000 Feb / 20000 / 2000 and table2 structure is like this Months / Revenue / GP Jan / 2000 / 200 …

Software Development vb.net
Member Avatar for ImZick
0
161
Member Avatar for Nandomo

package battleship; import sun.audio.*; import java.io.*; public class Sound // Holds one audio file { public void playIntro() { AudioStream bGM; try{ bGM = new AudioStream(new FileInputStream("intro.wav")); AudioPlayer.player.start(bGM); } catch (IOException error){} } } I have that on one of my games and the music doesnt run, any help? If …

Software Development audio java
Member Avatar for stultuske
0
234
Member Avatar for chdboy

I have a DateTimePicker and Masked Textbox ,Masked Textbox almost covering all of DateTimePicker ,just down arrow key to select the date into the Masked Textbox. Question No1. What event should I put the current code?I want the selected date to be inside the Masked textbox after it is being …

Software Development vb.net
Member Avatar for tinstaafl
0
2K
Member Avatar for mdfaisalamin

Hello, I am trying to access a binary file with scanner functionality. I am trying to extract integer, long double value from the binary file. The binary file formation is as follows The binary file is in little Endian and is structured as follows: * * <ul> * <li>1 integer: …

Software Development file-system java
Member Avatar for ~s.o.s~
0
244
Member Avatar for lancevo3

Hi - I am working through learn python the hard way and I am trying to practice using nosetests command with the "game" I created. The problem when I run nosetests it works fine until it is time to test a class that has raw_input in it, then it just …

Software Development python
Member Avatar for TrustyTony
0
278
Member Avatar for debasishgang7

Hi Guys, I am trying to modify an xml string on the fly. I will enter a sample XML string and the code should generate modified xml.I have exploied it later. xml = xml = '''<FixedPage xmlns="http://schemas.microsoft.com/xps/2005/06" xmlns:x="http://schemas.microsoft.com/xps/2005/06/resourcedictionary-key" xml:lang="en-us" Width="793.92" Height="1122.24"><FixedPage.Resources><ResourceDictionary><LinearGradientBrush x:Key="b0" StartPoint="0,0" EndPoint="0,1122.24" ColorInterpolationMode="SRgbLinearInterpolation" MappingMode="Absolute" SpreadMethod="Pad"><LinearGradientBrush.GradientStops><GradientStop Color="#FFFFFFFF" Offset="0" /><GradientStop …

Software Development python regex xml
Member Avatar for TrustyTony
0
315
Member Avatar for santosh.pandey.1293575

hello, i am trying to enter the form textbox.text in my crystal report, but getting error. code is Dim RptForm As CrystalDecisions.CrystalReports.Engine.ReportDocument Dim T As CrystalDecisions.CrystalReports.Engine.TextObject RptForm = New CRrollnumberba1 T = RptForm.ReportDefinition.Sections(0).ReportObjects("?SUBJECTNAME") T.Text = txtsubject.Text the error showing "Index was outside the bounds of the array." at 4th line. …

Software Development vb.net
Member Avatar for ninjatalon
0
2K
Member Avatar for omojolinho

Please, i need help on how to plot graphs with asp.net c#

Software Development
Member Avatar for <M/>
0
438
Member Avatar for bhanu1607

Hi All, This is Bhanu Teja M. I just wanted to write a online quiz application, which various people can participate in quiz from different locations. For this, i need to maintain a single screen for all users and maintain and display the same data,status across the all participents. Can …

Software Development java
Member Avatar for deltascrow
0
306
Member Avatar for game06

i was test collision between ball and box. i have a ball and long rect(platform) on screen. the collision part works fine. but i want to test where the ball is touch the platform. so if ball touch the ball from left or right or top or bottom. but when …

Software Development java
Member Avatar for JamesCherrill
0
150
Member Avatar for Yorkiebar14

Hello, I need to know why this isn't working... I have tried many different things but still can't get it to work. (And, yes, I have replaced the MYPASSHERE with my password but it always says I have not registered yet...) Imports System.Net Imports System.IO Imports System.Text Public Class Form1 …

Software Development first-post vb.net visual-basic
Member Avatar for Yorkiebar14
0
233
Member Avatar for hayate98

// code says misplaced else can some tell me why and if possible make the correction? #include<stdio.h> #include<conio.h> char oper; int num[2]; int ans; main() { clrscr(); printf("Num:"); scanf("%d",&num[0]); printf("+"); scanf("%c",&oper); { if(oper=='+') { printf("+"); } { printf("Num:"); scanf("%d",&num[1]); } ans = num[0] + num[1] ; printf("%d",ans); } { else …

Software Development c
Member Avatar for hayate98
0
174
Member Avatar for vindy1099

I've been working on functions which can perform arithmetic on arbitrarily large unsigned integers for sometime now. I've got add, subtract, multiply, and division with remainder all working but the division function is too slow. I would like to implement Newton-Raphson division but am having a hard time finding example …

Software Development algorithm c++
Member Avatar for rubberman
0
307
Member Avatar for HankReardon

Hello Friends, I am having trouble with a homework assignment and was wondering if you would please take a look at it for me. I have to write a program that receives a prefix expression. Then it calculates and displays the result. It does this by using a stack to …

Software Development java
Member Avatar for HankReardon
0
337
Member Avatar for thexile

Hi How do I go about reading from a file (Input_image.txt) that contains a 2-D (50 by 100 = 5000 elements) array? E.g. > 000 004 567 034 ... > 001 046 923 987 ... > 004 345 003 745 ... > 034 870 003 805 ... > 054 345 …

Software Development c
Member Avatar for Ancient Dragon
0
252

The End.