Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-12-15
5
Medium Priority
?
227 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 49

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 49

Accepted Solution

by:
Martin Liss earned 2000 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 49

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

916 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