Troubleshooting Visual Basic Errors

Last Updated : May 26, 2024 |

About this task

The following table describes some of the Visual Basic errors seen while running CMS Supervisor:

About this task

Error Code

Error Message

3

Return without GoSub

5

Invalid procedure call

6

Overflow

7

Out of memory

9

Subscript out of range

10

This array is fixed or temporarily locked

11

Division by zero

13

Type mismatch

14

Out of string space

16

Expression too complex

17

Cannot perform requested operation

18

Resume without error

20

Resume without error

28

Out of stack space

35

Sub, function, or property not defined

47

Too many DLL application clients

48

Error in loading DLL

49

Bad DLL calling convention

51

Internal error

52

Bad file name or number

53

File not found

54

Bad file mode

55

File already open

57

Device I/O error

58

File already exists

59

Bad record length

61

Disk full

62

Input past end of line

63

Bad record number

67

Too many files

68

Device unavailable

70

Permission denied

71

Disk not ready

74

Cannot rename with different drive

75

Path/File access error

76

Path not found

91

Object variable or With block variable not set

92

For Loop not initialized

93

Invalid pattern string

94

Invalid use of Null

298

System DLL could not be loaded

320

Cannot use character device names in specified file names

321

Invalid file format

322

Cannot create necessary temporary file

325

Invalid format in resource file

327

Data value named was not found

328

Illegal parameter; cannot write arrays

335

Could not access system registry

336

ActiveX component not correctly registered

337

ActiveX component not found

338

ActiveX component did not correctly run

360

Object already loaded

361

Cannot load or unload this object

363

Specified ActiveX control not found

364

Object was unloaded

365

Unable to unload within this context

368

The specified file is out of date. This program requires a newer version

371

The specified object cannot be used as an owner form for Show

380

Invalid property value

381

Invalid property-array index

382

Property Set cannot be executed at run time

383

Property Set cannot be used with a read-only property

385

Need property-array index

387

Property Set not permitted

393

Property Get cannot be executed at run time

394

Property Get cannot be executed on write-only property

400

Form already displayed; cannot show modally

402

Code must close topmost modal form first

419

Permission to use object denied

422

Property not found

423

Property or method not found

424

Object required

425

Invalid object use

429

ActiveX component cannot create object or return reference to this object

430

Class does not support OLE Automation

430

Class does not support Automation

432

File name or class name not found during Automation operation

438

Object does not support this property or method

440

OLE Automation error

440

Automation error

442

Connection to type library or object library for remote process has been lost

443

Automation object does not have a default value

445

Object does not support this action

446

Object does not support named arguments

447

Object does not support current locale settings

448

Named argument not found

449

Argument not optional or invalid property assignment

450

Wrong number of arguments or invalid property assignment

451

Object not a collection

452

Invalid ordinal

453

Specified DLL function not found

454

Code resource not found

455

Code resource lock error

457

This key is already associated with an element of this collection

458

Variable uses a type not supported in Visual Basic

459

This component does not support events

460

Invalid Cipboard format

461

Specified format does not match format of data

480

Cannot create AutoRedraw image

481

Invalid picture

482

Printer error

483

Printer driver does not support specified property

484

Problem getting printer information from the system. Is printer is set up correctly?

485

Invalid picture type

486

Cannot print form image to this type of printer

735

Cannot save file to Temp directory

744

Search text not found

746

Replacements too long

31001

Out of memory

31004

No object

31018

Class is not set

31027

Unable to activate object

31032

Unable to create embedded object

31036

Error saving to file

31037

Error loading from file

About this task

You can try out the following steps towards resolving these errors:

Procedure

  1. Log out and log in back again.
  2. If the error is still there, reboot the PC on which the VB error is occurring.
  3. Find out if the error is occurring on any other PC on which CMS Supervisor is installed.
  4. If the error is occurring on only one PC, reinstall CMS Supervisor.
  5. If the error still does not go away, contact Avaya Global Support Services.