VS 2008 Making A "Key Generator" In VB?
Aug 19, 2009
How do I make a random number and letter generator? Im making a setup and I only want certain people to be able to use it. I want the keys in this format
Either
1.
XXX-XXX-XXX
2.
123-123-123
View 5 Replies
ADVERTISEMENT
Mar 31, 2009
<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -->
Hi!
Last time this forum was the most helpful in solving my problems in vb 2005?This time I am writing a "lottery number picking" program. The program randomly picks 7 numbers from 39, with pre defined conditions on the strength of statistical data, and writes the possible combinations in a text file. It works fine, BUT- the program generates number of combinations I tell it to generate. With other words it works like
For i = 0 to 1000
generate_number()
Next i
So this way I get 1000 combinations. how can I make the program generate all the possible combinations by itself?For example:
Do while (not reached the last combination)
generate_number()
Loop
While I don't know exactly how many combinations there are, I have a slight problem knowing which the "last" combination is.
View 11 Replies
Mar 4, 2011
I need alot of help... I was making a prototype "registration code generator" that creates 25 character GUIDs and outputs them to a listbox. then after it outputs, it does this:
For Each s As Object In ListBox1.Items
For Each z As Char In s
If counter = 4 Then
counter = 0
[Code]...
View 3 Replies
Nov 9, 2009
I made an application that manages someones pets. It's fairly simple, a grid showing all pets and their properties, to which the user can add new pets, edit existing pets and remove pets. Properties of the pets include name, color type, birth date and more importantly the animals father and mother (not sure if that are the right terms for animals, but meh). The father/mother must be chosen from the same database and their IDs are stored as FATHER_ID and MOTHER_ID in the current animal, so only existing pets (eg, pets added to the database) can be chosen as father/mother.
Now, the application needs to be able to show a pedigree of each pet. It should show the details of the current pet, preferably with a picture, followed by its father and mother, and their details. The same is done for both father and mother, and for them, etc, etc, until its has covered a few (4 or 5) generations.
I realize this may be a little hard to understand, so here's an "artist rendition" of what it should look like: As you can see it should display the name of each family member and some of its details. As you go up in the tree (to the right actually) the room gets smaller so less details are shown, until only the name remains. Obviously the blank areas should be filled with similar information, but I was lazy and paint wasn't really cooperating.
View 2 Replies
Jun 21, 2010
creating a password generator in VB using VS 2008.What I want to do is have a front end which has a text box (to enter password length), a button (to generate a password) and a label (to display the password).I have been successful in creating random numbers; however a password containing just numbers isn't sufficient. So I would like random characters including uppercase and lowercase letters.
View 4 Replies
May 23, 2011
i would like to create a password generator however i have a 2 text box aplication the top one is where the person types their e-mail address then select generate. the program must then use that address to generate a unique password only for that person if another email address is inserted in the top text box a total different password should be generated.
View 5 Replies
May 6, 2009
I wanted to know how to make a 13-digit number with -'s from the press of a button.
View 4 Replies
Jun 3, 2009
1. Is it possible to have vb.net piece together a legitimate word of a specified length, or do I need to have a massive word list, and generate a random number to pick a word from this list?
2. I also need to separate each letter of the word and display an image for each letter, and each letter going to the next based on a timer, and can also repeat on a button click.
Eg: TWO would end up displaying T W O, a few seconds apart from each other.
View 19 Replies
Oct 4, 2009
I wanna make a post generator that will give me codeing like [/code]
[/img][img]
....
so when i enter information in boxes it will create coding with every info ive put example
title
visual basic
Screenshot
[code]....
ive got the design ready but how would i implant them tags into my visual basic code got a an example program too check attachments?
View 5 Replies
Nov 21, 2009
How can I make a random number generator in vb 2008? I just want a simple one that displays a random number in a label.
View 4 Replies
Apr 4, 2010
I am trying to do a somewhat different pw generator. The user can specify the amount of characters the password will be and whether to randomize between the alphabets A-Z, numbers 1-10, and maybe a hand full of symbols or so, and a combination of all three options. Also the user can use the "re-generate" button if he/she does not like the current password. I'm fairly new to VB, and would just like a push in the right direction to get started.
View 6 Replies
Jul 4, 2009
I've ran into an overflow error when using a private sub and a random number generator...
Private Sub computerpicker()
Dim RandomNumGen As New System.Random
Dim rnum = (RandomNumGen.Next(3))
If rnum = 0 Then
rnum = (RandomNumGen.Next(3))
Call computerpicker()
[Code] .....
Even if bt1=0 and bt2=0 i still get an overflow error...
View 4 Replies
Dec 4, 2011
i follow this script Quote:
[Code]...
View 2 Replies
Nov 23, 2010
Right so my generator is working, but I now want to take the numbers that it generates and add them to a list of generated numbers. So you can monitor what numbers have been generated. then ideally a way to exclude these numbers from being generated again.
[Code]...
View 34 Replies
Aug 7, 2010
I am trying to build my own website and realized that it would be a big help to also create my own vb program to enable me to embed tags with simple clicks of buttons. I am having trouble getting my vb code to be compatible with html code (I keep getting vb syntax errors).
Here is what I've tried:
<strong>'Inside of a button:Textbox1.text = "<html tag example></html tag example>"</strong>
View 1 Replies
May 16, 2012
I'm a huge music person (got my own lil record thing going) but I'm wanting to design a program that would make music in my way. I have a decent amount of background knowlege of Visual Basic and Java I'm just wondering how could I execute this whole project. The Project is making a MPC Sampler. MPC is a drum machine; a machine with buttons that once you press it that it will play a sound from a drum (ex: snare, kick, tom, ect.) . So I would want to make some pads on my program that each have their own sound. Total of 16 pads. Which the design wouldn't be hard to make nor would the functionality of it having the play back sound (in my opinoin it wouldn't be hard atleast). But the thing is I wanna map out these pads to number keys on the number pad or keyboard. I'm not so sure how to do that. But that's all the easy stuff...
Also finding information is making a sound directory. What I mean by this is that I want to make a User Interface that will open up a file directory of sounds and the user can select what "kick" or "snare" sound he may want for the kick or snare pad. I don't know how to do that or even know what to search; neverless I don't know if this whole project idea is a good idea for Visual Basic or another programing language.
Also LATER ON I am wanting to add a record and export function that alows users to..well...record and export their beat or instrumental ha. That doesn't seem too too complex (mainly due to the fact that all it needs to do is record the users key strokes and then show them and play the sounds, but obviously it would get more complex than that.)
Here is an image of one of many MPCs but one with a directory - [URL]
View 5 Replies
Jan 20, 2010
I have to write a program that allows users to specify two numbers and then adds, subtracts or multiplies them when the user clicks on the appropriate button. The out put should give the aritmatic performed and the result. I inserted an attachment on what it should look like also Public Sub btnCompute_Click() Handles btnCompute.Click " here at this one I am getting an error message Error 1 Statement is not valid in a namespace. C:\Users\Tiffney\Desktop\School projects\WindowsApplication1\Form1.vb 1 1 WindowsApplication1"
[Code]...
View 14 Replies
Jan 1, 2011
I am having some trouble with patching a file in Visual Basic 2008. The idea is like that.
1- Store File In The Program Using "Resources".
2- If The Program Is Runned. My Program Should Show This Message "Please Close The Program" Or Making My Program Close The Program That I want To Patch.
3- If The Program That I want to patch is closed. Then When you click the button. the file dialogue opened and give to user the ability to choose the file that i want to modify "Replace or patched" after that the file will copied from resource and replaced the old file "Patched" after when this operation finished.
4- show this message "Your Program Is Patched. Enjoy", and the resources file should be crypted Waiting The Solution.
View 6 Replies
Feb 9, 2011
I want to create an app that is constantly running and as part of my desktop toolbar. When I mouse over the icon, I want the list to show in front of all other windows on the screan. I, also, want it to fade away once the mouse leaves the icon.If the icon is clicked, the window displays.
I want to be able to click-and-hold the title bar to move it around when the window is displayed. I want the full display of the window to be a check box list with each line being ~25 characters long. At the top of the window, there should always be an open line on top of the list where I can enter a new "task," and hitting the "ENTER" key will save the line and move it down one line, as well as the entire list underneath
The action of ENTERing a new "task" should spawn a new open line at the top of the checkbox where the user can enter a new task. When a box (located to the left in front of each line of text) is checked for a line, that line will disappear."Checking" a box should move every line underneath of the Checked (and thus deleted) line up one line. There should be a "close" or "minimize" (depending on how you keep in to the task bar) button the hide the app when I'm through using it.
View 1 Replies
May 17, 2009
Im making a Program in VB 2008 for Tablet PC's in which you Log in Using a Virtual Keypad. i need to know how to insert a number, like in MS Calculator. (to press a button, and for a number to be added to the text box)
View 1 Replies
Mar 18, 2012
I have a small project from my university they have asked us to make a calculator , well everything is easy so far except the 3 last functions that I need help with.
as we all know vb has already some math functions implemented in its libraries the problem here those functions giving me wrong results I am trying to get math.tan(lblnum.text) math.sin(lblnum.text) and math.cos(lblnum.text)
they don't output the correct numbers any idea why?
View 4 Replies
Aug 22, 2009
VS 2008 Making a line in a DLL?
View 9 Replies
Dec 3, 2010
I have made some real time systems (softwares). Now I want to make an system (software) in vb.net 2008 which reads an bar-code saves the data in the database (SQL Server database). I am very new in making these types of system, thus i would like your help of making an system using bar-code scanner through vb.net 2008. Specific to my question I will require all the steps for creating an bar-code system through vb.net 2008. I am waiting for your reply.
View 1 Replies
Jun 25, 2009
I am looking for a tutorial for making reports with Visual Studio 2008. I have a VB.Net app using hard coded MySQL statements and variables from different parts of the program, mostly the server as I have the same app with options to connect to different servers with the same back end structure (different data unique). As far as i know I can not use data sets (I think thats the name for them) as that would mean one program for one location.
View 4 Replies
Aug 23, 2009
Well the thing is im making a tool for a game(No hack)the display is like this Name : [here a text box] Time : [Here can be laber or textbox] [start] [stop] [reset] in the first textbox the user who is using the program have to put a player name and in time when they click start in the second textbox or labe it should start countingdown from 1 hour 1:00:00.Stop only stop the time but let the time where it was and reset to reset the time.so when the time get to 0 something should pop up with the name of the player that the user put in the text box like MsgBox Frolox's time has finish or something like that but it have to appear in top of everything.
View 16 Replies
Sep 24, 2010
I'm try to make a simple small Anti-Virus application. This is not for commercial use. Just to test it, and maybe learn something that will help me in the long run.First, please don't reply by saying "C#" or "C++" is suggested for such as task.This is just a test application. Lets start with simple stuff such as "virus signature"I found this example: Which i believe reads the file, and checks for the sample signature.
VB.net
Function detect() As Boolean
Dim file() As Byte = {1, 2, 3, 4, 5, 6, 7, 8, 9} 'sample file
Dim virus() As Byte = {4, 5, 6} 'sample signature
[code]....
Third, then what i read was that i have to get arbitrary string of bytes as the signature.Which i needed to use hexadecimal editor to view such data.how can i detect virus file, from normal file.
View 10 Replies
Aug 2, 2010
I am making a countdown timer, however, it is not perfected yet.
View 6 Replies
Nov 3, 2009
I plan on making a Visual Basic Project that involves playing a series of videos. I wanted to have six videos in my project. The videos would be selected through checkboxes. Once the videos are selected, I wanted them to play automatically one after the other from one video player either in the same form or in another form.Is this possible to do? If so, how would the coding work? I am using Visual Basic 2008 Express Edition.
View 2 Replies
Jan 9, 2010
I have an existing apllication that run on XP. What do I need to do to make my application to run on Windows 7.
View 10 Replies
Aug 9, 2009
I am using a rich text box and I know a simple way to change the color of a selected word...but I can't make it do it for all the words.Do I need a custom control for this sort of thing...?Also, example: word "If" becomes blue, and all If's in the RTB would be blue.
View 9 Replies