132,726 Archived Topics
Remove Filter ![]() | |
Hi all, In my windows application written in C#, I am calling one windows utility...but it is likely to fail the execution of that windows utility execution...How do I log the error of that utility into my C# application? regards Jeet Software Development | |
Hi, I'm new to the C++ community hope you guys can give me some guidance. The program I'm making is suppose to read information from a file called music.txt Inside this file there is information about songs in the following format: Bandname, Songname, Duration of the Song, Here a partial … | |
Hi. with reference to my previous posts, im able to write a text file with a specific values from excel sheet. i just wanted to knw how to get rid of the prompt of " there is an existing file, do you want to overwrite it ?" i tried Application.Displayalerts=false … Software Development visual-basic | |
Hello, my first post here, mostly due to every question I placed on google the answer is here (normally answered by a fellow Anime fan called Narue, someone's got their thinking cap on ^_^) Anyhow the problem is as follows, I'm writing a 2D game engine using DirectX9 (not relivent … Software Development c++ | |
Ok so im totally new to C++......we use Dev in our labs I cnt seem to figure out how to store the column of a text file into an array. I understand how to input the file usinf ifstream.The columns have Lastname(initial), Id#, Age and Gpa. i thought js doin … Software Development c++ | |
How would I make a program that can insert text into a text field in another program? Or click a button in another program? Software Development c++ | |
Hi folks, In my c# epos app, i have a method which does two things: It calls a method to update the Form with the change to be given to the customer. It then calls a method to print the receipt to the serial printer. Even though the update Form … | |
[U][B]5x5 MATCHING WORDS AND IMAGE [/B][/U] Each time the user plays the game, the application should reshuffle a matching pair of ten words into the 5x5 Matrix. Include 5 pair of words and 5 pair of matching graphics. New Game button should terminate the current game and clear everything on … Software Development vb.net | |
Hello Once again I must seek help from those who know what it is that they are doing and I am not... Right now we are usng Visual Studio 2005 for VB and C++ and my visual studio is defaulting to C++ upon opening the program. How do I stop … Software Development c visual-basic visual-studio | |
Hi, I 'm using c#.net(3.0),I want to extract audio from an AVI file(Audio/Video file *.avi) in wav format(*.wav) could anyone please tell how to do this using C#.net. please don't suggest this link-http://www.codeproject.com/KB/audio-video/avifilewrapper.aspx (as the example given is not working on all *.avi files). thank you | |
Hi, i created a program but i need some help. I made it so the user must enter the ip address and then click the button CONNECT. But in java it outputs the same thing. Is there any way i can get rid of it and just start the program … Software Development java | |
I'm making a game for a project due this Tuesday. You're in a dungeon with rows and columns, and for each coordinate there is a cell and there are 3 trap cells that you instantly die from if you walk into them. Also, you die if you hit 3 walls. … Software Development java | |
Hello Friends I am developing an application in C# , basically it intercept all the event of Visual Source Safe. Earlier code was in VB.net but Now we are migrating to C#. Now I am unable to find replacement of following funtion of VB. --------------------------------------------------------------------------------- VB code Starts here: --------------------------------------------------------------------------------- … | |
Okay, I've got a serious problem with std::vector, the code I'm working with is huge and it's got vectors left, right and center. The problem is that one of the vectors is having to reallocate itself elsewhere. This is causing the references to point to random things. For illustrative purposes: … Software Development c++ | |
i've had a pretty good day today up to now.... i have a method calcFinalOCAS() which should take an average of a list, replace the lowest value (if its lower than the substitution score), do the average again. now this works but when its compiled and i run it but … Software Development java | |
Hello everyone, i have been trying to complete this program on a letting agency where a user gets a choice of options 1. Add a property 2. Remove a property 3. Display all properties 4. Exit the system I have no idea what syntax to use within each case option … Software Development java | |
Hello, please, i am developing an application which is initially working fine but i later copied it into an hard drive to another system which am currently using but the problem is that after copying it, any image i add into it will not display at runtime. i mean the … Software Development hard-drive image vb.net | |
[code] import java.io.*; import java.util.*; public class MainTwo { public static void main(String[] args) { for(File file : File.listRoots()){ search(file); } } public static void search(File f) { ArrayList<File> arrayList = new ArrayList<File>(); f.listFiles(); arrayList.add(f); System.out.println (f.getName()); } } [/code] Why does it print nothing? Software Development java | |
Hi folks, Fresh newbie here. I'm taking a c++ class and I'm just a beginner. We have started to learn pointers and I discovered some puzzling behavior while messing around with the address operator [ICODE]&[/ICODE]. Here is my code snippet: [CODE] char letter = 'a'; int integer = 1; char … | |
I'm having some problems trying to solve an apparent circular dependency in a project of mine. I'm working with OpenGL and FLTK to create a Robotics Simulation. The problem is that I've created a Class FLGLWindow which basically manages a window with rendering capabilities. I also have a Menu class … | |
[code] import javax.swing.*; import java.awt.*; public class keyboard { public static void main(String args[]) { String s[] = {"esc","F1","F2","F3","F4","F5", "F6","F7","F8","F9","F10","F11","F12", "psc","slk","pau"}; JButton j[] = new JButton[s.length]; for(int i=0;i<s.length;i++) j[i].setText(s[i]); JFrame f = new JFrame(); for(int i=0;i<s.length;i++) f.add(j[i],JFrame.LEFT_ALIGNMENT); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.setVisible(true); } } [/code] I need Instant Help!. Code is giving me … Software Development java java-swing | |
I'm trying to port some existing C++ code to OS X. The problem is that it doesn't want to load files to read from them. The code bellow illustrates this problem; when run from Finder it outputs "Failed to open input file.", however when run from Xcode it runs correctly. … | |
Problem Description: Multi automobile movement simulation in a multi lane road Consider a road (street) consisting of NL lanes with NC cars moving in one direction. Each car has to move in a certain lane with possibility of changing lanes. Each lane is divided into NP positions. Cars movement is … Software Development java | |
Hi all I want a help for changing this program to a linux program . Can anyone help me? wether is it in c++ or Java. [code=java] import javax.swing.*; import java.awt.*; import java.awt.event.*; class fcfs extends JFrame implements ActionListener { JButton jb[] = new JButton[3]; JTextField jt1[],jt2[]; JLabel jl[],jl1,jl2,jl3; JPanel … Software Development java java-swing | |
Hi. I'm fairly new to programming, and I'm trying to make a rock paper scissors simulator (text based). One problem I have, however, is that my compiler repeatedly tells me that a 'void value not ignored as it ought to be' prevents me from running my program. Here's the snippet … Software Development c | |
hi, I need select a node like "//element[@attr='value']", but the "attr" in document can be "Attr", "ATtr" and so on, as well as the "value". I know I can select element with case insensitive using translate function like "//*[translate(name(), 'abc','ABC')='ABC']" But how can I let it work with attribute and … Software Development xml | |
Hello everyone. This is not really a coding problem as it is more of a compiler problem. I am making an MFC application in Visual Studio 2005. When i open up the icon, i can edit it right there in that editor. But when i do, it works fine in … Software Development c++ visual-studio | |
Hi, i want to manage 2 type of Exception lightblue._obexcommon.OBEXError 1) lightblue._obexcommon.OBEXError: (111, 'Connection refused') 2) lightblue._obexcommon.OBEXError: (11, 'Resource temporarily unavailable') how i can do it? example: [CODE] try: lightblue.obex.sendfile(device.getAddr(), c[1],"advertisement.jpg") except lightblue._obexcommon.OBEXError????????????: print "Connection refused!" except lightblue._obexcommon.OBEXError????????????: print "Resource temporarily unavailable!" [/CODE] Software Development python | |
hi guys, in the setup project i added checkboxes dialog to user interface section. i have two checkboxes to install two products accordingly. if the user unchecks the both of the checkboxes, i want the next button to be disabled. do you know how to do that? thanks Software Development user-interface | |
Hi, I am having trouble inserting lines into a file via a Unix shell script, can anyone out there help me with this? Part of my file content looks like this: # default ssl qop [ssl-qop-mgmt-default] default = ALL I now need this part to read as follows: # default … Software Development shell-scripting unix | |
all i can do is get each line at a time.... how can i read it to only read till the space.... plz help.... heres my lil bit of code [CODE] while (getline(iofile,line)) { cout << line << endl; }[/CODE] plz i know i can use this aswell for line … Software Development c++ | |
Hi everybody; is there a way to find system info (current time, date, processor speed, processor's RPM, Fan1's RPM, Fan2's RPM, etc)? I am making a program that gives you information about your computer. Thanx in advanced, C++ Software Development java | |
I spent a lot of time trying to find out why "Message Box' made my program act like it crashed. Originally I had to bring up the Task Manager every time I allowed "Message Box' to run to shut down the program. After much experimentation I found that if I … Software Development c++ | |
Hi All, I am trying to do reverse engineering i.e. i am trying to get the signature of the function from the arm assembly code. I want to know how can we extract function signature from arm assembly code. Software Development assembly engineering | |
i have Visula Studio 2008 professional edition in my machine. i have written code for export crystal report to pdf. In my machine it works fine. i have not install visual studio 2008 in other machine (network machine). but i run the setup , i tried several times. its not … Software Development pdf vb.net visual-studio | |
[B]What would be the best way of doing this?..... [/B] I have a text file containing a list of music songs that shows the artist, song title & song duration. So I'm writing a program that opens the text file & reads the duration of each song, adds each song … Software Development c++ file-system | |
can anyone help me in creating gadgets ...I need to know how to make a gadget ... also wat languages are used for making a gadget... i ve googled a lot bt cant find any solutions .... so help me ... Software Development java | |
hello all i am now about ready to pull my hair out and/or possibly worse! i have to read a .csv file, split the 3 elements into variables and then put two of the variables into a map. i can read the file fine, i can display the variables in … Software Development file-stream java | |
Hi guys I want to take an image and cut it into blocks, then store each block in an array of bufferedimages. I have tried many things [CODE]public void splitImage(int cols, int rows) { int w = thePic.getWidth()/cols; int h = thePic.getHeight()/rows; int num = 0; tileset = new BufferedImage[w*h]; … | |
Is there a pygame constant that checks when no buttons are being pressed? Software Development python | |
Dear All, Passing condition as string to XSLT using Javascript as a parameter is not giving any results. Below is the code snippet:- [ICODE]script: var processor = new XSLTProcessor(); processor.importStylesheet(xslt); processor.setParameter(null, "query","not($projectId = 9820) and not($projectId = 9164)"); xsl code: <xsl:if test="$query"> I verified by priting xsl:value-of and string is … Software Development java javascript xml | |
I have a transparent panel control, I don't use double buffering because they clash, and it also interferes with some other controls that I am using. On my panel I have 9 buttons, I have written code to remove a button on its click event, and then move the to … Software Development | |
I have three database tables 1. Category(Id, Name) 2. Definitions( ID, Modified, CatergoryID) 3. Versions (ID, Name, Template, DefinitionID) I have generted Entity Data Model (EDM). It has generated 3 entities 1. Category Scalar Properties ID Name Navigation Properties Definitions 2. Definition Scalar Properties ID Modified Navigation Properties Category 3. … Software Development | |
Hello All, I really hope that you can help me. I am working on a program that will read a randomaccess file's contents and store the contents into an array. It will then update the array and write it back into the randomaccess file. I have the following two methods … Software Development java | |
Hi all, I have two problems 1. I have a comma separated string values. I want to load them all into checkedlistbox as items.....HOW? 2. how do I get the itemindex of checkedlistbox, passing the text? regards and thanks Jeet Software Development | |
Ok, here's the deal. I have this homework project I'm working on and while I realize no one is here to do my homework I am a little confused right now with how to get a function to read into an array. I put in the entire code but I … Software Development c++ | |
WHEN DATA IS READ FROM FILE AND I SELECT DISPLAY ALL IT FIRSTLY DISPLAY THE INFORMATION FROM THE FILE AND FILLS WHATEVER LEFT OUT OF THE10 RECORDS WITH WEIRD SYMBOLS. [CODE=cplusplus] # include <stdio.h> # include <string.h> # include <iostream> # include <fstream> #include <stdlib.h> using namespace std; typedef struct … | |
hi alll... it is my first time to use this forum and i hope i am using the right one... i am student in computer science we have to decide an idea for the gradutaion project but i dont have any...i wish i do a great project related to something … Software Development | |
I HAVE USED THREE COMBO BOXES IN AN APPLICATION COUNTRYCOMBO,STATECOMBO,DISTRICT COMBO . THESE CONTAINS THE ITEMS FROM A TABLE .COUNTRY COMBO IS FILLED IN THE FORM LOAD EVENT. STATE COMBO IS FILLED IN THE CLICK EVENT OF COUNTRY COMBO . DISTRICT COMBO IS FILLED IN THE CLICK EVENT OF STATE … Software Development visual-basic |
The End.