1 Replies - 3940 Views - Last Post: 07 July 2010 - 10:57 AM Rate Topic: -----

#1 jvdpeet  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 05-July 10

Monte Carlo simulation

Posted 06 July 2010 - 06:53 AM

Hi,
I am a new member. My name is Jan van der Peet and I am retired. A few years ago I took up my earlier hobby/profession: computer programming.
My education is secondary school and a degree in Economics and a degree in Industrial Engineering.
Both studies are of use for what I am doing now: programming a system for trading at the stock exchange for people who would like to invest, but lack the necessary knowledge for it. For those interested: It can be freely tried on www.imata.nl.
My hobbies are: soccer, history, reading.
My question is: Can anyone of you tell me where I can download examples in VB6.0 for Monte Carlo simulation?

Is This A Good Question/Topic? 0
  • +

Replies To: Monte Carlo simulation

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4319
  • View blog
  • Posts: 12,100
  • Joined: 18-April 07

Re: Monte Carlo simulation

Posted 07 July 2010 - 10:57 AM

Well since the Monte Carlo Simulation idea is so closely tied to things like statistics, you are often going to find the code in VBA (Visual Basic for Applications) instead of straight VB6 code. However, knowing the VBA code can be easily converted to VB6 code (VBA being essentially VB6 for Excel etc) you may find an example of it used in Excel a great place to start.

I did find one site that may prove useful to you which provides a bit of code that uses the Monte Carlo Simulation in a BlackJack project.

BlackJack Project involving the Monte Carlo Simulation (with code example)

I also found another one which was done in C#. If you know the basics around .NET you could translate it into something workable for VB6 as well. This example is part of a platform SDK they are dealing with that also has the same example in VB6... of course you get only a 15 day trial with this. However, here is the code in C# posted for free...

Monte Carlo Simulation Example in C#

Hope these prove somewhat useful to you on your quest. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1