132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vandenzergen

Hello everyone, I'm having a problem of creating a program that provides a functionality of creating its own file, saving its own file, and reopening its own file just like the functionality of the other windows application like MSWord, MSExcel, etc., Please everyone, I really need to know about it... …

Software Development c#
Member Avatar for vandenzergen
0
133
Member Avatar for novadose

Or internet explorers, Im making a joke tool (im still learning alot in VB .NET and this was a simple tool to make for me) so far it opens 20 tabs in firefox of one web page, But what i want to do is it to open more firefox or …

Software Development vb.net
Member Avatar for jbrock31
0
323
Member Avatar for deven1974

Implement the insert, remove, and search methods of the BinarySearchTree class. Included are the Main, Tree, and TreeException classes. Do not make changes to those classes. Your tree should work with them as shown. All operations should be implemented recursively. Additional methods may be needed. [CODE] /* * Tree.java * …

Software Development java
Member Avatar for quuba
0
217
Member Avatar for hageam

I have an array of doubles that is output to a file and was wondering if there is a way to output white spaces where the value is 0 without replacing the 0's another value contains? example... number1 = 100 would still read number1 = 100, but number2 = 0, …

Software Development c++
Member Avatar for hageam
0
82
Member Avatar for mabshell

Hello, I'm just starting in the world of C# and I'm stuck in a problem. I want to create a form with some textbox in it. It ask you the path of the exe file and some other information. When I run the program it tells me a Win32Exception: file …

Software Development c c# c++
Member Avatar for ddanbe
0
92
Member Avatar for akm3

Hi Everybody, My question is half about programming, half about the video structures. I hope you can help me. 1)I want to write a program to open a .mpg file as a binary file(can any file be opend as binary file?), then packetize it (every 188 bytes should be a …

Software Development c++ video
Member Avatar for Murtan
0
126
Member Avatar for murderotica

Hello there, I have already created an add in for my MS Outlook 2003 and I want to create an installer for it. When I run my code in VS 2008 it automatically installs my add in, but I want to install it to other pcs who doesn't have VS. …

Software Development
Member Avatar for Ramy Mahrous
0
112
Member Avatar for ajay.krish123

Please help me out in making the program to play the music file in c. i did tried to search a lot on web but couldnt get any clue about it.

Software Development c
Member Avatar for Salem
0
114
Member Avatar for codedhands

Hi everyone,i wrote a python thread that opens a file and reads it.The problem is that i dont know how to return the data as the thread will not return it from the run() method.I tried writing another function that gets the file content but when i call this function,it …

Software Development python
Member Avatar for codedhands
0
2K
Member Avatar for chandangang

i want to make a program in c++ , such that if the right arrow key is pressed 1 is displayed else if left arrow key is pressed 0 is displayed. please give me the code to do so and explain too.

Software Development c++
Member Avatar for William Hemsworth
0
181
Member Avatar for aodpreacher

I have set up a code in a class but i am not sure if this is the class that i would use.I have to put the logic of the game in a Class and then use the methods from the class to run the game.Right now i have some …

Software Development python
Member Avatar for tutti
0
1K
Member Avatar for Boyet728

I am very new to programming and I have an assignment, but I am not asking for the solution. I just want to understand what is being asked. Our instructor presented two codes using a break and continue statement. He stated that both methods are bad programming practices. Which I …

Software Development java
Member Avatar for ~s.o.s~
0
132
Member Avatar for midimatt

Hello again everyone, Having a really annoying problem using pointers and arrays at the moment, i'm trying to store a 4x4 matrix as a an array of 16 floats. so i declare my array like so [code=C++] float array1[] = {1.0f,0.0f,0.0f,0.0f, 0.0f,1.0f,0.0f,0.0f, 0.0f,0.0f,1.0f,0.0f, 50.0f,0.0f,0.0f,1.0f}; [/code] i then pass this into …

Software Development c++
Member Avatar for midimatt
0
112
Member Avatar for csharplearner

Hi, I am trying to pick the particular chosen date from the windows calender displayed. I am struck here and confused how to proceed. Any hints or shedding little light on the progress is appreciated. [code=csharp] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; …

Software Development
Member Avatar for ddanbe
0
83
Member Avatar for Bhoot

I have been working on a program which requires to retrieve the names of all the current windows on the desktop. I can retrieve the name using the Windows API function GetWindowText(). But i require a function to retrieve the handles to all the windows. I want to know which …

Software Development api c++ windows-api
Member Avatar for Bhoot
0
251
Member Avatar for Cpp_Addict

Hey guys. I am making a simple console canender program for an exercise from a book, and it is going ok so far but I am having trouble with the spacing of it. I have made a simple function that creates on day block like a normal calender would have, …

Software Development c++
Member Avatar for unbeatable0
0
121
Member Avatar for emilio

hi i'm using oledb to read from an excel file into dataset. my program is showing the dataset using datagridview, when i'm trying to change the cell content and update the dataset i get an error : "Update unalbe to find tablemapping['Table'] or DataTable ['Table'] my code is: [CODE=c#]public static …

Software Development dataset open-source
Member Avatar for emilio
0
118
Member Avatar for TheWhite

This is actually part of a much bigger program, but I cut it down to the problematic area to make it easier to read. [code=java] import javax.swing.JButton; public class test{ static GameButton[] grid; static class GameButton extends JButton{ int value = 0; } public static void main(String[] args){ grid = …

Software Development java java-swing
Member Avatar for BestJewSinceJC
0
98
Member Avatar for javafrustrated

The program is intended to read a file with a few lines of strings to determine whether or not they are palindromes. I'm getting an error while compiling - tagged where the error shows up. I'm not sure whether or not it is going to read the lines correctly from …

Software Development java
Member Avatar for BestJewSinceJC
0
160
Member Avatar for sanavada

Hi, I have one window application which accesing database continously on different server. After performing operation on some number of records, it alway throws an exception (application and databse on different server) : Exception : A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: …

Software Development
Member Avatar for LizR
0
422
Member Avatar for jamshid

Hi All Do you know what is this algorithm is? Can i find some code examples written in this algorithm? Thanks

Software Development algorithm
Member Avatar for Rashakil Fol
0
112
Member Avatar for manoj_582033

Hi Friends I am using a datagridview, there are four columns in that, & on fourth cell i have a button field, when i click on that i want to get the text of item(0) of selected row. please help me to solve this

Software Development vb.net
Member Avatar for manoj_582033
0
156
Member Avatar for americaneagl

For this one I have to do the while and do-while plus the for loop. I have this bank/atm style program so the goal is to put the teller into a loop so that the user can deposit, withdraw, check the balance as long as they need to, and entering …

Software Development java
Member Avatar for BestJewSinceJC
0
105
Member Avatar for dseto200

How do I subtract or add in a lists? When I run the program below I get the message print int(pool-strength) TypeError: unsupported operand type(s) for -: 'list' and 'int' [code=python] # Character Development Dungeons and Dragons # pool are the total points that I can use. pool = [30] …

Software Development python
Member Avatar for mn_kthompson
0
332
Member Avatar for suley04

First of all, let me just say that, this is the 1st time I have ever programmed in C, so please be gentle :S (although it shouldn't be that bad). With regards to the program, I have been set a scenario to create a sales system where the user enters …

Software Development c file-system
Member Avatar for Ancient Dragon
0
470
Member Avatar for scizj

I am trying to overload << for a class complex. The code is: INTERFACE: [code=cplusplus] class complex { friend ostream& operator<<(ostream& output, const complex& V); private: double REAL; double IMG; public: complex(); ~complex(); }; [/code] IMPLEMENTATION of <<: [code=cplusplus] ostream& operator<<(ostream& output, const complex& V) { output<<"("<<V.REAL<< "," << V.IMG<<")"; …

Software Development c++
Member Avatar for scizj
0
120
Member Avatar for Terry McKenna

I am teaching myself pseudo code and I'd like ask for help to clear up my mind so I can understand the syntax and semantics a bit better. Would appreciate any help. (8 people must decide on one F*!) I am trying understand [B]var int F1=0;[/B] in the sample below …

Software Development
Member Avatar for Terry McKenna
0
103
Member Avatar for mini programmer

[COLOR="Green"]Hi, I am new member in this location. I wanted to quaering about format the date in the computer system . in our class we study C ++ language. and learned this build in function : strtok ( , ) that take the variable in first argument , until see …

Software Development c
Member Avatar for mini programmer
0
151
Member Avatar for k59smooth

I was trying to do the practice problems but don't understand what the first beginner or first intermediate problem is asking me to do Write a program which finds the factorial of a number entered by the user. (check for all conditions) (Beginner). Create a simple Palindrome checker program. The …

Software Development c++
Member Avatar for StuXYZ
0
150
Member Avatar for Lukezzz

I have the ambition to make a List, Global so it can be reached within other Threads. When compiling the code with the declared list like this the compiler says: [I]syntax error : missing ';' before '<'[/I] Should I declare the List in any other way than this ? (The …

Software Development algorithm c++ ios
Member Avatar for Lukezzz
0
133
Member Avatar for Dinomike1000

Hello, I have recently started learning how to write games in DirectX 9 and I have a few questions. The first is about backwards compatibility. Is it correct to assume that if someone has DirectX 10 installed that they can play DirectX 9 stuff without downloading DirectX 9? Also, I …

Software Development c++
Member Avatar for Dinomike1000
0
104
Member Avatar for Liszt

I have put about 30 trasparent buttons on a Form wich meens that all these buttons are invisible. When I open this Form, you will see all these trasparent/ invisible buttoncontrols "flicker" in a white color. This flickering process takes about 2 seconds until the Form is 'ready'. What does …

Software Development c++
Member Avatar for Liszt
0
100
Member Avatar for roadToNowhere

Hey guys, would like to thank everyne for help on previous post. the following code is meant to populate a hashmap and hash set respectivly, but when i run my programme its giving me a null pointer in my user interface, could anyone help guide me? [code] package concordanceReader; import …

Software Development java user-interface
Member Avatar for Antenka
0
101
Member Avatar for Stefano Mtangoo

I use ctypes to play AUDIO using bass.dll found here: [url]http://www.un4seen.com/[/url] I have gone so far and tried as they advised me at their forum entry here: [url]http://www.un4seen.com/forum/?topic=9257.0[/url] But I still get errors. Can anyone take code and analyze to point out source of error? Here is the code, pse …

Software Development audio file-stream python
Member Avatar for Stefano Mtangoo
0
125
Member Avatar for Ninad16

What are static and abstract methods?What are the advantages of using them?

Software Development java
Member Avatar for ~s.o.s~
0
199
Member Avatar for MaracKoMarac

I have a simple Tkinter program that has a button and an entry. Now, how do I run code from the entry? For example: Entry -> print 'Hello!' Button -> Run the entry command

Software Development python tkinter
Member Avatar for MaracKoMarac
0
81
Member Avatar for nasims

I want to write a 3D virtual environment in c++ that can display videos on sides of a cube (using openGL is preferable). Also it has multi client and connect to the server that has a database of videos. the program should work online and can be displayed in web …

Software Development c++ client-server flash opengl video web-server
Member Avatar for MosaicFuneral
0
80
Member Avatar for beaute

Hello, I'm trying to solve an assignment that I have, but I don't want to get into the details of the assignment and confuse everyone. But, the basic idea is that I have to read a file, containing a list of team names and information about matches, and then I'd …

Software Development c++
Member Avatar for cikara21
0
111
Member Avatar for Sebouh

Hi all. I'm having a difficult time working with visual studio 6.0. I have a project which i'm editing, and i need to add a combobox to a form. The problem is i've added items to the combobox throught it's properties, and yet when i run the program, only the …

Software Development c++ visual-studio
Member Avatar for Sebouh
0
148
Member Avatar for drjay1627

I small maze game and I got a key Listener. I got it to work. The problem I have is that i have a text box in the gui and Key Listener is added on to the that. but I want to set it so that when the window is …

Software Development gui java
Member Avatar for Ezzaral
0
132
Member Avatar for nitinloml

[B]delete a list in text file[/B] well i m having a text file which contain time,user name & id, now if i want to modify the time without affecting the id & user name is it possible? or how i delete that list & enter a new list in that …

Software Development python
Member Avatar for woooee
0
203
Member Avatar for cointosser

Hi i have a python program project its to make an arithmetic program with difficulty levels -essentially a calculator - that throws out addition, subtraction, multiplication, division and combined math problems at random (depending on which function the user chooses) -also has three difficulty levels, which can be chosen by …

Software Development python
Member Avatar for Murtan
0
120
Member Avatar for drjay1627

I made a maze game. When you click the button, a navigator is created. But before you create a navigator, if you try moving the navigator, there is a null pointer exception. since the navigator can be moved by pressing keys on the keyboard, I want an error message to …

Software Development java
Member Avatar for drjay1627
0
86
Member Avatar for rofio

[CODE]package corpus; import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; import java.util.HashMap; import java.util.Map; import java.util.HashSet; import java.util.Set; import java.util.Collection; import java.util.TreeSet; public class FileReader { private static final String[] FILES ={"a_christmas_carol_capter1.txt", "a_christmas_carol_chapter4.txt", "emma_chapter1.txt", "emma_chapter2.txt", "pride_and_prejudice_chapter3.txt",}; private Map<String, Set<String>> corpusCV; public FileReader(String textFile) throws FileNotFoundException { Set<String> texts = new HashSet<String>(); corpusCV …

Software Development java
Member Avatar for rofio
0
156
Member Avatar for bushman_222

I'm trying to find a way to embed a external program inside VB6. Can anyone point me to some information where I can lean how to do this?

Software Development visual-basic
Member Avatar for bushman_222
0
105
Member Avatar for jbrock31

Hello everyone. I have been studying VB on my own in prep for my class next semester. I am trying to update a label on form1 from form2. Below is just a "test" example i created to figure out what im doing wrong. It is not the actual project i …

Software Development vb.net
Member Avatar for jbrock31
0
152
Member Avatar for scrypt3r

Hello, Does anyone know any code to retrieve the letter of the booted drive

Software Development
Member Avatar for LizR
0
76
Member Avatar for tkoopmi

I need to open IE from VB.net. I see the two most popular suggestions are: . VB's Shell function (ShellExecute ??) . COM "Microsoft Web Browser Control" reference I can't get the Shell function to work, and the Browser control isn't listed in the COM references that can be added …

Software Development vb.net web-browser
Member Avatar for tkoopmi
0
115
Member Avatar for sonotobvious

i am trying to generate a method in event handler of combo box. I am trying to read data from the database using array so that when i click on the combo box it will link to the textboxes. I have declared two arrays, one for combo box and another …

Software Development dataset open-source
Member Avatar for LizR
0
123
Member Avatar for dinilkarun

IN MS access FORM i have a list box column which is filled with colour names. Once the form is loaded i want to make backcolour of that record same as the one mentioned in that column. Regards, Dinil

Software Development visual-basic
Member Avatar for QVeen72
0
278

The End.