Re: Visual Basic.net
- From: Tom Shelton <tshelton@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 23 Jul 2005 22:18:37 -0500
On 2005-07-23, Mike Williams <Mike@xxxxxxxxxxxxxxxxx> wrote:
> "Tom Shelton" <tshelton@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:qvydnUMqwexhD3_fRVn-pw@xxxxxxxxxxxxxx
>
>> For, example I converted a [VB6] project a few months ago
>> [to NET] and when I was done I had removed ALL api calls
>> and the lines of code were about 1/2 the VB.CLASSIC version.
>
> Does it compile to an exe file that will run on an "out of the box"
> installation of Win98 / Win XP?
>
Even VB6 requires a runtime... But, no the runtime does not ship with
it. Yes, for some things, that is an issue. I'm not denying that.
> By the way, which specific API calls did you manage to remove? Will it, for
For that particular application, the ones that stand out the most were
the FindFirstChangeNotify and friends. It had a section of code that
was written to watch for creation of certian files (fax images
actually). This whole section of code was easily replaced using the
FileSystemWatcher component in System.IO. I believe there were a couple
of others, but I can't remember precisely which ones.
> example, produce rotated text to the printer without using them? I'm all for
> high level languages removing the need for the programmer to resort to low
> level access. How well does NET fare in that respect?
As for you question about printing rotated text... I don't really know,
since this kind of thing is not my within my normal routine. But, I
wouldn't be suprised if this could be acomplished via the classes in
System.Drawing and System.Drawing.Printing.
You may very well have to call API's for that - I'm not at all saying
that you never have to in .NET, just that the number calls needed has been
significantly reduced. So, I would say that over all it fairs very well
in that respect.
--
Tom Shelton
.
- Follow-Ups:
- Re: Visual Basic.net
- From: Frank Adam
- Re: Visual Basic.net
- References:
- Re: Visual Basic.net
- From: Tom Shelton
- Re: Visual Basic.net
- From: Mike Williams
- Re: Visual Basic.net
- Prev by Date: Re: Visual Basic.net
- Next by Date: Re: Visual Basic.net
- Previous by thread: Re: Visual Basic.net
- Next by thread: Re: Visual Basic.net
- Index(es):
Relevant Pages
|