![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Show VBScript error message in windows Form Application Hi I want to know if possible to show the error message in my program instead of windows script Host messagebox when i run a vbscript from my text editor. Im try to put the error information in the listview like a compiler Thanks kaymaf |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Show VBScript error message in windows Form Application "kaymaf" <kaymaf@newsgroup> wrote in message news:873F4C21-08C3-46F8-9E48-EC1A9593900C@newsgroup Quote: > Hi > I want to know if possible to show the error message in my program > instead > of windows script Host messagebox when i run a vbscript from my text > editor. Im try to put the error information in the listview like a > compiler > > Thanks > kaymaf help file, script56.chm, talks about both types of errors. Since the program is generally not running at 'compile time', it can't catch most of those. It takes a great deal of discipline to properly catch all run time errors. For some insights on the run time error problem, see this thread: http://groups.google.com/g/78d7fef5/...e499870376eb11 -Paul Randall |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Show VBScript error message in windows Form Application Thanks Paul yes, im looking for the compile-time errors. I should be Ok with the link you posted Also, where can i get the help file script56.chm on my computer kaymaf |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Show VBScript error message in windows Form Application Navigate here: http://www.microsoft.com/downloads/en/default.aspx and search for the file of interest. If you search for *.chm you will find links to a number of other files with good info on various aspects of scripting. -Paul Randall "kaymaf" <kaymaf@newsgroup> wrote in message news:88B24FAD-C513-464B-9C35-985F4CC6A090@newsgroup Quote: > Thanks Paul > > yes, im looking for the compile-time errors. I should be Ok with the link > you posted > Also, where can i get the help file script56.chm on my computer > kaymaf > > |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Show VBScript error message in windows Form Application "kaymaf" <kaymaf@newsgroup> wrote in message news:88B24FAD-C513-464B-9C35-985F4CC6A090@newsgroup Quote: > Thanks Paul > > yes, im looking for the compile-time errors. I should be Ok with the link > you posted > Also, where can i get the help file script56.chm on my computer > kaymaf encounters its first error. It might be possible to write a script and that parses the script of interest into logical lines or blocks (like Sub ... End Sub) that have to be compiled together, and then does an execute statement on the lines/blocks, and maybe trap the errors generated by the compile process. I haven't tried it. -Paul Randall |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| VBScript Form Filler | VB Script | |||
| VBScript halts with out error message | VB Script | |||
| error CDO.Message - VBScript | VB Script | |||
| reference / manage application windows with vbscript | VB Script | |||
| Windows media player show error message and doesnt play | Vista music pictures video | |||