132,726 Archived Topics
Remove Filter ![]() | |
hi all, I want to convert a string contain hex format '0x15' and what to convert it integer because i want to write data contain by a integer variable in hex format (binary data) into the file. here is my code [code=c] char * str = "0x15"; int value; FILE … Software Development c | |
Very simple question but this has been annoying me for a few days. I have tried quite a few different things to get this working but its starting to piss me off. So basically I am trying to get a simple WPF app to run through a folder, copy some … Software Development gui | |
Basicly i tried to do address book but i guest it not work at all..can i know where i get wrong or any advise?.. Software Development c | |
Im calling a function in a 3rd party dll. Somewhere down the line it hits an access violation (0xC0000005). I wrapped the call in a try/catch but it never catches and the runtime pops up the old Unhandled Exception. This call is several calls deep in my code so I … Software Development c++ | |
![]() | Ok let's say I have a text file: [code] (0,0) = 1.0 (0,1) = 2.0 (0,2) = 3.0 (1,0) = g (1,2) = 2.0 (2,2) = hi there (2,[COLOR="Red"]8[/COLOR]) = ee (5,4) = e (10,1) = g [/code] Where the each part of the line is delimited by a tab. … Software Development c++ ![]() |
Hi i am trying to open a pdf file using vb.net with the following code. it gives an error messages at ar.src=splitout(i) and the message is "Attempted to read or write protected memory. This is often an indication that other memory is corrupt.". please help. Thanks Dim dlg As OpenFileDialog … | |
I converted TGREER's C# implementation of a hacked StreamReader class to VB.NET and wanted to provide it for anybody who has run into the following issue: when using a [B]StreamReader[/B], and [B]ReadLine[/B], to process a text file, you cannot determine where you are "at" within a file. The following is … Software Development algorithm file-stream first-post vb.net | |
I've been working on a calculator program for a couple weeks now, and I'm stuck on how I can get the program to actually do the calculations. The short story is this: Let's say I have a string from the calculator that is "3 + 3" I can already convert … Software Development | |
Hello. I have built a hibernate project and the dropdown list and the table load data to the web page but the drop down list is not poulated with the names (derived from the xml id) There is a lot of code to paste. Is there someone that could help … | |
Dear All, would you please tell me in brief that " What are the applications of Assembly Language where any high level language becomes insufficient". Kind regard Software Development assembly | |
![]() | hi, i need urgent help with my code. My program, which converts word strings to its number equivalent, only works with special cases. Example: "nine hundred ninety nine thousand nine hundred ninety nine" outputs 999999. (which is correct.) But try inputting "nine million nine hundred ninety nine thousand nine hundred … Software Development java |
Hi, I'm new to xpath. I have some question I dont know how to do it.. I've googled about it and i dont see any solution. Question: I wanted to do a math calculation.(this i know how to do) but then i wanted it to display it out using my … Software Development xml ![]() | |
I am a beginner with VB, I'm coming from C++. When I compile and test the program the base pay textbox changes to 0, gross pay textbox to 0 and the total deductions turns to 0.25. For the life of me I can't figure out why. My little experience with … Software Development pay-per-click python vb.net | |
Hi lads (and ladettes) I have to create a mobile application that gathers user input, saves it to a document so that it can then be emailed back to HeadQuarters. Im new to this area ... although I have used the StreamWriter/StreamReader classes to create a new TextFile and save … Software Development vb.net | |
hello guys i got a simple project but not that simple at the same time. lol The user needs to input a number such as : 512 and the code needs to output the number but in letters(five hundread and twelve). Any tips? :) Software Development c++ | |
Hi, this might be a quick question, if anyone "just knows" the answers. I want to know a little about the differences between lists and vectors. For example, I think that the elements of a vector are stored in continuous blocks of memory (Maybe?) Are lists stored the same way, … Software Development c++ | |
good day, i rily nid help on something.... its about gotoxy in turbo c... 1st of all, can u use gotoxy in turbo c? (c++ 6.0) 2nd, if u can... can i ask how to use it? please help me... im just a beginner... lol.... h0pe u c0uld help me... … Software Development c | |
Hi All, I need to convert a Assembly Code to high level languages such as C/C++, C#, .Net vs vs. I found a [URL="http://www.microapl.co.uk/asm2c/index.html"]website [/URL]that converts it but with very very high price. I am looking for a simple program which tries to convert assembly to high level language. I … Software Development assembly | |
Hi guys, the thing is: suppose that there is an application (assumed that we are using Windows) waiting for some input data. This could be a password, path, search criteria (for example in the case of Google). I would like my Java application to 'enter' some text, and then to … Software Development java | |
Hi, I would like to know more about deploying Java application on mac.... I am going to start preparing a Java application which will be used by normal non-technical persons on mac. So, is it possible to create a setup like thing for users on Mac for a Java application. … Software Development java | |
Hey, Im having some trouble with linked lists, I have been givin a task where I am asked to crreate a linked list which reads in a random set of chars from a .txt file and stores them in a linked list, then prints them out in a seperate function. … Software Development c++ ios linked-list | |
How can i make my report header variable? I want 2 make my report header label as per a textbox filled in a form. How can i do it? Please help me.. Software Development visual-basic | |
I presume that by back button you are referring to a browser and you have implemented that with JSPs. In that case when the username and password are correct, save the username in the session before you redirect to the next page. Then when you go to the next page … | |
i want to create a login text file at each login , that will be stored in system folder that can be viewed but not modified....so that the person who logged last can be traced... here is my code : Is the code correct ??? if not what are the … Software Development vb.net | |
I need to code a linked binary min heap.Everywhere I go its an array based min heap..can someone direct me to some pseudocode for a linked min heap? Thanks for any help Software Development c++ | |
Hi all, please I want the code in vb6 to save content of all text boxes i put in the form to a database in the internet.. I hope you understand what I want :) Software Development visual-basic | |
Hello, I would like to know what you think about using XML files in order to exchange informations between different processes. I know this may not be the fastest solution but Il still think It can be very effective. What do you think about that ? Advantages and cons of … | |
Hey, I was wondering what is the most popular/best network library for free download. I guess I should give my situation, as that might decide which is best for me. Basically, I want the ability for 2 or more players on different computers, on the same LAN, to be able … Software Development c++ | |
hi i have trouble understand system.io . i read through the msdn, but ....still dun undertsnd how to use i know it can use to write and read from a text file using stream writer or reader the read code is like this but i cant understand [code=csharp] StreamReader reader=new … Software Development file-stream | |
what is .dll file. how it is work and how can i make it. please any body help me Software Development visual-basic | |
Hello All. I am currently working on a project that introduces us to recursion and was needing some help with my program. This is early code so i know many things aren't correct. [code] #include <iostream> #include <fstream> using namespace std; int str_length(const char[] str); int str_compare(const char[] str1, const … Software Development c++ | |
I m writting a project i want to save finger print image in sqlserver but io.filemode.open is error occured, how can i solve for this, help me '///////////////coding [code=vbnet] Dim sqlConn As New SqlClient.SqlConnection(ConnectionString) sqlConn.Open() Dim sqlComm As New SqlClient.SqlCommand("SELECT * From InkPaperData", sqlConn) Dim SaveAdapter As SqlClient.SqlDataAdapter '(" Select … Software Development dataset image open-source vb.net | |
Hello. I'm doing a html editor. i want a function to the html editor that change the color on the text when I press a button. Example if I write this code in the html editors textbox: <table><tr><td bgcolor = "abc123">hello</td></tr><table> And then I press the button would it change … Software Development html-css | |
I thought I understood how this worked, but maybe I do not. I intentionally left a field out of my compactdisk class (artist) so that I could create a sub class later, impliment it, and see how that whole thing worked. Sounded simple, I still think it is, I just … Software Development java | |
Hello everyone, Could you please explain to me how to write the user defined functions with multiple arguments? (specifically with 2 or 3 input arguments). And also, how to make one function to manipulate different data each time it is called? (for example area of bigger circle minus area of … Software Development c++ | |
how can i get an array to wrap around?? ex: array String[] whatever = new String[3]; if i ask for the whatever[2] +1 I want it to give me 0 not 3 and if i ask whatever[0] - 1 i want it give me 2 Software Development java | |
Does anyone know how to reference a COM library from the command-line? Specifically, I need to reference CDOSYS.dll. Whenever I try to include the reference when I compile I get a message saying: fatal error CS0009: Metadata file 'c:\WINDOWS\system32\cdosys.dll' could not be opened -- 'An attempt was made to load … Software Development ide | |
Can someone help me on how to write the program? The details i already upload.See the attachment.The due date is tomorrow,i hope someone can help me.Thanks! Software Development c++ | |
Hi everyone. I have a homework assignment to create a program with a sales reciept. I have done pretty good so far but my only problem is I cant figure out why the cash interger isnt working. The code is suppose to subtract the cash recieved from the customer which … Software Development c++ | |
1. Does Python have some built in [B]statistical functions [/B]- eg. like PERCENTILE, Root Mean Square etc ? I tried Python help and the web, to no avail. I checked standard Python maths functions and could not find anything too. If there is nothing built in then is there a … Software Development python | |
So I'm messing with some code, trying to get more familiar with string functions, and I stumbled into an apparent error on my part. Here is my code: [CODE]#include <stdio.h> #include <string.h> int main(void) { int len = 0; char *str = "This is a string"; char ch = '\0'; … Software Development c | |
I'm building a site and attempting to do everything I used to do in PHP in Python (what can I say, I just like it better!). There are a couple of scenarios that I don't quite understand, however. Such as: 1. If my plain ol' Python page is called from … | |
I'm making a Servlet application using the a MVC-like implementation, however I'm slightly confused on how I should delegate concurrent modification of the state of the Model object? I intend to use a database to hold information from a given session for a particular individual (the data will be retrieved … Software Development client-server java session | |
I have not been able to obtain an answer to this question anywhere (including here) so I’ll ask it again. I can understand that folks don’t want to wade through hundreds of lines of code looking for someone else’s bug, so I’ve worked very hard to produce the very smallest … | |
could anybody tell me how to sum the sequence given using loops instead of using any other function of c++? 1 + 1/1! + 1/2! + 1/3! + .....1/n! Software Development c++ | |
I am trying to write some cd details to a file, from a queue. First i have taken all details from keyboard to a Queue and the made to write all those to a file in ascii format. Each queue has details like CD ID, film Name, film language, film … | |
Hi there, i have some problems with lists and structs (or perhaps pointers in general) I am sorry if this was already discussed, but I really spend some time searching, but I am pretty new to programming and I did not find anything. I need to use a list of … Software Development c++ | |
![]() | I am using xls2csv.py from the module pyExcelerator in python but there appears to be a bug in it. [url]http://www.daniweb.com/forums/thread144178.html[/url] [code] #!/usr/bin/env python # -*- coding: windows-1251 -*- # Copyright (C) 2005 Kiseliov Roman __rev_id__ = """$Id: xls2csv.py,v 1.1 2005/05/19 09:27:42 rvk Exp $""" from pyExcelerator import * import sys … Software Development daniweb-bug python ![]() |
I am trying to make a priority queue with a specific type class 'alumnos'. I create 3 new classes (new, medium, old) who inherit from it. Then I insert the classe into de queue. I would like to use polymorphism when extracting to use the correct function 'verificarEdad' but gives … |
The End.