43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for nitu_thakkar

hello there... can any one reply me what is python

Software Development python
Member Avatar for Stefano Mtangoo
-1
355
Member Avatar for jaiprakash15

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 …

Software Development vb.net xml
Member Avatar for Ramy Mahrous
0
164
Member Avatar for jaiprakash15

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 …

Software Development vb.net xml
0
103
Member Avatar for Bladtman242

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++
Member Avatar for Bladtman242
0
285
Member Avatar for shazzy99

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#
Member Avatar for Ramy Mahrous
0
286
Member Avatar for jaiprakash15

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

Software Development listview vb.net xml
Member Avatar for jaiprakash15
0
151
Member Avatar for 35nando

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++
Member Avatar for 35nando
0
2K
Member Avatar for shazzy99

Is there any way to type casting from NumberUpDown to string? Couldn't get much help from msdn :(

Software Development
Member Avatar for ddanbe
0
86
Member Avatar for dmanw100

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
Member Avatar for dmanw100
0
95
Member Avatar for Swemp

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 …

Software Development c c# c++ ios
Member Avatar for Ancient Dragon
0
159
Member Avatar for Ghostenshell

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 …

Software Development python ubuntu
Member Avatar for Stefano Mtangoo
0
134
Member Avatar for stewie griffin

Hi I have database on spss file and i need to use it on c#, how can i do it?

Software Development c#
Member Avatar for Ramy Mahrous
0
197
Member Avatar for shazzy99

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
Member Avatar for shazzy99
0
9K
Member Avatar for shazzy99

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
Member Avatar for LizR
0
285
Member Avatar for javaman2

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
Member Avatar for puneetkay
0
91
Member Avatar for BevoX

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++
Member Avatar for BevoX
0
122
Member Avatar for aveltium

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
Member Avatar for aveltium
0
125
Member Avatar for vandenzergen

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++
Member Avatar for vandenzergen
0
117
Member Avatar for vandenzergen

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 …

Software Development c++ storage
Member Avatar for vandenzergen
0
164
Member Avatar for Blackeagle

Hello, i'm trying to make a a list of items in a Text Area, something like this: apple 2 22 banana 31 1 orange 1 3 i want to it o be organized such that the numbers are in one column, and thats not working with me since the names …

Software Development apple java
Member Avatar for Blackeagle
0
104
Member Avatar for ddanbe

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
Member Avatar for LizR
0
118
Member Avatar for Aerialknight

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
Member Avatar for LizR
0
130
Member Avatar for Grimshad

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++
Member Avatar for Grimshad
0
181
Member Avatar for revenge2

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
Member Avatar for mn_kthompson
0
122
Member Avatar for cam875

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
Member Avatar for cam875
0
119
Member Avatar for csharplearner

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
Member Avatar for iDeveloper
0
143
Member Avatar for vckicks

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
Member Avatar for vckicks
0
201
Member Avatar for edgar5

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
Member Avatar for edgar5
0
120
Member Avatar for scrypt3r

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
Member Avatar for Comatose
0
209
Member Avatar for cppnewb

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++
Member Avatar for Freaky_Chris
0
123
Member Avatar for sydetys

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
Member Avatar for Freaky_Chris
0
255
Member Avatar for zedame

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++
Member Avatar for Freaky_Chris
0
116
Member Avatar for u8sand

Hello everyone... Recently, i tried making a puzzle solver. And it came out perfect. I wanted to try somthing harder so i went on to a sudoku puzzle solver. You see i checked a bunch of places and found that the best and easiest way to do it is with …

Software Development c++ puzzle
Member Avatar for algoboy
0
166
Member Avatar for u8sand

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++
Member Avatar for u8sand
0
98
Member Avatar for Swemp

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++
Member Avatar for Swemp
0
5K
Member Avatar for kaczmar86

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
Member Avatar for ddanbe
0
295
Member Avatar for dinklebaga

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
Member Avatar for dinklebaga
0
162
Member Avatar for jaiprakash15

[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" …

Software Development vb.net xml
Member Avatar for jaiprakash15
0
112
Member Avatar for cppnewb

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

Software Development c c# c++
Member Avatar for cppnewb
0
9K
Member Avatar for waldchr

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
Member Avatar for waldchr
0
100
Member Avatar for Dav 1

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
Member Avatar for Dav 1
0
120
Member Avatar for Ronen444

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 …

Software Development c c# c++
Member Avatar for Narue
0
278
Member Avatar for scias23

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++
Member Avatar for scias23
0
2K
Member Avatar for emilio

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
Member Avatar for emilio
0
89
Member Avatar for death_oclock

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
Member Avatar for death_oclock
0
157
Member Avatar for tom_jerry042

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++
Member Avatar for iDeveloper
0
158
Member Avatar for mrnutty

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++
Member Avatar for VernonDozier
0
151
Member Avatar for Ghostenshell

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
Member Avatar for Murtan
0
105
Member Avatar for somename

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
Member Avatar for somename
0
181
Member Avatar for death_oclock

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 …

Software Development c queue
Member Avatar for death_oclock
0
108

The End.