473,408 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Combo Streak in a game how do you save them when resetting to 0

Im making this game its kinda like dance dance revolution and I can quite figure out how to save the highest streak of a combo so the combo streak does well every time you hit an arrow Combo_Counter increment by 1 and if you miss 1 your Combo_Counter reset to 0 its all good but I want to save the highest combo streak and dont quite know what to do. Here is a sample of my code:

Expand|Select|Wrap|Line Numbers
  1.         Combo_Count.Text = Combo_Counter
  2.         Combo_Counter_2 = Combo_Counter
  3.         If Combo_Counter >= 1 Then
  4.             Combo.Visible = True
  5.             Combo_Count.Visible = True
  6.         End If
  7.         If Combo_Counter = 0 Then
  8.             Combo.Visible = False
  9.             Combo_Count.Visible = False
  10.         End If
Nov 14 '13 #1
0 824

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Sean | last post by:
i am writing a class that visual demonstrates the result of changing the quality of a jpeg. the intention is to do this by saving the file and a selected quality, then reloading it to get an idea of...
1
by: Jim Stacey | last post by:
In my form based on the table Customers i have a combo box looking up for the employees. The tables Employees and Customers are related in one to many relationship, the primary key Employeeid in...
2
by: TD | last post by:
This should be simple but I can't figure it out! I have a form bound to a query. On this form is a combo box that is bound to the same query. When the form loads the combo box is blank. If you...
4
by: Dave Brydon | last post by:
Access 2003 I have a combo box in my personnel table, which draws its data from a trade code table; the original field in the code table, is numeric, Long Integer, and formatted with 5 zero's . ...
4
by: eewwttww | last post by:
how to save with only WebBrowser: save html+picture without dialog box? what I Have is: WebBrowser.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER, 300, 300 I don't want this code. I want...
1
by: eewwttww | last post by:
how to show the "txt code" that the WebBrowser wont to save when he wont to save html+pictures with the "dialogbox" - before saving. this is the code to open the save "dialogbox" ...
0
by: eewwttww | last post by:
how to show the html code that the WebBrowser want to save when he want to save html+pictures with the "dialogbox" - before saving. this is the code to open the save "dialogbox" ...
4
by: Roy | last post by:
I declared a global array which is populated on form_load. I set a breakpoint in the code and run. I click on a control and execution begins (and the array is accessed). The code hits the...
0
by: CD Tom | last post by:
This has just started happening since I've converted to Access 2007. I have a combo box that selects the Master.name and Master.AccountNumber from the masterfile the bound column is column 1. The...
3
by: scookie | last post by:
Here is my situation: I have frmSiteInfo(tblSite) which holds my main surveysite data, and within each Site, you can have Surveys (frmSurveyInfo/tblSurvey) (which is a subform of frmSiteInfo on a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.