132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … Software Development algorithm data-structure open-source python queue | |
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 | |
what is the code to delay then execute the next line Software Development visual-basic | |
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 … | |
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++ | |
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 | |
[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++ | |
[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 … | |
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 | |
hi could anybody guide me how could i install latest version of GCC on my window 7 computer. thanx! Software Development c++ | |
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 | |
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 | |
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 | |
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, … | |
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 … | |
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 … | |
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 | |
![]() | 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 |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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. … Software Development dataset developer-tools open-source sql vb.net | |
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 | |
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 … | |
<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 | |
Why does java need interpreter when its programs are compiled?? Software Development java | |
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, … | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … |
The End.