.NETGURU
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...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification