Re: Is developing in VB6 still viable?



On 2007-12-13, MikeB <m.byerleyATVerizonDottieNettie> wrote:

What is wrong with Win32 that MS needed to add an extra layer, that
couldn't be solved in improved libraries and run-times?

Win32 is dying.

Tom,
The following is a minimum Delphi GUI that formless compiles to 386k, with form
compiles to 387k, and might be a skosh smaller if I called the windows version
directly so I didn't have to add the dialogs unit:


program Project1;
uses
dialogs;

{$R *.res}

begin
showmessage('Hello World');
end.


How does this relate to a .Net app? Just curious.

You mean in code?

using System;
using System.Windows.Forms;

public class MainForm : Form
{
public MainForm ()
{
MessageBox.Show ("Hello, World!");
}

public static void Main ()
{
Application.Run (new MainForm());
}
}

compiled size - 16K.
console app - 16K


Also, it is great that .Net improves the workflow for team efforts, but how
does it improve things for others that do more mundane things like the little
utility/helper progs that I do?.


Improved intellisense, Improved design tools, improved souce control
integration, inclusion of refactoring aides (at least in c# - love
them), testing tools, etc, etc. Improved reusability, easier install
(in managed environments - xcopy). Greater amount of built in
functionality in the framework (most of the apps i've converted from VB
have been significantly less source code). better debugging.

just a stream of conciousness there :)

I have all the tools I can forsee in the Win32 environ and likely there are
more than a few like me on the planet yet.

Again, Win32 is dying. We are moving to 64-bit. Oh, it will be
probably 10 more years before everything is switched over, but....

--
Tom Shelton
.



Relevant Pages

  • Re: Is there a .NET compiler ?
    ... distrinbute .NET assemblies with my app after that compilation? ... Is there a compiler that compiles .NET to native anything (e.g. Win32). ...
    (borland.public.delphi.non-technical)
  • Re: Debugging JNI shared libraries
    ... >compiles OK on Win32 when I have teh requisite stuff installed and I'm ... >DllMain gets called, attach to the dll? ... code as far as the debugger is concerned). ...
    (comp.programming)
  • Re: Stone Wall
    ... These are all interconnected and used in another app that works fine. ... Public fST As frmST ... The app compiles to around 1.5 MBytes ...
    (microsoft.public.vb.general.discussion)
  • Stone Wall
    ... I have a VB6 app that compiles and runs fine. ... These are all interconnected and used in another app that works fine. ... Public fST As frmST ... I have around 330 MBytes of available physicall RAM and lots of virtual. ...
    (microsoft.public.vb.general.discussion)
  • Re: Stone Wall
    ... These are all interconnected and used in another app that works fine. ... Public fST As frmST ... Set fST = frmST ' frmST is the main form ... The app compiles to around 1.5 MBytes ...
    (microsoft.public.vb.general.discussion)

Loading