rss

Jumat, Agustus 6

Kode Error di Visual Basic bag 1

Bagi Sobat yang menggunakan bahasa pemrograman Visual Basic yang merupakan salah satu bahasa pemrograman Tingkat Tinggi ,biasanya akan ada saja menemukan error setelah proses  penulisan kode program yang dibuatnya,yang ditemukan ketika melakukan debug atau compile program yang dibuat.

Bisa saja kita menambahkan statement " On Error " dan object Err untuk mengetahui kesalahan dalam penulisan penulisan kode program. atau bisa juga menuliskan seperti ini :

Code:

?Err.Description

?Err.Number

pada jendela immediate (Immediate Window) => VB6
?Err.Description => Untuk mengetahui error message
?Err.Number => Untuk mengetahui Error Number (Kode Error)

dibawah ini penulis lampirkan daftar-daftar kode error secara umum

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

bersambung di artikel selanjutnya

Related Article:

Related Website

1 comments:

Cara Membuat Facebook on Senin, Agustus 09, 2010 10:11:00 PM mengatakan...

kalau ngebahas masalah yang satu ini saya kurang paham


Posting Komentar

Silahkan berkomentar ya..saya berharap sobat dapat memberikan saran dan komentarnya disini..Terimakasih.

Cari Blog Ini

Yahoo bot last visit powered by  Ybotvisit.comMsn bot last visit powered by MyPagerank.Net Page Rank Add to Technorati Favorites Add to Technorati Favoritesblogarama - the blog directory Webmaster-Resources.com.ru Subscribe with Bloglines Literature Top Blogs Blog Directory Directory of Science Blogs Blog Directory ReadABlog.com Blog Search Engine Top 10 Bertuah Join My Community at MyBloglog! ngeblog,internet,software,hardware,laptop,komputer,hacking cracking,tips dan trik serta program Bisnis online Personal Blogs - BlogCatalog Blog Directory RSSMicro FeedRank Results Find broken links on your website for free with LinkTiger.com My Ping in TotalPing.com

Free Blog Counter

Direktori Indonesia - Indonesian free listing directory, SEO friendly free link directory, a comprehensive directory of Indonesian website. blogarama.com TopOfBlogs Add to Technorati Favorites

Dofollow Backlinks

free counters

KampungBlog.com - Kumpulan Blog-Blog Indonesiablog-indonesia.com
 

Masukkan Alamat e-mail kamu untuk mendapatkan Postingan Terbaru langsung di email kamu GRATIS:

Dikirim by FeedBurner

Pengikut

Gadget

Konten ini belum tersedia melalui sambungan terenkripsi.