Search:
Namespaces
Discussions
.NET v1.1
Feedback
Editing Windows Script files
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngvs' list
.
Brian Baker
Has anyone used VS.NET to edit Windows Script files (.vbs or .wsf)? When
I used to do this with Visual Interdev, I had to add some extra lines in
to trick VI into thinking it was a script block inside a web page. Just
wondering if the behavior has improved at all...
Brian Baker
Reply to this message...
Andy Smith
vbs seems to work for me.
even has intellisense for COM objects created with CreateObject
don't have any wsf files handy to test those.
__
Andy Smith
Keyboard Jockey #3a7-2.78.1
[Original message clipped]
Reply to this message...
=?iso-8859-1?Q?Patrice_Calv=E9?=
One trick to debug these vbs, is to add a right click handler on .vbs =
files and point them to cscript.exe //X. //X is to ask for debugging.
Explorer -> Tools -> Folder Options
Choose .vbs
Click Advanced
Choose New
Enter:
Action=3DDebug
Application=3DC:\WINNT\system32\cscript.exe %1 //X
After, you right click on a vbs, choose debug, and a box will be =
displayed asking if you want to debug or not, choose Devenv, ...
Very practical.
Pat
Patrice Calv=E9
D=E9veloppeur S=E9nior - Senior Software Developer
Cactus Communications Internet
376 boul. St. Joseph
Hull, QC
J8Y3Y7
* Phone: 819.778.0313 * Fax: 819.420.0121
* E-mail:
Click here to reveal e-mail address
* Web:www.cactus.ca=20
"The gene pool needs a better lifeguard"
-----Original Message-----
From: Andy Smith [mailto:
Click here to reveal e-mail address
]=20
Sent: Tuesday, July 30, 2002 17:42
To: aspngvs
Subject: [aspngvs] RE: Editing Windows Script files
vbs seems to work for me.
even has intellisense for COM objects created with CreateObject
don't have any wsf files handy to test those.
__
Andy Smith
Keyboard Jockey #3a7-2.78.1
[Original message clipped]
| [aspngvs] member
Click here to reveal e-mail address
=3D YOUR ID=20
|
http://www.asplists.com/asplists/aspngvs.asp
=3D JOIN/QUIT=20
|
http://www.asplists.com/search
=3D SEARCH Archives
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com