problem with IndexError: string index out of range
So my code is the following: def correction(search_str, target_str): i = 0 new_string = '' while True: if search_str.find(target_str[i]) != -1: new_string = new_string + target_str[i] else: break i = i...
View ArticleEncrypted data sending and recieving software
Is there any possible way to make a software in which you first encrypt text and then save it or email it to someone else who will be able to view to data in its decrypted form. I tried the RSA...
View ArticlePositioning of walls
Hello, I am contacting you because I need help. Then I is an image in this image I made a script that randomly put walls on the image, the problem is that I want the walls arise randomly in a part of...
View ArticleFix Run javaftp Swing Error?
import java.awt.BorderLayout; import java.awt.Color; import java.awt.Cursor; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import...
View ArticleHow do I use a 2D array?
how can i use 2D array to connect between vb.net and access data base and how can i use the same array with multiforms program ??
View ArticleGraphics and Animation Problems Using XNA
Hello, i am new to XNA i started like two weeks ago and i saw a game show Word for Word Game show. is it possible to do that with XNA and how, or what other API can be used if its not possible with...
View ArticleConnect Google Spreadsheet to VB6 Application
I have to develop a program where my VB6 program has to retrieve data from spreadsheet stored in a Google Doc. The said spreadsheet is public, so there's no need to log in. I have to use VB 6 only. So...
View ArticleHow to creat a hacking software
I know c, c++, and c# basics and wanna become an expert in programming. will any one please tell me that which language will be best for creating softwares or for programming specialization???? also I...
View ArticleQuestions regarding transaction executions
I have started learning about databases and SQL, and recently studied about transactions, including deadlocks, shared (S) locks, exclusive (X) locks, wait-die protocol and wound-wait protocol. The...
View ArticleReliable ways to transfer file between client and server
Hello Friends, I am working on the project to transfer the file from the client to the server. Can anyone suggest me the ways which are reliable to transfer the file between client and server. Thank you.
View ArticleDirectX wrong collision
Hi everyone. I have a quick question. What could be the problem if you see the included screenshot? I really don't know how this can happen. The lines in the screen shot are from a Debug Renderer....
View ArticleSaving Information
Hello, I am trying to create a GUI program that allows a user to create an account and then login successfully. I want to be able to store the information (user name and password) somewhere so that...
View ArticleAwaiting for some key to be pressed without looping
Hi ! I need some way to wait in a easy console app for some key for example left arrow to be pressed. I have tried things like this: if( GetAsyncKeyState( VK_LEFT ) & 0x8000 ) but this code if(...
View ArticleAwaiting for some key to be pressed without looping
Hi ! I need some way to wait in a easy console app for some key for example left arrow to be pressed. I have tried things like this: if( GetAsyncKeyState( VK_LEFT ) & 0x8000 ) but this code if(...
View Articletrying to retrieve image from the database
hi, i'm trying to retrieve my image from the database, as its stored as an array of bytes. and display in my picture control in winform. I'm currently getting an: invalid operationunhandled excepetion....
View ArticleData conversion / manipulation
Hia all, Hoping you're all having a great festive season !! Quick question to pose :- I've a DataTable that has a single column and houses data in string format (as imported from external files). I'm...
View ArticleDisplay full file path
I have a program which connects to a Bluetooth device and then displays folders in a listview which are inside that device. I am attaching a picture which demonstrate what I have told above....
View ArticleGenerating field-level variables inside of a function
This is actually a two part question, one being generating field-level variables inside of a function and the other being how to generate new variable names. So below, say I have a string called str...
View Articleproblem with server-client in java
hi, i m new in java and i m trying to run a calculator with server-client. When the user presses the equal button, two numbers and a string sending to server (as an array of Strings),calculating and...
View ArticleI want to display the file path of those displayed folders, How I can
I have a program which connects to a Bluetooth device and then displays folders in a listview which are inside that device. I am attaching a picture which demonstrate what I have told above. image Now...
View Article