132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for m1234ike

I want to create a program that I can create a Text file folder on my desktop and move all the text files into the folder. Here is what I have so far: Below is where I create the Text folder: [code]Dim myPath As String = IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.Desktop, "Text") IO.Directory.CreateDirectory(myPath)[/code] Here …

Software Development file-system vb.net
Member Avatar for codeorder
0
630
Member Avatar for HelloPeople1

Hi guys I've made a hangman game and now i want to make a highscore list for it. I was thinking that i would probably have to export the data to like excel or something, but I have no idea how to do this. Also if there is a better …

Software Development python
Member Avatar for woooee
0
262
Member Avatar for carinlynchin

okay so I have an array of buttons, and at some point in the program I want to access the index of a button clicked in order to perform some calculations....so there are two options that I can think of...maybe there is a method to pull out the index (2d …

Software Development java java-swing
Member Avatar for carinlynchin
0
143
Member Avatar for Mr.UNOwen

Hello, Does anyone know a good cross platform library that can handle mouse and keyboard (and joystick if possible) events without needing to producing a window?

Software Development c++
Member Avatar for Mr.UNOwen
0
82
Member Avatar for senthilamp4

Hi Experts., i written One email recieving code by using Perl Modules with CGI. here i have getting one error [B]"Failed to connect to pop3.gmail.com at mail.pl line 14, <STDIN> line 3[/B]."., but i am trying to connect my gmail account and yahoo too., Otherwise let me know which module …

Software Development perl
Member Avatar for shibblez
0
140
Member Avatar for eclipse2012

Hi, I am a newbie to Visual C++ programming. I already have a code which I edited for my purpose. It is as below. [CODE]#include <stdafx.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #define FIL_LINES 17873 /* no. of lines in input datafile */ double t[FIL_LINES]; double x[FIL_LINES],y[FIL_LINES],z[FIL_LINES]; double …

Software Development c
Member Avatar for hag++
0
4K
Member Avatar for needsHelp!

as the title, i need to replace the dupilcated codes with loops! help me please! [CODE]from time import sleep timeDelay = .1 turtle.move(100,0) turtle.rotate(-7) Doraemon.move(60,0) Doraemon.rotate(-7) Panda.move(80,0) Panda.rotate(-7) Sun.rotate(2) sleep(timeDelay) turtle.move(100,0) turtle.rotate(1) Doraemon.move(60,0) Doraemon.rotate(1) Panda.move(80,0) Panda.rotate(1) Sun.rotate(2) sleep(timeDelay) turtle.move(100,0) turtle.rotate(1) Doraemon.move(60,0) Doraemon.rotate(1) Panda.move(80,0) Panda.rotate(1) Sun.rotate(-2) sleep(timeDelay) turtle.move(100,0) turtle.rotate(1) Doraemon.move(60,0) Doraemon.rotate(1) …

Software Development python
Member Avatar for needsHelp!
0
133
Member Avatar for zizuno

Can someone explain to me why this sort is going all wonky on me? And a how to fix would be cool too. Thanks [code] >>> a = ['2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '2', '3', '4', '5', '6', '7', '8', …

Software Development python
Member Avatar for zizuno
0
161
Member Avatar for james6754

I am taking on an assignment where I would like to give the user the chance to decide whether they would like to choose beginner or advanced. The way I was thinking of achieving this was by marking the method virtual and overriding another method for when an object of …

Software Development
Member Avatar for Momerath
0
71
Member Avatar for black_berry

Hello, I have two classes, Help and RecylingGui. I have a button on the RecyclingGui called Help, which when clicked should open the text area created in the Help class. I added the ActionListener for this but nothing is happening. Any help would be appreciated. Thanks. The Code: Recycling Class …

Software Development java java-swing user-interface
Member Avatar for quuba
0
350
Member Avatar for da10x

We're working on a project and we are completely stuck. Basically, we are coding a virtual Quoridor player module. However, our player module thinks that it's starting one square in front of it's home! Why could this be? [CODE]from interface import * import engine import random import time import copy …

Member Avatar for richieking
0
1K
Member Avatar for StevoLord

Found this sniplet of code on various websites to use this way of playing a wav file however im getting this error message. javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input file Update 1 - I know the wav file has to be 8khz, is there a way to …

Software Development audio file-stream file-system java
Member Avatar for StevoLord
0
4K
Member Avatar for Shodow
Member Avatar for Paul J S
0
118
Member Avatar for rmh000

I'm trying to insert into MySql, using DBI/Perl... What I'm doing is storing all my Print statements into an array, then dumping them out to print, and inserting into a MySql table in a foreach loop... Print resolves ok, but the MySql inserts are being split into fields at the …

Software Development mysql perl
Member Avatar for d5e5
0
272
Member Avatar for SeePlusPlus2

I started learning about objects and classes this week and it's really confusing. I'm trying to make a class/object to read data from an input file and use the values to calculate the profit loss/gain(in percent and numbers). So far when I try to run the program I get an …

Software Development c++
Member Avatar for SeePlusPlus2
0
200
Member Avatar for alex-VX

Hi im kinda new to c++ and dont know mutch aboute unsolved externals this is what i get: [ICODE]pices.obj : error LNK2019: unresolved external symbol "private: int __thiscall Pices::MovePawn(int,int,int,int,struct Piece (* const)[12])" (?MovePawn@Pices@@AAEHHHHHQAY0M@UPiece@@@Z) referenced in function "public: int __thiscall Pices::MovePlayer(int,int,int,int,struct Piece (* const)[12])" (?MovePlayer@Pices@@QAEHHHHHQAY0M@UPiece@@@Z) pices.obj : error LNK2019: unresolved external …

Software Development c++ visual-studio
Member Avatar for alex-VX
0
168
Member Avatar for geekme

What editor and compiler for C is used in Ubuntu?

Software Development c c# c++ ubuntu
Member Avatar for chrjs
0
97
Member Avatar for papayrus

[QUOTE=AdventGamer;1349519]ok well i'm having issues sending a char array to a listbox. To do a little explanation on the code itself... The point of this part is to take a hexidecimal string and convert it to a alphabetical string (this part works and has been tested in a console application). …

Software Development c++
Member Avatar for chrjs
0
117
Member Avatar for wow.lk

[CODE]#!/usr/local/bin/perl $file = 'C:\Users\asdds\test1.log'; open(INFO, $file); @lines = <INFO>; foreach $data (@lines) { chomp($data); (@x,@y)=split( ,$data); print "@x[0]\n"; print "@y[0]\n"; } $length_ice = length (@x[0]); print "Content-type: text/html\n\n"; print "<html><head>\n"; print "<title>Server Log File Information</title>\n"; print "</head>\n"; print "<body> Length of Total number of entries: $length_ice\n"; close(INFO);[/CODE] i want to …

Software Development html-css pdf perl
Member Avatar for Dandello
0
163
Member Avatar for nickcoons

One of my clients has a software package that they use called Prelien2Lien, which has several thousand document templates. They'd like to be able to also use these templates outside of the software, but I haven't had any luck determining what file type they are. Ideally, I'd like to be …

Software Development pdf
Member Avatar for nickcoons
0
110
Member Avatar for geekme

Hey ., need to know does turbo c work for ubuntu as well and if not what editor-cum-compiler should be used? Thanks

Software Development c c# c++ ubuntu
Member Avatar for ravenous
0
173
Member Avatar for jugadengg

hi could anybody guide me how could i install latest version of GCC on my window 7 computer. thanx!

Software Development c++
Member Avatar for Stefano Mtangoo
0
131
Member Avatar for iskinner

From help I received yesterday I have this code that will parse through an XML file generating an output from various nodes based on the relationships between them. Example XML [CODE] <gedcom> <INDI ID=@I001@> <FAMC>@F001@</FAMC> ... </INDI> <INDI ID=@I002@> <FAMC>@F002@</FAMC> ... </INDI> <INDI ID=@I003@> <FAMC>@F003@</FAMC> ... </INDI> ... <FAM ID=@F001@> …

Software Development xml
Member Avatar for iskinner
0
162
Member Avatar for CJdamaster

Hi there, I'm working on a project which incorporates the following: [LIST] [*]Reading data from XML [*]Writing data to XML [*]Interpreting XML and passing the information to various places [/LIST] These are on different threads, and I've used a Mutex to make sure they don't try opening the main XML …

Software Development app-store multithreading queue xml
Member Avatar for CJdamaster
0
169
Member Avatar for majyun

Hi there, I am new to the forum. I know this topic is not new. I have did a search on it and did not quite get what I wanted. Currently, I am trying to write a c++ programme which help me to read in about 10000 rows of numerical …

Software Development c++ file-system
Member Avatar for jonsca
0
228
Member Avatar for xcarbonx

Hi..i'm having some trouble coming up with the an algorithm for a problem im working on. I am trying to check an arithmetic infix expression like: (((6+2)/2)*(3-1)); //This is my input file(; marks end of line.) I have to check to see if the statement is ok, or not ok, …

Software Development algorithm c++
Member Avatar for L7Sqr
0
94
Member Avatar for kazekagerandy

i am doing a makeup and hairstyle makeover application in vb.net and i dont know if i can directly edit a photo in a picture box, the features of the project will be: 1. make-up features are a must. 2. it should save the original photo uploaded and the edited …

Software Development image vb.net
Member Avatar for kazekagerandy
0
3K
Member Avatar for jkoske

Right now I am using gdb on command line in Ubuntu. It seems pretty inefficient and cumbersome. Is that just because of the learning curve or because it is really that way? Do "real" c++ programmers use gdb? I felt the same way about vi until I learned to use …

Software Development c++ ubuntu
Member Avatar for Stefano Mtangoo
0
109
Member Avatar for ramanak.24

Hi to all, i just want to know where can i get the scjp voucher and the validity as well.since i am living in hyderabad i am a employee. Is it possible to get the voucher from prometric cneters if yes, please do let me know where are these centers …

Software Development java
Member Avatar for ramanak.24
0
83
Member Avatar for cool_intentions

Hello people, I`m learning C# end need some help with my assignment. I have Form with DataGridView on it end one Button. When I click Button, I should get SUM from only selected cells into Message Box. How can I do that? Thanks for your help.

Software Development
Member Avatar for ddanbe
0
1K
Member Avatar for music613

I need to take the content of a C# datatable and deposit it (...) in a new Excel spreadsheet. I have seen some good generic code to do this, however, my problem is that I need to be specific, column by column, as to the format of the cells. For …

Software Development c c# c++
Member Avatar for Momerath
0
189
Member Avatar for colts18

Hey guys I am creating a game, I am using Python and Pygame and I am trying to tell the tank to disappear when the bullet hits it. I have started to create the code but I don't know how to clear only one object is it possible. I might …

Software Development python
Member Avatar for TrustyTony
0
179
Member Avatar for TheLittleEngine

The parts I am having trouble with are: The private section of the class should also include two member functions that will a) reduce a fraction to lowest terms b) normalize a fraction (the only sign appearing will be a negative sign in the numerator.) for part a) I have …

Software Development c++
Member Avatar for TheLittleEngine
0
725
Member Avatar for salohcin

I have a project on my hand which is needed to be written in vb.net, which is to create a vb.net installer to install client and host.The host will have the ability to shutdown all host computer in the network ,lock the computers in screensaver mode and also prevent user …

Software Development vb.net
Member Avatar for THIRUGNANAM.S
0
212
Member Avatar for infinitus

Hello, i have came across a problem when trying to create a hangman game. I want to read a String of letters inputed from keyboard and then i want someone else to guess this word(typical hangman rules). I have used this code. [CODE]InputStreamReader FindWord = new InputStreamReader(System.in); BufferedReader in = …

Software Development java
Member Avatar for harsuraj
0
411
Member Avatar for NewOrder

i need to terminate a background thread in winform, however, i dont know how. i know that using Thread.Abort, only creates problems..please help [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net.Sockets; using System.IO; using System.Threading; namespace WindowsFormsApplication1 { public …

Software Development
Member Avatar for NewOrder
0
173
Member Avatar for eduard77

I just learned c++ and is very hard for me to put in practice what I learned. So, I would like to know if anybody could help me by giving me tasks and helping me to solve them. Thanks

Software Development c++
Member Avatar for eduard77
0
256
Member Avatar for nengstrom

Hi Everyone! I am a beginner at VB. I have been a systems admin for some time and my new employers are forcing my hand into programming. I am currently Trying to write custom software that interfaces with our Advantage Database. I have the data source and connection opening fine. …

Member Avatar for nengstrom
0
165
Member Avatar for zach&kody

My friend and I are in a Computer Science I class, and we are momentarily working on a project which asks you to import a method from a previously edited source, into another java source file. Here is our code. [CODE]import java.awt.Graphics; import java.awt.Color; import java.awt.Image; import java.awt.Container; import javax.swing.JFrame; …

Software Development java java-swing
Member Avatar for zach&kody
0
6K
Member Avatar for aluda

this is the code help me solve it. Public Class frmBorrowBooks Dim myConnection As New mysqlConnection Dim myCommand As New mysqlCommand 'im mycommandtext As New mysql Dim dr As MySqlDataReader Dim myCommand1 As New mysqlCommand 'im mycommandtext As New mysql Dim dr1 As mysqlDataReader Dim myCommand2 As New mysqlCommand 'im …

Software Development listview vb.net
Member Avatar for Momerath
0
123
Member Avatar for pragati_2010

<xs:complexType name="Thing"> <xs:complexContent> <xs:extension base="ax:Object"> <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" name="Thing" nillable="true" type="ax:Item"/> <xs:element minOccurs="0" name="number" nillable="true" type="xs:double"/> </xs:extension> </xs:complexContent> </xs:complexType> This is the XSD structure

Software Development xml
Member Avatar for Erwan Amoureux
0
107
Member Avatar for amrita111

Why does java need interpreter when its programs are compiled??

Software Development java
Member Avatar for JamesCherrill
0
95
Member Avatar for ManCard67

To be honest, i'm really bad with c++ but it's required for my major. We have to make a sudoku program, that reads from a file, inputs the data into a 9 by 9 grid (of 2d array), inputs numbers till the grid is solved, then check for valid moves, …

Software Development c++ puzzle
Member Avatar for Sky Diploma
0
336
Member Avatar for joeyn

Good day! can you guys help me to have the code for this output? pleasee.. _ _ _ 1 _ _ 2 2 _ 3 3 3 4 4 4 4 thanks in advance!

Software Development c++
Member Avatar for Akill10
0
126
Member Avatar for keicola

hi, i'm currently learning C on my own. i explicitly made a binary tree just to see if my postorder procedure works. i have no idea why but at the end of running the program, before it does the last procedure, this appears: [IMG]http://i56.tinypic.com/2nb52xx.jpg[/IMG] everything else works fine. i know …

Software Development c programming-construct
Member Avatar for keicola
0
174
Member Avatar for addlou

I need to write a loop to go through a string and retrieve alternate characters from index positions. Then append the characters to another string and then print (eg. "pleasehelp" = "peshl") I have hit a wall and lack any sort of know how to push through... what have I …

Software Development java
Member Avatar for Momerath
0
625
Member Avatar for jugnu

Hello, I am having problem in calling Stored Procedure second time while remaining on the Entry Form. I have attached a word file having screen shots and code snippet Thanks

Software Development
Member Avatar for Momerath
0
86
Member Avatar for lashbandi

Hi... my programs compiles and runs fine...but i still get this error..what am i doing wrong in here... its suppose to print polynomials... [CODE]import java.util.*; public class PolyTest { { public static void main(String[] args) { Scanner stdin =new Scanner(System.in); Polynomial polynomial = new Polynomial(); int coefficients; //= { 2, …

Software Development java
Member Avatar for JamesCherrill
0
804
Member Avatar for neosonic

Hi, I have a vb6 program who access an 97 access database. everything works fine when I put the database files into the shared harddrive (we put it as Z:\) It is running very very slow... I dunno why is it happening, it works really fine if I put them …

Software Development visual-basic
Member Avatar for AndreRet
0
134
Member Avatar for VasquezPL

Hi! I have a problem. I cannot pass text chosen in combox to text field.. The problem is: how to do that if all menu items from combobox are read from cfg file. ComboBox: [code] // // systemBOX // this->systemBOX->FormattingEnabled = true; resources->ApplyResources(this->systemBOX, L"systemBOX"); this->systemBOX->Name = L"systemBOX"; StreamReader^ plik= gcnew …

Software Development c c# c++
Member Avatar for VasquezPL
0
687

The End.