473,395 Members | 1,468 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,395 software developers and data experts.

need help with upgrade of from vb6 to vb.net

'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"'
'UPGRADE_WARNING: Couldn't resolve default property of object Label. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
Label = New Object(){Box1, Box2, Box3, Box4, Box5, Box6, Box7, Box8, Box9, Box10, Box11, Box12, Box13, Box14, Box15, Box16, Box17, Box18, Box19, Box20, Box21, Box22}

'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"'
'UPGRADE_WARNING: Couldn't resolve default property of object Numbers. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
Numbers = New Object(){0.01, 0.1, 0.5, 1, 5, 10, 50, 100, 250, 500, 750, 1000, 3000, 5000, 10000, 15000, 20000, 35000, 50000, 75000, 100000, 250000}

For Index = 0 To 21
'UPGRADE_WARNING: Couldn't resolve default property of object Label(Index).Caption. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
'UPGRADE_WARNING: Couldn't resolve default property of object Label().Visible. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
If Label(Index).Caption = YourBox.Text Then Label(Index).Visible = False
Next

Randomize()
'UPGRADE_WARNING: Couldn't resolve default property of object Chosen. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
Chosen = Int(Rnd() * 22)
'UPGRADE_WARNING: Couldn't resolve default property of object Numbers(). Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
lbl1cash = Numbers(Chosen)

Do
Randomize()
'UPGRADE_WARNING: Couldn't resolve default property of object Chosen. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
Chosen = Int(Rnd() * 22)
'UPGRADE_WARNING: Couldn't resolve default property of object Numbers(). Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
lbl2cash = Numbers(Chosen)
Loop While lbl2cash = lbl1cash

Do
Randomize()
'UPGRADE_WARNING: Couldn't resolve default property of object Chosen. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
Chosen = Int(Rnd() * 22)
'UPGRADE_WARNING: Couldn't resolve default property of object Numbers(). Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
lbl3cash = Numbers(Chosen)
Loop While lbl3cash = lbl2cash Or lbl3cash = lbl1cash

Do
Randomize()
'UPGRADE_WARNING: Couldn't resolve default property of object Chosen. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
Chosen = Int(Rnd() * 22)
'UPGRADE_WARNING: Couldn't resolve default property of object Numbers(). Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
lbl4cash = Numbers(Chosen)
Loop While lbl4cash = lbl3cash Or lbl4cash = lbl2cash Or lbl4cash = lbl1cash

Do
Randomize()
'UPGRADE_WARNING: Couldn't resolve default property of object Chosen. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
Chosen = Int(Rnd() * 22)
'UPGRADE_WARNING: Couldn't resolve default property of object Numbers(). Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
lbl5cash = Numbers(Chosen)
Loop While lbl5cash = lbl4cash Or lbl5cash = lbl3cash Or lbl5cash = lbl2cash Or lbl5cash = lbl1cash

Do
Randomize()
'UPGRADE_WARNING: Couldn't resolve default property of object Chosen. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
Chosen = Int(Rnd() * 22)
'UPGRADE_WARNING: Couldn't resolve default property of object Numbers(). Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
lbl6cash = Numbers(Chosen)
Loop While lbl6cash = lbl5cash Or lbl6cash = lbl4cash Or lbl6cash = lbl3cash Or lbl6cash = lbl2cash Or lbl6cash = lbl1cash

Do
Randomize()
'UPGRADE_WARNING: Couldn't resolve default property of object Chosen. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
Chosen = Int(Rnd() * 22)
'UPGRADE_WARNING: Couldn't resolve default property of object Numbers(). Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
lbl7cash = Numbers(Chosen)
Loop While lbl7cash = lbl6cash Or lbl7cash = lbl5cash Or lbl7cash = lbl4cash Or lbl7cash = lbl3cash Or lbl7cash = lbl2cash Or lbl7

does anyone know how to resolve this
Feb 20 '07 #1
1 6093
dorinbogdan
839 Expert 512MB
Try to rename the object Label used in:
If Label(Index).Caption =...
and the variable Index used in:
For Index = 0 To 21...

They are system keywords.
Feb 20 '07 #2

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

Similar topics

3
by: Ryan Cowan | last post by:
I would like to upgrade from XP Home to Professional. However, I get the following error message: "Setup cannot continue because the version of Windows on your computer is newer than the version...
4
by: interflex | last post by:
We are currently using SQL 2000 Standard with W2K Standard and the server has 3Gb of RAM. SQL is currently occupying 1.85Gb of memory which I believe is the maximum for this version of the OS. I...
18
by: spiffo | last post by:
The Main Issue in a nutshell I am a corporate developer, working for a single company. Got a new project coming up and wondering if I should stay with Python for this new, fairly large project,...
236
by: Andrew Rawnsley | last post by:
Anyone out there using beta 2 in production situations? Comments on stability? I am rolling out a project in the next 4 weeks, and really don't want to go though an upgrade soon after its released...
36
by: Tim | last post by:
Is there a way to upgrade from Visual C++ Net 2002 to Visual C++ Net 2003? The 2002 version does not provide a Windows Forms Designer. I can't find any upgrade package on Microsoft's website. ...
1
by: noone | last post by:
I upgraded VS 2003 and asked my ISP (MaximumASP) to upgrade the server to net 1.1. That was two weeks ago and I am having a problem that will not go away. When publishing the site from VS I get an...
0
by: Roger | last post by:
Hi All, I bought a Toshiba e755 PPC 2002 in Asia, unfortunately the 2003 upgrade was not available in Asia, I was living in Taiwan and tried to get Toshiba to ship a copy from the USA - I cannot...
0
by: bigheadfish | last post by:
I am asked to upgrade mysql 3.23 to 4.0, because the final objective is to upgrade to 5.0. I have several questions. If you have some similar experience, please give me a hand. 1. Can version 3...
4
by: tootsuite | last post by:
Help. I have been tasked with upgrading a 2000 instance to 2005. I have actually done this before, but it was a long time ago, and I didn't do it alone. Now, the sitation is little different, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.