Welcome Guest!
 VB 6 Helper
 Previous Message All Messages Next Message 
VB 6 Helper Newsletter  Rod Stephens
 Aug 16, 2011 14:12 PDT 

As I built this week's VB 6 examples, I was again reminded how much
better VB .NET is at some things than VB 6 is, in this case graphics.
Graphics in VB .NET is probably 20 times faster than it is in VB 6,
although this week's examples don't really need a lot of performance.

If you've been holding off on switching from VB 6 to VB .NET, take a
look at my book:

    Stephens' Visual Basic Programming 24-Hour Trainer
    http://www.vb-helper.com/24hourvb.htm
-----
Some links that you may find interesting:

    Old-school programming techniques you probably don't miss
    
http://www.computerworld.com/s/article/9132061/Old_school_programming_techniques_you_probably_don_t_miss


    100 Things Your Kids May Never Know About
    
http://shopping.yahoo.com/articles/yshoppingarticles/648/100-things-your-kids-may-never-know-about/


    Free ebook: Programming Windows Phone 7, by Charles Petzold
    http://tinyurl.com/3l566cg

    SAP Crystal Reports
    http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp

    SQL SERVER � Win a Book a Day (It's on day 17 of 35 now)
    http://wp.me/p2NUQ-3yX
-----
Updated book: Stephens' Visual Basic Programming 24-Hour Trainer
http://www.vb-helper.com/24hourvb.htm

Keith Zavodney discovered:

    The second Hint on page 198 concerning the DateTimePicker is
incorrectly associated with Exercise 16-5. It should be associated with
Exercise 16-4 on page 197.
-----
Things to do this week:

- View screencasts from "Visual Basic 24-Hour Trainer":

    Lesson 3, Part 1: http://www.youtube.com/watch?v=7jxlebRMuu0
    Lesson 3, Part 2: http://www.youtube.com/watch?v=GLGIFmvZx7E
    Lesson 5:         http://www.youtube.com/watch?v=xeJPTBTmNzA

- Post book reviews
-----
Have a great week and thanks for subscribing!

Rod
RodSte-@vb-helper.com

Twitter feeds:
    VBHelper
    CSharpHelper
==========
==========

    VB6 Contents:
1. New HowTo: Draw a Pickover popcorn fractal in Visual Basic 6
2. New HowTo: Draw a colored Pickover popcorn fractal in Visual Basic 6
==========
++++++++++
       <VB6>
++++++++++
==========
1. New HowTo: Draw a Pickover popcorn fractal in Visual Basic 6
http://www.vb-helper.com/howto_pickover_popcorn.html
http://www.vb-helper.com/HowTo/howto_pickover_popcorn.zip

(Picture at http://www.vb-helper.com/howto_pickover_popcorn.png.)

This program maps its drawing area into the region -4 <= x <= 4, -3 <= y
<= 3. If you click on a point, the program iterates these equations and
plots the points:

    Xn+1 = Xn - h * Sin(Yn + Tan(3 * Yn))
    Yn+1 = Yn - h * Sin(Xn + Tan(3 * Xn))

You can enter values for the constant h and the number of iterations to
perform in the text boxes.

If you click the Plot All button, the program plots the series for every
dx-th pixel, where dx is taken from the dx text box. For example, if dx
= 10, the program plots the series for every 10th pixel vertically and
horizontally.

Experiment with the values in the text boxes to see what difference they
make.

For details about how the code works, download the example program and
take a look.
==========
2. New HowTo: Draw a colored Pickover popcorn fractal in Visual Basic 6
http://www.vb-helper.com/howto_color_pickover_popcorn.html
http://www.vb-helper.com/HowTo/howto_color_pickover_popcorn.zip

(Pictures at http://www.vb-helper.com/howto_color_pickover_popcorn.png
and http://www.vb-helper.com/howto_color_pickover_popcorn2.png.)

The example "Draw a Pickover popcorn fractal in Visual Basic 6"
(howto_color_pickover_popcorn.html) explains how to draw the basic
Pickover popcorn fractal by iterating these equations:

    Xn+1 = Xn - h * Sin(Yn + Tan(3 * Yn))
    Yn+1 = Yn - h * Sin(Xn + Tan(3 * Xn))

This program plots each point in color. When it starts a new series of
points, the program loops through the colors red, green, and blue.

To plot a point, the program looks at the pixel's color and moves its
red, green, or blue component halfway between its current value and the
"full on" value 255. For example, suppose the program is plotting a
green series of points and finds a pixel with red, green, and blue
components 128, 128, and 0. It would leave the red and blue components
unchanged and update the green compomnent to be halfway between its
current value 128 and 255 or (128 + 255) / 2 = 383 / 2 = 191. The result
is the color with RGB components 128, 191, 0.

Over time points that are hit many times by the same color become
bright. Points that are hit many times by different colors become close
to white.
==========
Archives:
    http://www.topica.com/lists/VBHelper
    http://www.topica.com/lists/VB6Helper
    http://www.topica.com/lists/VBNetHelper

Twitter feeds:
    VBHelper
    CSharpHelper

Post questions at:
    http://www.topica.com/lists/VBHelperQA
	
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Developers
 Food & Drink
 Health & Fitness
 Internet
 Music
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Software
 Sports
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.