VS 2008 Generates Catalog Number For Library?
Mar 3, 2011
generating a catalog number for a library system?It is one of the requirement of the panel in my thesis, though its not fits correctly but atleaast, there is suggestion given in a generated catalog.
View 3 Replies
ADVERTISEMENT
Nov 29, 2009
Anyway, I'm primarily a web developer so I'm only really fluent in PHP and everything else it entails.For my assignments the examination board suggests Visual Basic, so I'm just needing a little help as I'm not too great at it yet. [code] How could I ensure it generates a number 1-13 BUT doesn't ever generate a certain number, e.g. generate a number 1-13 but NOT 7.
View 4 Replies
Sep 20, 2009
I need to print a card catalog using Vb.net like this format:I'll be using values form textboxes to be printed.I've already read this thread [URL] printing such in a more easy way to understand, I need to preview it first before printing.
View 7 Replies
Feb 15, 2011
I'm Trying to make a piece of software where You enter a number and the computer measures the length of the number, and then generates random numbers to match the human number. It will then count the number of guesses and the time taken. However it always comes up that there was a infinite loop "An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll". I have searched up how to do this and I can't seem to find out how. I think I just put my wording wrong when looking it up. My Software Has Has 2 TextBox, 2 Buttons, 6 labels (4 just to make it user friendly) and a timer.
Here is the Code:
Public Class Form1
Dim TimeTaken As Integer
Dim GuessesTaken As Integer
[Code].....
View 9 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
Apr 1, 2010
I am trying to write a random number function that can just be called from my main module to generate different random numbers. I have tried this several different ways and I am having odd results. Approximately 19 times out of 20 the numbers come back exactly the same, but approximately 1 in 20 they come back as two different numbers. Im using Visual Basic Studio 2008. Here is the code I have so far, or rather, the current version of my many tests I have been running to try and figure it out. Sometimes it takes many runs of the program before the two seperate numbers apear.I've been researching it and have come up with nothing so far.I know I could put them in the module section as two different randoms and it works, but I get extra points if i use a couple classes in my program.This is the main module.
Module Module1
Sub Main()
Dim randomNumOne As New RandNum[code]...........
View 4 Replies
Jul 31, 2010
I've created code that generates a random number and validates the users guess to see if its correct. I think the code is good but i'm not 100% sure. I need to add additional pieces to the code and i'm not sure where or how to do it. allow the user 10 guesses. after 10 guesses disable the ability to make more guesses if the 10th guess is wrong count each guess entered & display the count as it increments display each guess along with its returned messaeg into a list box. when the user gets correct answer provide a box to allow them to play again. Re-initialize variables back to their starting status.
a. If the user correctly guesses the number in less than 5 guesses display "Either you know the secret or you got lucky!" in a message box. b. If the user correctly guesses the number in 5, 6, or 7 guesses, display "Ah Ha! Do you know the secret?" in a message box. c. If the number of guesses is 8 to 10, then display "Try to do better next time." d. If the number of guesses exceeds 10, then display "You have taken too many guesses."
[Code]...
View 3 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
Apr 21, 2009
I am trying to send an email from my program, but am getting an error.The error is: "Mailbox unavailable. The server response was: 5.7.1 Unable to relay"The puzzling thing is that I only get this error with addresses not on our local LAN. This code generates the error:
Private Sub btnSendMail_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSendMail.Click
Dim Message As String = "This is a test message to validate the email transmission
[code].....
View 8 Replies
Jul 28, 2009
How can I make a command button, When clicked, Generate 4 random digit numbers? such as 5545 or 7492, Any random 4 digits.
View 13 Replies
Oct 13, 2011
2008/2010 - automatically download a file from a website that generates
View 2 Replies
Mar 15, 2012
I have a website which has a section under maintenance with a button called create a new file - when you click on this button it does a backup and generate a filename on the same page called *.tbf - the filename changes each time you click on create a new file
[Code]...
View 2 Replies
Apr 30, 2010
I'm working on a program to catalog MP3s (I know, it's a tired thing that's been done to death), and want a better way to determine if a file has previously been added to my database. I have two datasets that are structurally identical. The first dataset is populated from the database and the second is populated via the application during the scan.
I then compare each record in the second dataset to the first with the following code:
Private Sub CompareDataSets(ByVal dsOriginal, ByVal dsNew)
Dim dv As DataView
Dim sFileName As String
Dim sPath As String
Dim bgFileSize As Long
[CODE]...
This method seems terribly inefficient and I'd much prefer being able to do a join of sorts off the two datasets and delete all records from the application populated dataset where there is a match.
View 3 Replies
Mar 16, 2012
I'm looking for a decimal to alphanumeric number base converter library in Visual Basic that does not use recursion. [url]...
which includes a demo app but discovered that it uses recursion. The problem with it using recursion became apparent when I attempted to integrate the library into my own Visual Studio Express 2010 Visual Basic project: I got a stack overflow exception.
Now I could consider increasing the size memory allocated for the stack but it might be hard to determine what this would be, given that the recursion depth might vary depending on the value to be converted.
View 1 Replies
May 30, 2010
I created an application with some Crystal Reports. I published the application and installed it on the machine which is my develop machine. This machine has Vista on it and is runnig the application 100%. When I install it on a different machine with windows XP, it runs fine until it tries to load the mybase.new. It generates a windows error with no description.
This is a system generated sub:
[CODE]......................
View 1 Replies
Mar 26, 2009
I'd like to jump in and write a simple application to display fields related to my compact disk library (Disk#, Composer, Work, etc.) in a scrollable window. The current catalog in in a DOS/xBase format, but I can export it to Excel or Access. I am using VB within Visual Studio 2008. Any most effective VB command(s) to use? Is the indicated command used within a looping structure?
View 3 Replies
Jul 9, 2010
I am building a form that will load individual items(from individual files) or a catalog of items(from a list of items). I then click the item I want to use to select it. Everything works correctly, when I click an item it selects the correct stitch. The only problem is, it doesn't display correctly when I load from a catalog. I can open individual items and it works fine. When I load a catalog it doesn't display the images correctly.
[Code]...
View 1 Replies
Jun 21, 2011
I have a Visual Basic Class Library project. It generates a DLL. Is there a method to generate a static .LIB to which I can do a static link?Alternatively, can I do a static link against a DLL?
View 6 Replies
Feb 3, 2011
Is it possible to call a Skype number that is in a RichTextBox by clicking on the number?I have links activated in the RTB but phone numbers do not appear as a Skype link.
View 5 Replies
Jul 10, 2009
I got 2 LABELS and ONE BUTTON... when i press the button, it fills both labels with a random number from 1 - 6.ild like to do it like this... you press the button then a little prograss bar starts running for 3 or 4 seconds... and THEN after it reached the bars max i want it to show the numbers in the Labels...
the second thing is...i want to make 2 checkboxes next to the labels... if you mark the first checkbox, next to the first label... and the outcome is that the number of the first label is BIGGER then the other one.. you should get some kind of a msgbox.. i know how to make a msg box... but i dont know the code for vb to check if label1 is > or < than label2....
View 10 Replies
Jan 13, 2010
Send hdd serial number (not volume number)code in vb.net 2008.
View 3 Replies
Jul 24, 2009
I have a legal copy of a dll that I've used for years in VB6. Now I want to use it in VB.net. However, when I try to reference it, VB.net won't let me, displays an error. Tried to register the dll, got a no entry point error.
[Code]....
View 6 Replies
Mar 11, 2010
This code should get one random line from sample.txt and put it in Label1 - problem is that it's only getting line 2. Every single time.
Dim ioLine As String ' Going to hold one line at a time
Dim ioLines As String ' Going to hold whole file
Dim ioFile As New StreamReader("sample.txt")
[code]....
View 1 Replies
Feb 22, 2011
Basically I am creating a Windows Service as an 'updater' program to update all my software packages. Whats going to happen is every piece of my software that is installed in its program folder will have an Update.dll this DLL will be a library to do with the update of the software.
There will also be a database in the Updater program folder which will contain a list of all my installed software. So when the service starts it will open my 'database' which will load the paths to all my installed software to a string array. Each path in the string array will have a Update.dll in the folder.
What I need to do then is is in turn call a routine called StartUpdate() from each of those Update.dll which will then do all the work. So the service itself is fairly basic and doesn't really do much I just need to figure out how to access DLL's when I don't actually know what ones will be there while programming, Reason I am doing it this way is to support my future software programmes without having to update the updater.
View 3 Replies
Apr 7, 2010
Public Function Add(ByVal Number1 As Integer, ByVal Number2 As Integer)
Try
Return Number1 + Number2
[code]....
View 2 Replies
May 25, 2010
Is is possible to include a python library, which does API authentication, in a VB.NET app? If so how would I do this? The site that provided this does not provide much documentation on this; I am attempting to create an application that accesses the google API, and this library has been created to do the authentication for you.
View 1 Replies
Mar 12, 2011
Solution has 3 Class Libraries and 1 Windows Form application projects. For no apparent reason, one of the Class Libraries keeps loosing its Settings. These are primarily configuration strings. When I try to add them back in the IDE, they disappear again without explanation.
View 5 Replies
Apr 12, 2010
Is the my reference library is available in visual basic 2008 Express Edition?
View 1 Replies
Mar 3, 2009
Does anyone have a program that will find Visual Basic 2008 code and place it into an organized code library?
View 1 Replies
Aug 8, 2009
I have a class library called Encrypt.dll that I added to my project (that class encrypts strings..). I have a problem that when I drag the app out of the Release folder, it crashes, giving me this error:Could not load file or assembly 'Encryption_Class, Version=1.0.0.0...' or one of its dependencies. The system cannot find the file specified.What am I doing wrong?I added it from the Reference tab->Add->Encrypt.dll
View 4 Replies