Have one to sell? Sell yours here
Visual Basic 6 Win32 API Tutorial
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Visual Basic 6 Win32 API Tutorial [Paperback]

Jason Bock (Author)
3.7 out of 5 stars  See all reviews (13 customer reviews)


Available from these sellers.



Book Description

November 1998
Win32 API calls from Visual Basic 6 - allowing the VB programmer to access the powerful repertoire of API calls available when programming in Windows.

Visual Basic does an excellent job of letting developers build sophisticated Windows applications in a relatively short amount of time. This allows one to quickly build prototypes for end-users to evaluate and test, which can accelerate the development cycle. However, this ease of use does have its disadvantages. By shielding the programmer from the low-level Win32 calls, s/he may not be able to optimize certain functions and/or perform some tasks that the users have requested. Unless a programmer has started his/her career developing Windows applications in a lower level language like C or Pascal, they may be unfamiliar with the API calls that can be made to the OS. This can lead to frustration or confusion in using an API procedure that may behave unexpectedly.

Currently, there exist a number of references, both on the Internet and in printed form, that have documented virtually all of the Win32 API calls that can be made. While most of them do an fine job in explaining what the calls do, there are relatively few books that show clear, step-by-step examples that can be applied to business development. This book will address the newcomer to VB who is just starting to learn how to code within the environment, and give them clear explanations to the Win32 calls within a project application.



Editorial Reviews

Amazon.com Review

With just a bit of effort, Visual Basic developers can make use of Win32 C API function calls to extend the functionality of their programs. Jason Bock's Visual Basic 6 Win32 API Tutorial shows you how to write faster, richer Visual Basic applications using Win32.

The book begins with the basics of the Win32 API, including system dynamic-link libraries (DLLs). The author covers Win32 API declarations and the often tricky mappings between Visual Basic and Win32 C data types. (His tips on using Strings will be indispensable for anyone who has ever struggled with Unicode Strings within Visual Basic.) The author uses a simple file encryption program to illustrate basic Win32 calls for better file input/output (I/O), including reading and writing files.

Bock also offers tips for extending user interfaces, including how to customize the TreeView control. Next come GDI graphics calls, including customizing a form's background and using bitmaps for menu items. Tips on setting hooks for your windows and using callback functions round out the tour. Final chapters introduce material on COM that shows you how to package modules using Win32 calls into reusable objects.

Throughout the Visual Basic 6 Win32 API Tutorial, the author's exceptionally clear prose style--and distinctively personal touch--helps bring the reader along. This excellent book assumes only a basic knowledge of Visual Basic and absolutely no C/C++ experience. It puts the benefits of Win32 C API programming into the hands of almost every Visual Basic developer. --Richard Dragan

From the Publisher

Visual Basic programmers who have some experience programming with Visual Basic, who now want to exploit the resources of the Windows environment.

Since the book's primary focus is on the Win32 API, the reader should be able to use either VB4 32-bit or VB5, except for the sections on callbacks (only VB5 can be used in these areas). Also, the calls will be limited to 32 bit calls - no 16 bit calls will be addressed.

The author will handle any knowledge of building components to encapsulate API functionality - it will not be a requirement of the reader to understand COM at any level. All component examples will be specified in full for the reader to keep the emphasis on the API calls.


Product Details

  • Paperback: 368 pages
  • Publisher: Wrox Press; 1st edition (November 1998)
  • Language: English
  • ISBN-10: 1861002432
  • ISBN-13: 978-1861002433
  • Product Dimensions: 9.1 x 7.3 x 1.1 inches
  • Shipping Weight: 1.5 pounds
  • Average Customer Review: 3.7 out of 5 stars  See all reviews (13 customer reviews)
  • Amazon Best Sellers Rank: #1,902,778 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

13 Reviews
5 star:
 (4)
4 star:
 (3)
3 star:
 (4)
2 star:
 (2)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.7 out of 5 stars (13 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

14 of 15 people found the following review helpful:
2.0 out of 5 stars Not that good as others have rated here, January 18, 2000
This review is from: Visual Basic 6 Win32 API Tutorial (Paperback)
Because of the good ratings here I bought that book since I thought that Dan Appleman's book was too difficult. To my mind Jason Bock's book is not so good since it is not suitable for absolute Win32-API beginners. He starts with the exceptions, critical things and so on. Often he writes, that something will be explained in another chapter. This is a bad design of a tutorial. He has some good tips and tricks in that book, but if one is a beginner with Win32-API he must read too many things a few times until he understands them. Dan Appleman's book seems to be a little better for beginners.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 9 people found the following review helpful:
3.0 out of 5 stars Some usefulness but overal nothing totaly practical.., August 9, 2000
This review is from: Visual Basic 6 Win32 API Tutorial (Paperback)
I can honestly say after doing about 80% of the examples in this book, that I found only about 20% of the stuff useful. And of all the stuff I learned I can honestly say that it did not make my understanding of API's more clear.

To me API is something you have to spend some time with. And it is hard cause unlike picking some new control and just figuring out what it does by its properties and methods, API's aren't something you can quickly grasp (IMHO) by playing with them.

I didn't like the 'I will explain what all this does later', concept either as one reviewer mentioned. If your going to write out tonnes of code explain it all before you move on. This book doesn't do that. ALSO DON'T throw pages of code and more pages and then explain what it all does.

DO IT IN SMALL CHUNKS!! Any developer who writes tonnes and tonnes of code and then tests his/her program is nuts. Take it in small steps. The book doesn't do this and I feel that was its greatest fault.

I'd write this huge routine and sure it would work, but I'd be saying to myself "what do these 2 lines here at the beggining with the API call do exactly".. Then I am coding more and then the concept is atempted to be explained to me in its entirity.. And I am sitting there "What the hell did I just do?"

Well that's my 2 cents. The good thing is source code is available from the publishers web site, and what errors there are in the book are easy to see.. nothing huge (that is unless you are really new to VB then u shouldn't be using this book first). However, the mutex example was VERY helpful and I have it in one application already. I know what it does but I don't really understand its mechanics... And I think that's how I feel about this book in the nutshell.

Got some usefull code (not a lot) but API is still a mystery to me.... There's propably something better out there..

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 8 people found the following review helpful:
5.0 out of 5 stars Great Book for those starting out with the API, March 1, 1999
By A Customer
This review is from: Visual Basic 6 Win32 API Tutorial (Paperback)
If you are new to VB or just haven't used the API much and ready to start this is a great book for you. It is inescabable that this book is compared to Appleman's book which is the definitive work on API's but while I have the Appleman book I find that it is better for people who are already somewhat experinced and want to learn more. This book by Jason Bock is THE book to buy if you are starting out. Not to say it is a 'API for Dummies' type of book -API usage is a non-trivial subject- but this will give you the foundation you need in a much more digestible fashion. The Appleman book which I occasionaly dig out to try to figure out something, spends most of its time as a paperweight since I am still something of a newbie. This book by Jason I am actually using to learn.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(3)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject