132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 … | |
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 | |
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++ | |
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 … | |
[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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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 … | |
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 | |
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<='" + … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
[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 … | |
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++ |
The End.