[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

vb6 windows 2000 urgent

I have a vb app that I just loaded onto a 2000 machine.

the code has worked for a long time on xp and other machines.

I have a line that sets the index of a listbox to 0, for some reason, I am getting

Invalid property value.

I even have vb6 loaded and am doing it thought the debugger.

Help please, this is urgent
0
jackjohnson44
Asked:
jackjohnson44
  • 3
1 Solution
 
inthedarkCommented:
1) Did you run an install that you created on an XP machine?

2) What service pack level do you have installed?
0
 
inthedarkCommented:
VB6 service pack to be clear.
0
 
inthedarkCommented:
Also you cannot set the index of a control becuase it is set when the listbox array is created.

Do you mean listindex?
0
 
jackjohnson44Author Commented:
lstInstSetups is a listbox

this code works on any pc I have ever used, when I tried it on 2000, it didn't

        lstInstSetups.ListIndex = 0

I guess it doesn't matter, I am going to change to xp, this isn't worth it.

Thanks though
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now