genuinemails.com
Tampilkan postingan dengan label Visual basic. Tampilkan semua postingan
Tampilkan postingan dengan label Visual basic. Tampilkan semua postingan

Kamis, 11 Februari 2010

VB Basics 1: What is VB (Visual Basic)?

Like PHP, Visual Basic is a programming language that is easy to learn and this tutorial will lead you to enter the world of VB to enjoy. With Visual Basic, you can ngembangin applications and games based on Windows.
Visual Basic is much easier to learn than other programming languages (such as Visual C + +) but still a programming language is very powerful.

Interested? Read this tutorial aja further.
Visual Basic is more suitable for development than the development of gaming applications. You can aja make an amazing game using Visual Basic, but if you want to make games more sophisticated professionals such as Quake 2, then you probably would prefer to use other languages (like C + +), which must be much more difficult to use.
However, Visual Basic is already very adequate to meet the needs of almost all dangame application programming you want.

Advantages of Visual Basic:
- Language is simple. Many things may be difficult , we use other programming languages, will be done easily by using Visual Basic.
- Because Visual Basic is very popular, so very many resources you can use to learn and develop the skills you're either in the form of books, web sites, etc. (of course one of them is http://prothelon.com J). With many of these sources, then of course you will be very easy to find answers to problems that you face right?
- You can get a lot of good free tools on the Internet or not that will really help you save time in programming. For example, if you want to create a program to ping one computer on your network, instead of making it his own ping program, you can donlot a control that do this and stick it in your program. When compared with other languages, Visual Basic have a variety of the most widespread tools .

Disadvantages of Visual Basic:
- Visual Basic is a powerful programming language, but it is not too good to make games that really satisfy.
- More slower than other programming languages.

Read More......

Rabu, 10 Februari 2010

Microsoft Visual Basic 6.0: Create Invisible Window

Clear and translucent that a dictionary defines the word transparent. Yes, something that makes transparent clear what is behind him. That's what happens when the application window that is made transparent. Usually the active application window appearance will not overwrite the current window. But now we will try to make a window application with Visual Basic 6.0 so that the transparent inactive windows visible clearly.

How to manufacture the following:

1. Open the Visual Basic 6.0 application via [Start]> [All Programs]> [Microsoft Visual Studio 6.0]> [Microsoft Visual Studio 6.0].

2. In the New Project window, select the New tab.

3. On the New tab, choose Standard EXE and click [Open] to open the window Project1 - Form1 (Form).

4. klik [View] >


The CODE:
  1. untuk membuka jendela Project1 – Form1 (Code)

  2. 5. Ketikkan kode program berikut ini :

  3. [code]Option Explicit
  4. Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" _
  5. (ByVal hWnd As Long, ByVal nIndex As Long) As Long
  6. Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" _
  7. (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
  8. Private Declare Function SetLayeredWindowAttributes Lib "user32" _
  9. (ByVal hWnd As Long, ByVal crKey As Long, ByVal bAlpha As Long, ByVal _
  10. dwFlags As Long) As Long
  11. Private Const WS_EX_LAYERED As Long = &H80000
  12. Private Const LWA_ALPHA As Long = &H2
  13. Private Const GWL_EXSTYLE = (-20)
  14. Sub TembusPandang(lhWnd As Long, level As Integer)
  15. On Error GoTo keluar

  16. Call SetWindowLong(lhWnd, GWL_EXSTYLE, GetWindowLong(lhWnd _
  17. , GWL_EXSTYLE) Or WS_EX_LAYERED)
  18. Call SetLayeredWindowAttributes(lhWnd, 0, (level * 255) / 100, LWA_ALPHA)

  19. keluar:
  20. End Sub

  21. Private Sub Form_Load()
  22. TembusPandang Me.hWnd, 50
  23. End Sub
6. To see the results stored and run by pressing [F5].

In TembusPandang Me.hWnd program code, 50 means the window is made with a transparent level of 50%. Now try changing the numbers 50 to 100. Thus, the effect of invisibility on the window disappeared and returned to normal. Then if we change them to 0, then all the windows are not visible. Please note, translucent effect like this can only be done on the OS Windows 2000 / XP or higher. Good luck!

Read More......

Selasa, 09 Februari 2010

Tutorial Visual Basic

Visual Basic (VB) is an ideal programming language for developing sophisticated professional applications for Microsoft Windows. It makes use of Graphical User Interface for creating robust and powerful applications. The Graphical User Interface as the name suggests, uses illustrations for text, which enable users to interact with an application. This feature makes it easier to comprehend things in a quicker and easier way.



Coding in GUI environment is quite a transition to traditional, linear programming methods where the user is guided through a linear path of execution and is limited to small set of operations. In GUI environment, the number of options open to the user is much greater, allowing more freedom to the user and developer. Features such as easier comprehension, user-friendliness, faster application development and many other aspects such as introduction to ActiveX technology and Internet features make Visual Basic an interesting tool to work with.

Visual Basic (VB) was developed from the BASIC programming language. In the 1970s, Microsoft started developing ROM-based interpreted BASIC for the early microprocessor-based computers. In 1982, Microsoft QuickBasic revolutionized Basic and was legitimized as a serious development language for MS-DOS environment. Later on, Microsoft Corporation created the enhanced version of BASIC called Visual Basic for Windows.

Visual Basic (VB) is an event-driven programming language. This is called because programming is done in a graphical environment unlike the previous version BASIC where programming is done in a text only environment and executed sequentially in order to control the user interface. Visual Basic enables the user to design the user interface quickly by drawing and arranging the user elements. Due to this spent time is saved for the repetitive task.

Important Features of Visual Basic (VB)

  • Full set of objects - you 'draw' the application
  • Lots of icons and pictures for your use
  • Response to mouse and keyboard actions
  • Clipboard and printer access
  • Full array of mathematical, string handling, and graphics functions
  • Can handle fixed and dynamic variable and control arrays
  • Sequential and random access file support
  • Useful debugger and error-handling facilities
  • Powerful database access tools
  • ActiveX support
  • Package & Deployment Wizard makes distributing your applications simple

Visual Basic 6 vs Previous versions of Visual Basic

The original Visual Basic for DOS and Visual Basic For Windows were introduced in 1991.

Visual Basic 3.0 (a vast improvement over previous versions) was released in 1993.

Visual Basic 4.0 released in late 1995 (added 32 bit application support).

Visual Basic 5.0 released in late 1996. New environment, supported creation of ActiveX controls, deleted 16 bit application support.

Visual Basic 6.0 - released in mid 1998s - some identified new features of Visual Basic 6.0:

  • Faster compiler
  • New ActiveX data control object
  • Allows database integration with wide variety of applications
  • New data report designer
  • New Package & Deployment Wizard
  • Additional internet capabilities.

If you ever used Visual Basic 3, you too could have known everything. Visual Basic 3 was a reasonably small but powerful language. Visual Basic 4 added classes to the language and made Visual Basic much more complicated. Versions 4, 5, and 6 added more support for database programming and other topics such as custom controls, but Visual Basic was still a fairly understandable language, and if you took the time you could become an expert in just about all of it.

Visual Basic.NET accelerated the expansion of Visual Basic tremendously. The .NET Framework added powerful new tools to Visual Basic, but those tools came at the cost of increased complexity. Associated technologies have been added to the language at an ever - increasing rate, so, today, it is impossible for anyone to be an expert on every topic that deals with Visual Basic.

System requirements for Visual Basic depends on the version of Visual basic software. Visual Basic 6 for windows requires at least Microsoft Windows 95/Windows NT 3.51, 486 processor and a minimum of 16 MB of RAM. A complete installation of the most powerful version of Visual Basic 6.0, the Enterprise Edition, requires more than 250 MB of Hard Disk space.

Freetutes.com has Visual Basic Tutorials explained with examples and source code. This online Visual Basic tutorials are intended for programmers of all levels. Whether you are a beginner or and advanced VB learner you are absolutely here at the right place to learn what you really should learn. (You will currently find only Visual Basic 6 tutorials. We are working on to provide you with Visual Basic.NET tutorials and more other IT related tutorials covering programming, databases, networking, web development etc. Check back now and then for updated and new lessons from Freetutes.com)

Read More......

BlogCatalog

My Sponsor