Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11140

Re: VbScript and .NET objects

From GS <gs@v.invalid>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: VbScript and .NET objects
Date 2015-08-30 17:14 -0400
Organization A noiseless patient Spider
Message-ID <mrvrkk$eja$1@dont-email.me> (permalink)
References (5 earlier) <mrvcsk$gj2$1@dont-email.me> <mrvdbb$ikv$1@dont-email.me> <mrvf0g$prn$1@dont-email.me> <mrvggj$kj$1@dont-email.me> <mrvqsn$bks$1@dont-email.me>

Show all headers | View raw


>> Interesting about your syntax coloring! I've been using TextPad with 
>> my CncFiles Pro app as an optional editor to Notepad for about 10 
>> years now. It supports syntax coloring and so when I started 
>> shipping it with my app I created my own gcode.syn file so it uses 
>> standard machine code editor colors for key characters/words/flags. 
>> Actually, it's pretty much the same as any editor used for writing 
>> Basic. Only personal preference change I made was to color comments 
>> light grey so the machine code stood out better!
>> 
>
>  I seem to remember an OSS control for syntax
> coloring being available at one point. They all
> seem to take the same approach, though. By
> coloring keywords/comments/strings they can
> adapt fairly easily to numerous different languages.
>
>   I wrote my own code because I wanted to color
> variables, which are more challenging. I find it very
> handy in VBS, especially. As long as I declare the
> variable it will be colored and the case matched.
> That makes it easy to recognize misspellings. I also
> like VB6 for the way it will match case for declared
> variables and methods, but VB6 never provided the
> option to color variables. It only adjusts the case
> of them. It has a color for "identifiers", but that's
> meaningless. It includes everything that's not a
> string, comment or keyword. So it's really just
> "code color".

Sounds very useful! I now use the x64 edition of TextPad and so I 
suspect it's very .Net under the hood. I do know, though, there are 
lots of non-.Net controls out there for Delphi based apps, both 
x86/x64. I was looking very hard at going with Delphi to replace VB6 so 
I could make x64 apps, leaving VB[A]/VBS only as my main langs. I 
decided to stick with VB6 because I'm too heavily invested in 3rd party 
AX controls, and couldn't justify the cost of replacing them for Delphi 
use. Ok for doing x86 apps but was looking to move to x64 sooner than 
later.

-- 
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
  comp.lang.basic.visual.misc
  microsoft.public.vb.general.discussion

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

VbScript and .NET objects noone@no.void (Reventlov) - 2015-08-29 12:40 +0000
  Re: VbScript and .NET objects "Mayayana" <mayayana@invalid.nospam> - 2015-08-29 10:39 -0400
    Re: VbScript and .NET objects "Mayayana" <mayayana@invalid.nospam> - 2015-08-29 10:55 -0400
      Re: VbScript and .NET objects GS <gs@v.invalid> - 2015-08-30 12:25 -0400
        Re: VbScript and .NET objects "Mayayana" <mayayana@invalid.nospam> - 2015-08-30 12:55 -0400
          Re: VbScript and .NET objects GS <gs@v.invalid> - 2015-08-30 13:02 -0400
            Re: VbScript and .NET objects GS <gs@v.invalid> - 2015-08-30 13:10 -0400
              Re: VbScript and .NET objects "Mayayana" <mayayana@invalid.nospam> - 2015-08-30 13:42 -0400
                Re: VbScript and .NET objects GS <gs@v.invalid> - 2015-08-30 14:04 -0400
                Re: VbScript and .NET objects "Mayayana" <mayayana@invalid.nospam> - 2015-08-30 17:05 -0400
                Re: VbScript and .NET objects GS <gs@v.invalid> - 2015-08-30 17:14 -0400
          Re: VbScript and .NET objects "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2015-08-30 21:45 -0400
            Re: VbScript and .NET objects "Mayayana" <mayayana@invalid.nospam> - 2015-08-30 23:09 -0400
              Re: VbScript and .NET objects "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2015-08-31 07:40 -0400
                Re: VbScript and .NET objects "Mayayana" <mayayana@invalid.nospam> - 2015-08-31 09:50 -0400
    Re: VbScript and .NET objects johnbeschler@gmail.com - 2017-03-15 10:24 -0700
      Re: VbScript and .NET objects "Mayayana" <mayayana@invalid.nospam> - 2017-03-15 14:40 -0400
        Re: VbScript and .NET objects "Mayayana" <mayayana@invalid.nospam> - 2017-03-15 21:38 -0400

csiph-web