|
|
|
| Author Details |
|---|
| All Tutorials by codebeach |
1 2 [Next] [Last Page]
|
|---|
Decision Making and Looping in ASP
An introductory look at using the VBScript deicision making (if-then-else, select-case) and looping (for, while, do) mechanisms in ASP pages.
| | Hits:204 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-04-26 Rate It | Error | Review | | | Category: Home > ASP > Introduction to ASP |
|
|
|---|
Convert a Multipage TIFF to PDF in .NET
This article shows you how to create a PDF document from a multipage TIFF document in VB.NET.
| | Hits:426 Rate: 5.0(out of 5) Vote:1 Submit Date :2006-03-27 Rate It | Error | Review | | | Category: Home > Visual Basic |
|
|
|---|
Handling Joystick Input in Visual Basic
Learn how to handle joystick input using the Windows API in Visual Basic.
| | Hits:447 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-03-27 Rate It | Error | Review | | | Category: Home > Visual Basic > Miscellaneous |
|
|
|---|
Hiding and Displaying the Mouse Cursor in Visual Basic
This quick tutorial shows you how to hide and show the mouse cursor in Visual Basic.
Hiding and Displaying the Mouse Cursor in Visual Basic
Pesky, isn't it? I hate that little cursor sometimes, and now I'm armed and ready to kill it. The scourge of mice everywhere, the bane of the arrow, it's the ShowCursor function!
Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
This tutorial is not for the faint of heart, or the verbose... this promises to be quite short. There are only two things you need to know about this API call, how to hide the cursor, and how to show the cursor. Notice I said "hide" not destroy. The ability to click is still there, even though we remove the cursor, there is simply no longer a graphical representation.
To remove the cursor, pass 0 (that's a zero not the letter 'o') as the bShow argument. To replace the cursor, pass 1 as the bShow argument, that's it! Here's an example in case you're a slow learner :)
ShowCursor 0
| | Hits:328 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-03-27 Rate It | Error | Review | | | Category: Home > Visual Basic > Miscellaneous |
|
|
|---|
Determining the Cursor Position in Visual Basic
This tutorial shows how to get the mouse cursor position on the screen in Visual Basic.
This tutorial show how to get the mouse cursor position on the screen. There is a simple API call that will allow you do this with ease.
Private Declare Function GetCursorPos Lib "user32" (lpPoint As PointAPI) As Long
| | Hits:406 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-03-27 Rate It | Error | Review | | | Category: Home > Visual Basic > Miscellaneous |
|
|
|---|
Dynamic Usage of Event Handlers in VB.NET
In VB.NET we can receive and handle events in 2 ways. The first one is using WithEvents and Handles keywords, and the second way is to use the AddHandler method and dynamically add event handlers through our code and with RemoveHandler dynamically remove them.
Dynamic Usage of Event Handlers in VB.NET
by: Thomas Kaloyani
With Events and Handles clause requires form us to declare the object variable and the event handler as we write our code, so linkage is created upon compilation. On the other hand, with AddHandler and RemoveHandler, linkage is created and removed at runtime, which is more flexible.
Let's assume that we want to load several MDI child forms, allowing each of them to be loaded only once, and of course to know when one of the child forms is closed. Since we have several forms to load we would like to use the AddHandler and RemoveHandler keywords so we can be flexible and write the minimal code we can.
| | Hits:136 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-03-27 Rate It | Error | Review | | | Category: Home > Visual Basic > Miscellaneous |
|
|
|
|
|
|
|
|