5 Easy Ways you can Turn Artificial Intellgence into a Success


Amongst the analysts like Gartner, Forrester and IDC, Artificial Intelligence dominates their predictions for the future. You may well ask, 'what is artificial intelligence?'. The answer to this question is as under:

What is Artificial Intelligence?
Amongst the analysts like Gartner, Forrester and IDC, Artificial Intelligence dominates their predictions for the future. You may well ask, 'what is artificial intelligence?'. The answer to this question is as under:

"Artificial Intelligence is when a machine starts behaving like a human being" Technologically, machines do not have any intelligence and they just obey the commands given by their masters. However, when machines start displaying natural intelligence, then that is called artificial intelligence. In technical words, 'any machine that judges its environment and takes action to optimize its chance of achieving its goals. Colloquially speaking, when a machine mimics the cognitive functions of a human being, then the machine is said to have artificial intelligence.

Five easy ways in which you can turn Artificial Intelligence into a success
This paragraph will talk about five easy ways artificial intelligence can be made a success. Although analysts predict the future as being full of artificial intelligence, none of the organizations of repute has yet been able to use AI to their advantage. AI is not really a new technology. Inspite of this, only 20% of CIOs report implementing AI in their organizations. Moreover, only 4 percent of organizations in totality have reported successful AI implementation. Why this step-fatherly treatment towards AI? You will be surprised to know that there are hardly any organizations, which have reported successful AI implementations. We can do the following to make AI a success:

a.    Identify competitive advantage
With every new technology that comes into the market, the technology cart gets ahead of the business value horse. However, business value eventually regains its primacy. AI is also similar. The same thing will happen in the case of AI. Gartner has advised CIOs to treat AI as they would do any other new technology and try to derive a competitive advantage out of it. This can be done by achieving a business and IT collaboration to give a competitive advantage to their organization. Thus, in order to make AI implementation a success, organizations need to understand their competitive advantage.

b.    Select the most suitable AI application

The next step is to shortlist the AI applications that will help you get your desired outcome. This is very difficult considering that McKinsey has shortlisted 600 distinct AI applications which can be useful in several industries. Please be aware that AI is not a business panacea. From AI, you need to select five applications, which will help you in your business and then select two to three from them as pilots. From the runs of the pilots, you can single out one application, which you can use further for your business. This should help you meet your business objectives and help you service your customers too.

c.    Procure AI Technology

Next, you need to find the right AI Technology to power your AI application. However, instead of looking for AI technology to power your application, you can latch on to cloud based platforms like Amazon Web Services Machine Learning or Google Cloud AI and Microsoft Azure Machine Learning. These will support your AI application and help you gain a competitive advantage. Further, you do not need to build your own AI application. You can procure software with AI inside. Today, almost all applications embed AI automatically into them to identify data relationships, patterns and recommend visualizations.

d.    Develop AI skills
Impart training to your staff in using AI. When you decide to build an AI application or work with an AI integrated machine, your staff will require to be trained in handling such applications. Encourage them to take up online courses on sites like Udemi, Udacity or edX. This will go a long way in helping them work better. With this training, they will also become more loyal to you as you have trained them in working better. Moreover, they can latch on to community support available on the Artificial Intelligence Forum, where a number of AI users congregate.

e.    Build on your success
Someone has said, "True happiness comes from the joy of deeds done well and the zest of creating things new". Therefore, as soon as you complete your first AI application, try celebrating the occasion. Take the advantages of the AI application to the lowest common denominator of your company. Do this through a case study. You can also use the marketing capability of your AI vendor to impress upon your other employees about AI.  Once you have built more applications using AI, you can always think of patenting your technology. Thus, here you are building on your success and protecting yourself by applying for a patent.

Conclusion
Thus, the promise made in the first paragraph of this article is fulfilled.  Five ways of making your AI a success have been elaborated in the above paragraphs. These ways may be adopted together or bit by bit, the onus rests with you.

Author Bio:

Sunny Chawla is a Marketing Manager at AIS Technolabs – a Web design and Development Company. Helping global businesses with unique and engaging tools for their business. He would love to share thoughts on Ecm Services, Web Designing and Java Web Development.

Top 10 WordPress Trends that will Impact your Website in 2018

WordPress is one of the best content management systems in the world. It is used by a large number of people all around the world. So, there is always a great buzz around it. Every year, new WordPress trends come into existence. They affect the way WordPress websites/blogs are created.

In this year, new WordPress trends are rolling out. This is making WordPress Website Development works a little bit complicated. If you are a WordPress developer or website maker, a sound knowledge of the latest WordPress development trends will enable you to make amazing WordPress websites as usual. Let's know the top WordPress trends 2018 that are likely to WP websites.

1.    New Improvements in WordPress Websites


On November 15, 2017, the latest version WordPress (4.9) was released. You can use it to fix and eliminate the errors/loopholes of the version 4.8. With this update, WordPress users can expect improvements in code editing, theme management, plug-in management and simpler settings. It will help WordPress developers and website administrators as it enables them to provide up-to-date, bug-free, and professional WordPress websites for the needy clients in an easy way.

2.    A Sharp Demand for Mobile-First Websites

Mobile-friendly websites have become an essential requirement for all people involved in the web-based business. It is because a large number of people are using different mobile devices for internet browsing compared to the desktop computers. So, if you are a WordPress website developer, focus your attention on creating websites and blogs with a mobile-first approach.

This will help SEO professionals to get their websites ranked well in Google's SERP, help users find the required info on the web through mobile devices, and assist entrepreneurs to grab the huge amount of sales flowing through small screens. You can get mobile-friendly WordPress websites easily by using WordPress development services India.

3.   Websites with Encryption & HTTPS Will Be in Demand

These days, there is a sense of insecurity on the digital landscape. Even the most protected websites are being hacked by cybercriminals. It creates a wave of panic and horror among frequent internet users who use to buy products and services online. Always keep in mind that well-educated and modern tech-savvy people the difference between websites starting with or without HTTPS.

So, you run an E-commerce website with WordPress, or a service-based portal, just encrypt it and attach HTTPS to it. It will let visitors know that your website is safe for use and that sensitive data is protected on your portal.

4.   Extra Emphasis on Micro-interactions

In 2018, you will face Interstitial nervousness on several occasions. Actually, it is a provisional state of stress experienced by users when they communicate with website operators and wait for their reply. This may contribute to customer's vulnerability if they don't get an appropriate reply in a timely fashion. Therefore, all WordPress website designers must create websites with several means of communication for the targeted audience. Attach social media plugins, contact details, opt-in forms, etc. It will help customers extract with you in an easy way and get the solution to their problem instantly.

5.   Increased Demand for SaaS with Auto-renewal feature

These days, hardcore business operators don't have sufficient time to get involved in website maintenance and management work. It is because different responsibilities of the web-based business keep them busy at all the times. So, there will be a great demand for WordPress websites built with Software as a Service (SaaS). It will facilitate the auto-renewal of WordPress websites, themes, and plugins. All this will assist WP website owners to operate their web-based business without worrying about the maintenance part.

6.   Virtual Reality & Augmented Reality for WordPress Websites


Web developers and designers have started to use virtual reality and augmented reality in web development projects. The good thing is that WordPress completely supports the content of virtual reality, video, and images @360 degree. It is anticipated that its use will soar dramatically in 2018.

7.   Video Headers for WordPress

There is no doubt that video content easily grabs the attention of visitors and encourages them to spend more time on websites. In 2018, the video will rule web design up to a great extent. Video headers and backgrounds are gaining immense popularity in web design field and this momentum is likely to escalate further. Fortunately, WordPress offers a number of themes for this purpose. Some excellent options are-


8.    A Great Demand for WordPress E-commerce Websites 

As running a fully-fledged and professional E-commerce website comes at a big price, a good number of individuals use the WordPress CMS to operate small & medium scale E-commerce business. With WordPress, both technical and non-technical individuals can easily operate E-commerce websites without getting worried about the technical issues.

In 2018, more people will use the WordPress platform to operate their E-commerce business. Fortunately, WordPress offers numerous E-commerce plugins & themes. You can use them to create professional, eye-catching, and feature rich E-commerce websites and sell your products to the maximum in an easy way. Offshore WordPress Development India, provided by WordPress development companies, can help you to get a fully-fledged WP E-commerce website without any hassle.

9.    Increased usability of  The Drag & Drop Content 

While developing websites/blogs, web developers have to toil a lot to place content at appropriate places and look into its usability for the targeted audience. In 2018, the use of drag and drop content will increase up to a great extent. It allows web developers to have a complete control over various design elements, customize website/blogs easily, and give amazing websites to clients they dream of.

10.    Increased Use of Parallax design for Single Page Websites

These days, there are many people who prefer one-page websites to attract a large number of customers and increase the number of leads created on a daily basis. For such websites, Parallax scrolling is very useful as it allows visitors to get the required stuff on the single page just by sliding the pages. In 2018, its use is likely to increase up to a great extent.
Final Words

Every year, New WordPress trends appear and old ones vanish. These are the top 10 latest WordPress trends in 2018 that are going to affect the website design and development work throughout the year. Just know these latest WordPress trends very well and create appealing WP websites without any fuss.

Author Bio :
Kerin Miller is a Web Expert, She has a lot of experience in development custom WordPress and Magento Themes. She has delivered an numerous range of quality products related to this. She has a strong passion for writing useful and insights about WordPress tips and tricks.

What are the Benefits of Learning .NET / C# and Where to Start Learning it


 What are the Benefits of Learning .NET / C# and Where to Start Learning it

In the today's world of internet, there is nothing impossible. Tens of websites offer online courses, mentoring and video tutorials that will help you to learn to program. The one the most strong and ever complete is probably Microsoft course, also available online.

What if you are the complete beginner, afraid of complicated theory, which may easily make you give up fast? We would like to make a small review of the recently launched online tutorial to learn programming in an easy and fun way.

If you are just starting to study C# programming language which is a basis to master .NET technology, one question doubtless will interest you. Why one should choose C# (.Net) and what is it capable of? What opportunities does it open for you? And actually where to start?

Here we will briefly describe what you can do using .NET. For sure, we are not aware of all the possibilities, so you are welcome to add in comments.

Microsoft has invested tremendous efforts in the development of .NET, considering it is a flagship technology. So, let's review which solutions can you create using it.

Windows Applications and Software 
 .NET has become the number one technology for Windows software development and for many years has no analogs in terms of speed and usability of development. Using .NET, you can write WinForm (GUI) applications, console applications, create reusable libraries, Windows services, graphics applications (WPF), and much more.

Web Apps
The technology that allows you to develop web solutions in .NET is called ASP.NET. ASP.NET is tailored to create web applications with rich functionality.

Games

.NET appeared to be very effective to write applications with heavy graphics. It allows you to develop games using intensive 3D graphics, not only for Windows but also for the Xbox 360 game console. The main technology that you are going to use for creating games will be Unity game engine. This is a very promising field of software development.
Mobile Applications

The version of the .NET Framework for mobile devices running on Windows Mobile is called .NET Compact Framework. Here, you won't see many of the features of the usual framework but there are special sets of libraries for mobile devices.

You can also consider using Xamarin framework and write cross-platform mobile applications using C#.

Corporate Applications

Here belong large software system platforms designed to operate in a corporate environment, such as web services, enterprise services, etc.

Programming of microcontrollers
The number of microcontrollers is tens of times larger than conventional processors. They are everywhere: in cellular and ordinary phones, televisions, monitors, microwave ovens, air conditioners, washing machines, refrigerators, MP3-players, cars, cameras ... And all of them need to be programmed. For a long time, the programming of microcontrollers was the prerogative of C and Assembler. Later it became possible to program it using some high-level languages. C# is one of them.

Programming at the system level
We have already written that using C# you can program microcontrollers. Moreover, it is possible to write an entire operating system on it! There is an operating system on managed code, it is experimental and called Microsoft Singularity.

Another question is where to start learning C# if you are a complete beginner?
In the today's world of internet, there is nothing impossible. Tens of websites offer online courses, mentoring and video tutorials that will help you to learn to program. The one the most strong and ever complete is probably Microsoft course, also available online.

What if you are the complete beginner, afraid of complicated theory, which may easily make you give up fast? We would like to make a small review of the recently launched online tutorial to learn programming in an easy and fun way.

Codeasy.net - is the interactive course for learning to program online. It is designed for absolute beginners and does not require any prior knowledge to start. It is really fun to learn from it just by reading an adventure story about fighting machines in the future. While reading you gonna will meet challenges that require real coding to solve. The final goal is to become a programmer to save the world!

Codeasy is not about immediately getting a job, it is not about going into complex details of every subject, it is all about helping people to get into coding in the easiest possible way.

You are probably wondering about the details. Let's see some features of Codeasy.
  • Basic C# course in form of adventure story mixed with the explanation of programming  principles – complete 12 chapters. 
  • Each chapter covers some topic and includes tasks to solve by coding.
  • Solving tasks (writing C# code and running it) is available after registrationdirectly in the online compiler at Codeasy. The progress is shown in each chapter.Without signup the user can still ready whole story.
  • Codeasy checks the code written by the user immediately and outputs the result. 
  • If the user can't solve the task he can use the hint for each task.
  • In case of difficulty, the user can ask Mentors in the Slack chat.
  • When the task is solved, the user can compare and see how the senior developer solved it.
  • Leaderboard – solving the tasks the user gets points and gets to the chart of leaders.
While solving the tasks user earn "viruses" – internal currency at Codeasy to spend on various features like open the next chapter, etc. The most import thing is the basic course is free!

It's rather a good way to start learning, taste programming and decide if it is for you ;-) if you still hesitate.

Perhaps, that's all. If there is anything else to add or correct, please, leave comments.

Prepared by Codeasy.net team.

What Affects your Internet Speed

Fast speed internet has more or less permeated through the country, with the exception of a few areas. But the days of dial up have gone, and with that, the days of extremely ridiculously slow internet speeds.  We subscribe to internet plans with ISPs that compete against each other, so you know you have a choice when choosing an ISP. But when you suddenly notice that your internet speed is getting worse with each passing day, and you don’t suspect your ISP, what other reasons could be the behind your slow internet speeds?

Fast speed internet has more or less permeated through the country, with the exception of a few areas. But the days of dial up have gone, and with that, the days of extremely ridiculously slow internet speeds.
We subscribe to internet plans with ISPs that compete against each other, so you know you have a choice when choosing an ISP. But when you suddenly notice that your internet speed is getting worse with each passing day, and you don’t suspect your ISP, what other reasons could be the behind your slow internet speeds?
This infographic created by BlueGadgetTooth clearly lists out ten possible reasons for your slow internet speed. Ranging from simply upgrading your internet subscription plan, to upgrading your computer to something newer that can handle the loads you place on it, or even just upgrading your wireless router to a newer model that can do the job more efficiently, many times the factors are simple reasons and the solutions to them even simpler still.
Why depend on customer service to provide the fix after endless phone calls, emails and basically hassles to just get a simple answer. With this infographic, you don’t have to wonder why. Go through the list to see the possible culprits behind your slow internet speeds, and hopefully you’ll be able to narrow down the factors to a few.
This will also help you in coming up with a viable solution.
Why go through paragraphs of endless text? I know words start fading into one another, especially when it’s to do with something I know nothing about, but an infographic? This could make me sound super smart when dealing with slow internet speed issues, just by taking ten minutes to skim through it.
Finding the solution to your slow internet speed could never be easier.

How to Convert Byte Array to String in C#

In .NET, a byte is just a number from 0 to 255 (the numbers that can be represented by eight bits). So, a byte array is just an array of the numbers from 0 to255. At a lower level, an array is a contiguous block of memory, and a byte array is just a representation of that memory in 8-bit blocks.

Let's say you have a Byte[] array loaded from a file and you need to convert it to a String.

1. Encoding's GetString
but you won't be able to get the original bytes back if those bytes have non-ASCII characters

byte[] bytes = { 130, 200, 234, 23 }; // A byte array contains non-ASCII (or non-readable) characters
string Enco = Encoding.UTF8.GetString(bytes); 
byte[] decBytes1 = Encoding.UTF8.GetBytes(Enco);  // decBytes1.Length == 10 !!
// decBytes1 not same as bytes
// Using UTF-8 or other Encoding object will get similar results

2. BitConverter.ToString
The output is a "-" delimited string, but there's no .NET built-in method to convert the string back   to byte array.

string Bitconvo = BitConverter.ToString(bytes);   // 82-C8-EA-17
String[] tempAry = Bitconvo.Split('-');
byte[] decBytes2 = new byte[tempAry.Length];
for (int i = 0; i < tempAry.Length; i++)
    decBytes2[i] = Convert.ToByte(tempAry[i], 16);
// decBytes2 same as bytes

3. Convert.ToBase64String
You can easily convert the output string back to byte array by using Convert.FromBase64String.
Note: The output string could contain '+', '/' and '='. If you want to use the string in a URL, you need to explicitly encode it.

string B64 = Convert.ToBase64String(bytes);  
byte[] decByte3 = Convert.FromBase64String(B64);
// decByte3 same as bytes

4. HttpServerUtility.UrlTokenEncode
You can easily convert the output string back to byte array by using HttpServerUtility.UrlTokenDecode. The output string is already URL friendly! The downside is it needs System.Web assembly if your project is not a web project.

string s3 = Convert.ToBase64String(bytes);  // gsjqFw==
byte[] decByte3 = Convert.FromBase64String(s3);
// decByte3 same as bytes

Credits : combo_ci

How to Make Excel Spreadsheets [.XLS &.XLSX] in C#

How to Make Excel Spreadsheets [.XLS &.XLSX] in C#

There's a library called ExcelLibrary. It's a free, open source library posted on Google Code. It's very simple, small and easy to use. Plus it has a DataSetHelper that lets you use DataSets and DataTables to easily work with Excel data.

ExcelLibrary seems to still only work for the older Excel format (.xls files), but may be adding support in the future for newer 2007/2010 formats. You can also use EPPlus, which works only for Excel 2007/2010 format files (.xlsx files).

Here are a couple links for quick reference:
ExcelLibrary - GNU Lesser GPL
EPPlus - GNU Library General Public License (LGPL)

Here's some example code for ExcelLibrary:

//create new xls file
string file = "C:\\newdoc.xls";
Workbook workbook = new Workbook();
Worksheet worksheet = new Worksheet("First Sheet");
worksheet.Cells[0, 1] = new Cell((short)1);
worksheet.Cells[2, 0] = new Cell(9999999);
worksheet.Cells[3, 3] = new Cell((decimal)3.45);
worksheet.Cells[2, 2] = new Cell("Text string");
worksheet.Cells[2, 4] = new Cell("Second string");
worksheet.Cells[4, 0] = new Cell(32764.5, "#,##0.00");
worksheet.Cells[5, 1] = new Cell(DateTime.Now, @"YYYY\-MM\-DD");
worksheet.Cells.ColumnWidth[0, 1] = 3000;
workbook.Worksheets.Add(worksheet);
workbook.Save(file);

// open xls file
Workbook book = Workbook.Load(file);
Worksheet sheet = book.Worksheets[0];

 // traverse cells
 foreach (Pair<Pair<int, int>, Cell> cell in sheet.Cells)
 {
     dgvCells[cell.Left.Right, cell.Left.Left].Value = cell.Right.Value;
 }

 // traverse rows by Index
 for (int rowIndex = sheet.Cells.FirstRowIndex;
        rowIndex <= sheet.Cells.LastRowIndex; rowIndex++)
 {
     Row row = sheet.Cells.GetRow(rowIndex);
     for (int colIndex = row.FirstColIndex;
        colIndex <= row.LastColIndex; colIndex++)
     {
         Cell cell = row.GetCell(colIndex);
     }
 }

Creating the Excel file is as easy as that. You can also manually create Excel files, but the above functionality is what really impressed me.

Credits : Mike Webb

Infolinks Review with Payment Proof 2017 | Best Adsense Alternative


Infolinks is a global advertising platform offering ad solutions for both publishers and advertisers. Online advertisers utilize the Infolinks Self-Serve Marketplace to customize their own campaign. Advertising with Infolinks means delivering brand messages to engaged users.

Online bloggers and website owners monetize their websites with Infolinks while keeping the Look & feel of their sites undisturbed.

Ad Types they Offer :

InArticle – Targets only your search traffic with ads relevant to their searched terms in non-disruptive footer ads. InFold adds navigational value and another SEO layer to your site while delivering ads pertaining to exactly what your search traffic is looking for.

 

InFold – Targets only your search traffic with ads relevant to their searched terms in non-disruptive footer ads. InFold adds navigational value and another SEO layer to your site while delivering ads pertaining to exactly what your search traffic is looking for.

InText – Double underline your best keywords to monetize your written content. A simple hover of a mouse opens an ad bubble containing an ad matched to the context of your keywords. Fully customize the look and volume of InText ads on your website pages.


InFrame – Attractive skyscraper display banners placed in the extra real estate in the margins of widescreen monitors only. These ads are matched to your website’s category and are intelligently revealed only on traffic originating from wide screen monitors and customized to fit perfectly, without disturbing your site’s layout at all.


InScreen– an interstitial ad, functions as an ‘ad intermission’ between page views. This results in well-timed display ads, driven both by user intent and website content. InScreen can be activated by three different triggers: When a user enters your site, when a user switches from one page to another inside your site and when a user leaves your site via an external link.

InTag – Presents a range of keywords relevant to the context of your site. Choose between one or two rows of links that open a relevant ad bubble upon a mouse hover. InTag manages to capture a spectrum of users’ interests and invite engagement with its range of keywords.
 

Infolinks Referral Program

Like other CPC companies, Infolinks also has a referral program. Refer new publishers to Infolinks and earn 10% of their revenue for 12 months. You can join the referral program from their Referral page. They will provide you with a Referral Link and Banners.

http://www.infolinks.com/join-us?aid=1030343

Infolinks Payment Options

  • Paypal – $50
  • eCheck – $50
  • ACH (Only for U.S. Bank Accounts)- $50
  • Payoneer – $50
  • Bank Wire Transfer – $100
  • Western Union – $100
They will send the payment within 45 days of the end of the month in which you reached the threshold.

Infolinks Payment Proof

Infolinks is a legit site, I have my payment proof. I got paid $232.78 via Wire Transfer within 35 days of the end of the month.
Here's the Picture of Wire Transfer Receipt from my Bank :

Infolinks Wire Transfer Proof Receipt - Ultimate Programming Tutorials

Infolinks Customer Support

Infolinks Customer Service  has been very good so far. Whenever I contacted them via email the  response was within 24 hours.
  

Final Thoughts

There are many ways to make money blogging, Infolinks still can be considered as one of the easiest ways. Making money from Infolinks is really easy and does not require any special skill, even a new blogger can make money by increasing website traffic.

Reference : Infolinks

How to Send SMS in C# Using GSM Modem/Dongle


How to Send SMS in C# Using GSM Modem/Dongle
This is a very simple method to send SMS via GSM Modem so without much explanations let's get into it.

Thing's you'll need :
  • GSM Modem with a SIM
  • Libraries :
    GSMCommServer.dll
    GSMCommShared.dll
    GSMCommunication.dll
    PDUConverter.dll
If you've installed the Modem software you'll be able find all the libraries needed. Just go to add Reference and add the mentioned libraries (without them this program won't work).

How to Send SMS in C# Using GSM Modem/Dongle

Now go to your form and add control as given below
  • 4 Labels :
    Label1 - Message Body :
    Label2 - Phone Number :
    Label3 - Port :
    Label4 - Modem Not Connected
  • 2 Textboxes :
    Textbox1 - To Phone Number
    Textbox2 - To Message Body
  • 1 ComboBox :
    Combobox1 - To Port :
  • 2 Buttons
    Button1 - Send
    Button2 - Connect
 Arrange your form like this :

How to Send SMS in C# Using GSM Modem/Dongle

 Now let's go to the coding

Namespaces :
 using GsmComm.GsmCommunication;  
 using GsmComm.PduConverter;  
 using GsmComm.Server;  

Add this above Public Form1 :

 private GsmCommMain comm;  

Form1_Load :
 Combobox1.Items.Add("COM1");  
 Combobox1.Items.Add("COM2");  
 Combobox1.Items.Add("COM3");  
 Combobox1.Items.Add("COM4");  
 Combobox1.Items.Add("COM5");  

Button2_Click :
 if (Combobox1.Text == "")  
       {  
         MessageBox.Show("Invalid Port Name");  
         return;  
       }  
       comm = new GsmCommMain(Combobox1.Text, 9600, 150);  
       Cursor.Current = Cursors.Default;  
       bool retry;  
       do  
       {  
         retry = false;  
         try  
         {  
           Cursor.Current = Cursors.WaitCursor;  
           comm.Open();  
           MessageBox.Show("Modem Connected Sucessfully");  
           Button2.Enabled = false;  
           label4.Text = "Modem is connected";  
         }  
         catch (Exception)  
         {  
           Cursor.Current = Cursors.Default;  
           if (MessageBox.Show(this, "GSM Modem is not available", "Check",  
             MessageBoxButtons.RetryCancel, MessageBoxIcon.Warning) == DialogResult.Retry)  
             retry = true;  
           else  
           { return; }  
         }  
       }  
       while (retry);  

Button1_Click :
 try  
       {  
         Cursor.Current = Cursors.WaitCursor;  
         SmsSubmitPdu pdu;  
           Cursor.Current = Cursors.Default;  
           byte dcs = (byte)DataCodingScheme.GeneralCoding.Alpha7BitDefault;  
           pdu = new SmsSubmitPdu(Textbox2.Text, Textbox1.Text);  
           int times = 1;  
           for (int i = 0; i < times; i++)  
           {  
             comm.SendMessage(pdu);  
           }  
         MessageBox.Show("Message Sent Succesfully","Success",MessageBoxButtons.OK,MessageBoxIcon.Information);  
       }  
       catch(Exception ex)  
       {  
         MessageBox.Show(ex.Message.ToString());  
       }  

That's all, Do share your comments.


Credits : Rotich

Circle Progress Bar Control for VB.NET

Add a new User Control and add these codes in it :

   Dim _Myrr As Integer  
   Public Property rr As Integer  
     Set(value As Integer)  
       _Myrr = value  
     End Set  
     Get  
       Return _Myrr  
     End Get  
   End Property  
   Private Sub DrawProgress(g As Graphics, rect As Rectangle, percentage As Single)  
     'work out the angles for each arc  
     Dim progressAngle = CSng(360 / 100 * percentage)  
     Dim remainderAngle = 360 - progressAngle  
     'create pens to use for the arcs  
     Using progressPen As New Pen(Color.LightSeaGreen, 2), remainderPen As New Pen(Color.LightGray, 2)  
       'set the smoothing to high quality for better output  
       g.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias  
       'draw the blue and white arcs  
       g.DrawArc(progressPen, rect, -90, progressAngle)  
       g.DrawArc(remainderPen, rect, progressAngle - 90, remainderAngle)  
     End Using  
     'draw the text in the centre by working out how big it is and adjusting the co-ordinates accordingly  
     Using fnt As New Font(Me.Font.FontFamily, 14)  
       Dim text As String = percentage.ToString + "%"  
       Dim textSize = g.MeasureString(text, fnt)  
       Dim textPoint As New Point(CInt(rect.Left + (rect.Width / 2) - (textSize.Width / 2)), CInt(rect.Top + (rect.Height / 2) - (textSize.Height / 2)))  
       'now we have all the values draw the text  
       g.DrawString(text, fnt, Brushes.Black, textPoint)  
     End Using  
   End Sub  
   Private Sub UserControl1_Paint(sender As Object, e As PaintEventArgs) Handles Me.Paint  
     DrawProgress(e.Graphics, New Rectangle(5, 5, 60, 60), _Myrr)  
   End Sub  

Don't forget to add these two namespaces :

 Imports System.Drawing  
 Imports System.Windows.Forms  

 Now Build your project and then check your ToolBox you'll see a new Tool

That's our Circle Progress Bar!
Now add our Progress Bar, a Timer and a Button.

Timer1_Tick Code :

     If UPT >= 100 Then  
       UPT = 0  
     Else  
       UPT = UPT + 1  
     End If  
     UserControl11.rr = UPT  
     UserControl11.Invalidate()  
     UserControl11.Update()  
     UserControl11.Refresh()  

Button1_Click Code :

   Timer1.Enabled = True  

Under Public Class add this Integer

   Public UPT As Integer  

That's it, it should work fine now...


This is just an example of a Circle Progress Bar I found online, do comment your suggestions.