Posts

Showing posts from 2012

VB 2010 Generate Random Strings and Random Numbers

Image
Generate Random Strings and Random Numbers VB 2010 Generate Random Numbers and Strings Using this function will generate Random Strings ...... Using this function will generate Random Numbers ...... ♥ Here are some online Visual Basic lessons and courses : Visual Basic .Net Online Course Intro Visual Basic .Net For MS-Access with ADO.Net Course Visual Basic .Net snippets collection Visual Basic .Net - How to check for the internet connection Visual Basic .Net - POP3 and Receiving/Reading E-mails Visual Basic .Net - Generate Random Combinations Visual Basic .Net - Play sounds on Button Click or Mouse Hover Visual Basic .Net - Progress Bar control Visual Basic .Net Solution - The application failed to initialize Visual Basic .Net - Working with Database full example Visual Basic .Net - There is already an open DataReader associated Visu

Visual Basic .Net - Button Sound / Music Play

Image
Visual Basic 2010 - Button Sound Visual Basic 2010 - Play sound on buttons The code is simply goes like this You can copy and paste in your (Click_Event) or whatever it is you wish (MouseClick - MouseHover - MouseLeave) : Dim  MySound  As   New  System.Media.SoundPlayer()     MySound.SoundLocation =  "path to the .Wav file" MySound.Load() MySound.Play() ' OR you can use this : Sub PlaySystemSound() My.Computer.Audio.PlaySystemSound( System.Media.SystemSounds.Asterisk)   End Sub Background playing   It lets the application execute other code while the sound plays. The My.Computer.Audio.Play method allows the application to play only one background sound at a time; when the application plays a new background sound, it stops playing the previous background sound. You c

Visual Basic Online Course ProgressBar

Image
Visual Basic 2010 Progress Bar Control  VB 2010 Progress bar - Visual Basic Online Course   Using the ProgressBar control Example : Create New Windows Project Button1 ProgressBar1 - Logic : We will generate 4 Message Boxes by clicking the Button1 Control and every time a message box shows up, a ProgressBar step will be taken. Progress Bar Class : In .Net Framework 4.0 A ProgressBar control consists of a window that is filled, by default from left to right, as an operation progresses. The control has a range and a current position. ProgressBar overrides the metadata of the Maximum property and sets its default to 100. ProgressBar overrides the metadata of the Focusable property and sets its default to false . For more information, see Dependency Properties Overview. Customizing the ProgressBar Control To apply the same property settings to m

Receive Emails in VB 2010

Day : Aug,12,2012 Send & Receive E-mails from E-mail server using VB .net Hello, I was always thinking if i could send and receive e-mails using .Net technology, i was shocked to know that .Net 4 has no POP3 class so one could receive e-mails just like in Microsoft Outlook, regardless that Outlook uses POP3, IMAP and SMTP to both send and receive e-mails from e-mail servers. I was able to finish the send E-mail part successfully, though i've not finished the attachment and the Html parts, but the receiving e-mails part still out there somewhere i did not do it, though i managed to connect to pop3 servers and receive the +OK response successfully. I'm using an old laptop (WinXpSp3 Home Edition) with VS2010 along with all the .Net kits installed. I've search the internet for pop3-vb.net resources and i could not land on something that works 100% with the receive E-mails part although i ran into some C# codes that helped me to take the first step which is th

Visual Basic 2010 Error the application failed to initialize properly 0xc000007b

Image
Visual Basic 2010 Computer Virus Visual Basic Courses Online Error : he application failed to initialize properly 0xc000007b Cause : Virus W32.Sality Symptoms : When you attempt to start an application (.exe) it generates an error message the application failed to initialize properly 0xc000007b  Solution : Any antivirus will do the job. In my case : I had VS2010 Professional Edition installed on my X86 machine that runs WinXpSp3 Home Edition along with many other applications (i.e. Office 2003\2007, VS6 SP6) and of course .Net framework 4.0. Every time i develop an application it runs fine until i restart my computer or shut it down and then re-open it again, i receive this annoying error message when i attempt to run the .exe file i just built with VS 2010 " the application failed to initialize properly 0xc000007b " I formatted my

Visual Basic 2010 Working With DataBase Full Project Example

Image
VB 2010 Book Working With Database Full Project Example Download VB 2010 Book to work with MS-Access Book Link via MediaFire.com The book is 5 chapters and is explained here, it contains source code of a project example on how to work with Microsoft Access Database from Visual Basic 2010 .     In the book; the photos show how to start your project, how to select your database and how to display it. Here, we'll discuss each photo and explain each code block. Chapter#1 - Released VB .Net 2010 Working With DataBase Full Project Example     Photo (1) : Shows the folder that contains the project, the (My-First-Con.vbproj) is the icon you need to click to open the project.     Photo (2) : From menu (Data) choose ( Add New Data Source ), a popup dialog-box will show titled (Choose a Data Source Type) and you select (Database) as long as we are connecting to one, then click next.     Photo (3) : A popup dialog-box appears titled (Data Source Configuration) an

VB.NET -Connect your first database

Hello, This is a new book about using MS-Visual Basic .Net 2010 to connect to database and build complete applications based on database. The book title’s (“Microsoft Visual Studio 2010 Data-Base Applications”) it comes in PDF format, with many Source codes and photo shots of – How To Do …… ? ...... Continue reading