Thanks Steve,
Do you reckon you could help me out with any code?
Or anyone?
Im a bit of a beginner and im finding tough to implement the below?
Still trying
Thanks in advnace to steve or anyone else that can help
--- In helpwithvb%40yahoogroups.com">helpwithvb
yahoogroups.com, Steve Trigero <seecwriter
...>
wrote:
>
> I suggest using two timers and the random number generator function
in VB6.
> The function name is probably rand(), or something like it. If it's
like most
> software generated random number generators, it will give you a
random
> value between 0 and .1. Just multiply the result by 100 and add it
to your price.
> You can AND it will some other value to limit the range something
less.
> One timer would go off every two seconds to come up with a random
number
> to add to your price, and then set the font color to red and start
the second
> timer to timeout in 1-second. When it times out it turns the font
back to the
> original color.
>
> Steve
>
>
> ----- Original Message ----
> From: dirty_oodus3 <dirty_oodus3
...>
> To: helpwithvb%40yahoogroups.com">helpwithvb
yahoogroups.com
> Sent: Sunday, September 2, 2007 9:53:20 AM
> Subject: [helpwithvb] Shares Program
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi everyone,
>
>
>
> I was wondering if you could help with this little program i have
in
>
> visual basic 6.
>
>
>
> I have to produce a program that allows the user to buy and sells
>
> shares (mock program lol).
>
>
>
> Could you help me with this? I would like every 2 seconds a new
text
>
> file to be read and this would update the prices shown on the form.
>
>
>
> And possibly when a price change is made the price that has changed
>
> flashes red for a second?
>
>
>
> Do you think reading this information from a text file is the best
>
> way to achieve this?
>
>
>
> If you could help me i would greatly appreciate it or any advise
>
> would be welcomed.
>
>
>
> Many thanks
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> <!--
>
> #ygrp-mkp{
> border:1px solid #d8d8d8;font-family:Arial;margin:14px
0px;padding:0px 14px;}
> #ygrp-mkp hr{
> border:1px solid #d8d8d8;}
> #ygrp-mkp #hd{
> color:#628c2a;font-size:85%;font-weight:bold;line-
height:122%;margin:10px 0px;}
> #ygrp-mkp #ads{
> margin-bottom:10px;}
> #ygrp-mkp .ad{
> padding:0 0;}
> #ygrp-mkp .ad a{
> color:#0000ff;text-decoration:none;}
> -->
>
>
>
> <!--
>
> #ygrp-sponsor #ygrp-lc{
> font-family:Arial;}
> #ygrp-sponsor #ygrp-lc #hd{
> margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;}
> #ygrp-sponsor #ygrp-lc .ad{
> margin-bottom:10px;padding:0 0;}
> -->
>
>
>
> <!--
>
> #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean,
sans-serif;}
> #ygrp-mlmsg table {font-size:inherit;font:100%;}
> #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica,
clean, sans-serif;}
> #ygrp-mlmsg pre, code {font:115% monospace;}
> #ygrp-mlmsg * {line-height:1.22em;}
> #ygrp-text{
> font-family:Georgia;
> }
> #ygrp-text p{
> margin:0 0 1em 0;}
> #ygrp-tpmsgs{
> font-family:Arial;
> clear:both;}
> #ygrp-vitnav{
> padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
> #ygrp-vitnav a{
> padding:0 1px;}
> #ygrp-actbar{
> clear:both;margin:25px 0;white-space:nowrap;color:#666;text-
align:right;}
> #ygrp-actbar .left{
> float:left;white-space:nowrap;}
> .bld{font-weight:bold;}
> #ygrp-grft{
> font-family:Verdana;font-size:77%;padding:15px 0;}
> #ygrp-ft{
> font-family:verdana;font-size:77%;border-top:1px solid #666;
> padding:5px 0;
> }
> #ygrp-mlmsg #logo{
> padding-bottom:10px;}
>
> #ygrp-vital{
> background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
> #ygrp-vital #vithd{
> font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-
transform:uppercase;}
> #ygrp-vital ul{
> padding:0;margin:2px 0;}
> #ygrp-vital ul li{
> list-style