Go Back   TechArena Community > Software > Tips & Tweaks
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 07-02-2010
Member
 
Join Date: Apr 2008
Posts: 586
Tips for developing Visual Basic application

I will like to share some of the tips related to the developing the visual basic application. May be these tips will help you to enhance the performance of your visual basic application.

Error handling :
Handling error in any application is the most important topic in any of the application development. It is clear that you have to do the error handling but the thing is that how you do. For handling error if you are using the maximum resource then it is bad option. For example if your are working with Visual Basic 7 then handling the error using OnErrorGoto and Resume is exceedingly expensive. The better idea to go for try/catch option in Visual Basic 7.

Early Binding:
Use of early binding while developing the application in visual basic is really matter of concern because if you use the early binding at the right place then it will really increase the performance of your application. With the help of early binding stranger can be easily track down.

Use binary compare for comparing text:

If you require to compare text in you visual basic application. Then instead of comparing the text comparing the binary value is a better option to go for. Because binary compare is much more lighter then the text compare. If binary compare is lighter then definitely it will increase the performance.


Turn on option of Strict and explicit:
I am saying this because the use of option strict can protect you from the inadvertent late binding. This also helps in the higher level of coding discipline. The next option that option explicit is less restrictive when compared to the option strict. But that does not mean it is not a good option, this option explicit forces the programmer to provide the required information.


Try to avoid use of Format():
It will be better to use “toString()” at the place of “format()” if possible. Because this provides the same functionality by using this minimum overhead.

Use Charw instead of char:
Using charw at the place of char is a good option. The simple reason for that CLR uses Unicode internally and if you use char then it must be translated at the run time. Definitely this will result in the substantial performance loss. This performance loss can be avoided by using “charw”

Last edited by SpearMan : 07-02-2010 at 03:15 AM.
Reply With Quote
  #2  
Old 21-05-2011
Member
 
Join Date: May 2009
Posts: 525
Re: Tips for developing Visual Basic application

Visual Basic is a programming language that arouses more enthusiasm among developers, experts and novices.The integrated development environment of Visual Basic can be personalized with respect to its presentation and mode of operation. As you become more comfortable with your work environment, you can adjust the options to customize to your taste.
We shall see later other interesting settings.
Reply With Quote
  #3  
Old 23-04-2012
Member
 
Join Date: Apr 2012
Posts: 1
Re: Tips for developing Visual Basic application

Hello,

Good writing. I also would like to share some information about developing a Visual Basic application. I was told to create an application that has IVR (Interactive Voice Response) and DTMF (Dual-tone multi-frequency) features. Since I was running out of time I tried out an SDK called Ozeki SIP SDK. A good description can be found on the 331st page of voip-sip-sdk.com

I just wanted to share this information because I made the requested application just in time so if you are running out of time during the development process this tool could offer good help.
Reply With Quote
Reply

  TechArena Community > Software > Tips & Tweaks
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Tips for developing Visual Basic application"
Thread Thread Starter Forum Replies Last Post
How to create installation package of application in visual basic 6.0 Badrinath18 Software Development 5 02-07-2011 07:28 PM
How To Dismiss a Dialog Box Displayed by an Office Application with Visual Basic? jhon Windows Software 5 25-03-2010 06:03 AM
Tips for Debugging Visual Basic for Applications Code jhon Tips & Tweaks 2 12-03-2010 06:14 AM
Access Outlook from Visual Basic Application Ebenezer Windows Software 3 11-06-2009 07:38 PM
Visual Basic tips Ximen Software Development 3 22-01-2009 03:36 PM


All times are GMT +5.5. The time now is 09:35 AM.