Results 1 to 3 of 3

Thread: Tips for developing Visual Basic application

  1. #1
    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.

  2. #2
    Join Date
    May 2009
    Posts
    529

    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.

  3. #3
    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.

Similar Threads

  1. How to create installation package of application in visual basic 6.0
    By Badrinath18 in forum Software Development
    Replies: 5
    Last Post: 02-07-2011, 07:28 PM
  2. Replies: 5
    Last Post: 25-03-2010, 06:03 AM
  3. Replies: 2
    Last Post: 12-03-2010, 06:14 AM
  4. Access Outlook from Visual Basic Application
    By Ebenezer in forum Windows Software
    Replies: 3
    Last Post: 11-06-2009, 07:38 PM
  5. Visual Basic tips
    By Ximen in forum Software Development
    Replies: 3
    Last Post: 22-01-2009, 03:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,030,718.78414 seconds with 16 queries