Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2013-12-15
5
217 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

829 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