472,779 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,779 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 5987
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: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.