Postingan

Menampilkan postingan dari Januari, 2009

Create Form Flash

HOW TO CREATE CODE FORM FLASH IN VISUAL BASIC PROGRAME ? Windows API/Global Declarations: Private Declare Function FlashWindow Lib "user32" Alias "FlashWindow" (ByVal hWnd as long, ByVal bInvert as long) as long Private Sub timer1_timer() Dim nReturnValue as Integer nReturnValue = FlashWindow(form1.hWnd, true) End Sub

Acces To Serial Ports Using Visual Basic 2005

While serial port programming was absent in .NET version 1.1, Visual Basic developers who grew accustomed to the MSCOMM control in VB6 will be glad to know that this functionality is supported again in .NET 2.0. Learn to use the SerialPort class to make two computers talk to one another or even to manipulate a mobile device from your computer using Bluetooth. HOW TO ACCES SERIAL PORTS USING VISUAL BASIC 2005 Visual Basic programmers who do networking programming will no doubt be familiar with the MSCOMM control in VB6. For those of us who followed VB's progression to VB.NET, it was a big surprise to find that control missing in .NET 1.x. What we had instead was Platform Invoke (P/Invoke), which was the only way to access the unmanaged Win32 APIs from your managed application. Fortunately, the situation has been rectified: In .NET 2.0, the functionality of the MSCOMM control is restored in the form of the SerialPort control (located under the Components tab in the Toolbox). Hardware