Fog Creek Software
g
Discussion Board




VBScript Export Add-in for VB6?

Does anyone know where I can find something like this? 

I don't imagine that it would be too much of a feat to accomplish, you would just have to find and replace any non-vbscript compatible language features like variable typing and other such things.

Right now I use VB6 as my vbscript editor, but to get proper intelli-sense, I have to use typing.  Then, I have to manually remove the types from the variables I was working on after copying the code to the .vbs file.

I know I could do this in a few hours, but I'm busy, so I'd like to try to find something first.  If I can' t find something, I will create the add-in myself and post it here if anyone expresses interest.

Thanks.

Wayne
Saturday, December 6, 2003

Why not use Visual Interdev?


Saturday, December 6, 2003

No offense, but I think Visual Interdev is one annoying program to use and it's intellisense features are lacking.

I really like the VB6 IDE and I've also got a bunch of really useful add-ins for it that I don't have for other IDE's like Primalscript, etc.

Wayne
Saturday, December 6, 2003

>No offense, but I think Visual Interdev is one annoying program to use and it's intellisense features are lacking.

Same here, dude!

Sathyaish Chakravarthy
Saturday, December 6, 2003

Hey, Wayne. Did I also see you on CodeGuru forums just now? Are you Wayne B on the CodeGuru forums?

Sathyaish Chakravarthy
Saturday, December 6, 2003

http://www.codeguru.com/forum/showthread.php?s=&threadid=275024

That confirms it. I was doubting if you were Wayne Freeze, the author of A Visual Basic Programmer's Guide to COM and COM+.

Sathyaish Chakravarthy
Saturday, December 6, 2003

The VBScript intellisense is certainly much simpler than the equivalent VB intellisense.  Believe me, writing a type-inferencing error-recovering parser for VBScript was not trivial! But I think I did a reasonably good job considering what I had to work with.

I don't know of any tools that do what you want.  Writing a VB-to-VBScript converter for a "scripty" subset of VB would be pretty straightforward, but you'll run into some real problems getting things like on-error-goto working properly. 

Eric Lippert
Saturday, December 6, 2003

Yes, that's me on the other forums.  I figured I'd get the word out :)

I don't need a full fledged VB to VBScript converter.  I can remember that when I'm using VB6 to write VBScript, not to use the "On Error Goto" method of error handling. 

Perhaps though, if I were to do it I would make it part of the process to check for things like that and warn the user.

Wayne
Saturday, December 6, 2003

*  Recent Topics

*  Fog Creek Home