43,549 Solved Topics
Remove Filter ![]() | |
| |
hi all, I have a XML file like as shown below.. i need to replace the value of status for a particular task..can u help me how to do it.. <?xml version="1.0" encoding="utf-8"?> <Task> <TaskName tskName="PS0002440" Status="Open" /> <TaskName tskName="PS0002439" Status="Open" /> </Task> in the above file..i need to change … | |
Dear All, AM creating a XML file from my Database. I have created Sucessfully and now i need to append a another node to this below XML file Ex : <TaskName Value="PS0002440" Status="Process" /> I use the following code to create this below XML file. Am passing the Value and … | |
I know i can use fstream to create, edit and read files in c++, i also believe there is a different way wich i am unfamiliar with. but is it possible to work with files NOT in the same directory as the program? like if the program is in C:\programfiles … Software Development c++ | |
Greetings, How to change a file name using C# code with fixed path to the subject file? Do I need to copy/create a new file with new name and delete the old one or is there a way to change the name without doing above. Rds Software Development c# | |
Dear Friends. I need to copy particular columns from a listview to a XML file. Example i need 1st and 3rd Columns data's to be copied to a XML file. Can any one help with any example code..How to get the Column data from a Listview.. Thanks and Regards, Jayaprakash | |
Hi, i'm looking for some library that provides solving matrix determinant. My matrix contains complex numbers (complex.h). Please write me some hints Software Development c++ | |
Is there any way to type casting from NumberUpDown to string? Couldn't get much help from msdn :( Software Development | |
I tried Googling this to no avail: how can I request the used space/ total size of the hard drive? In this case it is safe to assume that the machine will be running Windows. Software Development c c# c++ hard-drive | |
Hi, I have a problem with the use of vectors. As you can see, the program asks the user for a row of positive whole numbers. These numbers will by put in a vector called "getallen". Than the numbers in "getallen" will be sorted by the function "sorteerint" and number … | |
I think I have several questions before I post my code. [LIST=1] [*]How do I change the attributes? Everything looks the same and I was basically looking at one of the examples in my book for this problem. The book always has the arguments and attributes as being the same … | |
Hi I have database on spss file and i need to use it on c#, how can i do it? Software Development c# | |
Hi, This is my second post in continuation to my previous one. How can I loop through all the files in a folder. Cheers! Ali Software Development | |
Dear guys, Can anyone help me out to open up a windows default dialog box in C# to browse folder and the folder path be displayed in the lab/edit box. I am new at C#. Just created a simple form application and now looking to do the backend coding Regards, … Software Development | |
im trying to write a program that determines the type of hand with three cards (one pair, three of a kind, straight, flush, straight flush, high or low card, or royal straight flush) This is my code so far. I got the cards to come up to be what they … Software Development java | |
I have a rather simple question, and I' ve been looking for the answer for awhile, but did not find any. So I would like to know, what is the proper way of deleting a pointer. For example I have a class with some kind of array, which I want … Software Development c++ | |
Hi, I'm sorry for making the question unclear, but my English is not good. I will try to explain it: [code=java] class test0{ test1 t1 = new test1(); public static void main(String args[]){ new test0(); } public test0(){ t1.displaymsg1(); t1.callDisplaymsg0(); } public void displaymsg0(){ System.out.println("Successfully linked to test0 class"); } … Software Development java | |
Hello everyone, I really want to know what should I do first in making games using c++. We all know that c++ is the most widely used programming language in making games. But, there is still things which are not clear to me as of now. I'm still a newbie … Software Development c++ | |
I'm having a problem on how to create a program on c++ that creates its own file and storage capabilities. I'm planning to have an interface like this so I put a little detail about the program just to give you the idea of what I actually mean... it goes … | |
I'd like to write a matrix evaluation tool.(add, multiply, inverse etc.) So I need some way to manually input the values of a matrix. I don't want the input to be console like : "Give val for r1,c2" or something like that. I want a forms app with a table … Software Development | |
I try to use 'extended' type for variables but I cannot, turbo pascal 7.0 report 'Error 116: Must be in 8087 mode to compile this' - so I don't know if sbd can help me solve this. Software Development pascal | |
I'm looking for some help with some C++ code. I have working knowledge and understanding of code and coding in general, but don't actually program myself. I have 2 files TFGame and TFMenuConsole In TFGame I put [CODE]var config bool ToggleWarhead;[/CODE] and later put [CODE] PlayInfo.AddSetting(default.GameGroup, "ToggleWarhead", default.SIGPropsDisplayText[i++], 0, 1, … Software Development c++ | |
How does [URL="http://www.swaroopch.com/notes/Python_en:Basics#Indentation"]indentation[/URL] work exactly?. Could someone expand on the explantion given on that page please. -regards. Software Development python | |
I am trying to figure out for my physics simulator how to give my object name a variable or something, ill show an example and the compiler flags it an error but all i am trying to do is pass it the value not the variable long atomID = 0; … Software Development c++ operating-system | |
Hello all, I am trying to pass data between two files using POST method. I am using Visual Studio 2008 and working in C# Environment to run this in ASP.net. The code i am using is: sareeweb.aspx [code=c#] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="sareeweb.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … Software Development algorithm asp.net visual-studio web-server | |
Hello, I'm having some very confusing problems with the StringFormat class. I'm hoping someone will know what's going on. I want to draw text right-to-left. It's multiple lines so I figured using the StringFormat class was an easy way to handle that, I declare it as: [CODE]StringFormat f = new … Software Development | |
Here is what I want to accomplish--I want a ListBox exactly like everyone else uses (almost always)! When the user mouse-clicks in the box and enters a keypress, the first item in the dropdown list, with that char as a first char, is selected. The values are restricted to those … Software Development vb.net | |
does any of u know how to make a app in vb 2005 send a e-mail with text and/or attachments ? Software Development visual-basic | |
Hi, It's me again with another silly question:) I was wondering if there was a way using ofstream to not erase the contents of the file it is writing to and simply write at the end. Thanks! P.S. I'm using windows XP and Dev C++ Software Development c++ | |
HEADER; I am noob in programming, so keep it simple thank you :) I use VS 2008 pro SP1 OS is vista Ultimate x64 SP1...(SP2 beta I will try later) Which function is better and what are differences? 1. system () 2. CreateProcess () ...is there more choices? My goal … Software Development c++ windows-vista | |
i'was asked to develop chat application using c++ anyone can help me finding tutorials/ articles/ walkthrough or what ever i can get that discuss this topic Software Development c++ | |
Hey guys. Another problem : ( Well you see, i was attempting to make an array that stores char's in a lets say 10 by 10 grid. Then i can display it Example: [code] char array[10][10] = { "----------", "| |", // ...... ext... "----------" }; for(int y = 0; … Software Development c++ | |
Hi, I'm a newbie in C++ and i'm working on a project, but it doesn't work.. The C++ program should read numbers into an array, the numbers are in a txt file. Each array number : ex. array[1], array[2], array[3]... should get a number from the txt file. In the … Software Development c++ | |
I want my program to analyse geometric figures drawn by user. Figures must be filled with color. I have already found algorithm that checks if points are inside figure. I have problem with getting pixel color. [CODE=csharp] Bitmap rysunek; Pen pisak = new Pen(Color.Black, 1); rysunek = new Bitmap(pictureBox1.Width, pictureBox1.Height, … Software Development algorithm | |
Hi All, I am researching writing a program in C that will allow me to control the read/write on a FDD and then to move onto HDD's. I have been given some code that will allow me to do this by one of my lecturers but uses the DOS.H library … Software Development c | |
[COLOR="Red"]Dear friends, I am new To Vb.net World. I have to Create a XML file like as shown below. <Task> <TaskStatus ID="PS0002436" status="Start" /> <TaskStatus ID="PS0002435" status="Start" /> <TaskStatus ID="PS0002434" status="Start" /> <TaskStatus ID="PS0002432" status="Start" /> </Task> Is there any Code available for creating... i need to add the "Value" … | |
Hi. I'm new to the forums, and I have a quick question. I would like to add 14 days to the current system date in a program. Here is my code: char date[9]; _strdate(date); char time[9]; _strtime(time); cout << "The due date of your books is: " << date << … | |
HI For Christmas I got a book on game programming with allegro. I went through the process of setting up the files and ran, compiled, and linked the program only to find that depending on which compiler I used (Dev-C++ or VC++ 2008) it came up with different errors saying … Software Development c++ windows-vista | |
Hello, I'm making a customer data base for my friend. I need to open, edit and save a excel file in ole. So I know how to ope and edit but I don't know how to save it. I searched already half of a web and I found nothing so … Software Development visual-basic | |
Hi ! Some (weird) problem i got : I have a header file, InputHandler.h, which has one Class called InputH, and inside i have public: and a Void named Hi(). When i try to include InputHandler.h in PRPT.cpp, i get an error, weird one; The error says that i should … | |
help.. i dont know how to sort strings.. for example.. if i enter: [CODE]JOKER[/CODE] then the descending order of string must appear: [CODE]ROKJE[/CODE] i think of strcpy() ..but it i dont know what to place in the if().. here's my code.. [CODE] #include<iostream.h> #include<conio.h> #include<string.h> #include<stdio.h> void main() { clrscr(); … Software Development c++ | |
I'm looking for a control in c# that looks like a panel but allows you to write header text on his border. i attached a picture to show you what i mean. does anyone knows this control ? Software Development | |
I am having some trouble with the layout of my project. I'm using several APIs, including the WinAPI and DevIL. I had hoped to encapsulate each one in a separate header file, so that the main program would never have to know whats going on. The problem is, some functions … Software Development c | |
Hi [B]snprintf [/B]is working fine when i am not using [B]append [/B]function . But as soon as i use [B]append [/B]function [B]snprintf [/B]crashes . Please suggest why [B]snprintf [/B]is crashing after [B]append [/B]. What is special with [B]append [/B]function which is crashing this program Below is the program. #include<string> #include<iostream> … Software Development c++ | |
hi, I am curious, how can I read a int from a text file( ex. num.txt). but this text file contains numbers without spacing (ex.1212132132313... 23156897984969.. 583852935792...) The problem is that this file has no spaces between numbers and when i try to read it into an arry, the result … Software Development c++ | |
First time I've asked for help so please bear with me... ***Brain Freeze*** OK Supposed to open a txt file. Assuming the txt file is formated properly. The file is a what I am assuming a list of names and ages. I created my own file... kick me 989 bodybody … Software Development python | |
Hello. Maybe someone can help me with this, here is my code: [CODE]#include <windows.h> #include <stdio.h> #include <wininet.h> #include <shlwapi.h> #define mb(x,z) MessageBox(0,x,z,0) #define REGKEY "PATH\\to\\my\\key" #define REGNAME "zzzzzzzzzzzzz" #define EXENAME "zzzzzz.exe" void Reg() { HKEY hkey; DWORD dwDisposition; DWORD m_dwMaxFileSize = 16 * 1024; TCHAR m_szLastFileName[MAX_PATH]; DWORD dwType, dwSize; … Software Development c | |
My application creates a window in the main thread, but I want the message loop in a separate thread. Is there any way to catch the messages from that window while an another thread? I tried giving GetMessage that window's handle, it didn't work. I could just create the window … |
The End.