132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for havejeet

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
Member Avatar for havejeet
0
102
Member Avatar for shuda009

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 …

Software Development c c# c++
Member Avatar for Stinomus
0
1K
Member Avatar for love_dude1984

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
Member Avatar for love_dude1984
0
92
Member Avatar for DarthPJB

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++
Member Avatar for Stinomus
0
774
Member Avatar for LostByte

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++
Member Avatar for Topi Ojala
0
129
Member Avatar for gsingh2011

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++
Member Avatar for Stinomus
0
126
Member Avatar for jonnytabpni

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 …

Software Development gui printer
Member Avatar for serkan sendur
0
92
Member Avatar for s080072

[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
Member Avatar for crazyhorse09
0
104
Member Avatar for Beauti

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
0
55
Member Avatar for payamrastogi

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

Software Development audio video
Member Avatar for Diamonddrake
0
478
Member Avatar for joker21

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
Member Avatar for joker21
0
218
Member Avatar for LegendaryXM90

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
Member Avatar for LegendaryXM90
0
140
Member Avatar for vr4indian

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: --------------------------------------------------------------------------------- …

Software Development c# vb.net
Member Avatar for Diamonddrake
0
160
Member Avatar for ganbree

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++
Member Avatar for ArkM
0
96
Member Avatar for lardshow

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
Member Avatar for lardshow
0
85
Member Avatar for kimbirdy09

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
Member Avatar for Zibo
0
100
Member Avatar for omotoyosi

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
Member Avatar for Teme64
0
76
Member Avatar for caps_lock

[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
Member Avatar for caps_lock
0
161
Member Avatar for Bythos

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 …

Software Development c++ unix
Member Avatar for trillionaire
0
224
Member Avatar for Lothas

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 …

Software Development c++ opengl robotics
Member Avatar for Ancient Dragon
0
357
Member Avatar for Majestics

[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
Member Avatar for Majestics
0
111
Member Avatar for ganbree

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. …

Software Development c++ os-x
Member Avatar for Narue
0
140
Member Avatar for Mr Bin

[B]Please help me how to do it. Thanks![/B] A 5-star hotel has 3 room types below: - Room type A, Price 80 USD / day. - Room type B, Price 60 USD / day. - Room type C, Price 40 USD / day. Room rental is calculated by formula: Price …

Software Development c++ oop
Member Avatar for tux4life
0
115
Member Avatar for tomata2

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
Member Avatar for VernonDozier
0
106
Member Avatar for fuzzyrose

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
Member Avatar for kvprajapati
0
238
Member Avatar for Torso_Boi

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
Member Avatar for Torso_Boi
0
95
Member Avatar for phoenix.zhp

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
Member Avatar for phoenix.zhp
0
1K
Member Avatar for u8sand

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
Member Avatar for GadiK
0
139
Member Avatar for rinaldinho

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
Member Avatar for scru
0
195
Member Avatar for serkan sendur

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
Member Avatar for serkan sendur
0
105
Member Avatar for darnoc

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
Member Avatar for darnoc
0
180
Member Avatar for phoenix911

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++
Member Avatar for Ancient Dragon
0
122
Member Avatar for Ghost

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
Member Avatar for jaka.ramdani
0
1K
Member Avatar for toolmanx

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++
Member Avatar for toolmanx
0
110
Member Avatar for pradeepmisra

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
Member Avatar for pradeepmisra
0
302
Member Avatar for daniwebseenu

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
Member Avatar for daniwebseenu
0
95
Member Avatar for gretty

[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
Member Avatar for Raven6666
0
313
Member Avatar for Kishorey

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
Member Avatar for Kishorey
0
126
Member Avatar for lardshow

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
Member Avatar for lardshow
0
101
Member Avatar for redZERO

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]; …

Software Development image java
Member Avatar for JamesCherrill
0
459
Member Avatar for tomtetlaw

Is there a pygame constant that checks when no buttons are being pressed?

Software Development python
Member Avatar for tomtetlaw
0
454
Member Avatar for kranthi_543

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
Member Avatar for kranthi_543
0
129
Member Avatar for Diamonddrake

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
Member Avatar for ddanbe
0
125
Member Avatar for Qasim Ali

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
Member Avatar for Qasim Ali
0
89
Member Avatar for KimJack

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
Member Avatar for kvprajapati
0
270
Member Avatar for havejeet

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
Member Avatar for ddanbe
0
165
Member Avatar for zack.walters

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++
Member Avatar for ithelp
0
215
Member Avatar for szcfama

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 …

Software Development c++ display ios
Member Avatar for amrith92
0
126
Member Avatar for elghoul_girl

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
Member Avatar for ithelp
0
171
Member Avatar for monurenjith

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
Member Avatar for jireh
0
113

The End.