64,152 Solved Topics
Remove Filter ![]() | |
alright, I'm new to this community and I have been reading the beginners posts, and I am still having trouble. I need to design a function for a class. It needs to convert decimal numbers to base 16. So for example if the input is 705083, then the function should … | |
Whenever I try to place Msflexgrid component on the form,it show me the message,"You don't have the liscence to use this control. Please send me solution for that,or tell me the other method to show the grid,as I only want to show the information in the grid form. | |
Hello beautiful people..! i need a way to run a python program from another one... does anyone know what is the best way to call a process which runs another program in python, and when running that child process, causing the parent process to continue without waiting for the child … | |
hello, another stupid question but what is wrong with this? [code] infile.open("new.txt",ios::app); if (infile.fail()) { cerr << "Error"; exit(1); } [/code] ever since I've added the ios::app it keeps printing error and then haulting but from my resoruces if you want to append a txt file thats whats the syntax … | |
I have no idea how to use these two. I tried for 2 hours. And I also read the c++ books, but no luck. Can some body start me out. | |
I am currently working to store passwords into my SQLDatabase table. I would like to hash the password columns to make it more secure. I know that i can use either SHA1 or MD5. Refering to this website, [url]www.codersource.net/csharp_sha_md5_encryption.html[/url], i try to write the VB.NET codes. Private Sub EncryptPassword() FormsAuthentication.HashPasswordForStoringInConfigFile(txtbox_password.Text, … | |
I want to make a small backup script to copy files to cdr. Are there any python modules that can accomplish this? | |
ok, so i want to mak a keylogger, so i can see how they work. I am TRYING to follow [URL=http://www.webtropy.com/articles/art4.asp?Keylogger]these[/URL] instructions. i am having a really hard time with the mouse functions. its saying mouseeventargs not found... if you know a better way to make a keylogger. Please let … | |
Hello, I've been experimenting with different Python IDEs since I started to learn Python. I must say that WingIDE is the best I tried, but unfortunately it's not free and that 10 minutes use is killing me. So I decide to write my Python programs in DrPython which was recommended … | |
Well, here is the gist of the problem. When I read in a file of integers, if there is a formatting character at the end, the last integer is repeated. For instance, in the code, it is reading i01.dat. If that file reads as follows: 2 3 4 5 with … | |
Hi, I've created a GUI program that has JButtons for like a menu. I am trying to get the action listener to do a whole other method. EXample: view.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { menu(); System.exit(0); } But, It will not go to the method. It displays an … | |
I found this nice online book with exmples [url]http://www.byteofpython.info/[/url] | |
Does anyone has ideas on it?Can show me the way? | |
Hello, I'm trying to execute this simple code: [code] class Person: population = 0 def __init__(self, name): print 'Creating % s peron' % name self.name = name Person.population += 1 def __del__(self): print 'Destroying %s person' % self.name Person.population -= 1 prvi = Person('Asimi') drugi = Person('Mici') [/code] I'm using … | |
I do: paramField.ParameterFieldName = "P1" ' Set a value to the parameter. paramValue.Value = strTemp paramField.CurrentValues.Add(paramValue) paramField.DefaultValues.Add(paramValue) ' Add the parameter to the ParameterFields collection. paramFields.Add(paramField) CrystalReportViewer.ParameterFieldInfo = paramFields strReportSource = strReportSource & "Transaction For Specified Account.rpt" CrystalReportViewer.ReportSource = strReportSource Then I get "Load report failed" Any suggestions? Thanks.... | |
Can any one let me know whether we can create Crystal reports from Asp.net at run time based on the user's selection of tables and fields that appear in the report. User should select fields and tables in aspx and based on these the report(crystal report) should be developed.Here user … | |
Hi, I've been trying to make a really simple word unscrambler, that takes a scrambled word, and then compares it to a txt file filled with words. The problem I'm getting, is that I'm trying to only read the first word of each line, and if it finds the word, … | |
If I have a vector<string> and do a find, the find returns me an iterator. How do I know what position of the vector does the iterator point to? for example. [code] vector<string> myVec; myVec.push_back( "A"); myVec.push_back( "B"); myVec.push_back( "C"); myVec.push_back( "D"); vector<string>myVec::iterator myIter = myVec.find(myVec.begin(), myVec.end(), "C" ); if … | |
Hi I have a C++ dll which was designed to handle an Access 97 database using dao classes. I now need to convert this to Access 2000 / 2002, but when I run it, I get 'database format not recognised' errors. Presumably, I need to recompile with different settings somewhere. … | |
Hello! I'm new here, and also beginner with php programing. i'm just starting to learn the basics, and I mean very basics. :o I have a little problem, what I want to fix on my homepage. the situation is the following: (photos.php) [URL=http://shclass.fw.hu/demo.gif]http://shclass.fw.hu/demo.gif[/URL] This is the starting point. Now, what … | |
Hello, I need to write a script for a program I am running and I have never written on. I don't even know what commands scripts use, or what they even look like. Does anyone know any tutorials or example I could modify to fit my needs? Thanks, -Al | |
I am making a database that tracks the inventory of a tool room. This includes info about both shelf tools and tool box inventories. Each inventory has about 300 items in it, and there are about 9 kits. The info was already put into excel, and instead of re-typing the … | |
Hi, I have tried a VGA mode in C with graphics.h which displayed graphics in 256 color but 320X240 resolution. I want to know the way to display graphics in 256 color in 640X480 resolution.Can anybody please help me.? Also I have tried to display a bmp file using graphics … | |
Hello Everyone, This is my first day here. I've not browsed the site yet. But I wanted to know the answer of these questions. I'd be glad if anyone of you can help me. 1.Write a C++ program without using any loop (if, for, while etc) to print numbers from … | |
Here's a cute little encipher/decipher program with a Tkinter GUI I wrote a while back. It's an implementation of a derivative of the Vigenere algorithm; the algorithm is taken from Laurence Smith's [U]Cryptography: The Science of Secret Writing[/U], Amazon link [URL=http://www.amazon.com/exec/obidos/tg/detail/-/048620247X/qid=1125004078/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/102-6170856-3267319?v=glance&s=books&n=507846]here[/URL]. It's a dated book (and the technique itself is … | |
Hello, I am new to Python and I am just starting to figure things out but this one has me stumped. I need to capture the exit code of my processes in order to track them in a database. I have all the other components working except this. In DOS … | |
I installed IIS server, all the components (framework and wotnot), and finally Visual studio .NET 7.0 (2003) When I run an ASP.NET Page, I get the following error...I tried everything but in vain :( can u help me out plz? [url=http://imagebag.cfsmedia.co.uk/][img]http://imagebag.cfsmedia.co.uk/images/6303176.jpg[/img][/url] | |
Hello, I've downloaded PythonWin as a better IDE for writing Python code. I came across an interesting issue (as vegaseat pointed out) When I try to write this sentence in my native language "Ja sam | |
Can anyone pl. mail turbo c++ setup as attachment to << moderator edit: email snipped >> | |
hi again people, im working on a simple program to look into a text file and output details about it. It seems to work fine for the first part but at the end of a while loop the code seems to stop working, i have had a little play about … | |
Can anyone help me in this matter i am looking for a code to connect my MS SQL so i need the APPROPRIATE SQL SERVER DATABASE CONNECTOR . i have a download which only works with MySQL ,and i do need help with the MS SQL one Thank you in … | |
I want to read everything from a file using python. the one problem i am having (note: EVERYTHING from a file) is that python is returning an EOFError when i know that it's not the end of the file, is there any way to just read the damn thing till … | |
I'm completely new to python and really need help with this. I have written this basic cash fund program that allows a person to withdraw, deposit, and receive a balance from it. But now I need to now add email capabilities, by setting up a database (or list) of account … | |
Hey there, i have a simple question about getting a script to do two things at once. like this. for i in range(100): print i time.sleep(.2) if i == 15: os.system('python /home/me/ipupdate.py') print 'done' when i run this, it stops at 15 and runs the script called out in the … | |
Hai Friends This is my first post to this forum. I am new to Python but I find its quite interesting. I have a problem with the folowing code... ########################## import telnetlib import sys HOST = "192.168.10.5" USER = "somename" PASSWORD = "somepassword" telnet = telnetlib.Telnet(HOST) telnet.read_until("login: ") telnet.write(USER + … | |
i have an interesting project at work going on. here is the challenge. i am using the serial module to read data from a serial input. it comes in as a hex. i need to make it a binary and compare it bit by bit to another byte. They have … | |
Hello! I need some help... I parsed an xml file using the minidom.parse method, but when i printed the document object to the screen (using toxml() function), i noticed that the parser automatically replaced my " (inverted commas) chars into ' chars. for example : <Father_Tag> <Son_Tag title=' "Son" '> … | |
how do you document simulation of algorithms ? | |
[FONT=Trebuchet MS]Dear all: I've created TCPsocket in linux using C++. It receives an array of unsigned characters. I need the corresponding hex values in character format. i.e. "ABC" in hex it is "414243". Now I want to treat each of "414243" as character. So I have done the coding as … | |
Hi, I wonder if you can give me any advice how to learn Python. My plan is to read python tutorial in documentation from begining to the end, and then to get some book (learning Python, or Python in a nutshell). How long it will take (in average) to get … | |
Okay fellows. I got a really tough one. I got it licked pretty much except for one part. This is the implementation of the ADT DigitalTime. You are to enter two different times in military format (i.e. 1:30 pm is 13:30. It is suppose to spit out how much time … ![]() | |
do you know of any api in c++ that could give me time in this format: hh:mm:ss I used strtime in lccwin32 but it is not compatible with other compilers | |
I recently received an email from a DaniWeb member saying they're trying to use the blog RSS feed with the Bloglines feed reader, and it doesn't seem to be working. However, the forum RSS feed does work. The forum RSS feed is at [url="http://www.daniweb.com/techtalkforums/external.php?type=rss2"]www.daniweb.com/techtalkforums/external.php?type=rss2[/url] The blog RSS feed is at … | |
Hello, I've just started to learn Python. I have two questions: 1. Is there any way to set up default folder for Python files (that Atest from introductionary example)? 2. can you suggest any good Python IDE (existing is OK, but I have a fealing that I'm working in ordinary … | |
I have a script that is called by a batch file. Whether or not the script completes successfully the batch file continues. I need to know the results of the script. Is there a way to open an IE session, and call a CF page that I can pass an … | |
Hi pros and experts. I am experiencing some trouble in doing up a code which could evaluate the input into the different data types. What i managed to acheived is to read a file and its content. I used strtok to break the string into various 'tokens'. Now the problem … | |
I would like to write good code, it is so east to start writing crap. Is the following bad. lets say I have the following code [code] testvar = 5 def test(testvar): print testvar test(testvar)[/code] is it a bad practice to use the name of a variable or function in … | |
Hello, I'm almost done with my program however I'm having trouble getting what I want printed to a file. I'm familiar with the printf function and what I want is to print out to the file in scientific notation, which would be %E if I were using printf. Is there … | |
I’m having trouble entering data from a file into an integer and character array. Basically, in this file, some the data I want transferred into a character array. Other parts, I want transferred into an integer array. I am able to get data into the arrays, and the char array … | |
Hello everybody, I just signed up, 'cause I looked through the internet over days to find a solution for the BASIC function GetKey(). It simply returns the Scancode of a key pressed by the user or 0 by default (if no key was pressed). I found the well known BIOS … |
The End.