Solved

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

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

832 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