Web Images News Groups Scholar Blogs Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
vb script t area debuggin
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Giamp72  
View profile  
 More options Nov 4, 10:33 am
Newsgroups: microsoft.public.scripting.vbscript
From: Giamp72 <gu...@unknown-email.com>
Date: Wed, 4 Nov 2009 04:33:00 -0600
Subject: vb script t area debuggin

hi, I'm new user, so excuse me if maybe is not the right area for my
thread.
by the way I've a big problem to solve and I hope that someone can help
me soon.

I've an applicatione written in vb6: this is the code:

private sub Form_Load()

dim vbs as new scriptcontrol
vbs.language = "vbScript"
vbs.reset
src = "sub Test()" & vbcrlf
src = src & " msgbox ""test"" " & vbcrlf
src = src & " stop " & vbcrlf
src = src & "End Sub " & vbcrlf

vbs.addcode src
vbs.run "test"

set vbs=nothing
end sub

Like you can see it's a simple script execution. My problem is : how I
can Activate
debug for this kind of script??
In my source script I've inserted Stop instance.. that should cause a
break in script execution... unfortunately it is ignored on my computer.

I've my application installed in windowXP sp1 with Office2000 and in
this machine
the debug is correctly active.. and when I run this application the
script debugger is
activated on stop instance.

Someone have and idea to activate debug for script execution??

thank you very much
Giamp

--
Giamp72


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ikuimba  
View profile  
 More options Nov 19, 12:12 am
Newsgroups: microsoft.public.scripting.vbscript
From: "ikuimba" <rjdegr...@shaw.ca>
Date: Wed, 18 Nov 2009 18:12:20 -0600
Local: Thurs, Nov 19 2009 12:12 am
Subject: Re: vb script t area debuggin
Unless I am mistake, you can't activate the script debugger for this code
because it isn't vbscript. To debug a script you can type

cscript //x scriptname.vbs [arguments]

When the debugger opens, set your breakpoints and run until you hit one.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google