132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for KirkPatrick

I seem to be having an issue with a program I am creating. It should be a simple program that sends commands from a Java program to a Groovy script (whether the script be on the same computer or another on the network) but I am running into some problems. …

Software Development client-server file-stream java
Member Avatar for KirkPatrick
0
969
Member Avatar for Expora

Hello all I started toying around with some tutorials using opengl and glutt but i encountered a problem using MVC++ IDE. The problem is that it says "initrendering" identifier not found and drawscene says undeclared identifier. the code is [CODE] #include <iostream> #include <stdlib.h> #include <StdAfx.h> #include <GL/glut.h> using namespace …

Software Development c++ ide opengl
Member Avatar for Expora
0
101
Member Avatar for reanopp

Hi guys, We have some sensitive information in a Visual C#.NET app (an app that needs to be distributed to end-users). Examples of this information would be a connection string for a MySQL database on our servers, and encryption keys that the program uses to decrypt some datafiles. When the …

Software Development encryption
Member Avatar for reanopp
0
98
Member Avatar for vbx_wx

hi all. I am trying to enumerate all of the subkeys of a key and then all of the subkeys of each subkey and so on....i dont know if u get my point.For example : enumerate HKEY_CURRENT_USER: AppEvents,Console,Control Panel.....and then enumerate all of subkeys of AppEvents,COnsole....an then every subkey of …

Software Development c++
Member Avatar for mitrmkar
0
961
Member Avatar for shm512

Hi everybody, first time writer, looong time follower. I've been given an assignment to write simple c++ code and make exe app out of it. It's purpose should be to check particular folder structure on running system and compare it to the some reference files and folders. Point is to …

Software Development c++ gui xml
Member Avatar for Salem
0
223
Member Avatar for Justin9825

[CODE] #include <iostream> #include <fstream> #include <string> #include <cmath> #include <cassert> using namespace std; class Payroll { public: int menu(); int option; int mainMenuOption(); int payrollMenu(); int employeeMenu(); int employeeOption; int payrollOption(); int anotherOption(); int exitOption(); int mainMenuOption; { system("cls"); cout << "\t\t Docket Materials Company\n\n"; cout << "\t\t Main …

Software Development c++ ios
Member Avatar for Salem
0
126
Member Avatar for mebob

I am getting an error in Windows Vista that says "Project3.exe has stopped working", and has a bar like a loading a bar, and under it, it says it is looking for a solution. The program is an class assignment that takes a data fiile with information about energy usage …

Software Development c++ ios storage windows-vista
Member Avatar for mebob
0
161
Member Avatar for dillinger88

Hey guys, In the following code to find the determinant, the program crashes when it attempts to delete the matrix and gives an error about heap corruption. I'm having trouble determining why I'm getting this error. The code has worked fine until I realised my derivative definitions were wrong and …

Software Development c++
Member Avatar for Salem
0
179
Member Avatar for Joelles

Hi, I recently started programming in c# and I was wondering: How am I able to create a "builder program"? For example: I have a windows application with some strings that have to be customised by every person, I would like to have a GUI apart from it that allows …

Software Development gui
Member Avatar for Joelles
0
123
Member Avatar for tomtetlaw

how would i be able to open and read a .obj file(for a 3D model)? i need to extract the vertexes and their normals

Software Development c
Member Avatar for jephthah
0
155
Member Avatar for uzumaki

pls can someone tell me how make a picture move across the screen in visual basic 6.0, i have no idea.....

Software Development visual-basic
Member Avatar for uzumaki
0
80
Member Avatar for paddymarmion

Hi ppl, Im have trouble returning the array in this program the error's im getting G:\sp.java:151: incompatible types found : char[][] required: char return (array1); ^ G:\sp.java:187: incompatible types found : char[][] required: char return (array1); ^ 2 errors [code]class sp { public static void main(String[] args) //calling of methods …

Software Development java
Member Avatar for javaAddict
0
2K
Member Avatar for LisaJane

Hello, I have an assignment where I have to create a hash table and load 30 part numbers into it- should be a 2-d array...and eventually I have to prompt the user to choose an algorithm and keep track of collisions. But I am starting really small with this and …

Software Development algorithm c++ file-system ios
Member Avatar for peter_budo
0
399
Member Avatar for Lygris

I hope this goes here. Alright, so I'm trying to write a simple program that takes the contents of a query's results and pastes them to a text file. Although I could do this manually, I'm trying to create a "user friendly" method for when I'm out of the office …

Software Development visual-basic
Member Avatar for Lygris
0
208
Member Avatar for Um num num

Is there a way to add a mouse listener to an image for example when the image is clicked change the text of a label... :?: Any help would be greatly appreciated Thanks’ :)

Software Development image java pc-peripheral
Member Avatar for Um num num
0
285
Member Avatar for Archenemie

This one has got me completely, i cant see why the notebook doesnt show, i wanted the gui interface i have already built to show on page 2 of the notebook, but for some wierd reason the page just comes up empty, and it is really baffeling me. Can anyone …

Software Development gui python
Member Avatar for Archenemie
0
300
Member Avatar for digozz

please i need help in my asignment the assignment question is: Write a functionto print the Fibonacci value at a given position in the series.you should write two versions of the function both of wich must be named Fibonacci(overload functions).the first version should be implemented using a for loop.the second …

Software Development vb.net visual-basic
Member Avatar for digozz
0
80
Member Avatar for ayan2587

hello guyz.. Need urgent help on this !!! Is there a way to find out the total memory being consumed by my C++ program. I have seen in many online coding competitions that set a limit on memory consumption. Is there any tool by which I can find memory being …

Software Development c++
Member Avatar for ashishchoure
0
8K
Member Avatar for narfman0

Hello all, I am trying to automate my builds so that when I commit a branch with a particular url to my svn repository, my python script (which runs twice daily) will pick up on it, do a build, and upload it to a new trac downloads page. Right now …

Software Development open-source python
Member Avatar for narfman0
0
180
Member Avatar for Lee21

guyz i need help, i encounter an error saying "Cannot access a disposed object. Object name: 'Form2'." I encountered it after I closed the child form named Form2 and then click again the button1 to show it again. Hope you help me guyz here's my code [CODE]Public Class Form1 Dim …

Software Development vb.net
Member Avatar for Luc001
0
144
Member Avatar for sjn21682

Hi everyone, need help here, im having trouble with my program, what my system do is, it compares two datafiles, first it matches datafile1 to datafile2, then datafile2 to datafile1, when there in unmatched in the datafile i writes in notepad, i used streamread in reading the datafiles, actually its …

Software Development
Member Avatar for powerbox
0
205
Member Avatar for erees

I am having some problems with merging a large number of text files. Basically I am attempting to merge upwards of 2000+ text files that could range anywhere in size from 1 megabyte to multiple gigabytes in size each. Thus implementations must use some form of buffering in order to …

Software Development file-stream
Member Avatar for powerbox
0
262
Member Avatar for dbphydb

Hi, I am basically from QA. What we testers do each day is 1. Open a web browser. Type in [url]http://hostname:8080/cruisecontrol[/url] (since we are in a particular network, only we can access this) 2. Check if the latest nightly build has been successful. If it is successful, deploy it on …

Software Development python web-browser
Member Avatar for TrustyTony
0
84
Member Avatar for tbelgard

Running a contest, who can make the most simple elevator program, dual elevators, 4 floors, emergency stop, 7 seg led for floor locations on each floor and in elevator. infrared sensor to read floor levels and to adjust speed.

Software Development visual-basic
Member Avatar for vb5prgrmr
0
49
Member Avatar for danieldot

hi guys, as part of my online game I need the server to always wait for variables that will come. I am using the "Socket s = myListener.Accpet...blabla.." the problem is that when I call Server.cs class the application freeze, 'cause its waiting for variables... I want it to listen …

Software Development
Member Avatar for powerbox
0
76
Member Avatar for daviddoria

I am trying to parse the content of a wiki page. In a string like this: [code] ==Heading1== <test> some text here </test> ==Heading2== <test> even more text </test> [/code] I need to obtain "Heading1", "some text here", "Heading2" and "even more text". I got this to work: [code] import …

Software Development python
Member Avatar for daviddoria
0
15K
Member Avatar for crss

I need to write a reverse polish notation calculator and do not have a clue how to start. The only thing I have is the header file. This thing is due tomorrow at 3pm and I am backed into a corner. If someone can help me or write this for …

Software Development c++
Member Avatar for Fbody
0
258
Member Avatar for emaduddeen

Greetings Everyone, I have several forms in my project and I have set the IsMdiContainer property to True on my main form. This project also is not using a menu system. Instead I'm using a 3rd party ribbon control with buttons that call the other forms in the project. Can …

Software Development vb.net
Member Avatar for emaduddeen
0
174
Member Avatar for d0ugg

Hello everyone, I need to load a multi-word strings from a file to a linked list in one of my programs, and i'm not sure how to do that. my text file looks like this- (the name of the text file is: names.txt) Linda Martinho Marla Jose Mary Luka Joseph …

Software Development c++ linked-list
Member Avatar for ssuss
0
146
Member Avatar for joe93

We must multiply matrices that are comprised of the 3 x 4 matrix and 4 X 2 matrix. 1 2 -2 0 -1 3 -3 43 -3 4 7 2 X 0 9 = 18 60 6 0 3 1 1 -11 1 -20 4 -5 We must hard code …

Software Development java
Member Avatar for javaAddict
0
118
Member Avatar for digitalsindhx

My Search Date sql Query is not working plz help any body. i set my Date formate dd/mm/yyyy in control panel, and in Access i set coulumns field as shortDate, I used Folowing Sql Quries but non of them works [CODE] PurchaseSql = "Select * from PUrchase where PurchaseDate => …

Software Development vb.net
Member Avatar for digitalsindhx
0
370
Member Avatar for DayneD89

OK, I'm new to python. I'm writing data to a file, but it won't write that data to a new line. I'm ending up with a single line file that reads as [QUOTE]2.0/n3.0/n2.0/n3.0/n2.0/n3.0/n2.0/n3.0/n2.0/n3.0/n2.0/n3.0/n2.0/n3.0/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[2.0, 2.0]/n[3.0, 3.0]/n[/QUOTE] When …

Software Development file-system python
Member Avatar for DayneD89
0
5K
Member Avatar for krahuman

My below codes in a button click event populate data in the grid upon the user click the button. 1. How do I know that my commandtext did not find any matching data to popup the message to the user - No Records found. 2. How do I clear the …

Software Development vb.net
Member Avatar for kvprajapati
0
116
Member Avatar for DRxACULA

Hi, I need to simulate a drag race between 4 cars ( a total of 3 races) to determine a winner based on the ratio between weigh/horsepower and I'm having trouble creating a determineWinner method. Here's my code so far: Track class: import java.util.*; import java.text.*; /* Author: Joey Turner …

Software Development java
Member Avatar for javaAddict
0
1K
Member Avatar for tashiDuks

HI, I have a form with a datagrid, few buttons, and textboxes. I can add the new record in data table and can display in datagrid. The problem is that... the new record which i have inserted in data table is been displayed at the last row of datagrid which …

Software Development display vb.net
Member Avatar for tashiDuks
0
115
Member Avatar for Phoenix127

We have a MDI main form, which contains a main menu and holds the properties and routines to - select, read and write a selected DAT-input file, and to convert the data to and from a MS-Access database - open forms like grids and specificly an InpMatrix (which shows INPUTMATH …

Software Development dataset file-stream vb.net visual-studio
Member Avatar for Phoenix127
0
906
Member Avatar for mattloto

I have an array of strings, with each string being a name. I'm looking for a function that will find the index of a particular name in the array. I looked into Array::IndexOf, but my array is like this: [CODE]string names=new string[30];[/CODE] and it wont work. I could make my …

Software Development c++
Member Avatar for david.k
0
177
Member Avatar for Learner7

Dear Friends, I am new to vb.net. I would like to know how can I get the listview selected values in respective textboxes? Could somebody will help me with the code, please? Using Visual Studio 2008 MS Access Database 2007 txtSearch Thanks.

Software Development listview vb.net visual-studio
Member Avatar for Learner7
0
151
Member Avatar for nille_nerholt

I have a listview control in my project, runs in Visual C++ 6.0, that I want to make a sort based on column click. It works good when I have <1000 entries but when it goes over 1000 entries the sorting performance goes down. It takes about 10-15 seconds to …

Software Development c++ listview
Member Avatar for david.k
0
359
Member Avatar for ana_eht

hello tnx everyone this forum really helps me sometimes! can someone please tell me how i can convert a double number to nearest integer number?

Software Development java
Member Avatar for fatirnbd
0
116
Member Avatar for Syeda.farwa

hi all, i have some dates in my dataset n i want to filter it with 'between' keyword like this: [code] dataset.Tables[Table_Name].DefaultView.RowFilter = "DATE BETWEEN '"+startDate.ToShortDateString() +"' AND '"+endDate.ToShortDateString()+"'"; [/code] But rowfilter doesnot support between keyword.. so i tried this: [code] dataset.Tables[Table_Name].DefaultView.RowFilter = "'" +startDate.ToShortDateString() + "'<=DATE AND DATE<='" + …

Software Development c# dataset
Member Avatar for Syeda.farwa
0
133
Member Avatar for alok4u

Hello Is it possible to insert background image and colour in j2me without using canvas... we can create image using Image.createImage() bt it not work as background image.. plzz help

Software Development image java
Member Avatar for fatirnbd
0
105
Member Avatar for marcoakis

Hi guys, I solved this C++ problem for my mid semester assignment. It is a guessing game where the user will guess a number between 1 and 10 and will bet and win/lose money accordingly. I just started programing with C++ so I'd like to receive feedback on how to …

Software Development c++
Member Avatar for VernonDozier
0
146
Member Avatar for mw1

HI, I am very new to XSLT.. I am trying to have identity-copy of my html, and change a few things, but the result gives me extra <html><body></body></html> after my </html> here's my xsl: [CODE] <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> <xsl:template match='node()|@*' > <xsl:copy> <xsl:apply-templates select='node()|@*' /> </xsl:copy> </xsl:template> <xsl:template match='h2'> <xsl:copy> …

Software Development xml
Member Avatar for mw1
0
134
Member Avatar for kedakai

I want to create a program that will close itself when the user was idle(not touching/moving the mouse and keyboard) for about 5 minutes...but I have a problem in how to track a user's idle time so that I could set the closing action. Could anyone give me a simple …

Software Development vb.net
Member Avatar for kedakai
0
184
Member Avatar for zyaday

I am instantiating an object of one class with aanother class.. here is how the line is.. Class1.method1(); where method1 goes something like this .. method1(){ Class2 c = new Class2(); } After creating the c object of Class2, is there anyways i can know which class instatiated it(Can i …

Software Development java
Member Avatar for javaAddict
0
91
Member Avatar for Phaelax

I need to make my popup class observable and the main frame class observer. When the user clicks the ok button on the popup, I need the string from the popup's textfield returned to my main program. Main fram class. [CODE] import javax.swing.*; import java.util.*; import java.awt.*; import java.awt.event.*; public …

Software Development java java-swing
Member Avatar for masijade
0
471
Member Avatar for sleek182

Hi I am in my final year of a Software Engineering degree and will be shortly starting my final year project. However I have not yet decided on a title for my project. I have recently been looking at neural networks and find the topic very interesting. However as I …

Software Development engineering java
Member Avatar for peter_budo
0
145
Member Avatar for karthz85

[CODE]#include<iostream.h> #include<fstream.h> #include<string.h> class database{ public: virtual double store_data(void); virtual void save(ofstream &file); virtual double GetPassingMark(int pass); virtual void display(void); virtual void edit(void); protected: void data(void); //database(){cout<<"constructing";} //~database(){cout<<"destructing";} }; double database::store_data(void) { char code[100]; double totalmark,laboraty,exam,assignment,sum_assignment; int i,no_of_parts,a,pass; totalmark=0; for(i=0;i<7;i++) { cout<<"=======================================================\n"; cout<<"1.enter the subject code"<<i+1<<"\n"; cin>>code; cout<<"2.Enter no of …

Software Development c++ ios
Member Avatar for chiwawa10
0
131
Member Avatar for acerious

This is my first time ever programming in C++ so please talk me through this step by step. This is my second compilation after the classic Hello World! program and I am running into a problem I cannot figure out. The code executes just fine but when I run it, …

Software Development c++
Member Avatar for chiwawa10
0
131

The End.