Solved

Another question for MartinLiss re: http:/Q_28317825.html

Posted on 2013-12-15
5
212 Views
Last Modified: 2013-12-15
Hi MartinLiss
The Keno game you have helped me with works like this:
If a randomize shows a win and the last randomized number hits a marked number a bonus
splash screen opens for 5  seconds then the actual bonus screen (frmCleoBonus)opens and gives the user 12 free runs with the same numbers marked as frmCleo. What i am having difficulty with is this:
frmCleoBonus also has 80 numbers
Marking the same chosen numbers in frmCleoBonus as were chosen in frmCleo, probably some kind of public array.
frmCleoBonus has no user interaction it just runs 12 times and after the 12 runs it displays bonus results for 5 seconds then returns to frmCleo (1 of 2 screens)
If no win is displays frmBonusComplete for 5 seconds
If a win it displays frmBonusWin showing the amount won for 5 seconds.
If you need a more updated frmCleoBonus you can replace the one you have with the attached
cleoBonus-form.zip
0
Comment
Question by:isnoend2001
  • 3
  • 2
5 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39720111
Looking at the code from your original question I see frmCleoBonus but it is never referenced so I don't understand what you want me to do. I know that originally you had trouble attaching your project because of its size and so I assume that what I have is not the complete project.

You can if you want to, create a zip file from the complete project and upload it to www.mediafire.com and post the resulting URL here. I will then be able to download it.

And BTW a VPG (Visual Basic Group) file is a container for more than one VBP (Visual Basic Project) files. The SCC file you have is probably associated with Visual source Safe.
0
 

Author Comment

by:isnoend2001
ID: 39720180
I uploaded the project here:
http://roofgenius.com/foree12_15_13.zip
Basically i need the numbers selected on the form you have been working on to be selected on
frmCleoBonus to be the same selections, but with a different image in the selected  numbers
Example:
frmCleo selected numbers 11, 15, 23, 57, 42
When frmCleoBonus opens the same numbers will already be selected eg;
 11, 15, 23, 57 and  42. withe image like this:
flexCleoBonus.CellForeColor = vbYellow
 Set flexCleoBonus.CellPicture = imgChoosen.Picture
this is a different cell image.
I also show a splash before frmCleoBonus is shown if that matters
0
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 39720248
Here's a version that updates frmCleoBonus at the same time frmCleo is updated. All changes are marked with 'new4. Please look at all the changes.
Q-28318668.zip
0
 

Author Closing Comment

by:isnoend2001
ID: 39720271
Thank you
Amazing you write stuff in minutes that takes 1 day and then another day to fix errors,
only to find latter the stuff i did not consider
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39720281
You're welcome. It helps that I've been programming for 40+ years and VB for at least 20 of them.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now