Change your thoughts and you change your world. - Norman Vincent Peale
Hello world! I love Math. So I'm going to share with you today a simple DLL that will allow you to declare a fraction and perform basic operations on it. I created a class which can be found under Arnex.dll. It's Arnex.Fraction. With Arnex.Fraction you can perform the following:
- Add (+)
- Subtract (-)
- Multiply (*)
- Divide (/)
You can also compare fraction using the following:
- Greater Than (>)
- Less Than (<)
- Is Equal To (=)
- Is Not Equal To (<>)
Other useful functions are:
When displaying fractions, you should convert it to string using .ToString function.
See sample code below to see how it works. Simply add Arnex.dll on your code and import it to your code.
You may download Arnex.dll and a sample project here. The sample project was created using VS2013 Community Edition.
If ever you found some bugs, please inform me by commenting below so that I can correct it.
Hello world. In this tutorial I am sharing to you a sample code in Visual Basic.Net to retrieve a hard drive's serial number.
We will be using a DLL I created named Hardware.dll. To use it just add it as reference to your project and import it using the following:
Now let us use the dll in our .NET Program. Using Visual Studio. Create a console application and paste the following code.
The function SerialNumber() returns a Long data type. If the driver is not ready it returns -1 value.
You may download the DLL and sample project above. Please don't hesitate to comment below.
Hello World! Sharing with you a very simple .dll to encrypt and decrypt strings using AES Encryption in VB.NET. This DLL (Dynamic Link Library) is useful for storing passwords in your database.
The Advanced Encryption Standard or AES is a symmetric block cipher used by the U.S. government to protect classified information and is implemented in software and hardware throughout the world to encrypt sensitive data. - Techtarget
Simply add the following DLL as reference to your project and import Encryption.AESMethod in your code. The following DLL is created using .NET Framework 3.5. Now, how do we use it? Just follow the sample code below. The DLL I created has to functions: Encrypt() and Decrypt(). It also uses a key for encryption.
To get a copy of the DLL, just download Encryption.dll. I am also sharing a sample code here, this was created using VS 2013 Community edition.
Feel free to ask questions by commenting below. You're awesome.
News technology south cotabato Internet Smartphones Quotes Android Programming koronadal city ndmu socsksargen bloggers vb.net MWC Social arnel robles google map Food Spots Gadgets Huawei Movies SMART Thoughts Tips and Tricks civil service computer 20th Century Fox ASUS CMS Cherry Mobile Disney Exam Results Frozen Fever GoPro Google Honor Philippines Joomla Kingsman Mi Mr. Tea Rotary SanDisk Xaomi Zen UI Zenfone Zenfone 2 cse-ppt cse-ppt may 2012 exam schedules friendstercoins map ups microSD philippines samsung tnalak festival