Reputation: 324 Architect
- Active Posts:
- 1,926 (0.74 per day)
- 26-March 09
- Profile Views:
- Last Active:
- Today, 02:47 AM
- OS Preference:
- Who Cares
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
- Expert In:
Posts I've Made
Posted 26 Apr 2016Formating was the big issue; 7 never did it correctly. I had a few others from time to time but the format function was the big one.
Oh, OK. I obviously don't know what the exact issue was with the format function, but personally I would've persevered and moved forward. I'm still running VB6 on Win7 and 8 for support purposes without any real issues, so I know it works quite happily.
Good luck with the resurrection.
Posted 25 Apr 2016Sounds like a more fundamental issue and not just vb6!
This link explains how to fully uninstall a .net installation manually, not sure if that helps at all.
If you don't mind me asking, what functionality did you need under XP that you couldn't get under Windows 7?
Posted 25 Apr 2016Are you sure it's the 2nd redim and not the 3rd with the preserve keyword?
The preserve keyword will only allow you to redimension the last element of the array, which is why you're getting the error.
Posted 24 Apr 2016It's because MP3 files have a default association with Media Player on your machine and you can't just override the icon by selecting a different app (I've just reproduced it on my XP VM, except it defaults to itunes).
As Andrew has pointed out, it does look as though you may have to edit the registry to achieve what you want, whether that be in code or manually.
Alternatively, if it's on your own machine,then this tool will do the trick (did for me anyway)
Posted 6 Apr 2016I'm not sure where a textbox comes into this as you haven't given any indication of your code.
I would assume you have your score in a variable, lets say it's an integer called intScore.
So as Modi has suggested, you just concatenate this with the string you want to show.
Be aware, that if you are using an integer as your variable, then you would need to cast (convert) it to a string (VB6 is fairly forgiving, but it's good practice)
So for example
'Using an integer variable msgbox "Your score is: " & cstr(intScore), vbInformation, "Grand Total" 'or using a string type (from a text box or string variable) msgbox "Your score is: " & txtScore.Text ,vbInformation,"Grand Total"
- Member Title:
- D.I.C Lover
- 44 years old
- June 12, 1971
- Programming Languages:
- C#, VB
- Website URL: