Dynamic Resizable Skins Demo v1.2

Dynamic Resizable Skins Demo v1.2

Dynamic Resizable Skins Demo

How to combine transparency AND resizability. Check it out.
Skin loading is now 50% faster thanks to using a cache file for storing region (transparency) data.

Download source code
kewlpad.deviantart.net
Home of kewlpAd - The skinnable notepad.


Sample Accounting Software

Sample Accounting Software

* How to create database files folder?
* How to create report files folder?
* How to extract Visual basic source files?
* How to extract the database files?
* How to set up the ODBC Data Source ?
* How to set the date format in regional settings?
* How to open this project in visual basic ?
* How to set the project properties ?
* How to set the project components?
* How to set the project references?
* How to understand and trace the Source code ?

Simple and efficient Financial Accounting Software for small businesses.
With Multi company and muliple financial year support. Instant Reports.
No codes required for account folios. Built in back up and restore facilty .
zip file contains complete source code.
This source code contains 35 forms and 2 modules.
For Database access, It used ADO in this application. Database can be any odbc data source.
You can use Foxpro, Microsoft Access,SQL Server or Oracle. Database Table structures are published. All path settings are clearly explained.

Download sample code
www.craceinfotech.com

VB 2005 Power Packs 2.0

VB 2005 Power Packs 2.0

# A new set of Line and Shape controls
# Updated Version of PrintForm component
# Updates of Printer Compatibility Library.

Microsoft Visual Basic 2005 Power Packs 2.0 includes a new set of Line and Shape controls and updated versions of the two previously released Visual Basic 2005 Power Packs, the PrintForm Component and the Printer Compatibility Library. All three are now included in a single assembly making them even easier to use and redistribute with your application.

System Requirement: Microsoft .Net Framework 2.0

Download VB 2005 Power Pack 2.0 - Download/View Readme file

Sandcastle - 10/07 Community Technology Preview (CTP)

Sandcastle - 10/07 Community Technology Preview (CTP)

Sandcastle produces accurate, MSDN style, comprehensive documentation by reflecting over the source assemblies and optionally integrating XML Documentation Comments. Sandcastle has the following key features:

# Works with or without authored comments
# Supports Generics and .NET Framework 2.0
# Sandcastle has 2 main components (MrefBuilder and Build Assembler)
# MrefBuilder generates reflection xml file for Build Assembler
# Build Assembler includes syntax generation, transformation..etc
# Sandcastle is used internally to build .Net Framework documentation

Download Sandcastle here
- Related for this resources visit Sancastle Blogs

System Requirements:
* Supported OS: Windows Server 2003; Windows Vista; Windows XP Service Pack 2
Required Software:
* Microsoft .NET Framework Version 2.0, available here
* HTML Help Workshop available here
Optional Software:
* Visual Studio 2005
* MS Help Compiler from VS SDK here
VB6.0 Sample: MSComm Control Techniques

VB6.0 Sample: MSComm Control Techniques

NewVBTerm.exe is a sample that demonstrates various MSComm control techniques that include answering the modem, simple text file transfer, data receipt and processing, packet reassembly, and use of the OnComm event.

NewVBTerm.exe is a sample that demonstrates various MSComm control techniques that include answering the modem, simple text file transfer, data receipt and processing, packet reassembly, and use of the OnComm event.

Download NewVBTerm.Exe
www.microsoft.com


Book Microsoft VB 2005 for Developers

Get a focused, first look at the features and capabilities in Microsoft Visual Basic 2005, Visual Studio 2005, and the .NET Framework 2.0. If you currently work with Visual Basic 6, these authors fully understand the adoption and code migration issues you'll encounter. They'll step you through a quick primer on .NET Framework programming, offering guidance for a productive transition. If you already work with .NET, you'll jump directly into what's new, learning how to extend your existing skills. From the innovations in rapid application development, debugging, and deployment, to new data access, desktop, and Web programming capabilities, you get the insights and code walkthroughs you need to be productive right away.

Entire Book: 8 Chapters

Download all chapter - Download all code samples
www.microsoft.com

Don't Buy Linux From Wal-Mart

".. Perhaps Linux vendors could help Wal-Mart as part of a new eco-initiative. Wal-Mart could have an old PC "amnesty day," during which people could bring in their old equipment and have it updated with a fast, modern Linux operating system. Linux vendors could provide service and support at the in-store level, helping to reduce the number of old PCs ending up in landfills." read more>>
s
By Sean Michael Kerner
Access to your POP3 mailbox with FreePOP

Access to your POP3 mailbox with FreePOP

FreePOP is an ActiveX control that allows read/write access to a POP3 mailbox and the messages in the mailbox. With this control you will not be able, on the other end, to access a SMTP server to send e-mail.
With this ActiveX control, you can:

* find out the number of unread messages in a POP3 mailbox.
* access to the various headers of a message (i.e. Subject, Date, From, etc.)
* retrieve the contents of a message.
* selectively delete a message.
* read a message directly into a file.

Once you have added the control to a form, it will be invisible and you'll be able to manage it with a set of properties and methods.

To install, extract the contents of the ZIP archive in a custom folder and run Setup.Exe. To use the control, go to Project>Components in VB and mark the line FreePOP 4.0.1. Remember that the control is invisible at runtime.

The ZIP archive contains a HTML guide to the control. Be sure to read it.


Download FreePOP v4.0.1
by Glen Harm
www.harm.net

Optimize your code: Size & Speed

Optimize your code: Size & Speed

Here are some tips for optimizing your code mainly for speed.
I found some tips by Billy&George Software and Peter Dimitrov, if you want to get some more, search VB Online for "Optimizing for speed", "Optimizing code" and "Optimizing for size".
Take a minute to think over these pieces and you'll find that your code can be made much faster.

Use variables instead of constants
If you are using given constant many times in your code, then why don't you store it in a variable and use the variable later. See the following two extracts of code. The second one executes faster.

'Executes 1
For X = 1 to 10000
A = X * 3.1415927
Next X

'Executes 2
PI = 3.1415927
For X = 1 to 10000
A = X * PI
Next X

Use simpler math operations
Different types of calculation take different time for the computer to process. Thus wherever you can, replace expressions like X * 2 with X + X, A / 10 with A * 0.1 or A^2 with A * A. They really run faster.

Be careful with repeating operations
Sometimes, a certain calculation may be done several times in vain. This could happen in many different ways. I will illustrate it with two simple examples.

'Executes 1
For X = 1 to 1000
For Y = 1 to 100
P = X * 10 + Y
Next Y
Next X

'Executes 2
For X = 1 to 1000
T = X * 10
For Y = 1 to 100
P = T + Y
Next Y
Next X

The second example runs better, because X * 10 is repeated only 1000 times compared to 100000 times in the first one.

Read to Microsoft's article on How to Optimize Size and Speed of Visual Basic Applications


Stop the Visual Basic scrollbar flashing

Stop the Visual Basic scrollbar flashing

The problem with the Visual Basic Scrollbar is that it flashes. This is to indicate that it has focus. You can either set the Focus to something else on a form when the Scrollbar receives focus, or set the TabStop property to False:

Scrollbar.TabStop = False

You will need to have another control on the form. If there isn't one the scrollbar will continue to flash. A PictureBox is a good control for this because it can receive focus but has no visible indication of this.

taken from qbdsoftware.co.uk
Printing tips: Printing Orientation

Printing tips: Printing Orientation

The Printer.Orientation property is a constant problem. Like many of the Printer Properties whether it has any effect is dependent on the printer driver.

Microsoft have a work-around called Pageset. This project changes the Default Printer settings to change the Orientation. One oversight on Microsoft's part is that it assumes the Default Printer Orientation setting is 'Portrait' so the Reset routine (that should be called after printing) will change the setting to 'Portrait'.

PageSet.exe is a self-extracting executable file that contains a DLL file that allows you to programmatically change the printer orientation.
This DLL is particularly useful when dealing with the Data Report, which reads the default printer orientation prior to displaying or printing a report. PageSet.exe allows you to programmatically change and reset your printer orientation.

Read more on Microsoft:
PageSet.exe Programmatically Changes Default Printer Orientation.

Download Pageset.exe here


Enhancing the Visual Basic Printer Object

Enhancing the Visual Basic Printer Object

qPrinter 1.6 allows programmers to add good quality print support to their applications. Documents can be constructed and edited through code. The Visual Basic Printer Object is extremely basic. When you have been using Visual Basic and Object Orientated Programming it is surprising to find how poor the Printer Object is in VB. Even simple features like basic word wrap facilities are not supported and most 'properties' include a disclaimer from Microsoft that their functionality is dependent on the Printer driver.

Download qPrinter v1.6
Visit homepage
Snippets Code Storage

Snippets Code Storage

Snippet Bank1.1 is a coders database for the storage and retrieval of reusable code snippets. It offers search, query, search and replace, unlimited categories and export to clipboard functions and is VERY simple to use.

It is useful to software and web programmers and contains NO adware, spyware or backdoor technologies of any kind. If it's a simple and fast code database you are after, help yourself to a copy.

Download Snippet Bank v1.
http://software-zone.com


Sign up for PayPal and start accepting credit card payments instantly.
Read Registry values in VB without API

Read Registry values in VB without API

Often you'll want to manipulate the Windows registry in Visual
Basic without resorting to lengthy API calls. Fortunately you can
with the Registry Access Functions (RegObj.dll) library. This DLL
lets you create a Registry object with which you can manipulate
specific keys. For example, in a previous tip we showed you how
to use the WebBrowser control to display an animated GIF.

Unfortunately, the WebBrowser is only available if the target
machine also has Internet Explorer installed. As a result, you
may want to display an alternative image if Internet Explorer
isn't available. To determine if IE is installed on the target
Windows 95 machine, first set a reference in your project to
Registry Access Functions. Then use code similar to that below:

Dim myReg As New Registry, KeyFound As Boolean
Dim HasIE As Boolean, sValue As String
sValue = ""
KeyFound = myReg.GetKeyValue(HKEY_LOCAL_MACHINE, _
"Software\Microsoft\Windows\CurrentVersion\" & _
"App Paths\IEXPLORE.EXE", "Path", sValue)
If KeyFound Then HasIE = (sValue <> "")
If HasIE Then MsgBox sValue 'contains the path to IE

Set myReg = Nothing

--------------------------------
This Visual Basic Tip is provided by Element K Journals,
publishers of Inside Visual Basic, a monthly publication for Visual Basic users.

VB Class Builder Add-in

VB Class Builder Add-in

This add-in is designed to ease encapsulation of recordset objects into VB Classes. Instead of typing a carpel-tunnel inducing set of Property Let/Get's, this addin will take a recordset and generate all that nonsense for you.

Download VB Class Builder Add-in
classthingy v01.zip


SMS Emulator

SMS Emulator

vbSMS is an attempt to develop a full-working sms emulator in Visual Basic programming language. It's in early stage but it runs some homebrew software. The z80 core is almost complete (a few buggy, but), VDP almost done. No bank-switching yet.

Download vbSMS
by John Casey


The Lazy Admin

The Lazy Admin

This is a Visual Basic 6 (Works on Vista:) app which uses Microsoft's WMI to interact with, and gather live information from remote computers on the network. (Who's logged in, uptime, etc).

This software was written in Visual Basic 6 by Nick Sartor with credit also going to Tim Hunter.
The purpose of it is to allow us to sit on our asses more. It provides us with important information about
computers on our network, such as serial number, Mac address, etc. While a lot of the information from this
software can be obtained from the command prompt or using vbScript, I wanted a single place to obtain this
information. You must be an administrator on the computer you wish to connect to.
This has been tested on Windows XP SP2 and Vista Beta 2.

Download LazyAdmin