Without a form of cryptography, your data will not be protected from outside influences such as hacking. It is always a good idea to encrypt information such as passwords or any sensitive information that you want to protect. Today, I will explain various forms of encryption in Visual Basic and the differences among them.
PDF files have become part and parcel of being able to use a computer productively. PDF (Portable Document Format) is a file format used to present documents independent of application software, hardware, and operating systems. A PDF file contains a complete description of a fixed-layout flat document, as well as fonts, text, and graphics. Today, I will show you how to convert images to a PDF document and how to combine two PDF documents into one.
Ah, DOS... I remember growing up playing DOS games; yes, I am that old! The very first time my dad brought home a computer, we were so excited. It was not the first time I had seen a computer, because I was accustomed to accompanying my dad to work sometimes. In any case, we played so many games: Police Quest, Space Quest, Outrun, Streetrod, Test Drive. I feel quite strange saying this, but I still have fond memories of those games. My very first game I ever played on a computer was Xonix.
A frequent question on programming forums such as Codeguru is how to convert numeric values into written words. It is not as complicated as you may think, but, it is a tad more difficult, or rather, involved. Today, I will show you how to convert numbers into words.
How can a whole block of VBScript be commented out? Unfortunately, you cannot block comment VBScript like you can in other languages. You can comment out each line individually. Just put a single quotation mark at the start of the line you want to 'out' and do then do the same for each subsequent line.
A popular question on developer forums is how to create a Roman Numeral converter. It may seem to be a relatively easy task, but looks are deceiving, indeed. Today, I will show you a few different ways to create a decent Roman Numeral converter with Visual Basic.
Lately, it seems as if I am out to prove that things that look simple and straightforward really aren't. Today's topic is no exception, especially if you are a beginner. When I just started out on this path of developing, the world was a very different place; technology was different. Things weren't as easy as it is today (thank you, Microsoft!). I learnt everything I know myself; it wasn't easy and I wanted to give up so many times.
There will be times when you want to extend your application without recompiling it. Times change, business rules change, and because of this you need to create functionality inside your applications so that your application can become "extendable" with the least amount of effort. Today, I will show you how to build a basic plug-in framework into your existing applications.
I guess I now have my answer as to why I cannot sleep most of the time—it is due to my brain thinking of new apps and new ideas. Ah, the joys of being a programmer. Today, I will show you how easy it is to create a video recorder that records your desktop and mouse on your computer. As a side note, it may need more work from your side afterwards, but the idea and the methodology is there.
Knowing how to work with Microsoft Office applications, especially Excel, can prove vital in any environment. At my work, there are a few options for exporting data to the users. These options include the ever-popular PDF format, as well as Excel. PDF-based reports are read-only, whereas the Excel Reports provide more user activity. Today, I will show you how to work productively with Excel Worksheets.
This tutorial shows how to create a simple custom control and add it to Forms in other projects. The custom control is just a TextBox that changes colour as you tab into, and away from, it. The default focussed background colour can be changed.
Every so often, a weird concept crosses my path and I can only sit and wonder as to why a certain method or technology works the way it does, or doesn't work the way I want it to work. A string enumeration is such a case. Now look, I am not the tastiest sweet in the pack, but some things I find hard to fathom at first, but then I go back to some of my old books and realize that I am yet again attempting to break the very rules of a language that makes the language work. Today, I will show you a quick way to make an Enum accept String values instead of an ordinary named constant.
In case you ever wondered, my life is awesome. Yes, I am truly blessed to have a beautiful wife and beautiful daughter who love me. I am also truly blessed that I have a great, exciting, and an adventure of a job where I get to learn something strange or exciting every day! Today, I will share a bit of this experience with you, so that you don't have to spend hours on Google, not knowing exactly what you should be looking for. Today, I will demonstrate how easy it is (and yes, it is actually not too difficult) to create a program that reads data from a scale that is connected through an RS-232 serial port or USB to a serial port converter.
Creating a Tic Tac Toe game is actually pretty straightforward. All you need is a bit of logic and Visual Basic. Today, you will create such a game and hopefully agree on how easy it is to create. Let's have a look!
Imagine a life without the Internet. You can't, can you? No. Just today, I told one of my colleagues that the human race has grown so dependent on the Internet, and when, for example, a network is down, you cannot do any work. The Internet is good, but it is very scary to come to a realization of our need for the Internet. Today, I will quickly show you how to create an FTP program in Visual Basic.
Isn't it amazing how the Internet has changed our way of communication? Imagine your life without email, or even Whatsapp. The Internet is, however, much larger than many people realize. Thanks to protocols, any communication on any platform is possible. Today, you will learn about UDP and see how to create an application to use it to communicate properly. Before jumping into the application, it is worth reviewing a few of the common communication protocols.
Do you want to serialize an collection in your VB.NET application?. Json.NET supports this functionality with ease. The Collection can be an Array , Dictionary or List. You need to simply pass collection to the JsonConvert.SerializeObject static method which would serialize the collection and return you the Json string.
This is an exploration of a WinForm's DataGridView which demonstrates and discusses a number of topics. My code does not have any code separation; customizing of DataTable and DataGridView (DGV) columns all occur in the same code block. My purpose was to explore aspects of a DGV, to understand how they work, such as how a DataGridViewComboBoxColumn could work with data from a second, related, table...
As with many a known decent online platform, Wikipedia is also built with certain APIs and provides developers with these APIs to make use of their product in the background on your own custom made applications. This platform is named MediaWiki, which is a free and open-source wiki application. MediaWiki has an extensible Web API (application programming interface) that provides direct, high-level access to the data contained in the MediaWiki databases.
I was exploring the possibility of creating a "set" for students. That is, a List that will not allow duplicate entries, where duplication is identified by some combination of properties. For this example (encouraged from a recent thread) the combination of FirstName, LastName and MobileNo identifies a duplicate. A more direct way to achieve this might be to explore HashSet(T) or (from .NET 4) SortedSet(T). These should be preferred for performance reasons.