Make A Program That Generates A Combination Of Letters?
Feb 8, 2011
How can i make a program that generates a combination of letters,starting from user-specified to the end of the user-specification. here is an example of what i mean:
aaa
aab
aac
aad
aae
and so on...
How can i make this?
View 1 Replies
ADVERTISEMENT
May 19, 2009
I'm looking for some function to put together every possible combination of letters and number to create a string that is 14 characters long. I have found ways to make every possible combination of letters and numbers seperately. However, I've never run across anything to come up with them together. Every string created must contain letters and numbers.I just have no idea where to start on this one.
View 9 Replies
May 17, 2009
write up the code for a program that could find all combination of the letters in a textbox and input the outcomes into a listbox, and I don't want any of them to repeat.
View 6 Replies
May 23, 2009
I want it so that when someone clicks a button it generates a code in the format of XXXXX-XXXXX-XXXXX-XXXXX-XXXXX I want them to be letters and numbers combinations
View 10 Replies
Jun 24, 2010
I'm trying to produce every possible combination of the letters in a word, however I've been very unsuccessful at figuring this out.
I can't seem to grasp what I need to do to get this working, I've been at it for the last four hours or so.for example, the word "one" would produce: one, oen, eon, eno, noe, neo.
View 5 Replies
Jan 7, 2009
i have a Program that filters out Text from a site but when Characters like:� � � � are there it makes them to: ?How can i make them show right in the Program?
View 6 Replies
Nov 11, 2009
I'm wanting to make a program that translates binary code into numbers/letters and numbers/letters into binary code. I know the general system of binary code, but I dont know how to translate anything with VB.net. Is there a general command I need to use or can someone link me to a good tutorial about translating?
View 2 Replies
Sep 26, 2011
I've been working on a program that generates a batch file, then when you press a button, it executes that batch file. There are multiple batch files attached to each item in the list box.
[code]...
The only thing that it does when I press the button, is starts the batch file, then goes to function searchtitle, which executes the batch file again when it finds out it didn't work properly.The button text doesn't change, none of the items are being added to my first list box, and I can't do anything to the window after pressing the button. It constantly opens the batch file every 5 seconds or so.
View 2 Replies
Oct 20, 2011
I am making a program which generates a random number between 1 and 10 and when 7 appears it is suppose to tell you how many tries it took to get the number 7 and then end the application. This is the code I have used:
CODE:
This code only generates the number 7 and exits the application, each time i click the random button but i want it to show the other number it randomizes too for example 1 2 3 4 .. etc, if u dont understand, please try it, but im trying to say, when i clikc random it just says number 7 (does randomizing in background) and tells you how much tries it took but i want it to show the other number it randomized also and when 7 appears, then exit the program
View 2 Replies
Jul 14, 2011
[code]......
View 1 Replies
Nov 25, 2010
I'm supposed to make an app where computer generates a random number using a function and then the user has to guess the number. If they get it right, they see a picture.... If they get it wrong the loop keeps going until ten guesses are up.. I'm running into quite a few problems...
1. I don't know how to tell if the photo will show up if the number is right because right now I have it set to false in the form, so it dosen't show up but in my loop I included the code that SHOULD allow it to show up if both numbers are the same.... Not sure if this is correct...
2. I have a textbox that is supposed to keep track of the number of guesses but the message automatically becomes Game Over and the guesses go up to 11 as soon as I click the Are You Right Button?
3. When I try to debug, my app freezes and I don't know why...
[Code]...
View 4 Replies
Feb 9, 2010
I'm planning to create a vb.net program that generates mysql codes.Is is possible that after the program has generated the code, it will copy it in to the clipboard immediately?
View 3 Replies
May 25, 2009
I'm making a program that generates a picture of armor from a website, this armor is the armor a player is wearing on a game called halo 3. My problem is that I have the list of armor for the two races in the game in the resources and I need to know if this would be the right
Head.items.addrange(my.resources.SpartanH) Head is the combobox SpartanH is the name of the text file in my resources, if I've got my code all wrong, will someone please correct me?
View 2 Replies
Nov 26, 2009
I got a little program that generates a random line of text from a .txt file and all is working well, at least for the most part.
On occasion I get an error message popup saying "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: Index."
Here's my code:
CODE:
The last bit is where the random number is generated, which I am guessing where the problem itself is, but am unsure as to how to fix it...
View 1 Replies
Apr 20, 2009
I have an application that the main screen currently has all exit functionality removed by use of a class. I want a certain key combination to exit the program, but cannot figure out how to do this. I.E. Ctrl + X.
[Code]...
View 6 Replies
Sep 10, 2010
I've been looking through the book I own and I've been looking online but I just don't understand what code would I write to have it check the text box or input box for the right letters in a word?
View 2 Replies
Mar 15, 2011
I'm trying to make an application where when the user clicks a button, it generates a series of 100 random numbers between 1 and 1000, and then saves those numbers in a text file. All I could come up with is generating ONE random number, but I can't figure out how to make it 100. Here is what I have:
[Code]...
View 4 Replies
Aug 24, 2010
I'm entering data into a text box, and I want to make sure the data I enter contains only letters. Is there any way in Visual Basic that I can go about doing this?
View 7 Replies
Jul 12, 2010
I'm retrieving some norwegian letters for my application. I know that the norwegian letters has something to do with:iso-8859-1 But I have no idea how to implement it in my application.
View 5 Replies
Nov 4, 2011
i cant get it to work.I am creating an application on visual basic that displays the number of times a specific letter occurs in a word or phrase. (both upper and lower case counts)So far this is what i have, and its not working:
private sub BtnCountLetter_Click(ByVal sender As object, ByVal e As System.EventArgs) Handles BtnCountLetter.Click
Dim strText As String
[code].....
View 20 Replies
Jan 17, 2012
I have to (for class) make a program that generates a safe passwords for people to use. My teacher wants us to make the passwords vary in length, include numbers, letters and upper case letters. I've been able to write code that prints out a random string but it includes unrecognized characters for most passwords. How would I write the code to create a random string that has parameters? (in this case upper case lower case letters and numbers).
View 9 Replies
Jun 9, 2009
how can i make a textbox that just write number not letters
View 2 Replies
Nov 15, 2011
I'm having trouble with the Try...Catch code. I'm trying to make the textboxes only accept letters A, B, C, or D as answers from the user. I'm also having trouble matching the two arrays. I wanted it to be like if textbox1 is A then it is correct but in a loop. Please take a look at my code.
This is the programming challenge instruction for reference: The local Registry of Motor Vehicles office has asked you to create an application that grades the written portion of the driver's license exam. The exam has 20 multiple choice questions. Here are the correct answers to the questions:
[Code]...
View 9 Replies
Oct 14, 2009
I have an assignment that requires me to edit some code, I already did most of it but I need to make txtState control to only accept letters and the backspace key. I was never taught how to do this and I only know how to do it with numbers. Here is my code with everything done, including the format I was taught to do keypress in with numbers and backspace. Can someone show me how to replace those numbers pr whatever to work with letters?
[Code]...
View 3 Replies
Oct 15, 2011
Making a program that generates random numbers for a "Lottery" (really for homework). Four different types of games and must show up on the GUI when click generate. My question is do you have to have different dim randomObject As New Random() for every Sub to produce different numbers? Every single type of game has different range of number. The Sub needs to return the results back as a string. If I request the method each time will I get a different number back from the range? Here is what I have but just so lost.
Public Class LotteryNumberGenerator
Dim randomObject As New Random()
Private Sub genButton_Click(ByVal sender As System.Object, ByVal e As
[Code].....
View 1 Replies
May 25, 2009
(Write a program that requests a word containing the two letters r and n as input and determines which of the two letters appears first. If the word does not contain both of the letters, the program should so advise the user.)I got the program to work but he said its wrong because we need to have it looping and if one of the letters is missing you also have to say which one is missing.I have some of the pseudo code but I don't know how to make it work.If Index of("R") = 0 or index of ("N") = 0 Find out which is missing and display message.Else Find larger and display message.
[code]...
View 1 Replies
Sep 30, 2009
how do I get the program to check if the inputted word has ascending alphabetical letters
Public Class frmAlphabetical
Private Sub btnPress_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPress.Click
[Code].....
View 4 Replies
Apr 2, 2012
I'm keeping track of some things that are numbered and others that are lettered; while NumericUpDown is perfect for selecting numbered things, I need an analogue for selecting lettered things. The obvious choice would be a listbox that just contains all the letters of the alphabet. But I need to show only the appropriate range of letters, so if I want to use a listbox, I need to write a function that populates the listbox with the first n letters of the alphabet; if n > 26, it should continue with aa, ab, and so on. How do I do this?
View 17 Replies
Jun 29, 2009
I want to make a function in VB 2008 with which u can make a textbox change some letters within the textbox when u click a button. So example: Textbox1 has got in it: url...Then when I click button 1, it has to change ....
View 8 Replies
Sep 9, 2010
How to make validations for textbox allow numbers only or textbox allow letters only?
View 14 Replies