Home » , » Daftar Error yang sering muncul di Visual Basic

Daftar Error yang sering muncul di Visual Basic

Perangkap error dapat terjadi ketika aplikasi Anda sedang dijalankan. Beberapa perangkap error juga dapat terjadi saat pengembangan atau ketika peng-compile-an suatu aplikasi yang Anda buat. Anda dapat mengetest dan menanggapi error yang terjadi menggunakan statement "On Error" dan object Err. Nomor error dalam range 1 sampai 1000 telah disediakan untuk digunakan di Visual Basic pada masa-masa selanjutnya.

Daftar perangkap error di bawah merupakan perangkap error yang umum terjadi di Visual Basic ditambah dengan error umum yang berhubungan dengan suatu object umum tertentu, sedangkan untuk beberapa object lainnya, seperti misalnya ADO, atau Datagrid, atau yang lainnya, memiliki daftar perangkap error tersendiri, terpisah dari daftar perangkap error di bawah ini.

------------------------------------------------------------------------
Code Message/Description
------------------------------------------------------------------------
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 Can't perform requested operation
18 User interrupt occurred
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 file
63 Bad record number
67 Too many files
68 Device unavailable
70 Permission denied
71 Disk not ready
74 Can't 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
97 Can't call Friend procedure on an object that is not an
instance of the defining class
98 A property or method call cannot include a reference to
a private object, either as an argument or as a return value
260 No timer available
282 No foreign application responded to a DDE initiate
285 Foreign application won't perform DDE method or operation
286 Timeout while waiting for DDE response
287 User pressed Escape key during DDE operation
288 Destination is busy
290 Data in wrong format
293 DDE Method invoked with no channel open
294 Invalid DDE Link format
295 Message queue filled; DDE message lost
296 PasteLink already performed on this control
297 Can't set LinkMode; invalid LinkTopic
298 System DLL 'dll' could not be loaded
320 Can't use character device names in file names: 'item'
321 Invalid file format
322 Can’t create necessary temporary file
325 Invalid format in resource file
326 Resource with identifier 'item' not found
327 Data value named not found
328 Illegal parameter; can't write arrays
335 Could not access system registry
336 Component not correctly registered
337 Component not found
338 Component did not run correctly
339 Object server 'item' not correctly registered
or not found (Error 339)
340 Control array element 'item' doesn't exist
341 Invalid control array index
342 Not enough room to allocate control array 'item'
343 Object not an array
344 Must specify index for object array
345 Reached limit: cannot create any more controls on this form
360 Object already loaded
361 Can't load or unload this object
362 Can't unload controls created at design time
363 ActiveX control 'item' not found
364 Object was unloaded
365 Unable to unload within this context
366 No MDI form available to load
367 Can't load (or register) ActiveX control: 'item'
368 The file 'item' is out of date. This program requires
a newer version
369 Operation not valid in a DLL
370 The ActiveX Designer's Type Information does not match
what was saved. Unable to Load
371 The specified object can't be used as an owner form for Show()
378 'item' cannot be set while loading
379 You can't put a Default or Cancel button on a Property Page
380 Invalid property value
381 Invalid property array index
382 'Item' property cannot be set at run time
383 'Item' property is read-only
384 A form can't be moved or sized while minimized or maximized
385 Must specify index when using property array
387 'Item' property can't be set on this control
388 Can't set Visible property from a parent menu
389 Invalid key
393 'Item' property cannot be read at run time
394 'Item' property is write-only
395 Cannot use separator bar as menu name for this control
396 'Item' property cannot be set within a page
397 Can't load, unload, or set Visible property for
top level menus while they are merged
398 Client Site not available
399 You can't put a Default or Cancel button on a User Control
unless its DefaultCancel property is set
400 Form already displayed; can't show modally
401 Can't show non-modal form when modal form is displayed
402 Must close or hide topmost modal form first
403 MDI forms cannot be shown modally
404 MDI child forms cannot be shown modally
405 Unable to show modal form within this context
406 Non-modal forms cannot be displayed in this host application
from an ActiveX DLL
419 Permission to use object denied
422 Property not found
423 Property or method not found
424 Object required
425 Invalid object use
426 Only one MDI Form allowed
427 Invalid object type; Menu control required
428 Popup menu must have at least one submenu
429 License information for this component not found. You do not have
an appropriate license to use this functionality in the
design environment
430 Class doesn't support Automation
432 File name or class name not found during Automation operation
438 Object doesn't support this property or method
440 Automation error
442 Connection to type library or object library for remote process
has been lost
443 Automation object doesn't have a default value
444 Method not applicable in this context
445 Object doesn't support this action
446 Object doesn't support named arguments
447 Object doesn't support current locale setting
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 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 doesn't support the set of events
460 Invalid Clipboard format
461 Method or data member not found
462 The remote server machine does not exist or is unavailable
463 Class not registered on local machine
480 Can't 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.
Make sure the printer is set up correctly
485 Invalid picture type
486 Can't print form image to this type of printer
490 Top-level or invalid menu specified as PopupMenu default
520 Can't empty Clipboard
521 Can't open Clipboard
523 The data binding DLL, 'item', could not be loaded
524 'item'
525 Data Access Error
527 The given bookmark was invalid
536 Could not lock the database
537 Could not access the desired Column
541 Could not lock the database
542 The row has been deleted since the update was started
545 Unable to bind to field: 'item'
672 DataObject formats list may not be cleared or expanded
outside of the OLEStartDrag event
673 Expected at least one argument
674 Illegal recursive invocation of OLE drag and drop
675 Non-intrinsic OLE drag and drop formats used with
SetData require Byte array data. GetData may return
more bytes than were given to SetData
676 Requested data was not supplied to the DataObject
during the OLESetData event
688 Failure in AsyncRead
689 PropertyName parameter conflicts with the PropertyName
of an AsyncRead in progress
690 Can't find or load the required file urlmon.dll
693 An unknown protocol was specified in Target parameter
735 Can't 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

Jika di deskripkan di bahasa indonesia adalah sebagai berikut:

 3 Kembali tanpa GoSub 
5 prosedur panggilan tidak valid 
6 Overflow7 Memori 
9 Subscript luar jangkauan 
10 array ini adalah tetap atau sementara terkunci 
11 Pembagian dengan nol 
13 Jenis mismatch
 14 Keluar dari ruang string 
16 Ekspresi terlalu kompleks 
17 Tidak dapat melakukan operasi yang diminta 
18 Pengguna interrupt terjadi 
20 Lanjutkan tanpa kesalahan 
28 Keluar dari ruang stack 
35 Sub , Fungsi , atau properti tidak didefinisikan 
47 Terlalu banyak klien aplikasi DLL 
48 Kesalahan dalam memuat DLL 
49 Bad panggilan DLL konvensi 
51 Kesalahan internal 
52 nama file buruk atau nomor 
53 File tidak ditemukan 
54 mode file Bad
 55 file sudah terbuka 
57 Perangkat I / O error 
58 Berkas sudah ada 
59 panjang record Bad 
61 Disk penuh 
62 Input melewati akhir file 
63 catatan jumlah Bad 
67 Terlalu banyak file 
68 Perangkat tidak tersedia 
70 Izin ditolak 
71 Disk tidak siap 
74 Tidak dapat mengubah nama dengan drive yang berbedaKesalahan akses 
75 Path / File 
76 Jalur tidak ditemukan 
91 variabel Obyek atau Dengan variabel blok tidak diatur 
92 Untuk lingkaran tidak diinisialisasi 
93 pola string tidak valid 
94 penggunaan tidak valid dari Null 
97 Tidak dapat memanggil prosedur Teman pada objek yang bukaninstance dari kelas mendefinisikan 
98 A properti atau metode panggilan tidak dapat menyertakan referensi untukbenda pribadi , baik sebagai argumen atau sebagai nilai kembali 
260 No timer tersedia 
282 Tidak ada aplikasi asing merespon DDE memulai 
285 aplikasi asing tidak akan melakukan metode DDE atau operasi 
286 Timeout sambil menunggu respon DDE 
287 Pengguna menekan tombol Escape selama operasi DDE 
288 Destination sibuk
 290 Data dalam format yang salah 
293 Metode DDE dipanggil tanpa saluran terbuka 
294 tidak valid Format DDE Tautan 
295 Pesan antrian penuh , pesan DDE hilang 
296 PasteLink sudah dilakukan pada kontrol ini 
297 Tidak dapat mengatur LinkMode ; LinkTopic valid 
298 Sistem DLL ' dll ' tidak dapat dimuat 
320 Tidak dapat menggunakan karakter nama perangkat dalam nama file : 'item ' 
321 format file tidak valid 
322 Cana € ™ t membuat file sementara yang diperlukan 
325 Format valid dalam file resource 
326 Sumber Daya dengan identifier 'item ' tidak ditemukan 
327 Data nilai bernama tidak ditemukan 
328 parameter ilegal , tidak bisa menulis array 
335 Tidak dapat mengakses sistem registry 
336 Komponen tidak terdaftar dengan benar 
337 Komponen tidak ditemukan 
338 Komponen tidak berjalan dengan benar 
339 Obyek Server 'item ' tidak terdaftar dengan benaratau tidak ditemukan ( Error 339 ) 
340 Kontrol elemen array 'item ' tidak ada 
341 control tidak valid indeks array 
342 Tidak cukup ruang untuk mengalokasikan array kontrol 'item ' 
343 Obyek bukan array344 Harus menentukan indeks untuk array objek
 345 Batas Tercapai: tidak dapat membuat kontrol lebih pada formulir ini 
360 Obyek sudah dimuat
 361 Tidak dapat memuat atau membongkar objek ini 
362 Tidak dapat membongkar kontrol dibuat pada saat desain 
363 ActiveX control 'item ' tidak ditemukan 
364 Obyek itu dibongkar365 Tidak dapat membongkar dalam konteks ini 
366 bentuk MDI Tidak tersedia untuk memuat 
367 Tidak dapat memuat ( atau mendaftar ) kontrol ActiveX : 'item ' 
 68 Berkas 'item ' sudah ketinggalan zaman . Program ini mengharuskanversi yang lebih baru 
369 Operasi tidak valid dalam DLL 
370 ActiveX Designer Informasi Type tidak cocokapa yang disimpan . Tidak Load
 371 objek tertentu tidak dapat digunakan sebagai bentuk pemilik untuk Show ( )
 378 'item ' tidak dapat diatur saat memuat 
379 Anda tidak dapat menempatkan Default atau tombol Cancel pada Halaman Properti 
380 nilai properti tidak valid 
381 indeks array properti tidak valid 
382 ' Barang ' properti tidak dapat diatur pada jangka waktu 
383 ' Barang ' properti read-only 
384 bentuk A tidak dapat dipindahkan atau berukuran sementara diminimalkan atau dimaksimalkan 
385 Harus menentukan indeks saat menggunakan berbagai properti 
387 ' Barang ' properti tidak dapat diatur pada kontrol ini388 Tidak dapat mengatur properti Visible dari menu induk 
389 kunci tidak valid 
393 ' Barang ' properti tidak dapat dibaca pada saat run 
394 ' Barang ' properti write -only 
395 Tidak bisa menggunakan pemisah bar sebagai nama menu untuk kontrol ini 
396 ' Barang ' properti tidak dapat ditetapkan dalam suatu halaman 
397 Tidak dapat memuat , membongkar , atau mengatur properti Visible untukmenu tingkat atas sementara mereka digabung 
398 Client Site tidak tersedia 
399 Anda tidak dapat menempatkan Default atau tombol Cancel pada User Controlkecuali properti DefaultCancel yang diatur 
400 Formulir yang sudah ditampilkan , tidak dapat menunjukkan modally 
401 Tidak dapat menunjukkan bentuk non -modal ketika bentuk modal ditampilkan
 402 Harus menutup atau menyembunyikan bentuk modal paling atas pertama 
403 bentuk MDI tidak dapat ditampilkan modally 
404 MDI bentuk anak tidak dapat ditampilkan modally 
405 Tidak dapat menunjukkan bentuk modal dalam konteks ini 
406 bentuk Non -modal tidak dapat ditampilkan dalam aplikasi host inidari DLL ActiveX
 419 Izin untuk menggunakan objek ditolak 
422 Properti tidak ditemukan
 423 properti atau metode tidak ditemukan 
424 Objek dibutuhkan 
425 penggunaan objek tidak valid 
426 Hanya satu Form MDI diperbolehkan 
427 jenis objek tidak valid , menu kontrol yang diperlukan 
428 menu Popup harus memiliki minimal satu submenu 
429 Informasi Lisensi untuk komponen ini tidak ditemukan . Anda tidak memilikilisensi yang sesuai untuk menggunakan fungsi ini dalamdesain lingkungan 
430 Kelas tidak mendukung Otomasi 
432 File name atau nama kelas tidak ditemukan selama operasi Otomasi 
438 Obyek ini tidak mendukung properti atau metode 
440 error Otomasi 
442 Connection untuk mengetik perpustakaan atau perpustakaan objek untuk proses remotetelah hilang 
443 objek Otomasi tidak memiliki nilai default 
444 Metode tidak berlaku dalam konteks ini 
445 Obyek ini tidak mendukung tindakan ini 
446 Objek tidak mendukung argumen bernama 
447 Objek tidak mendukung pengaturan lokal saat ini 
448 argumen Dinamakan tidak ditemukan 
449 Argumen tidak opsional atau tidak valid tugas properti 
450 Jumlah salah dari argumen atau tugas properti tidak valid 
451 Obyek tidak koleksi 
452 ordinal tidak valid 
453 Ditentukan tidak ditemukan 
454 Kode sumber tidak ditemukan 
455 sumber daya Kode kesalahan kunci 
457 Kunci ini sudah dikaitkan dengan unsur koleksi ini 
458 Variabel menggunakan jenis tidak didukung dalam Visual Basic 
459 Komponen ini tidak mendukung rangkaian peristiwa 
460 Format Clipboard tidak valid
 461 Metode atau data anggota tidak ditemukan 
462 Mesin remote server tidak ada atau tidak tersedia
 463 Kelas tidak terdaftar pada mesin lokal 
480 Tidak dapat membuat AutoRedraw image 
481 gambar tidak valid
 482 error Printer 
483 driver printer tidak mendukung properti tertentu 
484 Soal mendapatkan informasi printer dari sistem.Pastikan printer sudah disiapkan dengan benar 
485 Jenis gambar tidak valid
 486 Tidak dapat mencetak bentuk gambar untuk jenis printer 
490 Top -level atau menu yang tidak valid ditetapkan sebagai standar PopupMenu 
520 Tidak dapat mengosongkan Clipboard 
521 Tidak dapat membuka Clipboard
 523 Pengikatan DLL , 'item ' , data yang tidak dapat dimuat 
524 'item 'Error
 525 Data Access 
527 bookmark yang diberikan tidak sah 
536 Tidak dapat mengunci basis data 
537 Tidak bisa mengakses Kolom yang diinginkan
 541 Tidak dapat mengunci basis data542 Baris telah dihapus sejak update dimulai 
545 Tidak dapat mengikat ke lapangan : 'item 'Daftar 
672 format DataObject tidak boleh dibersihkan atau diperluasdi luar acara OLEStartDrag 
673 Diharapkan setidaknya satu argumen 
674 doa rekursif Ilegal OLE drag and drop
 675 OLE drag dan drop format Non - intrinsik digunakan denganSetData memerlukan data Byte array . GetData dapat kembalilebih banyak byte dari diberikan kepada SetData 
676 Data Diminta tidak dipasok ke DataObjectselama acara OLESetData
 688 Kegagalan di AsyncRead 
689 PropertyName konflik parameter dengan PropertyName yangdari AsyncRead berlangsung 
690 Tidak dapat menemukan atau memuat file urlmon.dll yang dibutuhkan 
693 Protokol tidak diketahui ditentukan dalam parameter Sasaran 
735 Tidak dapat menyimpan file ke direktori TEMP
 744 Cari teks tidak ditemukan 
746 Penggantian terlalu lama 
31001 Memori 
31004 Tidak ada objek 
31.018 Kelas tidak diatur 
31027 Tidak dapat mengaktifkan obyek 
31032 Tidak dapat membuat objek tertanam
 31036 Kesalahan menyimpan ke file 
31.037 Galat saat memuat dari file

Written by : Ihksan Fauzi - Tentang Saya

Bukan siapa-siapa dan bukan apa-apa. Hanya NewBie Yang mencoba berbagi apa yang saya peroleh.

Join Me On: Facebook | Google Plus :: Thank you for visiting ! ::