Home All Groups Group Topic Archive Search About
Author
9 Oct 2005 11:46 AM
VB6 User
Hi all devies!



Many (.NUT, .NOT or whatever), APIs, VB6, Views & Questions



Your can not call APIs directly in .NET, only via P/Invoke. There are some
things that cannot be done in .NET, and that requires APIs. Earlier people
used to say "you can do this in VB" and now. "You can't do this in .NET"



I also have these questions to ask:

Is MS stopping APIs altogether? If yes, what about CPP developer, how would
they program?



APIs are more powerful and faster than foolish class, this is one of the
reason Java is not considered a local application development languages,
because it's not powerful for app dev, only for web. That same applied to
..NET, its great for web, especially ASP.NET. But not for local development.



And anybody can disassemble your source code and claims they wrote it. O!,
yeah, dotfukcator, who has the money to buy a $2500 anti-disassembly too.



In my view, one of the reasons, classic VB is/was great, because of great MS
minds of late 90'.



Now they just hire, cheap people, to "get the job done". Today's VB/.NET
versions are developed on the internal views, offshore R&D, foolish internal
MVPs and offshoring minds. And not by views of 3 Million Developers, 3
million is not "3 Million", its 3000000 people. just go to channel nine, and
see, how the vb team member shows us the futures vb version videos, like
they have invented something great. more messy lang with more less code, lol



lol

vb6: 10 lines of code

vb.net 2002 : 6 lines of code

vb.net 2003: 3 lines of code

vb.net 2005: 1 line of code

vb.net 2007: throw some water on your pc or spray a deodorant can in the
cpu, because MS will invent AI that will write code automatically, and also
upload to your website. all u have to do is implant a chip, and the chip
will convert vb6 codes in your mind, via satellite.



Wtf, a company with an annual, budget of 8 Billion dollars, can't keep its
biggest no of developers happy?



the only things vb6 is lacking is Unicode support, except that it has
everything.



sorry for bad, English.

T K

Author
9 Oct 2005 12:02 PM
Herfried K. Wagner [MVP]
"VB6 User" <v**@love.com> schrieb:
> Your can not call APIs directly in .NET, only via P/Invoke. There are some
> things that cannot be done in .NET, and that requires APIs. Earlier people
> used to say "you can do this in VB" and now. "You can't do this in .NET"

That's wrong.  You can still use "API calls", either by using VB.NET's
'Declare' statement or the 'DllImport' attribute.  .NET provides even more
interoperability mechanisms than VB6 does.

> Is MS stopping APIs altogether? If yes, what about CPP developer, how
> would they program?

API = Application Programming Interface.  The .NET Framework's class library
is an API too.  I assume you are referring to the function-based APIs of
Win16/Win32 (GDI, etc.).  These APIs still exist and will work on Longhorn.
In addition to that, I assume that many new APIs are still implemented in
and exposed to unmanaged code, but there are wrappers for use in managed
code available.  It simply doesn't make sense to implement certain things in
managed code because of .NET's runtime characteristics.

An interesting article about Microsoft and APIs can be found here:

How Microsoft Lost the API War
<URL:http://www.joelonsoftware.com/articles/APIWar.html>

> APIs are more powerful and faster than foolish class, this is one of the
> reason Java is not considered a local application development languages,
> because it's not powerful for app dev, only for web. That same applied to
> .NET, its great for web, especially ASP.NET. But not for local
> development.

I tend to agree with you.  .NET is great for Web development, but it's not
very suitable for "desktop" development.  The main advantage of Windows has
always been the huge number of applications which were developed for this
operating system.  With .NET, I see a decline in "desktop" applications and
an increasing number of Web applications, which are not necessarily bound to
the Windows operating system.

> In my view, one of the reasons, classic VB is/was great, because of great
> MS minds of late 90'.

If you have not already done so and if you want to make Microsoft aware that
Classic VB should have a future, I encourage you to sign the petition at
<URL:http://classicvb.org/petition/>.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
10 Oct 2005 7:42 PM
Abubakar
Hi Herfried,
> If you have not already done so and if you want to make Microsoft aware
that
> Classic VB should have a future, I encourage you to sign the petition at
> <URL:http://classicvb.org/petition/>.

Is it not possible in vb.net to write desktop applications like vb6? What I
think througth the petition, people want is that microsoft remove the
weeknesses of vb6, like object-orientation, threading, etc and maintain the
appliction development that is Win32 focused. But how would you facilitate
multiple language versions? I'm trying to understand what would microsoft
have to include in vb7, for instance. .Net offers a lot of things, lets say
System.Convert. How would you make that available in vb7? Will not the devs
using vb7 want to use the facilities of System.Convert, System.Text, or
System.Threading? I mean everything will be sort of existing in 2 forms.
Naturally in the new object.oriented vb7+ there would be string class which
would offer methods when write "." instead of using mid or left etc. So than
there would be some need for a class library like the .net's bcl. Than the
community will start asking for "how can vb7 and vb.net code interop with
each other?" leading to what I imagine will be known as a "visual basic
mess". When every one knows that everything in Vista os will be available in
managed form why does visual basic community want to go back to an
environment where you have to pass function address for call backs and deal
with raw apis? I think the vb.net is a pretty natural evolution of vb 6 and
earlier versions. We must accept it. Its beautiful.

(these r just my thoughts on vb.not)

Ab.
http://joehacker.blogspot.com

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OGZlGlMzFHA.2652@TK2MSFTNGP14.phx.gbl...
> "VB6 User" <v**@love.com> schrieb:
> > Your can not call APIs directly in .NET, only via P/Invoke. There are
some
> > things that cannot be done in .NET, and that requires APIs. Earlier
people
> > used to say "you can do this in VB" and now. "You can't do this in .NET"
>
> That's wrong.  You can still use "API calls", either by using VB.NET's
> 'Declare' statement or the 'DllImport' attribute.  .NET provides even more
> interoperability mechanisms than VB6 does.
>
> > Is MS stopping APIs altogether? If yes, what about CPP developer, how
> > would they program?
>
> API = Application Programming Interface.  The .NET Framework's class
library
> is an API too.  I assume you are referring to the function-based APIs of
> Win16/Win32 (GDI, etc.).  These APIs still exist and will work on
Longhorn.
> In addition to that, I assume that many new APIs are still implemented in
> and exposed to unmanaged code, but there are wrappers for use in managed
> code available.  It simply doesn't make sense to implement certain things
in
> managed code because of .NET's runtime characteristics.
>
> An interesting article about Microsoft and APIs can be found here:
>
> How Microsoft Lost the API War
> <URL:http://www.joelonsoftware.com/articles/APIWar.html>
>
> > APIs are more powerful and faster than foolish class, this is one of the
> > reason Java is not considered a local application development languages,
> > because it's not powerful for app dev, only for web. That same applied
to
> > .NET, its great for web, especially ASP.NET. But not for local
> > development.
>
> I tend to agree with you.  .NET is great for Web development, but it's not
> very suitable for "desktop" development.  The main advantage of Windows
has
> always been the huge number of applications which were developed for this
> operating system.  With .NET, I see a decline in "desktop" applications
and
> an increasing number of Web applications, which are not necessarily bound
to
> the Windows operating system.
>
> > In my view, one of the reasons, classic VB is/was great, because of
great
> > MS minds of late 90'.
>
> If you have not already done so and if you want to make Microsoft aware
that
> Classic VB should have a future, I encourage you to sign the petition at
> <URL:http://classicvb.org/petition/>.
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://classicvb.org/petition/>
>
Author
10 Oct 2005 9:19 AM
Phill. W
"Abubakar" <abubak***@gmail.com> wrote in message
news:OF3ac4WzFHA.3660@TK2MSFTNGP15.phx.gbl...

> Is it not possible in vb.net to write desktop applications like vb6? What
I
> think througth the petition, people want is that microsoft remove the
> weeknesses of vb6, like object-orientation, threading, etc and maintain
the
> appliction development that is Win32 focused.

What we /wanted/ was a compiler that took existing, VB6 syntax
and generated CLR-compliant code that would run atop the
Framework.  OK, it would be less efficient than the pure "VB7"
syntax, which could take advantage of /all/ the functionality of the
CLR, but at least it would NOT mean having to rewrite millions
upon millions of lines of existing, production code, just to "keep up"
with technological platform that seems to be jumping about in an
ever-increasingly random fashion.

Real companies simply /don't/ have an endless, throw-away budget
ear-marked for

"Rewrite/retest and redeploy everything because the language has
changed (again)"

> When every one knows that everything in Vista os will be available
> in managed form

Haven't you heard?  Much of the Managed Code hype has been
"decoupled" from Vista (as has the Windows File System) just so
that Our Friends in Redmond can get something to work and actually
sell some units of "Vista".

> I think the vb.net is a pretty natural evolution of vb 6 and earlier
> versions.

IMHO, Rubbish!

VB*7* (and, yes, it did get written and /very/ nearly released) was
the natural evolution of VB6 - almost identical syntax, simple (or,
at least, extant) upgrade path.   "VB.Net" grew out of a desire not
to waste all the effort Our Friends in Redmond made in their
attempted (and failed) theft of Java.

> We must accept it.  Its beautiful.

Whatever you're taking must be Good Stuff ... ;-)

Regards,
    Phill  W.
Author
10 Oct 2005 9:47 AM
Cor Ligthert [MVP]
Phill,

If Hitler had won the war, than we would not have had *this* kind of
problems to discuss.

Just my thought,

Cor
Author
10 Oct 2005 12:12 PM
Larry Serflaten
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote
> If Hitler had won the war, than we would not have had *this* kind of
> problems to discuss.
>
> Just my thought,


....And if the sun goes into a super nova, this VB/VB.Net argument would
be the least of our troubles!

<g>
LFS
Author
10 Oct 2005 12:53 PM
Cor Ligthert [MVP]
Larry,

I was talking about a part of the history of mankind. You are talking of
future of the world.

We can change small things on the future of the world (with our current
knowledge not those big things as you describe). However we are able to
change the future of mankind. (Especially those simple things as
program-code).

I have not the idea that we both will see that mankind will be able to
change history.

Therefore let us talk about future and not about past, that was the
intention of my message.

Cor


Show quoteHide quote
"Larry Serflaten" <serfla***@usinternet.com> schreef in bericht
news:%232L5RMZzFHA.904@tk2msftngp13.phx.gbl...
>
> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote
>> If Hitler had won the war, than we would not have had *this* kind of
>> problems to discuss.
>>
>> Just my thought,
>
>
> ...And if the sun goes into a super nova, this VB/VB.Net argument would
> be the least of our troubles!
>
> <g>
> LFS
Author
10 Oct 2005 6:47 PM
Saga
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
news:didb58$6lm$1@yarrow.open.ac.uk...
> "Abubakar" <abubak***@gmail.com> wrote in message
> news:OF3ac4WzFHA.3660@TK2MSFTNGP15.phx.gbl...
>
>
> Haven't you heard?  Much of the Managed Code hype has been
> "decoupled" from Vista (as has the Windows File System) just so
> that Our Friends in Redmond can get something to work and actually
> sell some units of "Vista".
>
You forgot to mention "in a reasonable amount if time" <g>

Saga
Author
10 Oct 2005 9:47 PM
Abubakar
Hi Phill,
first of all thanks for the reply.

> What we /wanted/ was a compiler that took existing, VB6 syntax
> and generated CLR-compliant code that would run atop the

oh ok, now its clear. I thought everyone from vb6 wanted to stick to win32.

> "Rewrite/retest and redeploy everything because the language has
> changed (again)"

what do u mean again? When did this last heppen other than the .net change?

> Haven't you heard?  Much of the Managed Code hype has been
> "decoupled" from Vista (as has the Windows File System) just so

what i have heard about winfs, is that its not going to be available in the
initial release of vista that is comming next year. It doesnt mean thats not
going to be there forever. Work on winfs is going on and it'll be there with
all that it promisses. Even its beta 1 is here. And the managed code, its
all there. Much of the new things are available in managed code (avalon and
indigo).

> IMHO, Rubbish!

:-) I dont know what to say. It just looks good to me, but you have all the
write to say that.

> VB*7* (and, yes, it did get written and /very/ nearly released) was
> the natural evolution of VB6 - almost identical syntax, simple (or,

Really? Please give me any link on the web where I can read about it. Its
sounds interesting.

> at least, extant) upgrade path.   "VB.Net" grew out of a desire not
> to waste all the effort Our Friends in Redmond made in their
> attempted (and failed) theft of Java.

Now that is something I can never agree with. Sorry :-) Because than Java
would become a failed theft of earlier written, less known, vitual machine
systems also.

> Whatever you're taking must be Good Stuff ... ;-)

hey I dont understand what u mean by this. My english is not that good :-)

Cheers.

-Ab.
http://joehacker.blogspot.com

Show quoteHide quote
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
news:didb58$6lm$1@yarrow.open.ac.uk...
> "Abubakar" <abubak***@gmail.com> wrote in message
> news:OF3ac4WzFHA.3660@TK2MSFTNGP15.phx.gbl...
>
> > Is it not possible in vb.net to write desktop applications like vb6?
What
> I
> > think througth the petition, people want is that microsoft remove the
> > weeknesses of vb6, like object-orientation, threading, etc and maintain
> the
> > appliction development that is Win32 focused.
>
> What we /wanted/ was a compiler that took existing, VB6 syntax
> and generated CLR-compliant code that would run atop the
> Framework.  OK, it would be less efficient than the pure "VB7"
> syntax, which could take advantage of /all/ the functionality of the
> CLR, but at least it would NOT mean having to rewrite millions
> upon millions of lines of existing, production code, just to "keep up"
> with technological platform that seems to be jumping about in an
> ever-increasingly random fashion.
>
> Real companies simply /don't/ have an endless, throw-away budget
> ear-marked for
>
> "Rewrite/retest and redeploy everything because the language has
> changed (again)"
>
> > When every one knows that everything in Vista os will be available
> > in managed form
>
> Haven't you heard?  Much of the Managed Code hype has been
> "decoupled" from Vista (as has the Windows File System) just so
> that Our Friends in Redmond can get something to work and actually
> sell some units of "Vista".
>
> > I think the vb.net is a pretty natural evolution of vb 6 and earlier
> > versions.
>
> IMHO, Rubbish!
>
> VB*7* (and, yes, it did get written and /very/ nearly released) was
> the natural evolution of VB6 - almost identical syntax, simple (or,
> at least, extant) upgrade path.   "VB.Net" grew out of a desire not
> to waste all the effort Our Friends in Redmond made in their
> attempted (and failed) theft of Java.
>
> > We must accept it.  Its beautiful.
>
> Whatever you're taking must be Good Stuff ... ;-)
>
> Regards,
>     Phill  W.
>
>
Author
10 Oct 2005 10:06 AM
Nospam
Show quote Hide quote
"Abubakar" <abubak***@gmail.com> wrote in message
news:ulY8w%23XzFHA.3408@TK2MSFTNGP09.phx.gbl...
> Hi Phill,
> first of all thanks for the reply.
>
> > What we /wanted/ was a compiler that took existing, VB6 syntax
> > and generated CLR-compliant code that would run atop the
>
> oh ok, now its clear. I thought everyone from vb6 wanted to stick to
win32.
>
> > "Rewrite/retest and redeploy everything because the language has
> > changed (again)"
>
> what do u mean again? When did this last heppen other than the .net
change?
>

When VB changed from 16 bit to 32 bit around VB4. I spent 3 months rewriting
a single VB project. It was worth it in the end though!!

If there was a decent convertsion from VB6 to .NET I might use it, but with
my main project exceeding 1 million lines of code, I not prepared to stop
development for 6 months+ to do a complete rewrite!.
That is ignoring the problem of getting the NET Framework (33Mb inc updates)
onto our customer machines. Most of which don't have Internet Access for
Security reasons!.

John..
Author
10 Oct 2005 11:02 AM
Cor Ligthert [MVP]
Hi,

You cannot use a gearbox from a Ford T as well on a Ferrari.

Ford thought that he could keep his Ford T production line forever. He had
to invest more to correct that failure than when he had brought his
production-line time by time to newer standards

There is a lot of documentation, how to convert your vb6 program to Net.

Even with already for a very long time documentation for a first step,  to
recreate your old VB6 program first to a better to upgrade VB6 program while
you still can use it as VB6.

Often the problem in this kind of situations is however that people did not
make their old programs in a good documented way and don't even understand
it themselves anymore.

In my opinion is it not a challenge to make a program with 1000000 lines of
code, the challenge is to make it in parts (which uses as less lines as
possible) that can easily be recreated.

Just my thought,

Cor
Author
10 Oct 2005 11:29 AM
Jonathan West
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:O327FpYzFHA.1264@tk2msftngp13.phx.gbl...

>
> There is a lot of documentation, how to convert your vb6 program to Net.

There shouldn't need to be! It should just work!

>
> Even with already for a very long time documentation for a first step,  to
> recreate your old VB6 program first to a better to upgrade VB6 program
> while you still can use it as VB6.
>
> Often the problem in this kind of situations is however that people did
> not make their old programs in a good documented way and don't even
> understand it themselves anymore.

So, in changing the language, Microsoft makes in necessary for such code to
be rewritten in order that new platform features can be accessed. Hmmm. I
wonder how that would have affected some of the more obscure corners of the
source code for Microsoft Word, some of which dates back to 16-bit days!

>
> In my opinion is it not a challenge to make a program with 1000000 lines
> of code, the challenge is to make it in parts (which uses as less lines as
> possible) that can easily be recreated.

Why? If it works as is, why should it have to be changed?

Also, why are you making assumptions that his million line application is
not already well-structured?


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Author
10 Oct 2005 11:56 PM
Roger Rabbit
> > In my opinion is it not a challenge to make a program with 1000000 lines
> > of code, the challenge is to make it in parts (which uses as less lines
as
> > possible) that can easily be recreated.
>
> Why? If it works as is, why should it have to be changed?

The whole point is he doesn't. Its been constantly suggested that unless
there is a very specific need there is no need to convert "legacy" code to
dotNet.

> Also, why are you making assumptions that his million line application is
> not already well-structured?
>

I think its a fair assumption. If he has a million lines of code that can
only be converted a million lines at a time then clearly its a monolith
thats not been very well constructed. Assuming the is a need to convert at
all, any reasonable design should allow a change in one part of the
application to have minimal effect on the remaining parts. Its fair for Cor
to assume spagetti code whether it is not.

RR
Author
11 Oct 2005 10:15 AM
Herfried K. Wagner [MVP]
"Roger Rabbit" <ro***@rabbit.com> schrieb:
>> > In my opinion is it not a challenge to make a program with 1000000
>> > lines
>> > of code, the challenge is to make it in parts (which uses as less lines
> as
>> > possible) that can easily be recreated.
>>
>> Why? If it works as is, why should it have to be changed?
>
> The whole point is he doesn't. Its been constantly suggested that unless
> there is a very specific need there is no need to convert "legacy" code to
> dotNet.

The main question is if this is possible if the runtime or one of the
library gets broken.  There has already been a case where applications'
behavior has been altered by another version of a DLL.

<URL:http://classicvb.org/petition/faq.asp>
-> "VB6 still works; there's no reason in the world they can't just keep
using it."

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
11 Oct 2005 12:14 AM
Abubakar
> There shouldn't need to be! It should just work!

But if the move is from COM/Win32 to .NET. Do we still think it should just
work? Can it be that easy?

-Ab.

Show quoteHide quote
"Jonathan West" <jw***@mvps.org> wrote in message
news:eNazoAZzFHA.3540@TK2MSFTNGP10.phx.gbl...
>
> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
> news:O327FpYzFHA.1264@tk2msftngp13.phx.gbl...
>
> >
> > There is a lot of documentation, how to convert your vb6 program to Net.
>
> There shouldn't need to be! It should just work!
>
> >
> > Even with already for a very long time documentation for a first step,
to
> > recreate your old VB6 program first to a better to upgrade VB6 program
> > while you still can use it as VB6.
> >
> > Often the problem in this kind of situations is however that people did
> > not make their old programs in a good documented way and don't even
> > understand it themselves anymore.
>
> So, in changing the language, Microsoft makes in necessary for such code
to
> be rewritten in order that new platform features can be accessed. Hmmm. I
> wonder how that would have affected some of the more obscure corners of
the
> source code for Microsoft Word, some of which dates back to 16-bit days!
>
> >
> > In my opinion is it not a challenge to make a program with 1000000 lines
> > of code, the challenge is to make it in parts (which uses as less lines
as
> > possible) that can easily be recreated.
>
> Why? If it works as is, why should it have to be changed?
>
> Also, why are you making assumptions that his million line application is
> not already well-structured?
>
>
> --
> Regards
> Jonathan West - Word MVP
> www.intelligentdocuments.co.uk
> Please reply to the newsgroup
> Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
>
Author
10 Oct 2005 12:53 PM
Jonathan West
"Abubakar" <abubak***@gmail.com> wrote in message
news:uDI30QZzFHA.416@TK2MSFTNGP10.phx.gbl...
>> There shouldn't need to be! It should just work!
>
> But if the move is from COM/Win32 to .NET. Do we still think it should
> just
> work? Can it be that easy?

The main platform change is the behaviour for object destruction. That is a
*behavior* rather than a *syntax* change. It might require some rewriting of
programs in order to account for the fact that you can no longer be certain
of the order in which object destruction occurs.

But to take a simple example, the syntax for property assignment in classes
was changed, on the assumption (true in the original VB.NET) that
mixed-visibility properties were not possible (e.g. Public Get and Friend
Let). Now that it *is* possible, you now have to assign the visibility to
the property and then modify it for the changed assignment. That was
unnecessary - the old syntax would have worked perfectly well and allowed
for the re-introduction of mixed visibility without a further syntax change.

Of course, you can argue that the new syntax is an improvement - it keeps
Let and Get together within the code. But even so, it mean that you can't
copy & paste from an old VB6 project or code sample and have it just work in
VB.NET. That's a great pity and a brake on productivity when extending
existing projects.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Author
10 Oct 2005 2:05 PM
alpine
MS made it just that easy for their C++ code.  They implemented IJW
("It Just Works") and, guess what, it just works! 

If they had wanted to invest the resources in doing the same for
existing VB code, it could have been just that easy.  However, they
don't own anything significant written in VB so, they didn't see the
need to invest the resources.

HTH,
Bryan
_______________________________
Bryan Stafford
New Vision Software
newvision_don'tspam@mvps.org


Show quoteHide quote
On Mon, 10 Oct 2005 17:14:46 -0700, "Abubakar" <abubak***@gmail.com>
wrote:

>> There shouldn't need to be! It should just work!
>
>But if the move is from COM/Win32 to .NET. Do we still think it should just
>work? Can it be that easy?
>
>-Ab.
>
>"Jonathan West" <jw***@mvps.org> wrote in message
>news:eNazoAZzFHA.3540@TK2MSFTNGP10.phx.gbl...
>>
>> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
>> news:O327FpYzFHA.1264@tk2msftngp13.phx.gbl...
>>
>> >
>> > There is a lot of documentation, how to convert your vb6 program to Net.
>>
>> There shouldn't need to be! It should just work!
>>
>> >
>> > Even with already for a very long time documentation for a first step,
>to
>> > recreate your old VB6 program first to a better to upgrade VB6 program
>> > while you still can use it as VB6.
>> >
>> > Often the problem in this kind of situations is however that people did
>> > not make their old programs in a good documented way and don't even
>> > understand it themselves anymore.
>>
>> So, in changing the language, Microsoft makes in necessary for such code
>to
>> be rewritten in order that new platform features can be accessed. Hmmm. I
>> wonder how that would have affected some of the more obscure corners of
>the
>> source code for Microsoft Word, some of which dates back to 16-bit days!
>>
>> >
>> > In my opinion is it not a challenge to make a program with 1000000 lines
>> > of code, the challenge is to make it in parts (which uses as less lines
>as
>> > possible) that can easily be recreated.
>>
>> Why? If it works as is, why should it have to be changed?
>>
>> Also, why are you making assumptions that his million line application is
>> not already well-structured?
>>
>>
>> --
>> Regards
>> Jonathan West - Word MVP
>> www.intelligentdocuments.co.uk
>> Please reply to the newsgroup
>> Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
>>
>
Author
10 Oct 2005 12:44 PM
Phill. W
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:O327FpYzFHA.1264@tk2msftngp13.phx.gbl...

> You cannot use a gearbox from a Ford T as well on a Ferrari.

Oh; I'm sure someone /somewhere/ has tried it   ;-)

> ... documentation, how to convert your vb6 program to Net.

Interesting how you say "convert", and not "upgrade".

> Often the problem in this kind of situations is however that people
> did not make their old programs in a good documented way and
> don't even understand it themselves anymore.

All too true (even assuming the person who wrote the program is still
/with/ the company), but the fact remains that VB6 programs still run
and still support the businesses that chooses to run them.  Rewriting
them just to "fit in" with a change of language is simply not an option
for all too many.

> In my opinion is it not a challenge to make a program with
> 1000000 lines of code, the challenge is to make it in parts

Now /there/, I agree with you.
(Mind you, 1,000,000 lines of code must have an /awful/ lot of
repetition in it, mustn't it?)

Regards,
    Phill  W.
Author
10 Oct 2005 11:04 AM
Phill. W
"Abubakar" <abubak***@gmail.com> wrote in message
news:ulY8w%23XzFHA.3408@TK2MSFTNGP09.phx.gbl...
> Hi Phill,
> first of all thanks for the reply.
>
> > What we /wanted/ was a compiler that took existing, VB6 syntax
> > and generated CLR-compliant code that would run atop the
>
> oh ok, now its clear. I thought everyone from vb6 wanted to stick
> to win32.

No, we're not /that/ bad ... ;-)

> > "Rewrite/retest and redeploy everything because the language has
> > changed (again)"
>
> what do u mean again? When did this last heppen other than the
> .net change?

It *hasn't* - that's my point - but now that it's happened /once/,
who's to say it /won't/ happen again ... ?

Regards,
    Phill  W.
Author
10 Oct 2005 10:52 PM
Karl E. Peterson
Phill. W wrote:
> "Abubakar" <abubak***@gmail.com> wrote ...
>>> "Rewrite/retest and redeploy everything because the language has
>>> changed (again)"
>>
>> what do u mean again? When did this last heppen other than the
>> .net change?
>
> It *hasn't* - that's my point - but now that it's happened /once/,
> who's to say it /won't/ happen again ... ?

Oh yes it has!  They redefined the fundamental String datatype with VB4/32, thus
breaking *every line* of binary file i/o code ever before written with MSBasic.

See http://vb.mvps.org/vfred/unimess.asp for (deep) background.

The following September, many in that thread were brought to Bellevue to discuss VB5
at its pre-alpha stage.  In those discussions, this topic turned rather heated.  They
said "We get it!", and promised that such redefinitions would never happen again.
Six short years later...
--
Working Without a .NET?
http://classicvb.org/petition
Author
11 Oct 2005 12:52 AM
Kevin Provance
>  See http://vb.mvps.org/vfred/unimess.asp for (deep) background. <

Wow.  Very interesting.  And for as serious as that issue must have been at
the time, it pales in comparison to the .NET mess.  You'd think M$ had
learned their lesson the first time.

- Kev
Author
11 Oct 2005 1:10 AM
Karl E. Peterson
Kevin Provance wrote:
>>  See http://vb.mvps.org/vfred/unimess.asp for (deep) background. <
>
> Wow.  Very interesting.  And for as serious as that issue must have
> been at the time, it pales in comparison to the .NET mess.  You'd
> think M$ had learned their lesson the first time.

The problem seems to be one of institutional memory.  The guys who *swore* they "got
it!" were gone by the time the later destruction was done.

"Need a new type of data?  Create a new datatype!"  Duh.
--
Working Without a .NET?
http://classicvb.org/petition
Author
11 Oct 2005 1:28 AM
Ralph
Show quote Hide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:eCd%23RCgzFHA.3864@TK2MSFTNGP12.phx.gbl...
> Kevin Provance wrote:
> >>  See http://vb.mvps.org/vfred/unimess.asp for (deep) background. <
> >
> > Wow.  Very interesting.  And for as serious as that issue must have
> > been at the time, it pales in comparison to the .NET mess.  You'd
> > think M$ had learned their lesson the first time.
>
> The problem seems to be one of institutional memory.  The guys who *swore*
they "got
> it!" were gone by the time the later destruction was done.
>
> "Need a new type of data?  Create a new datatype!"  Duh.
> --
> Working Without a .NET?
> http://classicvb.org/petition
>

In 1999 and 2000 prior to the release of .net, MS was farming out a ton of
work on VB and associated technologies to outside consulting firms and
reducing in-house staff in these areas. At the time I thought it was
strange, but assumed it was to release more people for W2K and the big
Security push. VB contacts were disappearing right and left.

Talk about having one's head in the sand. <g>

-ralph
Author
11 Oct 2005 3:21 AM
Someone
My view of this thread or any similar thread:

http://www.thegardenhelper.com/catmouse.gif

Not a useful thing to do, been there done that.
Author
11 Oct 2005 1:21 AM
alpine
On Mon, 10 Oct 2005 20:52:17 -0400, "Kevin Provance"
<ca***@tpasoft.com> wrote:

>>  See http://vb.mvps.org/vfred/unimess.asp for (deep) background. <
>
>Wow.  Very interesting.  And for as serious as that issue must have been at
>the time, it pales in comparison to the .NET mess.  You'd think M$ had
>learned their lesson the first time.

Clearly, .not.  And, given that one of the main designers of VB#
considers platform changes a prime time for "cleaning up" the
language, it would be a suckers bet to put money (aka: code) on the
line betting that it wouldn't happen again (again).

Bryan
_______________________________
Bryan Stafford
New Vision Software
newvision_don'tspam@mvps.org
Author
11 Oct 2005 1:21 AM
Karl E. Peterson
alpine wrote:
> On Mon, 10 Oct 2005 20:52:17 -0400, "Kevin Provance"
> <ca***@tpasoft.com> wrote:
>
>>>  See http://vb.mvps.org/vfred/unimess.asp for (deep) background. <
>>
>> Wow.  Very interesting.  And for as serious as that issue must have
>> been at the time, it pales in comparison to the .NET mess.  You'd
>> think M$ had learned their lesson the first time.
>
> Clearly, .not.  And, given that one of the main designers of VB#
> considers platform changes a prime time for "cleaning up" the
> language, it would be a suckers bet to put money (aka: code) on the
> line betting that it wouldn't happen again (again).

Heh, well, clearly these guys aren't liberal arts (history, eg) majors!
--
Working Without a .NET?
http://classicvb.org/petition
Author
10 Oct 2005 11:34 PM
Abubakar
> It *hasn't* - that's my point - but now that it's happened /once/,
> who's to say it /won't/ happen again ... ?

I found this:
"No, the transition to Visual Basic .NET 2002 was a one-time-only thing that
allowed us to make the big leap from COM to .NET. If we've done things right
with .NET, and I think we have, developers won't have to experience that
level of change again." - Paul Vick, Author of the Visual Basic .NET
Language Specification

cheers,

Ab.
http://joehacker.blogspot.com


Show quoteHide quote
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
news:didham$9ot$1@yarrow.open.ac.uk...
> "Abubakar" <abubak***@gmail.com> wrote in message
> news:ulY8w%23XzFHA.3408@TK2MSFTNGP09.phx.gbl...
> > Hi Phill,
> > first of all thanks for the reply.
> >
> > > What we /wanted/ was a compiler that took existing, VB6 syntax
> > > and generated CLR-compliant code that would run atop the
> >
> > oh ok, now its clear. I thought everyone from vb6 wanted to stick
> > to win32.
>
> No, we're not /that/ bad ... ;-)
>
> > > "Rewrite/retest and redeploy everything because the language has
> > > changed (again)"
> >
> > what do u mean again? When did this last heppen other than the
> > .net change?
>
> It *hasn't* - that's my point - but now that it's happened /once/,
> who's to say it /won't/ happen again ... ?
>
> Regards,
>     Phill  W.
>
>
Author
10 Oct 2005 11:56 AM
Jonathan West
"Abubakar" <abubak***@gmail.com> wrote in message
news:u5zeL6YzFHA.164@TK2MSFTNGP10.phx.gbl...
>> It *hasn't* - that's my point - but now that it's happened /once/,
>> who's to say it /won't/ happen again ... ?
>
> I found this:
> "No, the transition to Visual Basic .NET 2002 was a one-time-only thing
> that
> allowed us to make the big leap from COM to .NET. If we've done things
> right
> with .NET, and I think we have, developers won't have to experience that
> level of change again." - Paul Vick, Author of the Visual Basic .NET
> Language Specification

I've had discussions with Paul Vick, and the impression I get is that he
regards it as justifiable to make language changes whenever there is a
platform change. Therefore, if he is still involved when .NET is superseded
(it will be, sometime) you had better prepare for further syntax changes.

You see, he would justify that on the basis that things are not as right
with .NET as they had thought, and so the changes are necessary.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Author
10 Oct 2005 11:50 AM
Jonathan West
"Abubakar" <abubak***@gmail.com> wrote in message
news:ulY8w%23XzFHA.3408@TK2MSFTNGP09.phx.gbl...
> Hi Phill,
> first of all thanks for the reply.
>
>> What we /wanted/ was a compiler that took existing, VB6 syntax
>> and generated CLR-compliant code that would run atop the
>
> oh ok, now its clear. I thought everyone from vb6 wanted to stick to
> win32.

No. The key point is that while there was a good reason for creating the
..NET platform, there was no necessity for most of the changes to the
*language*. The VB MVPs at the time had an extensive discussion with the
VB.NET product group, and the fact is that a small number of the changes
were justified (e.g. the change in handling object destruction, and the loss
of parameterless default properties). The great majority of language changes
were not necessary for compatibility with the platform and were made because
the product group thought that they would improve the language and gave
entirely inadequate consideration to how VB6 projects would migrate.

The whole idea of a high-level language is that its syntax can be made
relatively independent of its platform. To address different platforms you
modify the compiler, not the language!

Note that criticism of the changes has nothing to to with the addition of
new features - almost everyone approves of new features. It is changes that
break the operation of existing code that cause the trouble.

>
>> "Rewrite/retest and redeploy everything because the language has
>> changed (again)"
>
> what do u mean again? When did this last heppen other than the .net
> change?

In the change from VB3 to VB4/32, a fundamental datatype - the String - was
changed from being 8-bit ASCII to 16-bit unicode characters. This messed up
code that used strings as byte arrays and broke the only available and
documented way of handling binary file I/O. A great howl went up among the
beta testers at the time. Afterwards, a pre-alpha meeting for VB5 was held
by Microsoft to which various VB developers were invited, and the issue was
thoroughly discussed. Microsoft appeared to understand it and realise that
changes of that sort ought not to happen again. Unfortunately, by the time
VB.NET came out, the Microsoft participants in the meeting had moved on to
other positions and their successors were not aware of the issue.

The concern is that even if the Microsoft people responsible for VB.NET
realise that they made a mistake and shouldn't make such changes again in
future, who is to say whether their successors will have the same view. The
evidence is that there is currently something of a lack of institutional
memory at Microsoft. That is why some people are concerned that VB.NET might
change all over again at the next major platform change.

That said, part of Microsoft does seem to have taken the lessons on board.
VBA is essentially the same language as VB6, but with a different Forms
library and integrated access to the Office object models. The Office group
has already kept VBA in Office for 2 releases since VB.NET was launched, and
has publicly announced that it will be in at least the next two versions as
well. Maybe they looked at the VB.NET experience and didn't like what they
saw?


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Author
11 Oct 2005 12:32 AM
Abubakar
> The whole idea of a high-level language is that its syntax can be made
> relatively independent of its platform. To address different platforms you
> modify the compiler, not the language!

Correct, but in this case the platform in question is just one and that is
..net and maybe they wanted visual basic to appear as #1 language (and i
remember them saying this #1-citizen-thing) and have a .net feel, which is
to have namespaces and classes, and everything being managed and so they
ended up with vb.net.

Hey thanks for writing about the history of version (breaking) changes.

-Ab.
http://joehacker.blogspot.com


Show quoteHide quote
"Jonathan West" <jw***@mvps.org> wrote in message
news:Ojh6yHZzFHA.2424@TK2MSFTNGP12.phx.gbl...
>
> "Abubakar" <abubak***@gmail.com> wrote in message
> news:ulY8w%23XzFHA.3408@TK2MSFTNGP09.phx.gbl...
> > Hi Phill,
> > first of all thanks for the reply.
> >
> >> What we /wanted/ was a compiler that took existing, VB6 syntax
> >> and generated CLR-compliant code that would run atop the
> >
> > oh ok, now its clear. I thought everyone from vb6 wanted to stick to
> > win32.
>
> No. The key point is that while there was a good reason for creating the
> .NET platform, there was no necessity for most of the changes to the
> *language*. The VB MVPs at the time had an extensive discussion with the
> VB.NET product group, and the fact is that a small number of the changes
> were justified (e.g. the change in handling object destruction, and the
loss
> of parameterless default properties). The great majority of language
changes
> were not necessary for compatibility with the platform and were made
because
> the product group thought that they would improve the language and gave
> entirely inadequate consideration to how VB6 projects would migrate.
>
> The whole idea of a high-level language is that its syntax can be made
> relatively independent of its platform. To address different platforms you
> modify the compiler, not the language!
>
> Note that criticism of the changes has nothing to to with the addition of
> new features - almost everyone approves of new features. It is changes
that
> break the operation of existing code that cause the trouble.
>
> >
> >> "Rewrite/retest and redeploy everything because the language has
> >> changed (again)"
> >
> > what do u mean again? When did this last heppen other than the .net
> > change?
>
> In the change from VB3 to VB4/32, a fundamental datatype - the String -
was
> changed from being 8-bit ASCII to 16-bit unicode characters. This messed
up
> code that used strings as byte arrays and broke the only available and
> documented way of handling binary file I/O. A great howl went up among the
> beta testers at the time. Afterwards, a pre-alpha meeting for VB5 was held
> by Microsoft to which various VB developers were invited, and the issue
was
> thoroughly discussed. Microsoft appeared to understand it and realise that
> changes of that sort ought not to happen again. Unfortunately, by the time
> VB.NET came out, the Microsoft participants in the meeting had moved on to
> other positions and their successors were not aware of the issue.
>
> The concern is that even if the Microsoft people responsible for VB.NET
> realise that they made a mistake and shouldn't make such changes again in
> future, who is to say whether their successors will have the same view.
The
> evidence is that there is currently something of a lack of institutional
> memory at Microsoft. That is why some people are concerned that VB.NET
might
> change all over again at the next major platform change.
>
> That said, part of Microsoft does seem to have taken the lessons on board.
> VBA is essentially the same language as VB6, but with a different Forms
> library and integrated access to the Office object models. The Office
group
> has already kept VBA in Office for 2 releases since VB.NET was launched,
and
> has publicly announced that it will be in at least the next two versions
as
> well. Maybe they looked at the VB.NET experience and didn't like what they
> saw?
>
>
> --
> Regards
> Jonathan West - Word MVP
> www.intelligentdocuments.co.uk
> Please reply to the newsgroup
> Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
>
Author
10 Oct 2005 12:44 PM
Jonathan West
"Abubakar" <abubak***@gmail.com> wrote in message
news:Oz8D1aZzFHA.2212@TK2MSFTNGP15.phx.gbl...
>> The whole idea of a high-level language is that its syntax can be made
>> relatively independent of its platform. To address different platforms
>> you
>> modify the compiler, not the language!
>
> Correct, but in this case the platform in question is just one and that is
> .net and maybe they wanted visual basic to appear as #1 language (and i
> remember them saying this #1-citizen-thing) and have a .net feel, which is
> to have namespaces and classes, and everything being managed and so they
> ended up with vb.net.

In that case, they put more effort into making VB.NET a #1 citizen than they
put into making VB programmers feel citizens of any kind. Personally, I
don't think that was a terribly sensible choice of priority.

Moreover, there would have been no difficulty in having the .NET classes as
*additions* to the language, alternative ways of doing things which people
could be encouraged to use for extending their programs.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Author
10 Oct 2005 2:52 PM
mayayana
> > What we /wanted/ was a compiler that took existing, VB6 syntax
> > and generated CLR-compliant code that would run atop the
>
> oh ok, now its clear. I thought everyone from vb6 wanted to stick to
win32.
>

   Some of us do. What's wrong with Win32?
Underneath your .Net classes, somewhere, is
an equivalent to Win32 level.

> Is it not possible in vb.net to write desktop applications like vb6?

    Not very. It strikes me that this point just doesn't
seem to come up in the minds of most .Net users.
If it were not for Microsoft's strategy and tactics then
it would not even occur to anyone to discuss VB vs.
..Net. They're not for the same thing. This whole argument
is happening out of context.


For one good explanation of why .Net doesn't fit well
on the Desktop see Mark Russinovich's article:
http://www.sysinternals.com/blog/2005/04/coming-net-world-im-scared.html
]

    My own situation: I taught myself VB, starting
out leaning heavily on OCXs and gradually
learned better, leaner coding. I write "shareware".
I don't make a lot of money at it but I enjoy coding
and I like making something that's useful to others.
My main program is an HTML and script editor
that's quick, light, free of dependencies (other
than the VB6 runtime) and has an installer of
about 800 KB. To my mind it's progress to cut
out the OCX middleman where that's feasible.
VB6 gives me the ability to do that, while still providing
easy methods where and when I want them.

     What do I get if I move to .Net? First I lose
about half of my potential customer base right
off the bat, because dial-up users are not going to
download 25 MB runtimes and 12MB specialty
programs. Then I lose another 25% because many
people won't deal with the added complexity of
needing to download and install a runtime. I also lose
any ability to write for Windows 95. So now I've
got maybe 20% of my possible base left.

   Beyond that, I'm
getting back into the bloat and inefficiency of objects
that are twice- or thrice-removed from the API. Why
would I want to do that? I like using the API. I like
using Windows. I don't want to be led gradually to some
sort of future X-Box/Vista crap hybrid that won't let me
access the system directly.

(And all of these reasons not to move to .Net don't even
address the common complaints, such as the issue
of easily decompiled code and poor speed, the
problem of continual changes that require new, giant
runtimes, and the question of how .Net will weather
the changes of Avalon, WinFX, etc. The thing is already
in its third rendition and now MS has plans for more
big changes with Vista.)

  To my mind it borders on bizarre that so many people
using .Net keep hanging around here like religious
converts (or maybe MS plants) doing a .Net sales
pitch. I wish that people would try to just think for
themselves a bit, do what's best for their own case,
and not worry so much about what everyone else
is up to.

     To anyone who says that the Desktop is old
hat and that I should be thinking about web-based
software: Maybe you're right, maybe you're not. Either
way, I have no intention of following such a path using
Microsoft software.
Author
10 Oct 2005 11:48 PM
Roger Rabbit
(And all of these reasons not to move to .Net don't even
address the common complaints, such as the issue
of easily decompiled code and poor speed, the
problem of continual changes that require new, giant
runtimes, and the question of how .Net will weather
the changes of Avalon, WinFX, etc.

This makes little sense complaining about an OS thats not even been
commercially released as reason not to switch over to a development platform
that been in use for around 5 years. Especially when you claim to be still
writing for Win95 customers. Your hardly pitching your software to an early
adopter market. This issue of decomplied code is not very compelling either
in that anyone whose ever taken a trip to China/Bali/or one of a million
websites in this world knows that exisitng software, whatever language its
been written in, is clearly fairly easy to deconstruct. Poor Speed. Thats
highly dependant on the application at hand but a quick Ngen on deploy so
the app doesn't JIT compile every time its boots would solve the vast
majority of problems.


>   To my mind it borders on bizarre that so many people
> using .Net keep hanging around here like religious
> converts (or maybe MS plants) doing a .Net sales
> pitch. I wish that people would try to just think for
> themselves a bit, do what's best for their own case,
> and not worry so much about what everyone else
> is up to.
>

Maybe they do think for themselves and they simply disagree with you.
Hanging around "here" is actually a dotnet newsgroup. Its odd that you
should come to one and complain that there are so many pro dotNetters on
board. As you've already said each to his own and do whats best for you. In
your case you clearly believe that dotNet is of no use to you. So what? Just
keep writing your VB6 apps. No one here is going to stop you.


>      To anyone who says that the Desktop is old
> hat and that I should be thinking about web-based
> software: Maybe you're right, maybe you're not. Either
> way, I have no intention of following such a path using
> Microsoft software.
>

I dont think anyone with any credibility is claiming that at all. Theres no
doubt over the next 5 to 10 years we are going to see a fundamental change
in the way software is  licensed and delivered but the Desktop has quite a
long future ahead of it yet. ABove you complain that dotNet reduces your
overall potential platform market share (large download/Win95/etc) and now
here you claim that the "supposed" future of web based will see you reject
Microsoft software?

If that's the case then i really dont understand your initial complaint
given that IE is running at around 90 % + of overall marketshare. Your
position is to reject the supposed "omnipotent" platform of the future as a
response to a complaint about possible reduced market share today? Aren't
you just contridicting yourself?

RR
Author
11 Oct 2005 1:11 AM
mayayana
>
> (And all of these reasons not to move to .Net don't even
> address the common complaints, such as the issue
> of easily decompiled code and poor speed, the
> problem of continual changes that require new, giant
> runtimes, and the question of how .Net will weather
> the changes of Avalon, WinFX, etc.
>
> This makes little sense complaining about an OS thats not even been
> commercially released as reason not to switch over to a development
platform
> that been in use for around 5 years.

    You mean referring to Avalon and WinFX?
My point there was that it's a lot of work to
make a transition to a new language, yet .Net's
future doesn't seem clear. In Joel Spolsky's
article that someone linked to,
(http://www.joelonsoftware.com/articles/APIWar.html )
he seems to imply
that Avalon may obsolete .Net "Win Forms". And
he characterizes Avalon/WinFX as a second major
break with foregoing standards:

"And if you're developing a Windows GUI app today using Microsoft's
"official" latest-and-greatest Windows programming environment, WinForms,
you're going to have to start over again in two years to support Longhorn
and Avalon. Which explains why WinForms is completely stillborn. "


>
> >   To my mind it borders on bizarre that so many people
> > using .Net keep hanging around here like religious
> > converts (or maybe MS plants) doing a .Net sales
> > pitch. I wish that people would try to just think for
> > themselves a bit, do what's best for their own case,
> > and not worry so much about what everyone else
> > is up to.
> >
>
> Hanging around "here" is actually a dotnet newsgroup. Its odd that you
> should come to one and complain that there are so many pro dotNetters on
> board.

   My mistake. It's actually both. This thread is posting
to a VB6 group and a .Net group simultaneously. But
I wrote the last post before realizing that. The VB6 group
has been active with two similar threads this week, and
I thought this was a third. There's almost always a riled
.Netter around whenever a .Net criticism is posted in
the VB6 group. This week it's a character going by the
name of "Michael C." who's been dropping by periodically to
post inspired arguments along the lines of ".Net rules
and your grandmother wears army boots."
Author
11 Oct 2005 5:27 AM
Roger Rabbit
> "And if you're developing a Windows GUI app today using Microsoft's
> "official" latest-and-greatest Windows programming environment, WinForms,
> you're going to have to start over again in two years to support Longhorn
> and Avalon. Which explains why WinForms is completely stillborn. "
>

Ive read his article. Its a lot of fluff really. Its all ifs, maybes,
could-bes, might-bes and possiblies as per his opening paragraph.

"Microsoft is finished. As soon as Linux makes some inroads on the desktop
and web applications replace desktop applications, the mighty empire will
topple."

He subsequently suggests this is a bit far fetched but then goes on to use
the same of "if all these things were to happen then so would this" logic in
the remainder of the article. I dont buy it. More scare tactics if you ask
me.

We've been developing for .Net for 5 years now. If Vista comes out next
year, it will be six. I dont forsee a massive market share swing toward
Vista for many of the same reasons as posted in Joels article.

"Microsoft grew up during the 1980s and 1990s, when the growth in personal
computers was so dramatic that every year there were more new computers sold
than the entire installed base. That meant that if you made a product that
only worked on new computers, within a year or two it could take over the
world even if nobody switched to your product."

I dont anticipate the upgrade rates to be very high circa 2006 through to
2010. But the time Longhorn gets any serious kind of traction we'll have
been developing for .Net for 10 years. If after 10 years we need to upskill
into Avalon and Xaml then so be it, that's technology for you. In the
meantime we will have received all the productivity benefits of using .Net
framework and the CLR.

Besides according to the Op only the Indians will have to worry about any of
this before long anyhow.
;-)

RR
Author
11 Oct 2005 4:58 AM
Stefan Berglund
On Mon, 10 Oct 2005 14:52:57 GMT, "mayayana" <mayayanaX***@mindXXspring.com>
wrote:
in <dfv2f.11843$vw6.3***@newsread1.news.atl.earthlink.net>

Show quoteHide quote
>> > What we /wanted/ was a compiler that took existing, VB6 syntax
>> > and generated CLR-compliant code that would run atop the
>>
>> oh ok, now its clear. I thought everyone from vb6 wanted to stick to
>win32.
>>
>
>   Some of us do. What's wrong with Win32?
>Underneath your .Net classes, somewhere, is
>an equivalent to Win32 level.
>
> > Is it not possible in vb.net to write desktop applications like vb6?
>
>    Not very. It strikes me that this point just doesn't
>seem to come up in the minds of most .Net users.
>If it were not for Microsoft's strategy and tactics then
>it would not even occur to anyone to discuss VB vs.
>.Net. They're not for the same thing. This whole argument
>is happening out of context.
>
>
>For one good explanation of why .Net doesn't fit well
>on the Desktop see Mark Russinovich's article:
>http://www.sysinternals.com/blog/2005/04/coming-net-world-im-scared.html
>]
>
>    My own situation: I taught myself VB, starting
>out leaning heavily on OCXs and gradually
>learned better, leaner coding. I write "shareware".
>I don't make a lot of money at it but I enjoy coding
>and I like making something that's useful to others.
>My main program is an HTML and script editor
>that's quick, light, free of dependencies (other
>than the VB6 runtime) and has an installer of
>about 800 KB. To my mind it's progress to cut
>out the OCX middleman where that's feasible.
>VB6 gives me the ability to do that, while still providing
>easy methods where and when I want them.
>
>     What do I get if I move to .Net? First I lose
>about half of my potential customer base right
>off the bat, because dial-up users are not going to
>download 25 MB runtimes and 12MB specialty
>programs. Then I lose another 25% because many
>people won't deal with the added complexity of
>needing to download and install a runtime. I also lose
>any ability to write for Windows 95. So now I've
>got maybe 20% of my possible base left.
>
>   Beyond that, I'm
>getting back into the bloat and inefficiency of objects
>that are twice- or thrice-removed from the API. Why
>would I want to do that? I like using the API. I like
>using Windows. I don't want to be led gradually to some
>sort of future X-Box/Vista crap hybrid that won't let me
>access the system directly.
>
>(And all of these reasons not to move to .Net don't even
>address the common complaints, such as the issue
>of easily decompiled code and poor speed, the
>problem of continual changes that require new, giant
>runtimes, and the question of how .Net will weather
>the changes of Avalon, WinFX, etc. The thing is already
>in its third rendition and now MS has plans for more
>big changes with Vista.)
>
>  To my mind it borders on bizarre that so many people
>using .Net keep hanging around here like religious
>converts (or maybe MS plants) doing a .Net sales
>pitch. I wish that people would try to just think for
>themselves a bit, do what's best for their own case,
>and not worry so much about what everyone else
>is up to.
>
>     To anyone who says that the Desktop is old
>hat and that I should be thinking about web-based
>software: Maybe you're right, maybe you're not. Either
>way, I have no intention of following such a path using
>Microsoft software.

Well said and Ditto!

---
Stefan Berglund
Author
11 Oct 2005 6:38 PM
Abubakar
Hi,

>    Some of us do. What's wrong with Win32?
> Underneath your .Net classes, somewhere, is
> an equivalent to Win32 level.

i remember when I was in college using very old versions of c++, some
changes could be made by just directly accessing (writing to) the memory.
Than operating systems introduced proper apis, and now we couldnt do things
through direct memory access and there was an api for everything. Now there
is .net. I think its there system and they can dictate us how to use it.

> off the bat, because dial-up users are not going to
> download 25 MB runtimes and 12MB specialty
> programs. Then I lose another 25% because many

but people all over the world are installing service packs for windows 2000
and windows xp for security reasons which already contain the runtimes.

> For one good explanation of why .Net doesn't fit well
> on the Desktop see Mark Russinovich's article:
> http://www.sysinternals.com/blog/2005/04/coming-net-world-im-scared.html

I have seen the Mono project and the applications that are being made on it.
They never compaint on how slow the windows forms are or what features it
lacks so that it becomes absolutely rediculous to make any serious
appliction in windows forms. They are doing everything. Novell now uses
there own made .net (mono). I'm not talking about speed but the greate
obbject-oriented framework and executiong engine .net offers that make any
kind of application development (web or desk) extremely rad and easy. There
are project on sourceforge of desk apps made in windows forms and also made
in short time.

>     My own situation: I taught myself VB, starting
> out leaning heavily on OCXs and gradually
> learned better, leaner coding. I write "shareware".

>      What do I get if I move to .Net? First I lose
> about half of my potential customer base right

what u said about the OCX. When you move to .net, you get absolutely amazing
component based framework. Seriously there is no comparison with COM. Arnt
you happy that every one can learn to write there own components with out
learning how the heck IUnknown and IDispatch works. VB6 did make the
components writing easy but still the power of c++ on com could beat the
crap out of vb (i hope i used the english here correctly!!!!!!). Now in .net
its not that about you write components inC# or vb.net, its just the same
for every language.

> address the common complaints, such as the issue
> of easily decompiled code and poor speed, the

well thats there, althought u do get some benefit from obfuscators (these
obfuscator vendors r making a lot of money it seems) but I do get your point
here.

> using .Net keep hanging around here like religious
> converts (or maybe MS plants) doing a .Net sales
> pitch. I wish that people would try to just think for

nothing like that, (i'm not even an mvp!). For me, .net is just amazing.

Ab.
http://joehacker.blogspot.com


Show quoteHide quote
"mayayana" <mayayanaX***@mindXXspring.com> wrote in message
news:dfv2f.11843$vw6.3683@newsread1.news.atl.earthlink.net...
> > > What we /wanted/ was a compiler that took existing, VB6 syntax
> > > and generated CLR-compliant code that would run atop the
> >
> > oh ok, now its clear. I thought everyone from vb6 wanted to stick to
> win32.
> >
>
>    Some of us do. What's wrong with Win32?
> Underneath your .Net classes, somewhere, is
> an equivalent to Win32 level.
>
>  > Is it not possible in vb.net to write desktop applications like vb6?
>
>     Not very. It strikes me that this point just doesn't
> seem to come up in the minds of most .Net users.
> If it were not for Microsoft's strategy and tactics then
> it would not even occur to anyone to discuss VB vs.
> .Net. They're not for the same thing. This whole argument
> is happening out of context.
>
>
> For one good explanation of why .Net doesn't fit well
> on the Desktop see Mark Russinovich's article:
> http://www.sysinternals.com/blog/2005/04/coming-net-world-im-scared.html
> ]
>
>     My own situation: I taught myself VB, starting
> out leaning heavily on OCXs and gradually
> learned better, leaner coding. I write "shareware".
> I don't make a lot of money at it but I enjoy coding
> and I like making something that's useful to others.
> My main program is an HTML and script editor
> that's quick, light, free of dependencies (other
> than the VB6 runtime) and has an installer of
> about 800 KB. To my mind it's progress to cut
> out the OCX middleman where that's feasible.
> VB6 gives me the ability to do that, while still providing
> easy methods where and when I want them.
>
>      What do I get if I move to .Net? First I lose
> about half of my potential customer base right
> off the bat, because dial-up users are not going to
> download 25 MB runtimes and 12MB specialty
> programs. Then I lose another 25% because many
> people won't deal with the added complexity of
> needing to download and install a runtime. I also lose
> any ability to write for Windows 95. So now I've
> got maybe 20% of my possible base left.
>
>    Beyond that, I'm
> getting back into the bloat and inefficiency of objects
> that are twice- or thrice-removed from the API. Why
> would I want to do that? I like using the API. I like
> using Windows. I don't want to be led gradually to some
> sort of future X-Box/Vista crap hybrid that won't let me
> access the system directly.
>
> (And all of these reasons not to move to .Net don't even
> address the common complaints, such as the issue
> of easily decompiled code and poor speed, the
> problem of continual changes that require new, giant
> runtimes, and the question of how .Net will weather
> the changes of Avalon, WinFX, etc. The thing is already
> in its third rendition and now MS has plans for more
> big changes with Vista.)
>
>   To my mind it borders on bizarre that so many people
> using .Net keep hanging around here like religious
> converts (or maybe MS plants) doing a .Net sales
> pitch. I wish that people would try to just think for
> themselves a bit, do what's best for their own case,
> and not worry so much about what everyone else
> is up to.
>
>      To anyone who says that the Desktop is old
> hat and that I should be thinking about web-based
> software: Maybe you're right, maybe you're not. Either
> way, I have no intention of following such a path using
> Microsoft software.
>
>
Author
11 Oct 2005 6:34 PM
mayayana
> i remember when I was in college using very old versions of c++, some
> changes could be made by just directly accessing (writing to) the memory.
> Than operating systems introduced proper apis, and now we couldnt do
things
> through direct memory access and there was an api for everything. Now
there
> is .net. I think its there system and they can dictate us how to use it.
>

   That's an interesting point of view. Why so
passive? I have a Toyota pickup truck. If Toyota
announced that they would no longer sell parts
because their pickup truck model is "outdated"
and was being "End of lifed" then I wouldn't say,
"Well, it's Toyota's system. It's their decision."
That would be my last Toyota.

> > off the bat, because dial-up users are not going to
> > download 25 MB runtimes and 12MB specialty
> > programs. Then I lose another 25% because many
>
> but people all over the world are installing service packs for windows
2000
> and windows xp for security reasons which already contain the runtimes.
>
   That sounds like a quote from some kind of wacky
..Net recruiting propaganda. As I recall, the last XP SP
was about 275 MB. A dial-up user can't download
something like that. Do you really think that people
send away for the service pack CDs? I don't know
anyone (among non-tech friends) who has ever
installed any service pack. I don't even know anyone
who has ever deliberately "upgraded" their Windows
version.

Show quoteHide quote
> > For one good explanation of why .Net doesn't fit well
> > on the Desktop see Mark Russinovich's article:
> > http://www.sysinternals.com/blog/2005/04/coming-net-world-im-scared.html
>
> I have seen the Mono project and the applications that are being made on
it.
> They never compaint on how slow the windows forms are or what features it
> lacks so that it becomes absolutely rediculous to make any serious
> appliction in windows forms. They are doing everything. Novell now uses
> there own made .net (mono). I'm not talking about speed but the greate
> obbject-oriented framework and executiong engine .net offers that make any
> kind of application development (web or desk) extremely rad and easy.
There
> are project on sourceforge of desk apps made in windows forms and also
made
> in short time.
>
   Did you read the article? Mark Russinovich is a
Windows programming expert. He's not saying
that .Net lacks features. He's saying that it's sloppy
with resources, especially in terms of RAM
requirements; so much so that trying to run the typical
number programs at the same time, on current hardware,
if they were all written in .Net, would be undoable.

Show quoteHide quote
> >     My own situation: I taught myself VB, starting
> > out leaning heavily on OCXs and gradually
> > learned better, leaner coding. I write "shareware".
>
> >      What do I get if I move to .Net? First I lose
> > about half of my potential customer base right
>
> what u said about the OCX. When you move to .net, you get absolutely
amazing
> component based framework. Seriously there is no comparison with COM. Arnt
> you happy that every one can learn to write there own components with out
> learning how the heck IUnknown and IDispatch works. VB6 did make the
> components writing easy but still the power of c++ on com could beat the
> crap out of vb (i hope i used the english here correctly!!!!!!).

:)  Yes, you seem to have a good grasp of English slang!
It is a crude usage, like one might hear in a bar between two
arguing drunks, but you used it correctly.

> Now in .net
> its not that about you write components inC# or vb.net, its just the same
> for every language.
>
    I think you might have misunderstood me there.
Again, I'm not questioning that .Net may have lots
of good components. And maybe .Net is good for
writing components. But I'm saying that I think
components are best avoided when possible in
desktop software because they create dependencies,
inefficiency and bloat. External components are
great to ease the "learning curve", but to a great extent
they are just training wheels pasted on top of the code
that actually does the work.

   Part of that is also personal preference on my
part:
  I enjoy the craft of perfecting code and I think that it
pays off in the long run. For instance, in VB, if
I want to send an email, at one extreme I could
automate Outlook. If I want to go deeper I can
use MAPI. Deeper still, I can use a winsock
OCX and code the whole operation. Or I can
use the system sockets library directly and skip the
OCX. Each step down requires more work to write
the code. But each step down is also more efficient,
with less dependencies and a smaller memory
footprint. I can load 40 MB(?) of libraries to use
Outlook, with 1 KB of code, or I can load the 40 KB
wsock32.dll and write 30 KB of code. There are tradeoffs
both ways, so it's nice to have the choice. Some
people would say that my 30 KB of code is sloppy,
but that's only because they don't see the millions
of operations that are running invisibly, and the
multiple megabytes worth of libraries being loaded,
when they run something like:
   "System.Mail.SendAnEmail".

>
> > using .Net keep hanging around here like religious
> > converts (or maybe MS plants) doing a .Net sales
> > pitch. I wish that people would try to just think for
>
> nothing like that, (i'm not even an mvp!). For me, .net is just amazing.
>
  :)  I didn't mean to accuse you of that. This thread
is posting in the VB6 group and the .Net group at
the same time. I made that comment because in the
VB6 group we continually get visiting .Net fanatics who
want to argue whenever anything critical is said about
..Net.
Author
12 Oct 2005 6:05 PM
Abubakar
> .Net recruiting propaganda. As I recall, the last XP SP
> was about 275 MB. A dial-up user can't download
> something like that. Do you really think that people
> send away for the service pack CDs? I don't know
> anyone (among non-tech friends) who has ever
> installed any service pack. I don't even know anyone

You are right about the size. Umm, non-tech friends I think maybe true. You
can order a free windows xp sp2 cd from microsoft.com and it'll be delivered
to you anywhere in the world. It does not even require the delivery charges.
And it even says that once you install it, you can just pass the cd to
someone else.

>    Did you read the article? Mark Russinovich is a
> Windows programming expert. He's not saying
> that .Net lacks features. He's saying that it's sloppy
> with resources, especially in terms of RAM
> requirements; so much so that trying to run the typical
> number programs at the same time, on current hardware,

(still havnt read the article) Mark is an expert. No problem with that. What
he says, he definitely is talking with all his knowledge and worried about
all the resources that .net creates and the way it works currently. But is
he the only expert? What about all the great guys writing on msdn mag? Jeff
Richter, Don Box, etc.,. Are they not experts. Ofcourse u n me know that
they are. Are they not worried about .net consuming all these resources? I'm
sure some of them maybe. But they dont quit .net for this reason. They know
that hardware is getting better and .net is also getting better and what
they do, .net is going to allow them do it better. This is a shift from past
generation technologies to the next gen techs. This is expected. I think it
always happen. If this kind of changes dont happen, the world would be
advancing much slower. If you cant join them, beat them, or join them again
:)

> :)  Yes, you seem to have a good grasp of English slang!
> It is a crude usage, like one might hear in a bar between two
> arguing drunks, but you used it correctly.

thanks. Btw why I used this here cuz I recalled that last time I read this
"slang" it was a discussion that Linus Torvalds was doing comparing Linux to
Minix :-) (& I was talking about com in c++ and com in vb)

Show quoteHide quote
>   I enjoy the craft of perfecting code and I think that it
> pays off in the long run. For instance, in VB, if
> I want to send an email, at one extreme I could
> automate Outlook. If I want to go deeper I can
> use MAPI. Deeper still, I can use a winsock
> OCX and code the whole operation. Or I can
> use the system sockets library directly and skip the
> OCX. Each step down requires more work to write
> the code. But each step down is also more efficient,
> with less dependencies and a smaller memory
> footprint. I can load 40 MB(?) of libraries to use
> Outlook, with 1 KB of code, or I can load the 40 KB
> wsock32.dll and write 30 KB of code. There are tradeoffs
> both ways, so it's nice to have the choice. Some
> people would say that my 30 KB of code is sloppy,
> but that's only because they don't see the millions
> of operations that are running invisibly, and the
> multiple megabytes worth of libraries being loaded,
> when they run something like:
>    "System.Mail.SendAnEmail".

Well said. You must be a very good dev. And I assure you that you can do all
this in .net too. There is a greate place for devs like you in the .net
community. You can play with wsock32.dll or anyother you like, and the
quality of debugging that you'll get with vs.net, specially the 2k5 version
thats going to be here next month, its just unmatched with any thing you
have ever seen. Guaranteed! (oh and the ide wont crash-n-burn if u r in a
middle of subclassed call and an error is raised :)_).

-Ab.
http://joehacker.blogspot.com

Show quoteHide quote
"mayayana" <mayayanaX***@mindXXspring.com> wrote in message
news:aBT2f.13371$q1.6650@newsread3.news.atl.earthlink.net...
> > i remember when I was in college using very old versions of c++, some
> > changes could be made by just directly accessing (writing to) the
memory.
> > Than operating systems introduced proper apis, and now we couldnt do
> things
> > through direct memory access and there was an api for everything. Now
> there
> > is .net. I think its there system and they can dictate us how to use it.
> >
>
>    That's an interesting point of view. Why so
> passive? I have a Toyota pickup truck. If Toyota
> announced that they would no longer sell parts
> because their pickup truck model is "outdated"
> and was being "End of lifed" then I wouldn't say,
> "Well, it's Toyota's system. It's their decision."
> That would be my last Toyota.
>
> > > off the bat, because dial-up users are not going to
> > > download 25 MB runtimes and 12MB specialty
> > > programs. Then I lose another 25% because many
> >
> > but people all over the world are installing service packs for windows
> 2000
> > and windows xp for security reasons which already contain the runtimes.
> >
>    That sounds like a quote from some kind of wacky
> .Net recruiting propaganda. As I recall, the last XP SP
> was about 275 MB. A dial-up user can't download
> something like that. Do you really think that people
> send away for the service pack CDs? I don't know
> anyone (among non-tech friends) who has ever
> installed any service pack. I don't even know anyone
> who has ever deliberately "upgraded" their Windows
> version.
>
> > > For one good explanation of why .Net doesn't fit well
> > > on the Desktop see Mark Russinovich's article:
> > >
http://www.sysinternals.com/blog/2005/04/coming-net-world-im-scared.html
Show quoteHide quote
> >
> > I have seen the Mono project and the applications that are being made on
> it.
> > They never compaint on how slow the windows forms are or what features
it
> > lacks so that it becomes absolutely rediculous to make any serious
> > appliction in windows forms. They are doing everything. Novell now uses
> > there own made .net (mono). I'm not talking about speed but the greate
> > obbject-oriented framework and executiong engine .net offers that make
any
> > kind of application development (web or desk) extremely rad and easy.
> There
> > are project on sourceforge of desk apps made in windows forms and also
> made
> > in short time.
> >
>    Did you read the article? Mark Russinovich is a
> Windows programming expert. He's not saying
> that .Net lacks features. He's saying that it's sloppy
> with resources, especially in terms of RAM
> requirements; so much so that trying to run the typical
> number programs at the same time, on current hardware,
> if they were all written in .Net, would be undoable.
>
> > >     My own situation: I taught myself VB, starting
> > > out leaning heavily on OCXs and gradually
> > > learned better, leaner coding. I write "shareware".
> >
> > >      What do I get if I move to .Net? First I lose
> > > about half of my potential customer base right
> >
> > what u said about the OCX. When you move to .net, you get absolutely
> amazing
> > component based framework. Seriously there is no comparison with COM.
Arnt
> > you happy that every one can learn to write there own components with
out
> > learning how the heck IUnknown and IDispatch works. VB6 did make the
> > components writing easy but still the power of c++ on com could beat the
> > crap out of vb (i hope i used the english here correctly!!!!!!).
>
> :)  Yes, you seem to have a good grasp of English slang!
> It is a crude usage, like one might hear in a bar between two
> arguing drunks, but you used it correctly.
>
> > Now in .net
> > its not that about you write components inC# or vb.net, its just the
same
> > for every language.
> >
>     I think you might have misunderstood me there.
> Again, I'm not questioning that .Net may have lots
> of good components. And maybe .Net is good for
> writing components. But I'm saying that I think
> components are best avoided when possible in
> desktop software because they create dependencies,
> inefficiency and bloat. External components are
> great to ease the "learning curve", but to a great extent
> they are just training wheels pasted on top of the code
> that actually does the work.
>
>    Part of that is also personal preference on my
> part:
>   I enjoy the craft of perfecting code and I think that it
> pays off in the long run. For instance, in VB, if
> I want to send an email, at one extreme I could
> automate Outlook. If I want to go deeper I can
> use MAPI. Deeper still, I can use a winsock
> OCX and code the whole operation. Or I can
> use the system sockets library directly and skip the
> OCX. Each step down requires more work to write
> the code. But each step down is also more efficient,
> with less dependencies and a smaller memory
> footprint. I can load 40 MB(?) of libraries to use
> Outlook, with 1 KB of code, or I can load the 40 KB
> wsock32.dll and write 30 KB of code. There are tradeoffs
> both ways, so it's nice to have the choice. Some
> people would say that my 30 KB of code is sloppy,
> but that's only because they don't see the millions
> of operations that are running invisibly, and the
> multiple megabytes worth of libraries being loaded,
> when they run something like:
>    "System.Mail.SendAnEmail".
>
> >
> > > using .Net keep hanging around here like religious
> > > converts (or maybe MS plants) doing a .Net sales
> > > pitch. I wish that people would try to just think for
> >
> > nothing like that, (i'm not even an mvp!). For me, .net is just amazing.
> >
>   :)  I didn't mean to accuse you of that. This thread
> is posting in the VB6 group and the .Net group at
> the same time. I made that comment because in the
> VB6 group we continually get visiting .Net fanatics who
> want to argue whenever anything critical is said about
> .Net.
>
>
>
>
Author
12 Oct 2005 3:15 PM
mayayana
> You
> can order a free windows xp sp2 cd from microsoft.com and it'll be
delivered
> to you anywhere in the world. It does not even require the delivery
charges.

> And it even says that once you install it, you can just pass the cd to
> someone else.
>
  Oooh. Mr. Bill is turning into a generous softie in his
old age. It might be fun to order a CD just so that I
can have the pleasure of legally giving Microsoft
software to someone who uses XP. :)

    That reminds me of another reason I don't move to
..Net: The IDE won't run on Win98SE and I don't want
to switch to Windows Xtra Problems. I find it ironic
that most Java and .Net developer software runs only
in very limited environments. Yet both systems aim to
be thoroughly cross-platform.

>
> (still havnt read the article) Mark is an expert. No problem with that.
What
he says, he definitely is talking with all his knowledge and worried about
all the resources that .net creates and the way it works currently. But is
he the only expert? What about all the great guys writing on msdn mag? Jeff
Richter, Don Box, etc.,. Are they not experts. Ofcourse u n me know that
they are. Are they not worried about .net consuming all these resources? I'm
> sure some of them maybe. But they dont quit .net for this reason.
>

  This all started with you asking why there might be
a problem writing dekstop software on .Net, but you
keep bringing it back to a question of whether .Net is
good out of that context. The whole point of Mark's article
is that there is a difference. He thinks .Net is fine for
web-based software. The point he's making is that
it's basically Microsoft's version of Java and doesn't
belong on the desktop. It may be true that new hardware
will solve the resource problem, but it's hard for me to see
that as progress. Needing 4 GB of RAM to write letters
and send email is a pitiful state of affairs.

> Well said. You must be a very good dev. And I assure you that you can do
all
> this in .net too. There is a greate place for devs like you in the .net
> community. You can play with wsock32.dll or anyother you like, and the
> quality of debugging that you'll get with vs.net...

   That's kind of you to say, but there wouldn't be much
value in using .Net if I'm just going to do it all unmanaged.
I'm surprised  that I could write an email sender
using wsock32.dll without problems. That's good to know.
But then, I don't need the runtime or .Net if I do it that
way. I'd have a 50 KB program, with no dependencies,
if I do it in VB6. If I write the same thing in .Net it will
require the 25 MB runtime and probably compile
to about 10 MB!
    Can you see how different that is from the point of
view of people writing desktop software? Maybe you're
doing ASP.Net on a corporate server, or something like
that. That is very different from someone writing small,
downloaded software to be used on all versions of
Windows. Avoiding an extra 500 KB of installer size
or an extra dependency that might cause incompatibility
problems on some systems is a significant improvement for
me. And since I can do what I want with a pre-installed
API that's on all Windows versions, it would be crazy
to switch. It would be like getting an 18-wheel truck to
transport my car to where I'm going. It makes much more
sense to just drive the car.  :)
Author
13 Oct 2005 5:02 PM
Abubakar
>     That reminds me of another reason I don't move to
> .Net: The IDE won't run on Win98SE and I don't want
> to switch to Windows Xtra Problems. I find it ironic

wow, you did not shift to windows xp, so how can i expect you'll move to
..net. Fine with me.

> to switch to Windows Xtra Problems. I find it ironic
> that most Java and .Net developer software runs only
> in very limited environments. Yet both systems aim to
> be thoroughly cross-platform.

they need power to run! :-)

> is that there is a difference. He thinks .Net is fine for
> web-based software. The point he's making is that
> it's basically Microsoft's version of Java and doesn't
> belong on the desktop. It may be true that new hardware

"Microsoft's version of Java" have heard this a lot. If this is what he
says, I'm sure its not worth reading.

>  that as progress. Needing 4 GB of RAM to write letters
> and send email is a pitiful state of affairs.

totally untrue, figures are not correct!

I think you guys are perfect with vb6. Carry on. And good luck.

Cheers,

Ab.
http://joehacker.blogspot.com
there are better things to discuss like :
http://www.msnbc.msn.com/id/7328143/

Show quoteHide quote
"mayayana" <mayayanaX***@mindXXspring.com> wrote in message
news:rM93f.13623$QE1.3386@newsread2.news.atl.earthlink.net...
> > You
> > can order a free windows xp sp2 cd from microsoft.com and it'll be
> delivered
> > to you anywhere in the world. It does not even require the delivery
> charges.
>
> > And it even says that once you install it, you can just pass the cd to
> > someone else.
> >
>   Oooh. Mr. Bill is turning into a generous softie in his
> old age. It might be fun to order a CD just so that I
> can have the pleasure of legally giving Microsoft
> software to someone who uses XP. :)
>
>     That reminds me of another reason I don't move to
> .Net: The IDE won't run on Win98SE and I don't want
> to switch to Windows Xtra Problems. I find it ironic
> that most Java and .Net developer software runs only
> in very limited environments. Yet both systems aim to
> be thoroughly cross-platform.
>
> >
> > (still havnt read the article) Mark is an expert. No problem with that.
> What
> he says, he definitely is talking with all his knowledge and worried about
> all the resources that .net creates and the way it works currently. But is
> he the only expert? What about all the great guys writing on msdn mag?
Jeff
> Richter, Don Box, etc.,. Are they not experts. Ofcourse u n me know that
> they are. Are they not worried about .net consuming all these resources?
I'm
> > sure some of them maybe. But they dont quit .net for this reason.
> >
>
>   This all started with you asking why there might be
> a problem writing dekstop software on .Net, but you
> keep bringing it back to a question of whether .Net is
> good out of that context. The whole point of Mark's article
> is that there is a difference. He thinks .Net is fine for
> web-based software. The point he's making is that
> it's basically Microsoft's version of Java and doesn't
> belong on the desktop. It may be true that new hardware
> will solve the resource problem, but it's hard for me to see
>  that as progress. Needing 4 GB of RAM to write letters
> and send email is a pitiful state of affairs.
>
> > Well said. You must be a very good dev. And I assure you that you can do
> all
> > this in .net too. There is a greate place for devs like you in the .net
> > community. You can play with wsock32.dll or anyother you like, and the
> > quality of debugging that you'll get with vs.net...
>
>    That's kind of you to say, but there wouldn't be much
> value in using .Net if I'm just going to do it all unmanaged.
> I'm surprised  that I could write an email sender
> using wsock32.dll without problems. That's good to know.
> But then, I don't need the runtime or .Net if I do it that
> way. I'd have a 50 KB program, with no dependencies,
> if I do it in VB6. If I write the same thing in .Net it will
> require the 25 MB runtime and probably compile
> to about 10 MB!
>     Can you see how different that is from the point of
> view of people writing desktop software? Maybe you're
> doing ASP.Net on a corporate server, or something like
> that. That is very different from someone writing small,
> downloaded software to be used on all versions of
> Windows. Avoiding an extra 500 KB of installer size
> or an extra dependency that might cause incompatibility
> problems on some systems is a significant improvement for
> me. And since I can do what I want with a pre-installed
> API that's on all Windows versions, it would be crazy
> to switch. It would be like getting an 18-wheel truck to
> transport my car to where I'm going. It makes much more
> sense to just drive the car.  :)
>
>
Author
13 Oct 2005 5:07 PM
mayayana
>
> > is that there is a difference. He thinks .Net is fine for
> > web-based software. The point he's making is that
> > it's basically Microsoft's version of Java and doesn't
> > belong on the desktop. It may be true that new hardware
>
> "Microsoft's version of Java" have heard this a lot. If this is what he
> says, I'm sure its not worth reading.
>

    That reminds me of a famous story about
Galileo. As the story goes, Galileo had found
craters on the moon by looking through his
telescope. At the time, the Catholic church had
a monopoly on knowledge and truth in Europe,
and they didn't like Galileo coming up with new
discoveries and ideas because that could lead to
the development of a whole new truth franchise in
Europe, which could threaten Catholic power.
    So a Catholic bishop was
sent to see what Galileo was up to. Galileo
offered to demonstrate his claim about craters on
the moon by letting the bishop see for himself
through the telescope. The bishop responded
something like, "I don't need to look through
your telescope because I already know that
God would not make the moon as anything other
than a perfect sphere."
Author
13 Oct 2005 7:22 PM
Ralph
Show quote Hide quote
"mayayana" <mayayanaX***@mindXXspring.com> wrote in message
news:wvw3f.14312$q1.2262@newsread3.news.atl.earthlink.net...
> >
> > > is that there is a difference. He thinks .Net is fine for
> > > web-based software. The point he's making is that
> > > it's basically Microsoft's version of Java and doesn't
> > > belong on the desktop. It may be true that new hardware
> >
> > "Microsoft's version of Java" have heard this a lot. If this is what he
> > says, I'm sure its not worth reading.
> >
>
>     That reminds me of a famous story about
> Galileo. As the story goes, Galileo had found
> craters on the moon by looking through his
> telescope. At the time, the Catholic church had
> a monopoly on knowledge and truth in Europe,
> and they didn't like Galileo coming up with new
> discoveries and ideas because that could lead to
> the development of a whole new truth franchise in
> Europe, which could threaten Catholic power.
>     So a Catholic bishop was
> sent to see what Galileo was up to. Galileo
> offered to demonstrate his claim about craters on
> the moon by letting the bishop see for himself
> through the telescope. The bishop responded
> something like, "I don't need to look through
> your telescope because I already know that
> God would not make the moon as anything other
> than a perfect sphere."
>

So your saying that .Net is a perfect sphere, you need a telescope to see
its features, or we should all just join the Catholic church?

-ralph
Author
14 Oct 2005 12:29 AM
mayayana
> So your saying that .Net is a perfect sphere, you need a telescope to see
> its features, or we should all just join the Catholic church?
>

If you like.
Author
12 Oct 2005 10:11 PM
Karl E. Peterson
Abubakar wrote:
> (still havnt read the article)

Seems clear that you really owe that much to yourself.

> Mark is an expert. No problem with
> that. What he says, he definitely is talking with all his knowledge
> and worried about all the resources that .net creates and the way it
> works currently. But is he the only expert? What about all the great
> guys writing on msdn mag? Jeff Richter, Don Box, etc.,. Are they not
> experts. Ofcourse u n me know that they are. Are they not worried
> about .net consuming all these resources? I'm sure some of them
> maybe. But they dont quit .net for this reason. They know that
> hardware is getting better and .net is also getting better and what
> they do, .net is going to allow them do it better.

Whoa!  Think about that.  What _do_ Richter, Box, et al, actually _do_, hmmm?  (Okay,
I'll spell it out: They teach.)  In their business, change for change's sake _is_ a
Good Thing!
--
Working Without a .NET?
http://classicvb.org/petition
Author
13 Oct 2005 4:43 PM
Abubakar
Don is an architect on Indigo team and makes sure the next gen performance
critical apps built on windows using indigo live upto the promise of indigo
performance. Jeff is a miracle guy who, among other things, is focusing on
testing indigo and writes applications inside microsoft company that takes
indigo to its limits. Everything here revolves around .net. Don is a
microsoft employee and Jeff is a consultant at microsoft for a long time.
They dont merely teach and they know what performance is.

-Ab.
http://joehacker.blogspot.com


Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:uDvien3zFHA.2540@TK2MSFTNGP09.phx.gbl...
> Abubakar wrote:
> > (still havnt read the article)
>
> Seems clear that you really owe that much to yourself.
>
> > Mark is an expert. No problem with
> > that. What he says, he definitely is talking with all his knowledge
> > and worried about all the resources that .net creates and the way it
> > works currently. But is he the only expert? What about all the great
> > guys writing on msdn mag? Jeff Richter, Don Box, etc.,. Are they not
> > experts. Ofcourse u n me know that they are. Are they not worried
> > about .net consuming all these resources? I'm sure some of them
> > maybe. But they dont quit .net for this reason. They know that
> > hardware is getting better and .net is also getting better and what
> > they do, .net is going to allow them do it better.
>
> Whoa!  Think about that.  What _do_ Richter, Box, et al, actually _do_,
hmmm?  (Okay,
> I'll spell it out: They teach.)  In their business, change for change's
sake _is_ a
Show quoteHide quote
> Good Thing!
> --
> Working Without a .NET?
> http://classicvb.org/petition
>
>
Author
13 Oct 2005 4:49 PM
Gary Nelson
Ab,

> They dont merely teach and they know what performance is.

But they don't have thousands of clients and hundreds of thousands of lines
of legacy code to maintain.

Gary
Author
10 Oct 2005 12:16 PM
Herfried K. Wagner [MVP]
"Abubakar" <abubak***@gmail.com> schrieb:
> Is it not possible in vb.net to write desktop applications like vb6? What
> I
> think througth the petition, people want is that microsoft remove the
> weeknesses of vb6, like object-orientation, threading, etc and maintain
> the
> appliction development that is Win32 focused.

That's definitely not the goal.  The petition is /not/ about "programming
language X is better than programming language Y".  It doesn't claim that
VB6 is better than anything.  The aim of the petition is simply to ask for a
viable way for preserving customers' assets.

> .Net offers a lot of things, lets say System.Convert. How would you
> make that available in vb7? Will not the devs using vb7 want to use the
> facilities of System.Convert, System.Text, or
> System.Threading? I mean everything will be sort of existing in 2 forms.

I doubt that it has top priority for VB6 developers to be able to use
'System.Convert' et al.

> Naturally in the new object.oriented vb7+ there would be string class
> which
> would offer methods when write "." instead of using mid or left etc. So
> than
> there would be some need for a class library like the .net's bcl.

VB.NET has a similar class library.

> I think the vb.net is a pretty natural evolution of vb 6 and
> earlier versions. We must accept it. Its beautiful.

Although I like VB.NET, I don't think that it is a new version of VB6.
Language stability was obviously not important for the designers of this new
programming language.  The article below illustrates what language stability
means and why it should have top priority:

Language Stability
<URL:http://vb.mvps.org/tips/stability.asp>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
9 Oct 2005 1:11 PM
m.posseth
As a programmer who uses both VS6 and VS.Net on daily bases for web
development , application development and distributed  application
development  ( COM and .Net Remoting ) these are my answers to your
questions / remarks


Q
> Your can not call APIs directly in .NET, only via P/Invoke. There are some
> things that cannot be done in .NET, and that requires APIs. Earlier people
> used to say "you can do this in VB" and now. "You can't do this in .NET"

A:

You can use API`s in .Net    , however lots of people use API`s for
functionality that is now built in the framework  so it is often dissaproved
by people here in the comunity , however for those functionality you need
that is not yet in the framework or whenever it makes sense to do so API`s
are still valid .


Q:
> Is MS stopping APIs altogether? If yes, what about CPP developer, how
> would they program?

A:  I did here this rumour to , that "they" would only allow managed code to
be executed on future operating systems , however i believe we have several
years to go before it will be so far as Vista still has a full API interface
onboard

Q
> APIs are more powerful and faster than foolish class, this is one of the
> reason Java is not considered a local application development languages,
> because it's not powerful for app dev, only for web. That same applied to
> .NET, its great for web, especially ASP.NET. But not for local development

A:
i agreee and dissagree :-)  i have found that VB6 is in some operations a
much better tool as  VB.Net however i also found that the same counts for
VB.Net
it depends totally on the project situation , i still start new development
projects in VB6 but web projects ( ASP) are now always written in .Net as it
is superior to its non .Net version .

some of the questions i ask myself before starting a desktop project and
make this dicission are :
A : How modern are the target computers   ( < 256 mb  and  < P III means
automaticly VB6  )
B : what are the target operating systems ( support for win 9.x means
automaticly VB6 for me )
C : must this app be web connected ?
D : distributed architecture necessary ( n tier )  or possibly needed in the
future ?

Q
> And anybody can disassemble your source code and claims they wrote it. O!,
> yeah, dotfukcator, who has the money to buy a $2500 anti-disassembly too.

A:
There are also free dotfuscators / obfuscators
and as we noticed a few months ago if someone wants to hack your proggy they
can do this also with VB6
we have recently received a copy of our own program , that was hacked in
Poland it had the same functionality as our original , but did not need a
licernse from us  to work , the hacker implemented its own registration
forms , also a litle embarising was that the assembly was much smaller as
our original :-(
the program was compiled in native code with optimizations on  , we thought
it was impossible to decompile VB6 well we just woke up out of that dream
( this fact was on of our main reassons to stay with VB6 with our deployable
apps )


Q :
> In my view, one of the reasons, classic VB is/was great, because of great
> MS minds of late 90'.

A:
There are still great minds at MS corporation i visit the Technet MSDN
briefings twice a year here in the Netherlands  and i am amazed of all the
new exciting technology`s that are coming towards us , however i see these
as additions to  technology`s currently availlable


Q:
> Now they just hire, cheap people, to "get the job done". Today's VB/.NET
> versions are developed on the internal views, offshore R&D, foolish
> internal MVPs and offshoring minds. And not by views of 3 Million
> Developers, 3 million is not "3 Million", its 3000000 people. just go to
> channel nine, and see, how the vb team member shows us the futures vb
> version videos, like they have invented something great. more messy lang
> with more less code, lol
>

A:
  I do not have a view in MS`s  kitchen so i can not say anything about your
claims however
"foolish internal  MVPs " ??? MVP`s  are not employed by Microsoft they are
people who have most of the time a fulltime Job and use there spare free
hours to contribute in the comunity , so you and i can do a better job . i
believe these people should earn a litle more respect from your side

> lol
>
> vb6: 10 lines of code
>
> vb.net 2002 : 6 lines of code
>
> vb.net 2003: 3 lines of code
>
> vb.net 2005: 1 line of code
>

counter example ??
take VB6 and a access 2000 database with a table with 4 million records
take VB.Net  and a access 2000 database with a table with 4 million records

if you want to loop through a recordset make a decission on the content of
some fields and then update a column you will find that VB6 is superior in
speed and the lines of code you have to write , this all because of the
connected versus disconnected aproach

Hint to microsoft :-)   i would like to have the possibility back as i had
in VB6 to do stuff like that in connected mode


Q:

> Wtf, a company with an annual, budget of 8 Billion dollars, can't keep its
> biggest no of developers happy?

A:
most of the times i am happy , however with 3 million of developers there
will alway be people dissaproving some new roads Microsoft leads us to
if you do not like it stay with VB6 , maybe you are not ( yet ) ready for
the .Net step


Q:
> the only things vb6 is lacking is Unicode support, except that it has
> everything.

A:     not completely true , VB6 is internally totally unicode compatible
however the vissible controls are not , so you have 2 options
1. buy third party unicode controls ,
2.  write your program with a HTML gui  http://www.toolbase.nl/ press
screenshots for an example of how this looks ( a dutch version however you
might get the idea ) i wrote programs like this for the Russian market with
the Russian fonts without a problem ( access 2000 with unicode option on in
text fileds , and writing the HTML pages as unicode output from VB6 , browse
on them with the webbrowser control and there you are :-) )



Regards

Michel Posseth [MCP]








Show quoteHide quote
"VB6 User" <v**@love.com> schreef in bericht
news:Oz6VXcMzFHA.3856@tk2msftngp13.phx.gbl...
> Hi all devies!
>
>
>
> Many (.NUT, .NOT or whatever), APIs, VB6, Views & Questions
>
>
>
> Your can not call APIs directly in .NET, only via P/Invoke. There are some
> things that cannot be done in .NET, and that requires APIs. Earlier people
> used to say "you can do this in VB" and now. "You can't do this in .NET"
>
>
>
> I also have these questions to ask:
>
> Is MS stopping APIs altogether? If yes, what about CPP developer, how
> would they program?
>
>
>
> APIs are more powerful and faster than foolish class, this is one of the
> reason Java is not considered a local application development languages,
> because it's not powerful for app dev, only for web. That same applied to
> .NET, its great for web, especially ASP.NET. But not for local
> development.
>
>
>
> And anybody can disassemble your source code and claims they wrote it. O!,
> yeah, dotfukcator, who has the money to buy a $2500 anti-disassembly too.
>
>
>
> In my view, one of the reasons, classic VB is/was great, because of great
> MS minds of late 90'.
>
>
>
> Now they just hire, cheap people, to "get the job done". Today's VB/.NET
> versions are developed on the internal views, offshore R&D, foolish
> internal MVPs and offshoring minds. And not by views of 3 Million
> Developers, 3 million is not "3 Million", its 3000000 people. just go to
> channel nine, and see, how the vb team member shows us the futures vb
> version videos, like they have invented something great. more messy lang
> with more less code, lol
>
>
>
> lol
>
> vb6: 10 lines of code
>
> vb.net 2002 : 6 lines of code
>
> vb.net 2003: 3 lines of code
>
> vb.net 2005: 1 line of code
>
> vb.net 2007: throw some water on your pc or spray a deodorant can in the
> cpu, because MS will invent AI that will write code automatically, and
> also upload to your website. all u have to do is implant a chip, and the
> chip will convert vb6 codes in your mind, via satellite.
>
>
>
> Wtf, a company with an annual, budget of 8 Billion dollars, can't keep its
> biggest no of developers happy?
>
>
>
> the only things vb6 is lacking is Unicode support, except that it has
> everything.
>
>
>
> sorry for bad, English.
>
> T K
>
>
Author
9 Oct 2005 1:34 PM
Ralph
Responses inline (Hey, its Sunday. <g>)

Show quoteHide quote
"VB6 User" <v**@love.com> wrote in message
news:Oz6VXcMzFHA.3856@tk2msftngp13.phx.gbl...
> Hi all devies!
>
>
>
> Many (.NUT, .NOT or whatever), APIs, VB6, Views & Questions
>
>
>
> Your can not call APIs directly in .NET, only via P/Invoke. There are some
> things that cannot be done in .NET, and that requires APIs. Earlier people
> used to say "you can do this in VB" and now. "You can't do this in .NET"
>

The WinAPI and COM exist in unmanaged code. It has to be 'blocked' or
'bracketed' from managed code. This is little different than how any
'outside' code is managed today.

>
>
> I also have these questions to ask:
>
> Is MS stopping APIs altogether? If yes, what about CPP developer, how
would
> they program?
>

The Win32 API exposes the 'windows engine' for programming. At some level
all frameworks, class libraries, runtimes, etc, use the published services
of the O/S and its components. The framework (just as all 'higher-level'
languages/libraries) is design to minimize the need to use 'lower-level'
services directly. The Framework is merely a wrapper to expose these
services as 'objects'. However, some such lower access will always be there.

>
>
> APIs are more powerful and faster than foolish class, this is one of the
> reason Java is not considered a local application development languages,
> because it's not powerful for app dev, only for web. That same applied to
> .NET, its great for web, especially ASP.NET. But not for local
development.
>
>

If by APIs you mean the Win32 API, then there is no way they are more
'powerful', as the Framework is using the same services. Performance does
suffer as there is currently another layer of indirection. When the
Framework is moved into the kernel speed will improve.

You will find many people will disagree about the suitability of "Java" for
application development. "Java" in the larger sense is a development
platform analogous to "Visual Basic". True that Java doesn't do well in a
Windows environment for application development - but that is due more to
lawsuits than ability. <g>


>
> And anybody can disassemble your source code and claims they wrote it. O!,
> yeah, dotfukcator, who has the money to buy a $2500 anti-disassembly too.
>
>

All binary code (compiled or tokenized) has a level of 'security' weakness.
In order to protect executables you need to use 'outside' system services,
an area where most programmers have been rather lazy, lulled into a false
sense of secruity of the 'compiled' application.

However, system security services are harder to manage with 'shrinkwrapped'
applications that are essentially released into the 'wild'. At this time you
are correct, you have to buy or build some rather complex 'obfuscators' to
protect your intellectual property. I believe this is a bigger weakness of
the Framework that MS will admit publicly.

It will be interesting to see how they address this in the future.

Ironically, the Framework is designed with security in mind. It does make it
easer to build security for in-house or corporate distributed applications
and suites. It also presents the opportunity for controled access to
lower-level services. Of little notice as been the extension of this model
into the realm of device drivers (the low of the low, <g>). The new Windows
Driver Foundation now presents kernel services as objects.

..>
> In my view, one of the reasons, classic VB is/was great, because of great
MS
> minds of late 90'.
>
>

How can anyone question success? Later historians will rank Visual Basic's
as one of the premier products of all time. It is a large part of what made
MS the juggernaut it has been over the last 15 years. It is fascinating that
everyone out there recognizes that except perhaps Billy and Ballmer. <g>


>
> Now they just hire, cheap people, to "get the job done". Today's VB/.NET
> versions are developed on the internal views, offshore R&D, foolish
internal
> MVPs and offshoring minds. And not by views of 3 Million Developers, 3
> million is not "3 Million", its 3000000 people. just go to channel nine,
and
> see, how the vb team member shows us the futures vb version videos, like
> they have invented something great. more messy lang with more less code,
lol
>
>

Part of the Framework's design requrement is exactly that - simplify
development. Allow the mass production of powerful applications by
essentially 'un-skilled' labor. The ultimate goal of any corporation.

Ironically, that is exactly what propelled Visual Basic to the top of the
heap. NET is merely an extension of the VB model. I have no complaint
against .NET. I am only annoyed at how they stabbed so many companies in the
back, by dropping VB the way they did. It has to have cost them - yet it
doesn't seem to have shown-up on the profit sheet.

It seems amazingly unfair, calloused, and capricious. It doesn't seem right
that they are getting away with it. But apparently their market researchers
had a handle on something mere mortals can't understand.

[Appreciate that it is estimated that 70% of all development over the next 5
years will be done off-shore, by programmers who have never even heard of
Visual Basic. India alone can supply 3 million 'developers' at $12/hr with
six-month notice. <g>]

The whole thing reminds me of what happens when a major sports team leaves
town. It is horrible for the fans. The fans lose, but when all the agony
ends, the team makes bigger bucks, and life goes on.


Show quoteHide quote
>
> lol
>
> vb6: 10 lines of code
>
> vb.net 2002 : 6 lines of code
>
> vb.net 2003: 3 lines of code
>
> vb.net 2005: 1 line of code
>
> vb.net 2007: throw some water on your pc or spray a deodorant can in the
> cpu, because MS will invent AI that will write code automatically, and
also
> upload to your website. all u have to do is implant a chip, and the chip
> will convert vb6 codes in your mind, via satellite.
>
>

Watch a couple of StarTrek episodes. That is essential the goal.

>
> Wtf, a company with an annual, budget of 8 Billion dollars, can't keep its
> biggest no of developers happy?
>

Note above. They are obviously of no importance in this new economy.


>
>
> the only things vb6 is lacking is Unicode support, except that it has
> everything.
>
>

It is supported. You just have to pay attention.

Show quoteHide quote
>
> sorry for bad, English.
>
> T K
>
>
Author
9 Oct 2005 2:26 PM
Cor Ligthert [MVP]
Hi,

Is it not a little bit late for this Dos interface versus Windows interface
battle.

I thought that that was won already by the Windows interface.

For me it is silly that you come back with this.

I hope that I don't understand you wrong?

Cor


Show quoteHide quote
"VB6 User" <v**@love.com> schreef in bericht
news:Oz6VXcMzFHA.3856@tk2msftngp13.phx.gbl...
> Hi all devies!
>
>
>
> Many (.NUT, .NOT or whatever), APIs, VB6, Views & Questions
>
>
>
> Your can not call APIs directly in .NET, only via P/Invoke. There are some
> things that cannot be done in .NET, and that requires APIs. Earlier people
> used to say "you can do this in VB" and now. "You can't do this in .NET"
>
>
>
> I also have these questions to ask:
>
> Is MS stopping APIs altogether? If yes, what about CPP developer, how
> would they program?
>
>
>
> APIs are more powerful and faster than foolish class, this is one of the
> reason Java is not considered a local application development languages,
> because it's not powerful for app dev, only for web. That same applied to
> .NET, its great for web, especially ASP.NET. But not for local
> development.
>
>
>
> And anybody can disassemble your source code and claims they wrote it. O!,
> yeah, dotfukcator, who has the money to buy a $2500 anti-disassembly too.
>
>
>
> In my view, one of the reasons, classic VB is/was great, because of great
> MS minds of late 90'.
>
>
>
> Now they just hire, cheap people, to "get the job done". Today's VB/.NET
> versions are developed on the internal views, offshore R&D, foolish
> internal MVPs and offshoring minds. And not by views of 3 Million
> Developers, 3 million is not "3 Million", its 3000000 people. just go to
> channel nine, and see, how the vb team member shows us the futures vb
> version videos, like they have invented something great. more messy lang
> with more less code, lol
>
>
>
> lol
>
> vb6: 10 lines of code
>
> vb.net 2002 : 6 lines of code
>
> vb.net 2003: 3 lines of code
>
> vb.net 2005: 1 line of code
>
> vb.net 2007: throw some water on your pc or spray a deodorant can in the
> cpu, because MS will invent AI that will write code automatically, and
> also upload to your website. all u have to do is implant a chip, and the
> chip will convert vb6 codes in your mind, via satellite.
>
>
>
> Wtf, a company with an annual, budget of 8 Billion dollars, can't keep its
> biggest no of developers happy?
>
>
>
> the only things vb6 is lacking is Unicode support, except that it has
> everything.
>
>
>
> sorry for bad, English.
>
> T K
>
>
Author
9 Oct 2005 3:15 PM
Ralph
Show quote Hide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:OW8yG2NzFHA.3000@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> Is it not a little bit late for this Dos interface versus Windows
interface
> battle.
>
> I thought that that was won already by the Windows interface.
>
> For me it is silly that you come back with this.
>
> I hope that I don't understand you wrong?
>
> Cor
>
>

Or the C++ vs C wars,
OO vs Procedural,
Relational vs Networked Data,
Micro-kernel vs 'Mach',
Null vs Zero,
....

Still it is kind of fun. <g>
(Except for the companies and people who found the trust and investment go
up in smoke.)

-ralph


Show quoteHide quote
> "VB6 User" <v**@love.com> schreef in bericht
> news:Oz6VXcMzFHA.3856@tk2msftngp13.phx.gbl...
> > Hi all devies!
> >
> >
> >
> > Many (.NUT, .NOT or whatever), APIs, VB6, Views & Questions
> >
> >
> >
> > Your can not call APIs directly in .NET, only via P/Invoke. There are
some
> > things that cannot be done in .NET, and that requires APIs. Earlier
people
> > used to say "you can do this in VB" and now. "You can't do this in .NET"
> >
> >
> >
> > I also have these questions to ask:
> >
> > Is MS stopping APIs altogether? If yes, what about CPP developer, how
> > would they program?
> >
> >
> >
> > APIs are more powerful and faster than foolish class, this is one of the
> > reason Java is not considered a local application development languages,
> > because it's not powerful for app dev, only for web. That same applied
to
> > .NET, its great for web, especially ASP.NET. But not for local
> > development.
> >
> >
> >
> > And anybody can disassemble your source code and claims they wrote it.
O!,
> > yeah, dotfukcator, who has the money to buy a $2500 anti-disassembly
too.
> >
> >
> >
> > In my view, one of the reasons, classic VB is/was great, because of
great
> > MS minds of late 90'.
> >
> >
> >
> > Now they just hire, cheap people, to "get the job done". Today's VB/.NET
> > versions are developed on the internal views, offshore R&D, foolish
> > internal MVPs and offshoring minds. And not by views of 3 Million
> > Developers, 3 million is not "3 Million", its 3000000 people. just go to
> > channel nine, and see, how the vb team member shows us the futures vb
> > version videos, like they have invented something great. more messy lang
> > with more less code, lol
> >
> >
> >
> > lol
> >
> > vb6: 10 lines of code
> >
> > vb.net 2002 : 6 lines of code
> >
> > vb.net 2003: 3 lines of code
> >
> > vb.net 2005: 1 line of code
> >
> > vb.net 2007: throw some water on your pc or spray a deodorant can in the
> > cpu, because MS will invent AI that will write code automatically, and
> > also upload to your website. all u have to do is implant a chip, and the
> > chip will convert vb6 codes in your mind, via satellite.
> >
> >
> >
> > Wtf, a company with an annual, budget of 8 Billion dollars, can't keep
its
> > biggest no of developers happy?
> >
> >
> >
> > the only things vb6 is lacking is Unicode support, except that it has
> > everything.
> >
> >
> >
> > sorry for bad, English.
> >
> > T K
> >
> >
>
>
Author
9 Oct 2005 4:48 PM
Ken Dopierala Jr.
Below is how to code an API function call in both VB6 and VB.Net.  Note that
the only difference is that VB6 requires you to use a Long because the data
types don't match up with the API in VB6.  However they do in VB.Net, very
convenient.

Using the Windows API is much easier in .Net especially when dealing with
Callbacks and APIs that fill arguments sent ByRef with things like Byte &
Integer arrays.  I make very heavy use of the Windows API in many of my
programs (mainly for sound, memory manipulation, and port communications).
I also use many unmanaged third party libraries and dealing with them has
been made a ton easier in .Net.  As .Net grows up I'm sure it will allow us
to do many more things in a "managed" way (play sounds/music) but until then
it has made it a lot easier on developers who still need to use the Windows
API and other 3rd party tools like FMod.  Good luck!  Ken.

VB6 Code To Call API
----------------------------
Public Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" _
(ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As
Long
PlaySound "chime.wav", 0, SND_NODEFAULT Or SND_ASYNC

VB.Net Code To Call Same API
-------------------------------------
Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" _
(ByVal lpszName As String, ByVal hModule As Integer, ByVal dwFlags As
Integer) As Integer
PlaySound("chime.wav", 0, SND_NODEFAULT + SND_ASYNC)


Show quoteHide quote
"VB6 User" <v**@love.com> wrote in message
news:Oz6VXcMzFHA.3856@tk2msftngp13.phx.gbl...
> Hi all devies!
>
>
>
> Many (.NUT, .NOT or whatever), APIs, VB6, Views & Questions
>
>
>
> Your can not call APIs directly in .NET, only via P/Invoke. There are some
> things that cannot be done in .NET, and that requires APIs. Earlier people
> used to say "you can do this in VB" and now. "You can't do this in .NET"
>
>
>
> I also have these questions to ask:
>
> Is MS stopping APIs altogether? If yes, what about CPP developer, how
would
> they program?
>
>
>
> APIs are more powerful and faster than foolish class, this is one of the
> reason Java is not considered a local application development languages,
> because it's not powerful for app dev, only for web. That same applied to
> .NET, its great for web, especially ASP.NET. But not for local
development.
>
>
>
> And anybody can disassemble your source code and claims they wrote it. O!,
> yeah, dotfukcator, who has the money to buy a $2500 anti-disassembly too.
>
>
>
> In my view, one of the reasons, classic VB is/was great, because of great
MS
> minds of late 90'.
>
>
>
> Now they just hire, cheap people, to "get the job done". Today's VB/.NET
> versions are developed on the internal views, offshore R&D, foolish
internal
> MVPs and offshoring minds. And not by views of 3 Million Developers, 3
> million is not "3 Million", its 3000000 people. just go to channel nine,
and
> see, how the vb team member shows us the futures vb version videos, like
> they have invented something great. more messy lang with more less code,
lol
>
>
>
> lol
>
> vb6: 10 lines of code
>
> vb.net 2002 : 6 lines of code
>
> vb.net 2003: 3 lines of code
>
> vb.net 2005: 1 line of code
>
> vb.net 2007: throw some water on your pc or spray a deodorant can in the
> cpu, because MS will invent AI that will write code automatically, and
also
> upload to your website. all u have to do is implant a chip, and the chip
> will convert vb6 codes in your mind, via satellite.
>
>
>
> Wtf, a company with an annual, budget of 8 Billion dollars, can't keep its
> biggest no of developers happy?
>
>
>
> the only things vb6 is lacking is Unicode support, except that it has
> everything.
>
>
>
> sorry for bad, English.
>
> T K
>
>
Author
10 Oct 2005 11:38 PM
Karl E. Peterson
Ken Dopierala Jr. wrote:
> VB6 Code To Call API
> ----------------------------
> PlaySound "chime.wav", 0, SND_NODEFAULT Or SND_ASYNC
>
> VB.Net Code To Call Same API
> -------------------------------------
> PlaySound("chime.wav", 0, SND_NODEFAULT + SND_ASYNC)

Are you suggesting that "best practices" in VB.NET regressed to using addition for
combining bitflags?
--
Working Without a .NET?
http://classicvb.org/petition
Author
10 Oct 2005 11:52 PM
Herfried K. Wagner [MVP]
Karl,

"Karl E. Peterson" <k***@mvps.org> schrieb:
>> VB6 Code To Call API
>> ----------------------------
>> PlaySound "chime.wav", 0, SND_NODEFAULT Or SND_ASYNC
>>
>> VB.Net Code To Call Same API
>> -------------------------------------
>> PlaySound("chime.wav", 0, SND_NODEFAULT + SND_ASYNC)
>
> Are you suggesting that "best practices" in VB.NET regressed to using
> addition for
> combining bitflags?

Using '+' to combine bitflags is not a "best practice" in VB.NET :-).

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
11 Oct 2005 12:08 AM
Karl E. Peterson
Herfried K. Wagner [MVP] wrote:
> "Karl E. Peterson" <k***@mvps.org> schrieb:
>>> VB6 Code To Call API
>>> ----------------------------
>>> PlaySound "chime.wav", 0, SND_NODEFAULT Or SND_ASYNC
>>>
>>> VB.Net Code To Call Same API
>>> -------------------------------------
>>> PlaySound("chime.wav", 0, SND_NODEFAULT + SND_ASYNC)
>>
>> Are you suggesting that "best practices" in VB.NET regressed to using
>> addition for combining bitflags?
>
> Using '+' to combine bitflags is not a "best practice" in VB.NET :-).

Jest checking...   ;-)
--
Working Without a .NET?
http://classicvb.org/petition
Author
11 Oct 2005 12:42 AM
Ken Dopierala Jr.
Sorry, sorry.

To any new programmers out there *always* use OR unless you know what you
are doing.  In this case the code was ripped from a game programming API I
wrote in both VB6 and VB.Net.  Unlike VB6, VB.Net addition & subtraction
operations are extremely fast.  In fact, a quick search will point you to a
white paper showing that the VB.Net compiled runtime is faster in addition &
subtraction than not only VB6 but also C#, C++ (pick your flavor), and of
course Java *note this holds true for .Net 1.0 & 1.1 - I havn't tested 2.0
yet but I would imagine the C# & C++ compilers are now using the same
optimizations*.  I ORed in VB6 because there is no net gain to using
addition, I added in VB.Net because the gain is quite substantial.  While
the PlaySound API call won't benefit much, even in a loop, it is just a
force of habit I have to help my compiler along into creating the most
optimized runtime possible.

Of course the whole point of this is that codewise, calling API functions
requires no additional code in VB.Net and is actually easier and more
straight forward than in VB6.  Ken.

Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:%23iRNoffzFHA.3540@TK2MSFTNGP10.phx.gbl...
> Herfried K. Wagner [MVP] wrote:
> > "Karl E. Peterson" <k***@mvps.org> schrieb:
> >>> VB6 Code To Call API
> >>> ----------------------------
> >>> PlaySound "chime.wav", 0, SND_NODEFAULT Or SND_ASYNC
> >>>
> >>> VB.Net Code To Call Same API
> >>> -------------------------------------
> >>> PlaySound("chime.wav", 0, SND_NODEFAULT + SND_ASYNC)
> >>
> >> Are you suggesting that "best practices" in VB.NET regressed to using
> >> addition for combining bitflags?
> >
> > Using '+' to combine bitflags is not a "best practice" in VB.NET :-).
>
> Jest checking...   ;-)
> --
> Working Without a .NET?
> http://classicvb.org/petition
>
>
Author
11 Oct 2005 12:50 AM
Karl E. Peterson
Ken Dopierala Jr. wrote:
> Sorry, sorry.
>
> To any new programmers out there *always* use OR unless you know what
> you are doing.                                   ^^^^^^

I feel like you misspelled "even if"...  Hard to buy the rationale there, except in
*very* limited circumstances not at all like those demonstrated here.

> Unlike VB6, VB.Net
> addition & subtraction operations are extremely fast.  In fact, a
> quick search will point you to a white paper showing that the VB.Net
> compiled runtime is faster in addition & subtraction than not only
> VB6 but also C#, C++ (pick your flavor), and of course Java

And that sounds like a license violation against publishing benchmarks.  Hmmm...  ;-)

I really must wonder, though, how IL could possibly compete with ASM for such basic
operations.  Smells rather fishy.  This paper wasn't published by Microsoft, per
chance, was it?

> While the PlaySound API call won't benefit much, even in a loop,
                                             ^^^^
And again, you seem to have misspelled "at all" -- HTH!  :-)
--
Working Without a .NET?
http://classicvb.org/petition
Author
11 Oct 2005 1:20 AM
Ken Dopierala Jr.
You can always tell when Karl gets paranoid.  He starts to knock your
spelling.  Your "even if" doesn't exactly fit, but I'll give you a mulligan
Karl, I can tell you are stressed.  ;-}

As for the benchmarking, don't complain to me Karl.  I didn't write it and I
didn't link it.  Even if I had I doubt any Microsoft lawyers would be
beating down my door.  I also didn't mention ASM or inline ASM and neither
did the benchmarks.  But if you were to take things to the extremes I'm sure
you could beat the times with good old GWBasic and a few peeks & pokes.
Couldn't reference much memory but you could definitely loop faster.

The rationale is pretty plain.  Games require speed, speed requires
optimization, compilers require you to know what is going on behind the
scenes to help them optimize.  Build on top of APIs like WIN32, Fastgraph,
and FMod and you'll pull out all the stops to achieve the best frame rate
and smoothest game play possible.  Plus, it's just fun to create the
tightest code.  At least it is for me.  But I spose that if you chose the
wrong tech path 5 years ago and pigeon-holed both yourself and your clients
then you have a good reason to sweat.

But don't sweat it Karl...you could always become a spelling teacher!  ;-}

Good luck!  Ken.

Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:%23PnrD3fzFHA.3540@TK2MSFTNGP10.phx.gbl...
> Ken Dopierala Jr. wrote:
> > Sorry, sorry.
> >
> > To any new programmers out there *always* use OR unless you know what
> > you are doing.                                   ^^^^^^
>
> I feel like you misspelled "even if"...  Hard to buy the rationale there,
except in
> *very* limited circumstances not at all like those demonstrated here.
>
> > Unlike VB6, VB.Net
> > addition & subtraction operations are extremely fast.  In fact, a
> > quick search will point you to a white paper showing that the VB.Net
> > compiled runtime is faster in addition & subtraction than not only
> > VB6 but also C#, C++ (pick your flavor), and of course Java
>
> And that sounds like a license violation against publishing benchmarks.
Hmmm...  ;-)
>
> I really must wonder, though, how IL could possibly compete with ASM for
such basic
> operations.  Smells rather fishy.  This paper wasn't published by
Microsoft, per
> chance, was it?
>
> > While the PlaySound API call won't benefit much, even in a loop,
>                                              ^^^^
> And again, you seem to have misspelled "at all" -- HTH!  :-)
> --
> Working Without a .NET?
> http://classicvb.org/petition
>
>
Author
11 Oct 2005 1:30 AM
Karl E. Peterson
Ken Dopierala Jr. wrote:
> You can always tell when Karl gets paranoid.  He starts to knock your
> spelling.  Your "even if" doesn't exactly fit, but I'll give you a
> mulligan Karl, I can tell you are stressed.  ;-}

Heheheh...  Taken in good spirit.  Cool.

> As for the benchmarking, don't complain to me Karl.  I didn't write
> it and I didn't link it.

I'm not complaining, really.  Just wondering aloud why one might be inclined to
believe it.  If you do have a link, though, I'd be curious to look.  On the face of
it, the claim seems absurd.

> Even if I had I doubt any Microsoft lawyers
> would be beating down my door.

I think there's an escape clause for when .NET wins the benchmark. <bg>

> I also didn't mention ASM or inline
> ASM and neither did the benchmarks.

But, that's what VB6 and C++ compile to, so you did if only by implication.  (I mean,
the benchmark wasn't comparing execution speeds within the IDE, was it?)

> But if you were to take things
> to the extremes I'm sure you could beat the times with good old
> GWBasic and a few peeks & pokes. Couldn't reference much memory but
> you could definitely loop faster.

Maybe with QB on a 16-bit processor. <g>

> The rationale is pretty plain.  Games require speed, speed requires
> optimization, compilers require you to know what is going on behind
> the scenes to help them optimize.  Build on top of APIs like WIN32,
> Fastgraph, and FMod and you'll pull out all the stops to achieve the
> best frame rate and smoothest game play possible.  Plus, it's just
> fun to create the tightest code.  At least it is for me.

Oh, don't get me wrong!  I over-optimize all the time, too.  It's a trap I've come to
(at least try) recognize before I spin too many needless cycles.  You seem to have
taken me a bit more seriously than I was taking myself?

Later...   Karl
--
Working Without a .NET?
http://classicvb.org/petition
Author
11 Oct 2005 6:43 AM
Cor Ligthert [MVP]
Ken,

What do you think that will happen when you give a user a program with a
loop in it, that waits some parts of a second.

A week later you give him a program in which you have shorten that delay
time and tell him that it was a lot of work, however you have improved it.

A month later you give him that again, with again a shorter delay.

Do you think that the user will recognise it.
He will probably only tell that the last one he got is very fast.

Just my thought in this (partial) thread between you and Karl,

Cor
Author
11 Oct 2005 6:50 PM
Abubakar
Greeting Master Karl :)

> operations.  Smells rather fishy.  This paper wasn't published by
Microsoft, per
> chance, was it?

why would microsoft lie?

Ab.


Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:%23PnrD3fzFHA.3540@TK2MSFTNGP10.phx.gbl...
> Ken Dopierala Jr. wrote:
> > Sorry, sorry.
> >
> > To any new programmers out there *always* use OR unless you know what
> > you are doing.                                   ^^^^^^
>
> I feel like you misspelled "even if"...  Hard to buy the rationale there,
except in
> *very* limited circumstances not at all like those demonstrated here.
>
> > Unlike VB6, VB.Net
> > addition & subtraction operations are extremely fast.  In fact, a
> > quick search will point you to a white paper showing that the VB.Net
> > compiled runtime is faster in addition & subtraction than not only
> > VB6 but also C#, C++ (pick your flavor), and of course Java
>
> And that sounds like a license violation against publishing benchmarks.
Hmmm...  ;-)
>
> I really must wonder, though, how IL could possibly compete with ASM for
such basic
> operations.  Smells rather fishy.  This paper wasn't published by
Microsoft, per
> chance, was it?
>
> > While the PlaySound API call won't benefit much, even in a loop,
>                                              ^^^^
> And again, you seem to have misspelled "at all" -- HTH!  :-)
> --
> Working Without a .NET?
> http://classicvb.org/petition
>
>
Author
11 Oct 2005 10:47 PM
Karl E. Peterson
Abubakar wrote:
> Greeting Master Karl :)
>
>> operations.  Smells rather fishy.  This paper wasn't published by
>> Microsoft, per chance, was it?
>
> why would microsoft lie?

Heh...  Why indeed?  Honest benchmarks benefit all, right?
--
[.NET: It's About Trust!]
Author
11 Oct 2005 10:09 AM
Mike Williams
"Ken Dopierala Jr." <kdopiera***@wi.rr.com> wrote in message
news:%23t8cowfzFHA.908@tk2msftngp13.phx.gbl...

> In fact, a quick search will point you to a white paper showing
> that the VB.Net compiled runtime is faster in addition &
> subtraction than not only VB6 but also C#, C++

Salesmen have wet dreams about people like you ;-)
Author
11 Oct 2005 10:43 AM
Herfried K. Wagner [MVP]
"Ken Dopierala Jr." <kdopiera***@wi.rr.com> schrieb:
> Unlike VB6, VB.Net addition & subtraction
> operations are extremely fast.  In fact, a quick search will point you to
> a
> white paper

Could you point me to this white paper?

> showing that the VB.Net compiled runtime is faster in addition &
> subtraction than not only VB6 but also C#, C++ (pick your flavor), and of
> course Java *note this holds true for .Net 1.0 & 1.1 - I havn't tested 2.0
> yet but I would imagine the C# & C++ compilers are now using the same
> optimizations*.  I ORed in VB6 because there is no net gain to using
> addition, I added in VB.Net because the gain is quite substantial.

There is no gain at all in the sample you showed.  Combining the bitflags is
done at /compile time/.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
11 Oct 2005 6:48 PM
Abubakar
yea and .net is also faster in "new" and in many many many many other things
:)

Ab.


Show quoteHide quote
"Ken Dopierala Jr." <kdopiera***@wi.rr.com> wrote in message
news:%23t8cowfzFHA.908@tk2msftngp13.phx.gbl...
> Sorry, sorry.
>
> To any new programmers out there *always* use OR unless you know what you
> are doing.  In this case the code was ripped from a game programming API I
> wrote in both VB6 and VB.Net.  Unlike VB6, VB.Net addition & subtraction
> operations are extremely fast.  In fact, a quick search will point you to
a
> white paper showing that the VB.Net compiled runtime is faster in addition
&
> subtraction than not only VB6 but also C#, C++ (pick your flavor), and of
> course Java *note this holds true for .Net 1.0 & 1.1 - I havn't tested 2.0
> yet but I would imagine the C# & C++ compilers are now using the same
> optimizations*.  I ORed in VB6 because there is no net gain to using
> addition, I added in VB.Net because the gain is quite substantial.  While
> the PlaySound API call won't benefit much, even in a loop, it is just a
> force of habit I have to help my compiler along into creating the most
> optimized runtime possible.
>
> Of course the whole point of this is that codewise, calling API functions
> requires no additional code in VB.Net and is actually easier and more
> straight forward than in VB6.  Ken.
>
> "Karl E. Peterson" <k***@mvps.org> wrote in message
> news:%23iRNoffzFHA.3540@TK2MSFTNGP10.phx.gbl...
> > Herfried K. Wagner [MVP] wrote:
> > > "Karl E. Peterson" <k***@mvps.org> schrieb:
> > >>> VB6 Code To Call API
> > >>> ----------------------------
> > >>> PlaySound "chime.wav", 0, SND_NODEFAULT Or SND_ASYNC
> > >>>
> > >>> VB.Net Code To Call Same API
> > >>> -------------------------------------
> > >>> PlaySound("chime.wav", 0, SND_NODEFAULT + SND_ASYNC)
> > >>
> > >> Are you suggesting that "best practices" in VB.NET regressed to using
> > >> addition for combining bitflags?
> > >
> > > Using '+' to combine bitflags is not a "best practice" in VB.NET :-).
> >
> > Jest checking...   ;-)
> > --
> > Working Without a .NET?
> > http://classicvb.org/petition
> >
> >
>
>
Author
10 Oct 2005 4:55 AM
Brian Henry
you really need to do research before talking... all programs can be
decompiled... its not something new with .NET VB6 apps could be too VB4 was
the easiest thing in the world to decompile it was all Pcode... java is
decompilable C++ is decompilable...

..NET has everything all the other languages have too you just have to know
how to access them... not everything is PInvoke... there is a reason we have
DLLImport commands... I suggest actually learning the framework before
ranting on it... because your precious VB6 has major flaws in it also...
everything on a computer does...




Show quoteHide quote
"VB6 User" <v**@love.com> wrote in message
news:Oz6VXcMzFHA.3856@tk2msftngp13.phx.gbl...
> Hi all devies!
>
>
>
> Many (.NUT, .NOT or whatever), APIs, VB6, Views & Questions
>
>
>
> Your can not call APIs directly in .NET, only via P/Invoke. There are some
> things that cannot be done in .NET, and that requires APIs. Earlier people
> used to say "you can do this in VB" and now. "You can't do this in .NET"
>
>
>
> I also have these questions to ask:
>
> Is MS stopping APIs altogether? If yes, what about CPP developer, how
> would they program?
>
>
>
> APIs are more powerful and faster than foolish class, this is one of the
> reason Java is not considered a local application development languages,
> because it's not powerful for app dev, only for web. That same applied to
> .NET, its great for web, especially ASP.NET. But not for local
> development.
>
>
>
> And anybody can disassemble your source code and claims they wrote it. O!,
> yeah, dotfukcator, who has the money to buy a $2500 anti-disassembly too.
>
>
>
> In my view, one of the reasons, classic VB is/was great, because of great
> MS minds of late 90'.
>
>
>
> Now they just hire, cheap people, to "get the job done". Today's VB/.NET
> versions are developed on the internal views, offshore R&D, foolish
> internal MVPs and offshoring minds. And not by views of 3 Million
> Developers, 3 million is not "3 Million", its 3000000 people. just go to
> channel nine, and see, how the vb team member shows us the futures vb
> version videos, like they have invented something great. more messy lang
> with more less code, lol
>
>
>
> lol
>
> vb6: 10 lines of code
>
> vb.net 2002 : 6 lines of code
>
> vb.net 2003: 3 lines of code
>
> vb.net 2005: 1 line of code
>
> vb.net 2007: throw some water on your pc or spray a deodorant can in the
> cpu, because MS will invent AI that will write code automatically, and
> also upload to your website. all u have to do is implant a chip, and the
> chip will convert vb6 codes in your mind, via satellite.
>
>
>
> Wtf, a company with an annual, budget of 8 Billion dollars, can't keep its
> biggest no of developers happy?
>
>
>
> the only things vb6 is lacking is Unicode support, except that it has
> everything.
>
>
>
> sorry for bad, English.
>
> T K
>
>
Author
10 Oct 2005 7:37 AM
VB6 User
hi,

i am not saying that u can't decomplie vb6, every app can be decomplieds but
it can not decomplie to a extent where a 10 year old can download a
software, open a exe/dll and then say export to projects file. there is a
hugh diffence between what 100 people can do easily than 10 people can do
working very hard.

VB.NET = Visual Bill .NET, Visual Fred .NET

bye! .NUTTER


Show quoteHide quote
"Brian Henry" <nospam@nospam.com> wrote in message
news:%23ZUGMbVzFHA.3856@tk2msftngp13.phx.gbl...
> you really need to do research before talking... all programs can be
> decompiled... its not something new with .NET VB6 apps could be too VB4
> was the easiest thing in the world to decompile it was all Pcode... java
> is decompilable C++ is decompilable...
>
> .NET has everything all the other languages have too you just have to know
> how to access them... not everything is PInvoke... there is a reason we
> have DLLImport commands... I suggest actually learning the framework
> before ranting on it... because your precious VB6 has major flaws in it
> also... everything on a computer does...
>
>
>
>
> "VB6 User" <v**@love.com> wrote in message
> news:Oz6VXcMzFHA.3856@tk2msftngp13.phx.gbl...
>> Hi all devies!
>>
>>
>>
>> Many (.NUT, .NOT or whatever), APIs, VB6, Views & Questions
>>
>>
>>
>> Your can not call APIs directly in .NET, only via P/Invoke. There are
>> some things that cannot be done in .NET, and that requires APIs. Earlier
>> people used to say "you can do this in VB" and now. "You can't do this in
>> .NET"
>>
>>
>>
>> I also have these questions to ask:
>>
>> Is MS stopping APIs altogether? If yes, what about CPP developer, how
>> would they program?
>>
>>
>>
>> APIs are more powerful and faster than foolish class, this is one of the
>> reason Java is not considered a local application development languages,
>> because it's not powerful for app dev, only for web. That same applied to
>> .NET, its great for web, especially ASP.NET. But not for local
>> development.
>>
>>
>>
>> And anybody can disassemble your source code and claims they wrote it.
>> O!, yeah, dotfukcator, who has the money to buy a $2500 anti-disassembly
>> too.
>>
>>
>>
>> In my view, one of the reasons, classic VB is/was great, because of great
>> MS minds of late 90'.
>>
>>
>>
>> Now they just hire, cheap people, to "get the job done". Today's VB/.NET
>> versions are developed on the internal views, offshore R&D, foolish
>> internal MVPs and offshoring minds. And not by views of 3 Million
>> Developers, 3 million is not "3 Million", its 3000000 people. just go to
>> channel nine, and see, how the vb team member shows us the futures vb
>> version videos, like they have invented something great. more messy lang
>> with more less code, lol
>>
>>
>>
>> lol
>>
>> vb6: 10 lines of code
>>
>> vb.net 2002 : 6 lines of code
>>
>> vb.net 2003: 3 lines of code
>>
>> vb.net 2005: 1 line of code
>>
>> vb.net 2007: throw some water on your pc or spray a deodorant can in the
>> cpu, because MS will invent AI that will write code automatically, and
>> also upload to your website. all u have to do is implant a chip, and the
>> chip will convert vb6 codes in your mind, via satellite.
>>
>>
>>
>> Wtf, a company with an annual, budget of 8 Billion dollars, can't keep
>> its biggest no of developers happy?
>>
>>
>>
>> the only things vb6 is lacking is Unicode support, except that it has
>> everything.
>>
>>
>>
>> sorry for bad, English.
>>
>> T K
>>
>>
>
>
Author
10 Oct 2005 8:08 AM
Cor Ligthert [MVP]
VB6 User,

>VB.NET = Visual Bill .NET, Visual Fred .NET

>bye! .NUTTER

A lot of people gave you serious answers (not me). You show for me now that
you were not worth the time they spent to do that.

I hope this helps,

Cor
Author
10 Oct 2005 12:07 PM
Herfried K. Wagner [MVP]
"Brian Henry" <nospam@nospam.com> schrieb:
> you really need to do research before talking... all programs can be
> decompiled...

They can at least be disassembled, but not necessarily decompiled.

> its not something new with .NET VB6 apps

Mhm...  I have never seen a working decompiler for VB6 native code
applications which restored the VB6 project files...

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
10 Oct 2005 5:43 AM
Roger Rabbit
VB6 is as good as dead. Get over it.
VB6 was a 20th Century programming language. .NET is 21st Century
development platform.

>vb.net 2007 all u have to do is implant a chip, and the chip
> will convert vb6 codes in your mind, via satellite.

Great. If this were true then our kids will have to learn something other
than/more than computer programming. Why is that such a bad thing? Theres
nothing holy about being a software developer. Nothing sacred. Nothing worth
protecting. If AI can one day replace software developers then that's a very
good thing ( but it wont be 2007). In fact i'd suggest its the whole point
of software.

Andy Warhole might well have said "Software will eat itself".

If the intermediate step is too offshore to India then again.. "tough luck
find a new job". Hammering out lines of code doesn't create value.
Programmers are just a manufacturing "cost".

Value is created by architecture. If the Indians can do that as well then
good for them. Its their "competitive adavantage". Software development is
undergoing precisely the same evolution as every other industry which
essentially boils down to a transfer of wealth from labour to the owners of
capital. We are fast becoming 21st Century cotton pickers.

If you want security then own what you code. If you expect to have a future
sitting in someone elses cubicle, writing someone elses code, for someone
elses customers you've never met then im afraid you'll soon be in for a
short sharp shock. Complaining that programming is just too easy nowadays
wont change that.

There is no future in programming. None. Besides who would want to spend
their day doing something so simple a computer can do it?

RR

Show quoteHide quote
"VB6 User" <v**@love.com> wrote in message
news:Oz6VXcMzFHA.3856@tk2msftngp13.phx.gbl...
> Hi all devies!
>
>
>
> Many (.NUT, .NOT or whatever), APIs, VB6, Views & Questions
>
>
>
> Your can not call APIs directly in .NET, only via P/Invoke. There are some
> things that cannot be done in .NET, and that requires APIs. Earlier people
> used to say "you can do this in VB" and now. "You can't do this in .NET"
>
>
>
> I also have these questions to ask:
>
> Is MS stopping APIs altogether? If yes, what about CPP developer, how
would
> they program?
>
>
>
> APIs are more powerful and faster than foolish class, this is one of the
> reason Java is not considered a local application development languages,
> because it's not powerful for app dev, only for web. That same applied to
> .NET, its great for web, especially ASP.NET. But not for local
development.
>
>
>
> And anybody can disassemble your source code and claims they wrote it. O!,
> yeah, dotfukcator, who has the money to buy a $2500 anti-disassembly too.
>
>
>
> In my view, one of the reasons, classic VB is/was great, because of great
MS
> minds of late 90'.
>
>
>
> Now they just hire, cheap people, to "get the job done". Today's VB/.NET
> versions are developed on the internal views, offshore R&D, foolish
internal
> MVPs and offshoring minds. And not by views of 3 Million Developers, 3
> million is not "3 Million", its 3000000 people. just go to channel nine,
and
> see, how the vb team member shows us the futures vb version videos, like
> they have invented something great. more messy lang with more less code,
lol
>
>
>
> lol
>
> vb6: 10 lines of code
>
> vb.net 2002 : 6 lines of code
>
> vb.net 2003: 3 lines of code
>
> vb.net 2005: 1 line of code
>
> vb.net 2007: throw some water on your pc or spray a deodorant can in the
> cpu, because MS will invent AI that will write code automatically, and
also
> upload to your website. all u have to do is implant a chip, and the chip
> will convert vb6 codes in your mind, via satellite.
>
>
>
> Wtf, a company with an annual, budget of 8 Billion dollars, can't keep its
> biggest no of developers happy?
>
>
>
> the only things vb6 is lacking is Unicode support, except that it has
> everything.
>
>
>
> sorry for bad, English.
>
> T K
>
>
Author
10 Oct 2005 4:17 PM
DanS
"Roger Rabbit" <ro***@rabbit.com> wrote in
news:O31f61VzFHA.2072@TK2MSFTNGP14.phx.gbl:

>
> Value is created by architecture. If the Indians can do that as well
> then good for them. Its their "competitive adavantage".

the competitive edge is strictly money based. period.
Author
10 Oct 2005 9:04 AM
Phill. W
"VB6 User" <v**@love.com> wrote in message
news:Oz6VXcMzFHA.3856@tk2msftngp13.phx.gbl...
> Your can not call APIs directly in .NET, only via P/Invoke.

Wrong, wrong, wrong.
O/S level API's are stil there, you just have to work a little harder
to get at them.

> Is MS stopping APIs altogether?

If you mean the ones that let you "hook" into the operating system
- yes, they probably are, and that's a Good Thing too.  The O/S
is going to change and it's a lot easier to change things if you don't
have Developers diving into the innards of your code.

> what about CPP developer, how would they program?

Program?  I've always seen it more like Conjuring ... :-)

> APIs are more powerful and faster than foolish class

If you want to flash the title bar of a window a couple of million
times then yes; the API is faster.  For very specific, atomic purposes.
Unit for unit, Procedural Code /will/ always be faster than Object
Oriented code.  But, these days, that's just not the point any more ...

We're not paid to reinvent how a given control works by calling this
API method, then that one, then this other one.  We're paid to get
information in front of Users so that they can take "decisions" on it.
That's a far more Abstract way of working than what you're describing.

> this is one of the reason Java is not considered a local application
> development languages, because it's not powerful for app dev,
> only for web. That same applied to .NET, its great for web,
> especially ASP.NET. But not for local development.

Java-ignorant (or is that "ignoring"?) nonsense.

If anything, the Java Community has seen itself as far superior to
the Microsoft camp for many years because of the sheer power of
the language that .Net now emulates (although, having used both,
..Net /still/ doesn't do Exception Handling "properly").

> And anybody can disassemble your source code

/Any/ code can be "disassembled", but who can be bothered to
work in Assembler any more?  "Decompiling" is a different can of
worms and IMHO, one of the very /worst/ things introduced by
..Net, sounding the Death Knell for the independent VB developer.

> Wtf, a company with an annual, budget of 8 Billion dollars, can't
> keep its biggest no of developers happy?

Know /that/ makes you wonder ...

Regards,
    Phill  W.
Author
10 Oct 2005 11:44 AM
jameshamilton777
Lot of typical FUD (fear, uncertainty, doubt) on this thread.

Fact is, there are 3 types of development, Web based, enterprise and
"consumer desktop".

For web-based and enterprise development, .NET is great.

For desktop apps, .NET has crashed and burned. Carnage. Nearly 5 years
now and no-one is using it. Why? Slow, huge resources, need to install
25Mb runtime etc etc. Some shareware authors have moved to it. Their
children are now hungry.

The Win32 API will be there for the next 10 years. So will VB6 apps.
Author
11 Oct 2005 12:08 AM
Roger Rabbit
How many lines of VB6 code would it takes to do this? And what would that
nasty ass bit of code look like?

contents = My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")


RR
Author
11 Oct 2005 12:52 AM
Karl E. Peterson
Roger Rabbit wrote:
> How many lines of VB6 code would it takes to do this? And what would
> that nasty ass bit of code look like?
>
> contents = My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")

If you don't know, why would you put yourself in the position of criticizing the
language in this thread?  Isn't that one of the things your kind has most frequently
railed against?
--
Working Without a .NET?
http://classicvb.org/petition
Author
11 Oct 2005 3:34 AM
Roger Rabbit
My kind? Get a grip Karl. Its just a newsgroup thread.

It was a rhetorical question not meant to illicit a "how-to" response but
rather to demonstrate how simple developing in a .Net environment has
become..."out of the box".

RR


Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:OAkRE4fzFHA.2652@TK2MSFTNGP14.phx.gbl...
> Roger Rabbit wrote:
> > How many lines of VB6 code would it takes to do this? And what would
> > that nasty ass bit of code look like?
> >
> > contents = My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
>
> If you don't know, why would you put yourself in the position of
criticizing the
> language in this thread?  Isn't that one of the things your kind has most
frequently
> railed against?
> --
> Working Without a .NET?
> http://classicvb.org/petition
>
>
Author
11 Oct 2005 10:54 PM
Karl E. Peterson
Roger Rabbit wrote:
> My kind? Get a grip Karl.

Yeah, y'know, guys who can't attach their name to their views. ;-)

> It was a rhetorical question not meant to illicit a "how-to" response
> but rather to demonstrate how simple developing in a .Net environment
> has become..."out of the box".

And mine was a tongue in cheek response, meant to demonstrate how silly such rhetoric
is.

Objects simply are not the end-all/be-all you seem to believe.  But hey, why take it
from me?

  "At Microsoft, our goal is to make computers more useful and accessible to a
broader range of people. That’s why we’re concerned that object-oriented programming,
“OOP”, has turned into an industry buzzword. The truth is, OOP is secondary to the
ultimate goal of improving user productivity."
  -- Tom Button,
http://www.fawcette.com/archives/premier/mgznarch/vbpj/1992/mayjun92/guest.pdf

I've been using virtually the same file i/o code structure for 30 years.  Nothing
about your sample even *begins* to approach something I'd personally term "simple".
Rhetorically speaking. <g>

Later...   Karl
--
Working Without a .NET?
http://classicvb.org/petition
Author
11 Oct 2005 11:34 PM
Roger Rabbit
>
http://www.fawcette.com/archives/premier/mgznarch/vbpj/1992/mayjun92/guest.pdf

Just like a VB6er to be quoting something someone said about technology 13
years ago.

:)

Eyes on the prize Karl and the prize is the future.

RR

Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:%23Lzw4arzFHA.1040@TK2MSFTNGP14.phx.gbl...
> Roger Rabbit wrote:
> > My kind? Get a grip Karl.
>
> Yeah, y'know, guys who can't attach their name to their views. ;-)
>
> > It was a rhetorical question not meant to illicit a "how-to" response
> > but rather to demonstrate how simple developing in a .Net environment
> > has become..."out of the box".
>
> And mine was a tongue in cheek response, meant to demonstrate how silly
such rhetoric
> is.
>
> Objects simply are not the end-all/be-all you seem to believe.  But hey,
why take it
> from me?
>
>   "At Microsoft, our goal is to make computers more useful and accessible
to a
> broader range of people. That's why we're concerned that object-oriented
programming,
> "OOP", has turned into an industry buzzword. The truth is, OOP is
secondary to the
> ultimate goal of improving user productivity."
>   -- Tom Button,
>
http://www.fawcette.com/archives/premier/mgznarch/vbpj/1992/mayjun92/guest.pdf
Show quoteHide quote
>
> I've been using virtually the same file i/o code structure for 30 years.
Nothing
> about your sample even *begins* to approach something I'd personally term
"simple".
> Rhetorically speaking. <g>
>
> Later...   Karl
> --
> Working Without a .NET?
> http://classicvb.org/petition
>
>
Author
11 Oct 2005 11:41 PM
Bob Butler
"Roger Rabbit" <ro***@rabbit.com> wrote in message
news:%23OqoXxrzFHA.3408@TK2MSFTNGP09.phx.gbl
>
http://www.fawcette.com/archives/premier/mgznarch/vbpj/1992/mayjun92/guest.pdf
>
> Just like a VB6er to be quoting something someone said about
> technology 13 years ago.

"Those who cannot remember the past are condemned to repeat it."
--George Santayana

You'll understand it someday.  Until then, good luck.  You'll need it.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."
Author
12 Oct 2005 6:18 PM
Abubakar
>  "Those who cannot remember the past are condemned to repeat it."
> --George Santayana
>
> You'll understand it someday.  Until then, good luck.  You'll need it.

past was remembered and thats how such a greate framework came into being.
Other wise microsoft would also have become history like vb6.

Ab.
http://joehacker.blogspot.com

"Bob Butler" <tiredofit@nospam.com> wrote in message
news:Os9KG1rzFHA.164@TK2MSFTNGP10.phx.gbl...
> "Roger Rabbit" <ro***@rabbit.com> wrote in message
> news:%23OqoXxrzFHA.3408@TK2MSFTNGP09.phx.gbl
> >
>
http://www.fawcette.com/archives/premier/mgznarch/vbpj/1992/mayjun92/guest.pdf
Show quoteHide quote
> >
> > Just like a VB6er to be quoting something someone said about
> > technology 13 years ago.
>
>  "Those who cannot remember the past are condemned to repeat it."
> --George Santayana
>
> You'll understand it someday.  Until then, good luck.  You'll need it.
>
> --
> Reply to the group so all can participate
> VB.Net: "Fool me once..."
>
Author
12 Oct 2005 3:52 PM
Stefan Berglund
On Wed, 12 Oct 2005 11:18:58 -0700, "Abubakar" <abubak***@gmail.com> wrote:
in <O$NRWTvzFHA.2***@TK2MSFTNGP12.phx.gbl>

>>  "Those who cannot remember the past are condemned to repeat it."
>> --George Santayana
>>
>> You'll understand it someday.  Until then, good luck.  You'll need it.
>
>past was remembered and thats how such a greate framework came into being.
>Other wise microsoft would also have become history like vb6.

Actually, that's a work in progress.  Stay tuned for further developments...

---
Stefan Berglund
Author
11 Oct 2005 12:58 AM
Rick Rothstein [MVP - Visual Basic]
> How many lines of VB6 code would it takes to do this? And what
would that
> nasty ass bit of code look like?
>
> contents =
My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")

If I understand its purpose, this is a VB6 solution...

Dim FileNum As Long
Dim Contents As String
FileNum = FreeFile
Open "c:\mytextfile.txt" For Binary As #FileNum
  Contents = Space(LOF(FileNum))
  Get #FileNum, , Contents
Close #FileNum

Rick
Author
11 Oct 2005 4:19 AM
Kevin Provance
I toyed with .FRED here and there and honestly, I would prefer to write a
few lines of solid VB classic code then to have to remember
My.Computer.Drives.Folder.Files.This.That.TheOtherThing.etc. to acheive one
goal.  Even with Intellisense it's still basically (no pun intended) a
completely different syntax for which would require endless poking and
proding in the Object Browser (if .NOT even has one) just to make sure I'm
"doing it right".

Besides, I think the VB Classic MVP's have it right...by the time I tortured
myself into learning all that new syntax, M$ will replace .NET with
something else that will break my code yet a second time.  I have better
things to do than to re-learn everything I've ever known because M$ thinks
that's what it is our best interest.  Unfortunately for myself, I'm one of
those people who doles out second chances on a very limited basis when my
trust has been deliberately stomped on and thrown away like an empty old
paint can.  <g>

- Kev


Show quoteHide quote
"Rick Rothstein [MVP - Visual Basic]" <rickNOSPAMnews@NOSPAMcomcast.net>
wrote in message news:uSnec7fzFHA.2880@TK2MSFTNGP12.phx.gbl...
>> How many lines of VB6 code would it takes to do this? And what
> would that
>> nasty ass bit of code look like?
>>
>> contents =
> My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
>
> If I understand its purpose, this is a VB6 solution...
>
> Dim FileNum As Long
> Dim Contents As String
> FileNum = FreeFile
> Open "c:\mytextfile.txt" For Binary As #FileNum
>  Contents = Space(LOF(FileNum))
>  Get #FileNum, , Contents
> Close #FileNum
>
> Rick
>
>
Author
11 Oct 2005 5:25 AM
Roger Rabbit
Well if you seriously prefer wading through this:

Dim FileNum As Long
Dim Contents As String
FileNum = FreeFile
Open "c:\mytextfile.txt" For Binary As #FileNum
  Contents = Space(LOF(FileNum))
  Get #FileNum, , Contents
Close #FileNum

as opposed to this:

Dim contents as string =
My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")

then we're never going to agree.

:-)

RR
Author
11 Oct 2005 7:19 AM
Rick Rothstein [MVP - Visual Basic]
Show quote Hide quote
> Well if you seriously prefer wading through this:
>
> Dim FileNum As Long
> Dim Contents As String
> FileNum = FreeFile
> Open "c:\mytextfile.txt" For Binary As #FileNum
>   Contents = Space(LOF(FileNum))
>   Get #FileNum, , Contents
> Close #FileNum
>
> as opposed to this:
>
> Dim contents as string =
> My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
>
> then we're never going to agree.

But if I bundle the code I posted up into a Function like this

Public Function ReadAllText(FileName As String) As String
  Dim FileNum As Long
  Dim Contents As String
  FileNum = FreeFile
  Open FileName For Binary As #FileNum
    ReadAllText = Space(LOF(FileNum))
    Get #FileNum, , ReadAllText
  Close #FileNum
End Function

and place it in a BAS Module along with all my other file
manipulation Functions and Subs, then all I have to do is add that
Module to any projects needing file input and reduce the call to
this...

Content = ReadAllText("c:\temp\test.txt")

That really isn't such a burdensome thing to do.

Rick
Author
11 Oct 2005 3:00 PM
Paul Clement
On Tue, 11 Oct 2005 03:19:22 -0400, "Rick Rothstein [MVP - Visual Basic]"
<rickNOSPAMnews@NOSPAMcomcast.net> wrote:

¤ But if I bundle the code I posted up into a Function like this
¤
¤ Public Function ReadAllText(FileName As String) As String
¤   Dim FileNum As Long
¤   Dim Contents As String
¤   FileNum = FreeFile
¤   Open FileName For Binary As #FileNum
¤     ReadAllText = Space(LOF(FileNum))
¤     Get #FileNum, , ReadAllText
¤   Close #FileNum
¤ End Function
¤
¤ and place it in a BAS Module along with all my other file
¤ manipulation Functions and Subs, then all I have to do is add that
¤ Module to any projects needing file input and reduce the call to
¤ this...
¤
¤ Content = ReadAllText("c:\temp\test.txt")
¤
¤ That really isn't such a burdensome thing to do.
¤
¤ Rick
¤

No, just totally unnecessary in comparison. ;-)

Now just repeat that for every instance where one or two lines of code in VB.NET would suffice and
you'll find out how much time you've wasted.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
11 Oct 2005 3:31 PM
Rick Rothstein [MVP - Visual Basic]
Show quote Hide quote
> ¤ But if I bundle the code I posted up into a Function like this
> ¤
> ¤ Public Function ReadAllText(FileName As String) As String
> ¤   Dim FileNum As Long
> ¤   Dim Contents As String
> ¤   FileNum = FreeFile
> ¤   Open FileName For Binary As #FileNum
> ¤     ReadAllText = Space(LOF(FileNum))
> ¤     Get #FileNum, , ReadAllText
> ¤   Close #FileNum
> ¤ End Function
> ¤
> ¤ and place it in a BAS Module along with all my other file
> ¤ manipulation Functions and Subs, then all I have to do is add
that
> ¤ Module to any projects needing file input and reduce the call
to
> ¤ this...
> ¤
> ¤ Content = ReadAllText("c:\temp\test.txt")
> ¤
> ¤ That really isn't such a burdensome thing to do.
> ¤
> ¤ Rick
>
> No, just totally unnecessary in comparison. ;-)
>
> Now just repeat that for every instance where one or two lines
of code in VB.NET would suffice and
> you'll find out how much time you've wasted.

I look at this differently.. How much time am I going to have to
waste finding out all of these equivalent lines of code to replace
the function library I have already built up over the last 8+
years of VB5/6 programming (all of which work fine and all of
which probably need to be replaced)? And, of course, this doesn't
include having to learn the new VB.NET language on top of that
(something I didn't have to do when moving from VB3 to VB4, VB4 to
VB5 nor VB5 to VB6).

Rick
Author
11 Oct 2005 6:59 PM
Paul Clement
On Tue, 11 Oct 2005 11:31:48 -0400, "Rick Rothstein [MVP - Visual Basic]"
<rickNOSPAMnews@NOSPAMcomcast.net> wrote:

¤ > ¤ But if I bundle the code I posted up into a Function like this
¤ > ¤
¤ > ¤ Public Function ReadAllText(FileName As String) As String
¤ > ¤   Dim FileNum As Long
¤ > ¤   Dim Contents As String
¤ > ¤   FileNum = FreeFile
¤ > ¤   Open FileName For Binary As #FileNum
¤ > ¤     ReadAllText = Space(LOF(FileNum))
¤ > ¤     Get #FileNum, , ReadAllText
¤ > ¤   Close #FileNum
¤ > ¤ End Function
¤ > ¤
¤ > ¤ and place it in a BAS Module along with all my other file
¤ > ¤ manipulation Functions and Subs, then all I have to do is add
¤ that
¤ > ¤ Module to any projects needing file input and reduce the call
¤ to
¤ > ¤ this...
¤ > ¤
¤ > ¤ Content = ReadAllText("c:\temp\test.txt")
¤ > ¤
¤ > ¤ That really isn't such a burdensome thing to do.
¤ > ¤
¤ > ¤ Rick
¤ >
¤ > No, just totally unnecessary in comparison. ;-)
¤ >
¤ > Now just repeat that for every instance where one or two lines
¤ of code in VB.NET would suffice and
¤ > you'll find out how much time you've wasted.
¤
¤ I look at this differently.. How much time am I going to have to
¤ waste finding out all of these equivalent lines of code to replace
¤ the function library I have already built up over the last 8+
¤ years of VB5/6 programming (all of which work fine and all of
¤ which probably need to be replaced)? And, of course, this doesn't
¤ include having to learn the new VB.NET language on top of that
¤ (something I didn't have to do when moving from VB3 to VB4, VB4 to
¤ VB5 nor VB5 to VB6).

Well you're switching gears a bit and changing the subject. It wasn't about how much effort it would
take to port your code but about an equivalent representation that was available in VB.NET.

At least that was in line with your previous response concerning your BAS module suggestion.

In any event, your assertion that all of your code would probably need to be replaced is once again
false, that is, unless all of your code makes exclusive use of language elements that are obsolete
in VB.NET.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
11 Oct 2005 3:52 PM
YYZ
> But if I bundle the code I posted up into a Function like this

<snip>

> and place it in a BAS Module along with all my other file
> manipulation Functions and Subs

And then, when you have to upgrade to .Net, most if not all of those
functions and subs do not work without massaging.  You aren't familiar
with .Net, and you don't immediately know WHY they don't work, so you
have to do some digging.

You find several ways to read a file in .Net, however, you don't know
the intricacies and gotcha's of each method, like you do in VB6, so you
dont know which one to use.  In VB6, you've already learned that you
should use "FreeFile" to figure out a file number, and not just assume
that #1 is going to be fine for what you need (even though you were
taught to use #1 from an example on MS's own site).  You've already
learned to avoid all the headaches, and you've written reusable and
robust code that you can count on, and more importantly that you can
drop into any existing project and it "just works".

Now, take that file manipulation code, and add in database access, app
settings, random generic routines, error handling support routines,
shell and wait, flexgrid helper functions, farpoint grid helper class,
infragistics support functions, standard control helper functions,
animation control class from vbaccelerator, registry access class,
stopwatch class, custom usercontrols, cgi code to make cgi programs a
snap to write, and about 50 other useful things.

I've got about 5000 lines of code in all those things I mentioned --
not very much, honestly.  And yet each and every line is very important
to me -- these are only the things that I drop in most projects,
depending on the need.  I can count on them...I bet my livelihood on
them every single day.

They do not upgrade to .Net.  The simplest procedures that I have do
not upgrade without warnings or outright compile errors.  I am an
intelligent guy, but trying to upgrade all of this seems like a very
daunting challenge, and one that doesn't pay.

That's not even counting trying to upgrade my forms.  You know, where
you upgrade and you get neat little messages like "Form Unload has been
renamed and has new behviour".  Yeah, like THAT little change isn't
going to get anyone.  And the dir function doesn't work like expected
anymore.  Why?  Why not have DirOld and DirNew?  Fine, change MY Dir to
DirOld and take Dir for yourself, .Net...but let me keep my code that
works.

Show quoteHide quote
> > Well if you seriously prefer wading through this:
> >
> > Dim FileNum As Long
> > Dim Contents As String
> > FileNum = FreeFile
> > Open "c:\mytextfile.txt" For Binary As #FileNum
> >   Contents = Space(LOF(FileNum))
> >   Get #FileNum, , Contents
> > Close #FileNum
> >
> > as opposed to this:
> >
> > Dim contents as string =
> > My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")

Why don't both work?  No one has told me why.  I don't think they can.

Matt
Author
11 Oct 2005 7:35 PM
Abubakar
> and place it in a BAS Module along with all my other file
> manipulation Functions and Subs, then all I have to do is add that
> Module to any projects needing file input and reduce the call to
> this...
>
> Content = ReadAllText("c:\temp\test.txt")
>
> That really isn't such a burdensome thing to do.

but how much of the functionality are you going to surround with function
calls and classes? And its you who is doing that, how are you going to make
this utility code available to all the vb6 devs? .Net that makes it
available for everyone.

Ab.



Show quoteHide quote
"Rick Rothstein [MVP - Visual Basic]" <rickNOSPAMnews@NOSPAMcomcast.net>
wrote in message news:ee9PbQjzFHA.2212@TK2MSFTNGP15.phx.gbl...
> > Well if you seriously prefer wading through this:
> >
> > Dim FileNum As Long
> > Dim Contents As String
> > FileNum = FreeFile
> > Open "c:\mytextfile.txt" For Binary As #FileNum
> >   Contents = Space(LOF(FileNum))
> >   Get #FileNum, , Contents
> > Close #FileNum
> >
> > as opposed to this:
> >
> > Dim contents as string =
> > My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
> >
> > then we're never going to agree.
>
> But if I bundle the code I posted up into a Function like this
>
> Public Function ReadAllText(FileName As String) As String
>   Dim FileNum As Long
>   Dim Contents As String
>   FileNum = FreeFile
>   Open FileName For Binary As #FileNum
>     ReadAllText = Space(LOF(FileNum))
>     Get #FileNum, , ReadAllText
>   Close #FileNum
> End Function
>
> and place it in a BAS Module along with all my other file
> manipulation Functions and Subs, then all I have to do is add that
> Module to any projects needing file input and reduce the call to
> this...
>
> Content = ReadAllText("c:\temp\test.txt")
>
> That really isn't such a burdensome thing to do.
>
> Rick
>
>
Author
11 Oct 2005 8:05 AM
Rick Rothstein [MVP - Visual Basic]
Show quote Hide quote
> > and place it in a BAS Module along with all my other file
> > manipulation Functions and Subs, then all I have to do is add
that
> > Module to any projects needing file input and reduce the call
to
> > this...
> >
> > Content = ReadAllText("c:\temp\test.txt")
> >
> > That really isn't such a burdensome thing to do.
>
> but how much of the functionality are you going to surround with
function
> calls and classes?

A lot less than 20 Megs worth.


> And its you who is doing that, how are you going to make
> this utility code available to all the vb6 devs?

Through these newsgroups as I have been doing for the last 6 years
or so.


> .Net that makes it available for everyone.

But to move into your .NET world, I have to move my existing code
there too (assuming I will want to keep adding features to them).
Since Microsoft didn't provide an effective translator for the
job, I have to do it all myself. For the given example, I have to
find all of the projects using the function I currently use to
read in a text file and replace them with your line of code. And
that is just ONE change I would have to do. The time and effort to
move my legacy code to .NET appears to be substantial.


Rick
Author
11 Oct 2005 2:35 PM
Someone
Off topic...

Abubakar,

Please adjust your time zone. Your computer seems to be set to Bill Gates'
time zone, PST, which is the default in Windows. While your local time
appears correct, your posts appear on the top in newsgroups(in the future)
and would cause time zone differences when you exchange files with a
computer that is set to a different time zone. Files dates and times are
adjusted when you copy files back and forth...

Thank you...
Author
12 Oct 2005 7:56 PM
Abubakar
I have adjusted the time zone. I think its ok now.

Thanks,

Ab.


"Someone" <nob***@cox.net> wrote in message
news:94Q2f.5123$MN6.755@fed1read04...
Show quoteHide quote
> Off topic...
>
> Abubakar,
>
> Please adjust your time zone. Your computer seems to be set to Bill Gates'
> time zone, PST, which is the default in Windows. While your local time
> appears correct, your posts appear on the top in newsgroups(in the future)
> and would cause time zone differences when you exchange files with a
> computer that is set to a different time zone. Files dates and times are
> adjusted when you copy files back and forth...
>
> Thank you...
>
>
Author
11 Oct 2005 8:48 PM
Kevin Provance
Well, the way I see it is thus:  I would rather have my handy dandy class
files and bas files which I know work (and yes, I will give you that .NET
can do it in one lines, once all the new syntax has been learned, understood
and remembered)...BUT, when I compile my project and create my setup files
which include the VB runtimes...the download for the end user is still much
smaller than shipping out some .NET nightmare.  The problem is this, and has
been mentioned:  The .NET runtime is massive. In my 10+ years of dealing
with end users and their fickle systems, it was always to my advantage to
include the VB runtimes in my setup files, because when VB six was first
introduced, DLL Hell plauged my life with "OLE files out of date" messages.
I could not depend on my end users to have the current VB runtimes on their
computer...and I certianly could not depend on them always haveing the
latest SP's or Windows updates installed.  And when I say I've dealt with
tens of thousands of people over the last ten years, I am not exaggerating.
I managed to curb the problem by always shipping the VB runtimes in my
setups with the versions instlled with VS6 and some competent version
checking in my setups.  Problems mostly solved.

Now, taking all that into consideration with .NET, I would have to include
the .NET runtimes in my setup packages, which would create 20+ MB files for
the end user to download.  Otherwise if I assumed the end users already had
the .NET runtimes installed, I would be spending ever waking hour with
support tickets over an installation process that should manage itself.

So, between having to learn a new lanaguage for all intents and purposes,
and then ensuring the end users have all the proper runtimes by including
those massive .NET runtime files...and not even mentioning how sluggish and
slow .NET compiled programs run in general...it just not worth it.  M$ did
me a great disservice by throwing away VB classic along with everything I've
worked so hard for over the last ten years including code and protocols and
giving me .NET in return.  And for what reason?  Because they think it's
better?  Again, I would rather have my BAS files with code I know works than
the so called convenience of only needing to type one line in .NET.  It's
not a trade off I am willing to make, citing everything I've just explained.

If you want another analogy, consider the programs I've developed with my
marriage to VB 6 my "children".  Now M$ has suggested I divorce from VB6 to
enter into another marriage with .NET.  Good marriages take time and work
and don't always work out for the better.  I don't want a new marriage, I am
happy with the one I am in...and I certainly don't appreciate being told my
"children" are obsolete, along with my "wife" because they think the new
marriage would be better for me.  What made my marriage to VB 6 won't work
for .NET.  Plain and simple.

So, there it is.  ;-)

- Kev

Show quoteHide quote
"Abubakar" <abubak***@gmail.com> wrote in message
news:uv5eVZjzFHA.1192@TK2MSFTNGP10.phx.gbl...
>> and place it in a BAS Module along with all my other file
>> manipulation Functions and Subs, then all I have to do is add that
>> Module to any projects needing file input and reduce the call to
>> this...
>>
>> Content = ReadAllText("c:\temp\test.txt")
>>
>> That really isn't such a burdensome thing to do.
>
> but how much of the functionality are you going to surround with function
> calls and classes? And its you who is doing that, how are you going to
> make
> this utility code available to all the vb6 devs? .Net that makes it
> available for everyone.
>
> Ab.
>
>
>
> "Rick Rothstein [MVP - Visual Basic]" <rickNOSPAMnews@NOSPAMcomcast.net>
> wrote in message news:ee9PbQjzFHA.2212@TK2MSFTNGP15.phx.gbl...
>> > Well if you seriously prefer wading through this:
>> >
>> > Dim FileNum As Long
>> > Dim Contents As String
>> > FileNum = FreeFile
>> > Open "c:\mytextfile.txt" For Binary As #FileNum
>> >   Contents = Space(LOF(FileNum))
>> >   Get #FileNum, , Contents
>> > Close #FileNum
>> >
>> > as opposed to this:
>> >
>> > Dim contents as string =
>> > My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
>> >
>> > then we're never going to agree.
>>
>> But if I bundle the code I posted up into a Function like this
>>
>> Public Function ReadAllText(FileName As String) As String
>>   Dim FileNum As Long
>>   Dim Contents As String
>>   FileNum = FreeFile
>>   Open FileName For Binary As #FileNum
>>     ReadAllText = Space(LOF(FileNum))
>>     Get #FileNum, , ReadAllText
>>   Close #FileNum
>> End Function
>>
>> and place it in a BAS Module along with all my other file
>> manipulation Functions and Subs, then all I have to do is add that
>> Module to any projects needing file input and reduce the call to
>> this...
>>
>> Content = ReadAllText("c:\temp\test.txt")
>>
>> That really isn't such a burdensome thing to do.
>>
>> Rick
>>
>>
>
>
Author
11 Oct 2005 9:23 PM
Ken Halter
Show quote Hide quote
"Kevin Provance" <ca***@tpasoft.com> wrote in message
news:%23J3KlUqzFHA.3180@TK2MSFTNGP14.phx.gbl...
>
> If you want another analogy, consider the programs I've developed with my
> marriage to VB 6 my "children".  Now M$ has suggested I divorce from VB6
> to enter into another marriage with .NET.  Good marriages take time and
> work and don't always work out for the better.  I don't want a new
> marriage, I am happy with the one I am in...and I certainly don't
> appreciate being told my "children" are obsolete, along with my "wife"
> because they think the new marriage would be better for me.  What made my
> marriage to VB 6 won't work for .NET.  Plain and simple.
>
> So, there it is.  ;-)
>
> - Kev

Especially considering that feeling in the back of your head that it's just
going to happen again when the next crew takes over at MS <g>

OT, your "children are obsolete" statement reminded me of the movie Soldier
(Kurt Russell...
http://www.amazon.com/gp/product/0790740443/103-7242165-6257459?v=glance&n=130&v=glance).
He was one of the "old soldiers", assumed dead after a fight with one of the
new guys and dumped on a remote planet with other "waste".. when the new
guys came in, the commander says "your soldiers are obsolete", the remaining
older guys were told "only soldiers get guns... heck, you don't even have to
salute anymore"... Guess they were wrong eh? Kurt Russell, whooped'um real
good <g> Maybe good old Kurt should be a VB6 spokesman eh? ;-) (you'd have
to have seen the movie to know what I'm talking about)

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
11 Oct 2005 9:42 PM
Rick Rothstein [MVP - Visual Basic]
> OT, your "children are obsolete" statement reminded me of the
movie Soldier
> (Kurt Russell...
>
http://www.amazon.com/gp/product/0790740443/103-7242165-6257459?v=glance&n=130&v=glance).
> He was one of the "old soldiers", assumed dead after a fight
with one of the
> new guys and dumped on a remote planet with other "waste".. when
the new
> guys came in, the commander says "your soldiers are obsolete",
the remaining
> older guys were told "only soldiers get guns... heck, you don't
even have to
> salute anymore"... Guess they were wrong eh? Kurt Russell,
whooped'um real
> good <g> Maybe good old Kurt should be a VB6 spokesman eh? ;-)
(you'd have
> to have seen the movie to know what I'm talking about)

I saw the movie, I liked the movie and I like your analogy (my
interpretation of which is... Just because those in charge think
they know what is going on doesn't mean they actually do<g>).

Rick
Author
11 Oct 2005 10:22 PM
Ken Halter
"Rick Rothstein [MVP - Visual Basic]" <rickNOSPAMnews@NOSPAMcomcast.net>
wrote in message news:Os9WkyqzFHA.2884@TK2MSFTNGP09.phx.gbl...
>
>> to have seen the movie to know what I'm talking about)
>
> I saw the movie, I liked the movie and I like your analogy (my
> interpretation of which is... Just because those in charge think
> they know what is going on doesn't mean they actually do<g>).
>
> Rick
>

Yep.... That sums it up nicely.<g>

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
11 Oct 2005 10:52 PM
Kevin Provance
Ken -

I did see the movie, and you're spot on.  Sci-Fi is by far my favourite
genre.  <g>

- Kev


Show quoteHide quote
"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
news:eynl%23nqzFHA.1168@TK2MSFTNGP15.phx.gbl...
> "Kevin Provance" <ca***@tpasoft.com> wrote in message
> news:%23J3KlUqzFHA.3180@TK2MSFTNGP14.phx.gbl...
>>
>> If you want another analogy, consider the programs I've developed with my
>> marriage to VB 6 my "children".  Now M$ has suggested I divorce from VB6
>> to enter into another marriage with .NET.  Good marriages take time and
>> work and don't always work out for the better.  I don't want a new
>> marriage, I am happy with the one I am in...and I certainly don't
>> appreciate being told my "children" are obsolete, along with my "wife"
>> because they think the new marriage would be better for me.  What made my
>> marriage to VB 6 won't work for .NET.  Plain and simple.
>>
>> So, there it is.  ;-)
>>
>> - Kev
>
> Especially considering that feeling in the back of your head that it's
> just going to happen again when the next crew takes over at MS <g>
>
> OT, your "children are obsolete" statement reminded me of the movie
> Soldier (Kurt Russell...
> http://www.amazon.com/gp/product/0790740443/103-7242165-6257459?v=glance&n=130&v=glance).
> He was one of the "old soldiers", assumed dead after a fight with one of
> the new guys and dumped on a remote planet with other "waste".. when the
> new guys came in, the commander says "your soldiers are obsolete", the
> remaining older guys were told "only soldiers get guns... heck, you don't
> even have to salute anymore"... Guess they were wrong eh? Kurt Russell,
> whooped'um real good <g> Maybe good old Kurt should be a VB6 spokesman eh?
> ;-) (you'd have to have seen the movie to know what I'm talking about)
>
> --
> Ken Halter - MS-MVP-VB - http://www.vbsight.com
> DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
> Please keep all discussions in the groups..
>
Author
11 Oct 2005 11:08 PM
Roger Rabbit
So in a nutshell your resistant to change and just want things to be the way
they were.

That's fine. But its not realistic. I expect to turn my skillset over every
5 years. That's the world we live in. Maybe last century you could get away
with the same skillset for 20 plus years but that's not the case anymore.

I don't want a new marriage, I am
> happy with the one I am in...and I certainly don't appreciate being told
my
> "children" are obsolete, along with my "wife" because they think the new
> marriage would be better for me.

Well taking the emotive language out it I'm sure your actual wife and kids
are lovely...your programmatic wife and kids however are outdated and they
are obsolete. Monogamy in a technical sense is an outdated concept.

To survive in 21st Century development requires that you be a serial
polygamist. Its requires that you be a veritable Casanova of the
technological spectrum, that you bed many and wed none. While whispering
sweet nothings in the ear of your current Bo you are constantly looking over
her shoulder for what's coming through the door. You need to stay virile and
have a hunger and a passion for new conquests.

At the end of the day you don't slump on the couch with a bag of Cheetos but
rather see this as the moment where the real work begins as you delve into a
study of the fine art of tantric seduction.

The longer this thread runs the more obvious it becomes that the dontNetter
crowd have are professionally jealous of us dotNetters. As we dotNetters
forge energetically on ahead, going where no VB developer has gone before,
you dontNetters are stuck on some lonely hill on a cold dark night staring
up at the stars with your short, nearsighted telescopes in your hands.

You dontNetters sound like you fell for your code base and now 10-15 years
later you're all frustrated that she's grown fat and ugly and no longer puts
the way she used too. Meanwhile us dotNetters are gallivanting about the
Universe in our sleek new space ship, discovering all manner of strange and
interesting alien lifeforms and gently putting them to work for us as we
deliver one stellar performance after another..... at warp speed i might
add.

The fact is the technological chicks really dig us dotNetters and our flashy
Intergalactic ways and you dontNetters are more than just a little scornful
about being trapped raking out the muck from your earth bound trenches. Your
all something akin to the poor people who desperately try to convince
themselves that while the rich might be wealthy they aren't happy. Well the
truth is for all the dontNetters out there and their moaning and griping
about their archaic platform, the fact remains that us dotNetters are the
future. And the future is bright.

RR


Show quoteHide quote
"Kevin Provance" <ca***@tpasoft.com> wrote in message
news:%23J3KlUqzFHA.3180@TK2MSFTNGP14.phx.gbl...
> Well, the way I see it is thus:  I would rather have my handy dandy class
> files and bas files which I know work (and yes, I will give you that .NET
> can do it in one lines, once all the new syntax has been learned,
understood
> and remembered)...BUT, when I compile my project and create my setup files
> which include the VB runtimes...the download for the end user is still
much
> smaller than shipping out some .NET nightmare.  The problem is this, and
has
> been mentioned:  The .NET runtime is massive. In my 10+ years of dealing
> with end users and their fickle systems, it was always to my advantage to
> include the VB runtimes in my setup files, because when VB six was first
> introduced, DLL Hell plauged my life with "OLE files out of date"
messages.
> I could not depend on my end users to have the current VB runtimes on
their
> computer...and I certianly could not depend on them always haveing the
> latest SP's or Windows updates installed.  And when I say I've dealt with
> tens of thousands of people over the last ten years, I am not
exaggerating.
> I managed to curb the problem by always shipping the VB runtimes in my
> setups with the versions instlled with VS6 and some competent version
> checking in my setups.  Problems mostly solved.
>
> Now, taking all that into consideration with .NET, I would have to include
> the .NET runtimes in my setup packages, which would create 20+ MB files
for
> the end user to download.  Otherwise if I assumed the end users already
had
> the .NET runtimes installed, I would be spending ever waking hour with
> support tickets over an installation process that should manage itself.
>
> So, between having to learn a new lanaguage for all intents and purposes,
> and then ensuring the end users have all the proper runtimes by including
> those massive .NET runtime files...and not even mentioning how sluggish
and
> slow .NET compiled programs run in general...it just not worth it.  M$ did
> me a great disservice by throwing away VB classic along with everything
I've
> worked so hard for over the last ten years including code and protocols
and
> giving me .NET in return.  And for what reason?  Because they think it's
> better?  Again, I would rather have my BAS files with code I know works
than
> the so called convenience of only needing to type one line in .NET.  It's
> not a trade off I am willing to make, citing everything I've just
explained.
>
> If you want another analogy, consider the programs I've developed with my
> marriage to VB 6 my "children".  Now M$ has suggested I divorce from VB6
to
> enter into another marriage with .NET.  Good marriages take time and work
> and don't always work out for the better.  I don't want a new marriage, I
am
> happy with the one I am in...and I certainly don't appreciate being told
my
> "children" are obsolete, along with my "wife" because they think the new
> marriage would be better for me.  What made my marriage to VB 6 won't work
> for .NET.  Plain and simple.
>
> So, there it is.  ;-)
>
> - Kev
>
> "Abubakar" <abubak***@gmail.com> wrote in message
> news:uv5eVZjzFHA.1192@TK2MSFTNGP10.phx.gbl...
> >> and place it in a BAS Module along with all my other file
> >> manipulation Functions and Subs, then all I have to do is add that
> >> Module to any projects needing file input and reduce the call to
> >> this...
> >>
> >> Content = ReadAllText("c:\temp\test.txt")
> >>
> >> That really isn't such a burdensome thing to do.
> >
> > but how much of the functionality are you going to surround with
function
> > calls and classes? And its you who is doing that, how are you going to
> > make
> > this utility code available to all the vb6 devs? .Net that makes it
> > available for everyone.
> >
> > Ab.
> >
> >
> >
> > "Rick Rothstein [MVP - Visual Basic]" <rickNOSPAMnews@NOSPAMcomcast.net>
> > wrote in message news:ee9PbQjzFHA.2212@TK2MSFTNGP15.phx.gbl...
> >> > Well if you seriously prefer wading through this:
> >> >
> >> > Dim FileNum As Long
> >> > Dim Contents As String
> >> > FileNum = FreeFile
> >> > Open "c:\mytextfile.txt" For Binary As #FileNum
> >> >   Contents = Space(LOF(FileNum))
> >> >   Get #FileNum, , Contents
> >> > Close #FileNum
> >> >
> >> > as opposed to this:
> >> >
> >> > Dim contents as string =
> >> > My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
> >> >
> >> > then we're never going to agree.
> >>
> >> But if I bundle the code I posted up into a Function like this
> >>
> >> Public Function ReadAllText(FileName As String) As String
> >>   Dim FileNum As Long
> >>   Dim Contents As String
> >>   FileNum = FreeFile
> >>   Open FileName For Binary As #FileNum
> >>     ReadAllText = Space(LOF(FileNum))
> >>     Get #FileNum, , ReadAllText
> >>   Close #FileNum
> >> End Function
> >>
> >> and place it in a BAS Module along with all my other file
> >> manipulation Functions and Subs, then all I have to do is add that
> >> Module to any projects needing file input and reduce the call to
> >> this...
> >>
> >> Content = ReadAllText("c:\temp\test.txt")
> >>
> >> That really isn't such a burdensome thing to do.
> >>
> >> Rick
> >>
> >>
> >
> >
>
>
Author
11 Oct 2005 11:26 PM
Rick Rothstein [MVP - Visual Basic]
> So in a nutshell your resistant to change and just want things
> to be the way they were.

No, I think you have completely misread the non-.NET desire. We
are not resistant to change, we just don't want to lose what we
had for the sake of that change. For VB's entire existence (the
non-VB.NET versions of VB that is), some 10 years of existence,
Microsoft managed to add functionalities and technologies to the
language without destroying old code from functioning (with maybe
one or two notable exceptions) and when code changes were
required, the changes were not huge and project destroying. Old
code could be brought forward into the newer versions of VB as
they were released. And trust me, I was delighted with all of the
new things added to VB with each version change (again, I am
talking of non-VB.NET here).

Rick
Author
11 Oct 2005 11:32 PM
Karl E. Peterson
Rick Rothstein [MVP - Visual Basic] wrote:
>> So in a nutshell your resistant to change and just want things
>> to be the way they were.
>
> No, I think you have completely misread the non-.NET desire. We
> are not resistant to change, we just don't want to lose what we
> had for the sake of that change.

<spit>Gratuitous Incompatabilities</spit>
--
Working Without a .NET?
http://classicvb.org/petition
Author
12 Oct 2005 1:05 AM
Roger Rabbit
>No, I think you have completely misread the non-.NET desire.

I dont think i have. You guys wanted a VB7 thats compatible with VB6 right?

VB.net is not VB6 plus 1. Its a completely different technology. The classic
VB is dead and petitions or not, its not coming back.
dontNetters can kick and scream all they like but its just not going to
happen. Its over. Its done.

Office 12/Sql Server /VS 2005/ Vista etc etc. I mean look around you. The
writings been on the wall since last century and its only gearing up not
slowing down. You all complain about bloated downloads/performance/etc etc
but frankly Microsoft is only just beginning to roll out dotNet. .Net to
date has been a hugely successful undertaking. You take the largest software
company in the world and make it stand on its end and move full steam ahead
45 degreees due East. The last 7 years have been about rebuilding a
platform.

Every software company in the world rolls out a working product and then
subsequently rolls out a more performant version of that product. For all
the VB6ers community complaining you seem to forget that VB6 was version 6.
..Net is version 1.1.

The VB6 argument is unrealistic in my opinion. VB6 was the wrong direction.
COM wasn't going to cut it. A new course had to be plotted and its as if
VB6ers expect everything to be perfect in getting there. dotNetters have
hitched their wagons to the framework. We knew there was going to be some
bumps in the road and we made contingencies for that. Now we're already
doing well but things are about to get even better. We're all skilled up and
ready to go and here we have the largest software company signalling that
between 2.0 and 3.0 one of the problems that they will be specifcally
addressing is the runtime distribution. They've been really busy with the
current roll out to date but now they realise its an issue that needs
addressing.

In the meantime heres a whole bunch more power in 2.0 to add to what we gave
you 1.1 plus not forgetting the worldclass compact, mobile, Webforms and
Webservices platforms which, if you didn't know already can be written using
precisely the same skillset you use in WinForms.

And then they say "oh by the way, you know software is only one half the
technological mix, the other being hardware? Well we've noticed that the
hardware can now do things that we're not able to tap into at present so
over the course of the next couple of years you might want to look into Xaml
for your presentation layers." So we say "yeah that makes sense lets have a
look at what their offering." A VB6er on the other hand will point to Avalon
and say "thats the sky is falling, Microsoft are doing a complete U-turn,
abandon ship, abandon ship". Its pathetic.

Alot of VB6ers will say "ive been doing this for 20 years, thats the way ive
always done it and by God thats the only way i want to do it." Well sorry
old man but that was yester-year. The fact is that change is the only
constant and a constant skillset revision is required if your products are
going to remain relevant.... and sometimes you need to close the door behind
you in order for another one to open.

Deprecations and code breakages are a good thing. They simplify the
platform. All this backwards compatible gunk while great for market share is
simply not sustainable. You end up with platforms that are a "jack of all
trades and a master of none."

RR



Show quoteHide quote
"Rick Rothstein [MVP - Visual Basic]" <rickNOSPAMnews@NOSPAMcomcast.net>
wrote in message news:eVgVwsrzFHA.4032@TK2MSFTNGP15.phx.gbl...
> > So in a nutshell your resistant to change and just want things
> > to be the way they were.
>
> No, I think you have completely misread the non-.NET desire. We
> are not resistant to change, we just don't want to lose what we
> had for the sake of that change. For VB's entire existence (the
> non-VB.NET versions of VB that is), some 10 years of existence,
> Microsoft managed to add functionalities and technologies to the
> language without destroying old code from functioning (with maybe
> one or two notable exceptions) and when code changes were
> required, the changes were not huge and project destroying. Old
> code could be brought forward into the newer versions of VB as
> they were released. And trust me, I was delighted with all of the
> new things added to VB with each version change (again, I am
> talking of non-VB.NET here).
>
> Rick
>
>
Author
12 Oct 2005 12:16 PM
Herfried K. Wagner [MVP]
"Roger Rabbit" <ro***@rabbit.com> schrieb:
> Deprecations and code breakages are a good thing.

LOL!  It really seems that you don't have any assets in Classic VB code.
Deprecations and code breakages are the /worst/ thing that can happen, both
from a technical and economical perspective.  The fewer deprecations and
code breakages happen in a certain system, the better it has been designed.
Take the 'System.Web.Mail' namespace of the .NET Framework for example.
This namespace is four years old and has been deprecated, which shows that
it has been designed in a sloppy manner.  There are thousands of
applications which rely on this namespace, and customers have invested in
code which is based on this namespace.  It's legitimate to suspect that
development of a certain feature is not cancelled after a few years.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
12 Oct 2005 12:51 PM
Al Reid
Show quote Hide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:%23KyrAbyzFHA.2792@tk2msftngp13.phx.gbl...
> "Roger Rabbit" <ro***@rabbit.com> schrieb:
> > Deprecations and code breakages are a good thing.
>
> LOL!  It really seems that you don't have any assets in Classic VB code.
> Deprecations and code breakages are the /worst/ thing that can happen, both
> from a technical and economical perspective.  The fewer deprecations and
> code breakages happen in a certain system, the better it has been designed.
> Take the 'System.Web.Mail' namespace of the .NET Framework for example.
> This namespace is four years old and has been deprecated, which shows that
> it has been designed in a sloppy manner.  There are thousands of
> applications which rely on this namespace, and customers have invested in
> code which is based on this namespace.  It's legitimate to suspect that
> development of a certain feature is not cancelled after a few years.
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://classicvb.org/petition/>
>

Herfried,

You seem to be one of the few regulars to the .Net NG that really understands the issues involved in the VB Classic vs. VB.Net
debate.  It's not that the new .Net framework isn't the cats meow, its that it is difficult, at a minimum, to port existing projects
forward.  It's not that "we" Classic VBers don't want to learn something new or are lazy.  Nothing could be further from the truth.
Hell, I just created a VB.NET multithreaded windows service that mirrors directories across a network in a fraction of the time and
effort that it would have taken to do it in Classic VB.  But that does nothing for me with respect to moving existing large VB
applications to the currently supported platform.  Hell, all of the APIs and SDKs that I need to work with are COM based anyhow.
DotNet just wants to build a interop wrapper around it and sometimes it doesn't seem to work or seems sluggish.   Porting
applications with custom ActiveX controls also seems to be somewhat hit or miss as well.  MS seems to have just decided that my
existing code assets are not valuable.

Perhaps it will all become moot when MS releases VB9.0 along with a true upgrade wizard. <vbg>

--
Al Reid
Author
12 Oct 2005 3:49 PM
Cor Ligthert [MVP]
Al,

You point on one of the biggest problem in the use of all symbolic language
design.

The use of lower language parts in symbolic languages.

This is not new, it has been a problem in every symbolic program-language
when there were big upgrades.

This is one of the reason that I try to avoid those as hell and only use
them as they are really needed, not because of VB, just because of earlier
expiriences with that. (I know that it is often much nicer and customers
want that so it was almost impossible to completly avoid them in languages
before the Net languages)

I don't know how your programs are, however I have seen in past programs in
so called symbolic languages which where only the concatinating of lower
program calls.

Often those lower languages parts make it completely impossible to upgrade
(not only with VB again).

Probably will we all once have that lesson.

Very pretty is, that in VBNet there is much less need for Api's and in the
next 2005 version even much less.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/win32map.asp

(The call the Net and VisualBasic namespace classes here Api's probably to
make it regonizable I have it never seen done on another place).

It does not help you much with the problem, however I have never seen a
solution for that.

Why do you think that so many companies are still on Cobol?

The upgrade tools warns you how to do that in VV6-> VBNet by the way

However it stays a hell of a job.

Just my thougth,

Cor
Author
12 Oct 2005 4:42 PM
Al Reid
Show quote Hide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:%23fDXlS0zFHA.3256@TK2MSFTNGP09.phx.gbl...
> Al,
>
> You point on one of the biggest problem in the use of all symbolic language
> design.
>
> The use of lower language parts in symbolic languages.
>
> This is not new, it has been a problem in every symbolic program-language
> when there were big upgrades.
>
> This is one of the reason that I try to avoid those as hell and only use
> them as they are really needed, not because of VB, just because of earlier
> expiriences with that. (I know that it is often much nicer and customers
> want that so it was almost impossible to completly avoid them in languages
> before the Net languages)
>
> I don't know how your programs are, however I have seen in past programs in
> so called symbolic languages which where only the concatinating of lower
> program calls.
>
> Often those lower languages parts make it completely impossible to upgrade
> (not only with VB again).
>
> Probably will we all once have that lesson.
>
> Very pretty is, that in VBNet there is much less need for Api's and in the
> next 2005 version even much less.
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/win32map.asp
>
> (The call the Net and VisualBasic namespace classes here Api's probably to
> make it regonizable I have it never seen done on another place).
>
> It does not help you much with the problem, however I have never seen a
> solution for that.
>
> Why do you think that so many companies are still on Cobol?
>
> The upgrade tools warns you how to do that in VV6-> VBNet by the way
>
> However it stays a hell of a job.
>
> Just my thougth,
>
> Cor
>
>

Cor,

You seem to have completely missed my point and latched onto a single sentence.  With respect to API's, I was not referring to
Windows API's or low level API's.  I am referring to high level API's used to integrate or extend other large scale applications.
One of them I use is to automate the capture process for a document management system, another is to automate a PDF conversion
application, for example.  The API's are COM based.  My point is that dotNet places a wrapper around them that sometimes works and
in other cases it introduces some unwanted side effects, along with a performance penalty.  So I am going to have to stick with VB6
until the vendors release a dotNet version of the API's AND until there is some economic, performance or feature reason to mess with
already stable, robust and working code.

--
Al Reid
Author
12 Oct 2005 1:30 PM
Sheldon Rosenfeld
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:%23KyrAbyzFHA.2792@tk2msftngp13.phx.gbl...
> "Roger Rabbit" <ro***@rabbit.com> schrieb:
>> Deprecations and code breakages are a good thing.
>
> LOL!  It really seems that you don't have any assets in Classic VB code.

Still searching for "Deprecations and code breakages" to C++.

What??? MS wouldn't do it as it would *BREAK* Office?
Come on!!! Re-write & re-test like the VB'ers!
Author
12 Oct 2005 4:41 PM
Ralph
Show quote Hide quote
"Sheldon Rosenfeld" <V**@DotNyet.com> wrote in message
news:uOCsaFzzFHA.2072@TK2MSFTNGP14.phx.gbl...
>
> "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
> news:%23KyrAbyzFHA.2792@tk2msftngp13.phx.gbl...
> > "Roger Rabbit" <ro***@rabbit.com> schrieb:
> >> Deprecations and code breakages are a good thing.
> >
> > LOL!  It really seems that you don't have any assets in Classic VB code.
>
> Still searching for "Deprecations and code breakages" to C++.
>
> What??? MS wouldn't do it as it would *BREAK* Office?
> Come on!!! Re-write & re-test like the VB'ers!
>

The closest in C++ was when it changed out the the 'standard' class
libraries for the STL. However, class libraries continued to be available
(even today), and the only danger was when one attempted to mix them.

Which is sort of everyone's point - MS could have created 'managed'
extentions or migration path for VB - a la C++. They choose not to.

I still don't know if it was a deliberate marketing act to force more
developers to .NET, based on some insiders research knowledge, or just a
dumb mistake born from arrogance.

Perhaps, all three.

-ralph
Author
11 Oct 2005 11:42 PM
Kevin Provance
I am not restistant to change, however not all change is good.  Look at what
happened when Hitler came to power, look at what happened to America when
Bush came into the White House.

Sounds to me, based on this rather none-sensical reply that you are another
automaton that follows the crowd versus thinking for yourself.  Hell, you
have to hide behind the name of a cartoon character rather than attaching a
real name to your persona (and consequently, earning the same reputation of
a cartoon character).  Merely spewing back the same propoganda that MS has
installed into you under a false name does not an argument make.  I am sure
you believe exactly what you are are saying, and more power to you.  it
doesn't make you right.  I'll concede the same thing and perhaps ion the end
we'll have to agree to disagree and leave it at that.

I am curious though, if you are married (or intend to marry) what will
happen to your wife when she gets old?  Render her obsolete and get a newer
model?  What is she gets fat and unattractive?  Will you just throw her
away?  What if you have kids and they turn out to be punks who embrace a
life of crime?  Would you then render them obsolete?  Based on your previous
post, it sounds exactly  like something you would do.  If after another few
years MS dumps .NET and forces you to move on to a new platform will you
simply toss away all your prior work simply to be part of the what you
perceive to be the "in" crowd to avoid being labeled obsolete?

I would rather be good at what I do even if it considered obsolete then be
half-assed at what whever "change" is thrust upon me...and could care less
what the in crowd thinks of me.  Simply diving into the latest and greatest
offering does not make you intelligent, nor does it make you irreplaceable.
Some of the smartest and clever fellows I've met here, who could undoubtedly
pick up .NET in a fair amount of time simply refuse to do so because they
know it's pointless.  They know MS's track record of rendering a perfectly
good language obsolete simply because they think the new way is better.  New
does not equate to better, nor does all "change".

- Kev (a.k.a Yosemite Sam)


Show quoteHide quote
"Roger Rabbit" <ro***@rabbit.com> wrote in message
news:OPEPjirzFHA.2008@TK2MSFTNGP10.phx.gbl...
> So in a nutshell your resistant to change and just want things to be the
> way
> they were.
>
> That's fine. But its not realistic. I expect to turn my skillset over
> every
> 5 years. That's the world we live in. Maybe last century you could get
> away
> with the same skillset for 20 plus years but that's not the case anymore.
>
> I don't want a new marriage, I am
>> happy with the one I am in...and I certainly don't appreciate being told
> my
>> "children" are obsolete, along with my "wife" because they think the new
>> marriage would be better for me.
>
> Well taking the emotive language out it I'm sure your actual wife and kids
> are lovely...your programmatic wife and kids however are outdated and they
> are obsolete. Monogamy in a technical sense is an outdated concept.
>
> To survive in 21st Century development requires that you be a serial
> polygamist. Its requires that you be a veritable Casanova of the
> technological spectrum, that you bed many and wed none. While whispering
> sweet nothings in the ear of your current Bo you are constantly looking
> over
> her shoulder for what's coming through the door. You need to stay virile
> and
> have a hunger and a passion for new conquests.
>
> At the end of the day you don't slump on the couch with a bag of Cheetos
> but
> rather see this as the moment where the real work begins as you delve into
> a
> study of the fine art of tantric seduction.
>
> The longer this thread runs the more obvious it becomes that the
> dontNetter
> crowd have are professionally jealous of us dotNetters. As we dotNetters
> forge energetically on ahead, going where no VB developer has gone before,
> you dontNetters are stuck on some lonely hill on a cold dark night staring
> up at the stars with your short, nearsighted telescopes in your hands.
>
> You dontNetters sound like you fell for your code base and now 10-15 years
> later you're all frustrated that she's grown fat and ugly and no longer
> puts
> the way she used too. Meanwhile us dotNetters are gallivanting about the
> Universe in our sleek new space ship, discovering all manner of strange
> and
> interesting alien lifeforms and gently putting them to work for us as we
> deliver one stellar performance after another..... at warp speed i might
> add.
>
> The fact is the technological chicks really dig us dotNetters and our
> flashy
> Intergalactic ways and you dontNetters are more than just a little
> scornful
> about being trapped raking out the muck from your earth bound trenches.
> Your
> all something akin to the poor people who desperately try to convince
> themselves that while the rich might be wealthy they aren't happy. Well
> the
> truth is for all the dontNetters out there and their moaning and griping
> about their archaic platform, the fact remains that us dotNetters are the
> future. And the future is bright.
>
> RR
>
>
> "Kevin Provance" <ca***@tpasoft.com> wrote in message
> news:%23J3KlUqzFHA.3180@TK2MSFTNGP14.phx.gbl...
>> Well, the way I see it is thus:  I would rather have my handy dandy class
>> files and bas files which I know work (and yes, I will give you that .NET
>> can do it in one lines, once all the new syntax has been learned,
> understood
>> and remembered)...BUT, when I compile my project and create my setup
>> files
>> which include the VB runtimes...the download for the end user is still
> much
>> smaller than shipping out some .NET nightmare.  The problem is this, and
> has
>> been mentioned:  The .NET runtime is massive. In my 10+ years of dealing
>> with end users and their fickle systems, it was always to my advantage to
>> include the VB runtimes in my setup files, because when VB six was first
>> introduced, DLL Hell plauged my life with "OLE files out of date"
> messages.
>> I could not depend on my end users to have the current VB runtimes on
> their
>> computer...and I certianly could not depend on them always haveing the
>> latest SP's or Windows updates installed.  And when I say I've dealt with
>> tens of thousands of people over the last ten years, I am not
> exaggerating.
>> I managed to curb the problem by always shipping the VB runtimes in my
>> setups with the versions instlled with VS6 and some competent version
>> checking in my setups.  Problems mostly solved.
>>
>> Now, taking all that into consideration with .NET, I would have to
>> include
>> the .NET runtimes in my setup packages, which would create 20+ MB files
> for
>> the end user to download.  Otherwise if I assumed the end users already
> had
>> the .NET runtimes installed, I would be spending ever waking hour with
>> support tickets over an installation process that should manage itself.
>>
>> So, between having to learn a new lanaguage for all intents and purposes,
>> and then ensuring the end users have all the proper runtimes by including
>> those massive .NET runtime files...and not even mentioning how sluggish
> and
>> slow .NET compiled programs run in general...it just not worth it.  M$
>> did
>> me a great disservice by throwing away VB classic along with everything
> I've
>> worked so hard for over the last ten years including code and protocols
> and
>> giving me .NET in return.  And for what reason?  Because they think it's
>> better?  Again, I would rather have my BAS files with code I know works
> than
>> the so called convenience of only needing to type one line in .NET.  It's
>> not a trade off I am willing to make, citing everything I've just
> explained.
>>
>> If you want another analogy, consider the programs I've developed with my
>> marriage to VB 6 my "children".  Now M$ has suggested I divorce from VB6
> to
>> enter into another marriage with .NET.  Good marriages take time and work
>> and don't always work out for the better.  I don't want a new marriage, I
> am
>> happy with the one I am in...and I certainly don't appreciate being told
> my
>> "children" are obsolete, along with my "wife" because they think the new
>> marriage would be better for me.  What made my marriage to VB 6 won't
>> work
>> for .NET.  Plain and simple.
>>
>> So, there it is.  ;-)
>>
>> - Kev
>>
>> "Abubakar" <abubak***@gmail.com> wrote in message
>> news:uv5eVZjzFHA.1192@TK2MSFTNGP10.phx.gbl...
>> >> and place it in a BAS Module along with all my other file
>> >> manipulation Functions and Subs, then all I have to do is add that
>> >> Module to any projects needing file input and reduce the call to
>> >> this...
>> >>
>> >> Content = ReadAllText("c:\temp\test.txt")
>> >>
>> >> That really isn't such a burdensome thing to do.
>> >
>> > but how much of the functionality are you going to surround with
> function
>> > calls and classes? And its you who is doing that, how are you going to
>> > make
>> > this utility code available to all the vb6 devs? .Net that makes it
>> > available for everyone.
>> >
>> > Ab.
>> >
>> >
>> >
>> > "Rick Rothstein [MVP - Visual Basic]"
>> > <rickNOSPAMnews@NOSPAMcomcast.net>
>> > wrote in message news:ee9PbQjzFHA.2212@TK2MSFTNGP15.phx.gbl...
>> >> > Well if you seriously prefer wading through this:
>> >> >
>> >> > Dim FileNum As Long
>> >> > Dim Contents As String
>> >> > FileNum = FreeFile
>> >> > Open "c:\mytextfile.txt" For Binary As #FileNum
>> >> >   Contents = Space(LOF(FileNum))
>> >> >   Get #FileNum, , Contents
>> >> > Close #FileNum
>> >> >
>> >> > as opposed to this:
>> >> >
>> >> > Dim contents as string =
>> >> > My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
>> >> >
>> >> > then we're never going to agree.
>> >>
>> >> But if I bundle the code I posted up into a Function like this
>> >>
>> >> Public Function ReadAllText(FileName As String) As String
>> >>   Dim FileNum As Long
>> >>   Dim Contents As String
>> >>   FileNum = FreeFile
>> >>   Open FileName For Binary As #FileNum
>> >>     ReadAllText = Space(LOF(FileNum))
>> >>     Get #FileNum, , ReadAllText
>> >>   Close #FileNum
>> >> End Function
>> >>
>> >> and place it in a BAS Module along with all my other file
>> >> manipulation Functions and Subs, then all I have to do is add that
>> >> Module to any projects needing file input and reduce the call to
>> >> this...
>> >>
>> >> Content = ReadAllText("c:\temp\test.txt")
>> >>
>> >> That really isn't such a burdensome thing to do.
>> >>
>> >> Rick
>> >>
>> >>
>> >
>> >
>>
>>
>
>
Author
12 Oct 2005 1:03 AM
Roger Rabbit
, however not all change is good.  Look at what
> happened when Hitler came to power, look at what happened to America when
> Bush came into the White House.
>

Well ahmen to that.

> I am curious though, if you are married (or intend to marry) what will
> happen to your wife when she gets old?  Render her obsolete and get a
newer
> model?  What is she gets fat and unattractive?  Will you just throw her
> away?  What if you have kids and they turn out to be punks who embrace a
> life of crime?  Would you then render them obsolete?

Theres a vast difference between a human being and a code base.

Based on your previous
> post, it sounds exactly  like something you would do.  If after another
few
> years MS dumps .NET and forces you to move on to a new platform will you
> simply toss away all your prior work simply to be part of the what you
> perceive to be the "in" crowd to avoid being labeled obsolete?
>

Again with the victim mentality. Your not being forced to do anything. It
seems to me that your VB6ers are the one trying to force something out of
Microsoft.

> I would rather be good at what I do even if it considered obsolete then be
> half-assed at what whever "change" is thrust upon me...and could care less
> what the in crowd thinks of me.  Simply diving into the latest and
greatest
> offering does not make you intelligent, nor does it make you
irreplaceable.

And nor does going down with the ship make one courageous.

Show quoteHide quote
> Some of the smartest and clever fellows I've met here, who could
undoubtedly
> pick up .NET in a fair amount of time simply refuse to do so because they
> know it's pointless.  They know MS's track record of rendering a perfectly
> good language obsolete simply because they think the new way is better.
New
> does not equate to better, nor does all "change".
>
> - Kev (a.k.a Yosemite Sam)
>
>
> "Roger Rabbit" <ro***@rabbit.com> wrote in message
> news:OPEPjirzFHA.2008@TK2MSFTNGP10.phx.gbl...
> > So in a nutshell your resistant to change and just want things to be the
> > way
> > they were.
> >
> > That's fine. But its not realistic. I expect to turn my skillset over
> > every
> > 5 years. That's the world we live in. Maybe last century you could get
> > away
> > with the same skillset for 20 plus years but that's not the case
anymore.
> >
> > I don't want a new marriage, I am
> >> happy with the one I am in...and I certainly don't appreciate being
told
> > my
> >> "children" are obsolete, along with my "wife" because they think the
new
> >> marriage would be better for me.
> >
> > Well taking the emotive language out it I'm sure your actual wife and
kids
> > are lovely...your programmatic wife and kids however are outdated and
they
> > are obsolete. Monogamy in a technical sense is an outdated concept.
> >
> > To survive in 21st Century development requires that you be a serial
> > polygamist. Its requires that you be a veritable Casanova of the
> > technological spectrum, that you bed many and wed none. While whispering
> > sweet nothings in the ear of your current Bo you are constantly looking
> > over
> > her shoulder for what's coming through the door. You need to stay virile
> > and
> > have a hunger and a passion for new conquests.
> >
> > At the end of the day you don't slump on the couch with a bag of Cheetos
> > but
> > rather see this as the moment where the real work begins as you delve
into
> > a
> > study of the fine art of tantric seduction.
> >
> > The longer this thread runs the more obvious it becomes that the
> > dontNetter
> > crowd have are professionally jealous of us dotNetters. As we dotNetters
> > forge energetically on ahead, going where no VB developer has gone
before,
> > you dontNetters are stuck on some lonely hill on a cold dark night
staring
> > up at the stars with your short, nearsighted telescopes in your hands.
> >
> > You dontNetters sound like you fell for your code base and now 10-15
years
> > later you're all frustrated that she's grown fat and ugly and no longer
> > puts
> > the way she used too. Meanwhile us dotNetters are gallivanting about the
> > Universe in our sleek new space ship, discovering all manner of strange
> > and
> > interesting alien lifeforms and gently putting them to work for us as we
> > deliver one stellar performance after another..... at warp speed i might
> > add.
> >
> > The fact is the technological chicks really dig us dotNetters and our
> > flashy
> > Intergalactic ways and you dontNetters are more than just a little
> > scornful
> > about being trapped raking out the muck from your earth bound trenches.
> > Your
> > all something akin to the poor people who desperately try to convince
> > themselves that while the rich might be wealthy they aren't happy. Well
> > the
> > truth is for all the dontNetters out there and their moaning and griping
> > about their archaic platform, the fact remains that us dotNetters are
the
> > future. And the future is bright.
> >
> > RR
> >
> >
> > "Kevin Provance" <ca***@tpasoft.com> wrote in message
> > news:%23J3KlUqzFHA.3180@TK2MSFTNGP14.phx.gbl...
> >> Well, the way I see it is thus:  I would rather have my handy dandy
class
> >> files and bas files which I know work (and yes, I will give you that
..NET
> >> can do it in one lines, once all the new syntax has been learned,
> > understood
> >> and remembered)...BUT, when I compile my project and create my setup
> >> files
> >> which include the VB runtimes...the download for the end user is still
> > much
> >> smaller than shipping out some .NET nightmare.  The problem is this,
and
> > has
> >> been mentioned:  The .NET runtime is massive. In my 10+ years of
dealing
> >> with end users and their fickle systems, it was always to my advantage
to
> >> include the VB runtimes in my setup files, because when VB six was
first
> >> introduced, DLL Hell plauged my life with "OLE files out of date"
> > messages.
> >> I could not depend on my end users to have the current VB runtimes on
> > their
> >> computer...and I certianly could not depend on them always haveing the
> >> latest SP's or Windows updates installed.  And when I say I've dealt
with
> >> tens of thousands of people over the last ten years, I am not
> > exaggerating.
> >> I managed to curb the problem by always shipping the VB runtimes in my
> >> setups with the versions instlled with VS6 and some competent version
> >> checking in my setups.  Problems mostly solved.
> >>
> >> Now, taking all that into consideration with .NET, I would have to
> >> include
> >> the .NET runtimes in my setup packages, which would create 20+ MB files
> > for
> >> the end user to download.  Otherwise if I assumed the end users already
> > had
> >> the .NET runtimes installed, I would be spending ever waking hour with
> >> support tickets over an installation process that should manage itself.
> >>
> >> So, between having to learn a new lanaguage for all intents and
purposes,
> >> and then ensuring the end users have all the proper runtimes by
including
> >> those massive .NET runtime files...and not even mentioning how sluggish
> > and
> >> slow .NET compiled programs run in general...it just not worth it.  M$
> >> did
> >> me a great disservice by throwing away VB classic along with everything
> > I've
> >> worked so hard for over the last ten years including code and protocols
> > and
> >> giving me .NET in return.  And for what reason?  Because they think
it's
> >> better?  Again, I would rather have my BAS files with code I know works
> > than
> >> the so called convenience of only needing to type one line in .NET.
It's
> >> not a trade off I am willing to make, citing everything I've just
> > explained.
> >>
> >> If you want another analogy, consider the programs I've developed with
my
> >> marriage to VB 6 my "children".  Now M$ has suggested I divorce from
VB6
> > to
> >> enter into another marriage with .NET.  Good marriages take time and
work
> >> and don't always work out for the better.  I don't want a new marriage,
I
> > am
> >> happy with the one I am in...and I certainly don't appreciate being
told
> > my
> >> "children" are obsolete, along with my "wife" because they think the
new
> >> marriage would be better for me.  What made my marriage to VB 6 won't
> >> work
> >> for .NET.  Plain and simple.
> >>
> >> So, there it is.  ;-)
> >>
> >> - Kev
> >>
> >> "Abubakar" <abubak***@gmail.com> wrote in message
> >> news:uv5eVZjzFHA.1192@TK2MSFTNGP10.phx.gbl...
> >> >> and place it in a BAS Module along with all my other file
> >> >> manipulation Functions and Subs, then all I have to do is add that
> >> >> Module to any projects needing file input and reduce the call to
> >> >> this...
> >> >>
> >> >> Content = ReadAllText("c:\temp\test.txt")
> >> >>
> >> >> That really isn't such a burdensome thing to do.
> >> >
> >> > but how much of the functionality are you going to surround with
> > function
> >> > calls and classes? And its you who is doing that, how are you going
to
> >> > make
> >> > this utility code available to all the vb6 devs? .Net that makes it
> >> > available for everyone.
> >> >
> >> > Ab.
> >> >
> >> >
> >> >
> >> > "Rick Rothstein [MVP - Visual Basic]"
> >> > <rickNOSPAMnews@NOSPAMcomcast.net>
> >> > wrote in message news:ee9PbQjzFHA.2212@TK2MSFTNGP15.phx.gbl...
> >> >> > Well if you seriously prefer wading through this:
> >> >> >
> >> >> > Dim FileNum As Long
> >> >> > Dim Contents As String
> >> >> > FileNum = FreeFile
> >> >> > Open "c:\mytextfile.txt" For Binary As #FileNum
> >> >> >   Contents = Space(LOF(FileNum))
> >> >> >   Get #FileNum, , Contents
> >> >> > Close #FileNum
> >> >> >
> >> >> > as opposed to this:
> >> >> >
> >> >> > Dim contents as string =
> >> >> > My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
> >> >> >
> >> >> > then we're never going to agree.
> >> >>
> >> >> But if I bundle the code I posted up into a Function like this
> >> >>
> >> >> Public Function ReadAllText(FileName As String) As String
> >> >>   Dim FileNum As Long
> >> >>   Dim Contents As String
> >> >>   FileNum = FreeFile
> >> >>   Open FileName For Binary As #FileNum
> >> >>     ReadAllText = Space(LOF(FileNum))
> >> >>     Get #FileNum, , ReadAllText
> >> >>   Close #FileNum
> >> >> End Function
> >> >>
> >> >> and place it in a BAS Module along with all my other file
> >> >> manipulation Functions and Subs, then all I have to do is add that
> >> >> Module to any projects needing file input and reduce the call to
> >> >> this...
> >> >>
> >> >> Content = ReadAllText("c:\temp\test.txt")
> >> >>
> >> >> That really isn't such a burdensome thing to do.
> >> >>
> >> >> Rick
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>
Author
12 Oct 2005 3:09 AM
Roger Rabbit
Hell, you
> have to hide behind the name of a cartoon character rather than attaching
a
> real name to your persona

The irony of course is that my real name is Thomas Jerry.

TJ


Show quoteHide quote
"Kevin Provance" <ca***@tpasoft.com> wrote in message
news:efKDz1rzFHA.3812@TK2MSFTNGP09.phx.gbl...
> I am not restistant to change, however not all change is good.  Look at
what
> happened when Hitler came to power, look at what happened to America when
> Bush came into the White House.
>
> Sounds to me, based on this rather none-sensical reply that you are
another
> automaton that follows the crowd versus thinking for yourself.  Hell, you
> have to hide behind the name of a cartoon character rather than attaching
a
> real name to your persona (and consequently, earning the same reputation
of
> a cartoon character).  Merely spewing back the same propoganda that MS has
> installed into you under a false name does not an argument make.  I am
sure
> you believe exactly what you are are saying, and more power to you.  it
> doesn't make you right.  I'll concede the same thing and perhaps ion the
end
> we'll have to agree to disagree and leave it at that.
>
> I am curious though, if you are married (or intend to marry) what will
> happen to your wife when she gets old?  Render her obsolete and get a
newer
> model?  What is she gets fat and unattractive?  Will you just throw her
> away?  What if you have kids and they turn out to be punks who embrace a
> life of crime?  Would you then render them obsolete?  Based on your
previous
> post, it sounds exactly  like something you would do.  If after another
few
> years MS dumps .NET and forces you to move on to a new platform will you
> simply toss away all your prior work simply to be part of the what you
> perceive to be the "in" crowd to avoid being labeled obsolete?
>
> I would rather be good at what I do even if it considered obsolete then be
> half-assed at what whever "change" is thrust upon me...and could care less
> what the in crowd thinks of me.  Simply diving into the latest and
greatest
> offering does not make you intelligent, nor does it make you
irreplaceable.
> Some of the smartest and clever fellows I've met here, who could
undoubtedly
> pick up .NET in a fair amount of time simply refuse to do so because they
> know it's pointless.  They know MS's track record of rendering a perfectly
> good language obsolete simply because they think the new way is better.
New
> does not equate to better, nor does all "change".
>
> - Kev (a.k.a Yosemite Sam)
>
>
> "Roger Rabbit" <ro***@rabbit.com> wrote in message
> news:OPEPjirzFHA.2008@TK2MSFTNGP10.phx.gbl...
> > So in a nutshell your resistant to change and just want things to be the
> > way
> > they were.
> >
> > That's fine. But its not realistic. I expect to turn my skillset over
> > every
> > 5 years. That's the world we live in. Maybe last century you could get
> > away
> > with the same skillset for 20 plus years but that's not the case
anymore.
> >
> > I don't want a new marriage, I am
> >> happy with the one I am in...and I certainly don't appreciate being
told
> > my
> >> "children" are obsolete, along with my "wife" because they think the
new
> >> marriage would be better for me.
> >
> > Well taking the emotive language out it I'm sure your actual wife and
kids
> > are lovely...your programmatic wife and kids however are outdated and
they
> > are obsolete. Monogamy in a technical sense is an outdated concept.
> >
> > To survive in 21st Century development requires that you be a serial
> > polygamist. Its requires that you be a veritable Casanova of the
> > technological spectrum, that you bed many and wed none. While whispering
> > sweet nothings in the ear of your current Bo you are constantly looking
> > over
> > her shoulder for what's coming through the door. You need to stay virile
> > and
> > have a hunger and a passion for new conquests.
> >
> > At the end of the day you don't slump on the couch with a bag of Cheetos
> > but
> > rather see this as the moment where the real work begins as you delve
into
> > a
> > study of the fine art of tantric seduction.
> >
> > The longer this thread runs the more obvious it becomes that the
> > dontNetter
> > crowd have are professionally jealous of us dotNetters. As we dotNetters
> > forge energetically on ahead, going where no VB developer has gone
before,
> > you dontNetters are stuck on some lonely hill on a cold dark night
staring
> > up at the stars with your short, nearsighted telescopes in your hands.
> >
> > You dontNetters sound like you fell for your code base and now 10-15
years
> > later you're all frustrated that she's grown fat and ugly and no longer
> > puts
> > the way she used too. Meanwhile us dotNetters are gallivanting about the
> > Universe in our sleek new space ship, discovering all manner of strange
> > and
> > interesting alien lifeforms and gently putting them to work for us as we
> > deliver one stellar performance after another..... at warp speed i might
> > add.
> >
> > The fact is the technological chicks really dig us dotNetters and our
> > flashy
> > Intergalactic ways and you dontNetters are more than just a little
> > scornful
> > about being trapped raking out the muck from your earth bound trenches.
> > Your
> > all something akin to the poor people who desperately try to convince
> > themselves that while the rich might be wealthy they aren't happy. Well
> > the
> > truth is for all the dontNetters out there and their moaning and griping
> > about their archaic platform, the fact remains that us dotNetters are
the
> > future. And the future is bright.
> >
> > RR
> >
> >
> > "Kevin Provance" <ca***@tpasoft.com> wrote in message
> > news:%23J3KlUqzFHA.3180@TK2MSFTNGP14.phx.gbl...
> >> Well, the way I see it is thus:  I would rather have my handy dandy
class
> >> files and bas files which I know work (and yes, I will give you that
..NET
> >> can do it in one lines, once all the new syntax has been learned,
> > understood
> >> and remembered)...BUT, when I compile my project and create my setup
> >> files
> >> which include the VB runtimes...the download for the end user is still
> > much
> >> smaller than shipping out some .NET nightmare.  The problem is this,
and
> > has
> >> been mentioned:  The .NET runtime is massive. In my 10+ years of
dealing
> >> with end users and their fickle systems, it was always to my advantage
to
> >> include the VB runtimes in my setup files, because when VB six was
first
> >> introduced, DLL Hell plauged my life with "OLE files out of date"
> > messages.
> >> I could not depend on my end users to have the current VB runtimes on
> > their
> >> computer...and I certianly could not depend on them always haveing the
> >> latest SP's or Windows updates installed.  And when I say I've dealt
with
> >> tens of thousands of people over the last ten years, I am not
> > exaggerating.
> >> I managed to curb the problem by always shipping the VB runtimes in my
> >> setups with the versions instlled with VS6 and some competent version
> >> checking in my setups.  Problems mostly solved.
> >>
> >> Now, taking all that into consideration with .NET, I would have to
> >> include
> >> the .NET runtimes in my setup packages, which would create 20+ MB files
> > for
> >> the end user to download.  Otherwise if I assumed the end users already
> > had
> >> the .NET runtimes installed, I would be spending ever waking hour with
> >> support tickets over an installation process that should manage itself.
> >>
> >> So, between having to learn a new lanaguage for all intents and
purposes,
> >> and then ensuring the end users have all the proper runtimes by
including
> >> those massive .NET runtime files...and not even mentioning how sluggish
> > and
> >> slow .NET compiled programs run in general...it just not worth it.  M$
> >> did
> >> me a great disservice by throwing away VB classic along with everything
> > I've
> >> worked so hard for over the last ten years including code and protocols
> > and
> >> giving me .NET in return.  And for what reason?  Because they think
it's
> >> better?  Again, I would rather have my BAS files with code I know works
> > than
> >> the so called convenience of only needing to type one line in .NET.
It's
> >> not a trade off I am willing to make, citing everything I've just
> > explained.
> >>
> >> If you want another analogy, consider the programs I've developed with
my
> >> marriage to VB 6 my "children".  Now M$ has suggested I divorce from
VB6
> > to
> >> enter into another marriage with .NET.  Good marriages take time and
work
> >> and don't always work out for the better.  I don't want a new marriage,
I
> > am
> >> happy with the one I am in...and I certainly don't appreciate being
told
> > my
> >> "children" are obsolete, along with my "wife" because they think the
new
> >> marriage would be better for me.  What made my marriage to VB 6 won't
> >> work
> >> for .NET.  Plain and simple.
> >>
> >> So, there it is.  ;-)
> >>
> >> - Kev
> >>
> >> "Abubakar" <abubak***@gmail.com> wrote in message
> >> news:uv5eVZjzFHA.1192@TK2MSFTNGP10.phx.gbl...
> >> >> and place it in a BAS Module along with all my other file
> >> >> manipulation Functions and Subs, then all I have to do is add that
> >> >> Module to any projects needing file input and reduce the call to
> >> >> this...
> >> >>
> >> >> Content = ReadAllText("c:\temp\test.txt")
> >> >>
> >> >> That really isn't such a burdensome thing to do.
> >> >
> >> > but how much of the functionality are you going to surround with
> > function
> >> > calls and classes? And its you who is doing that, how are you going
to
> >> > make
> >> > this utility code available to all the vb6 devs? .Net that makes it
> >> > available for everyone.
> >> >
> >> > Ab.
> >> >
> >> >
> >> >
> >> > "Rick Rothstein [MVP - Visual Basic]"
> >> > <rickNOSPAMnews@NOSPAMcomcast.net>
> >> > wrote in message news:ee9PbQjzFHA.2212@TK2MSFTNGP15.phx.gbl...
> >> >> > Well if you seriously prefer wading through this:
> >> >> >
> >> >> > Dim FileNum As Long
> >> >> > Dim Contents As String
> >> >> > FileNum = FreeFile
> >> >> > Open "c:\mytextfile.txt" For Binary As #FileNum
> >> >> >   Contents = Space(LOF(FileNum))
> >> >> >   Get #FileNum, , Contents
> >> >> > Close #FileNum
> >> >> >
> >> >> > as opposed to this:
> >> >> >
> >> >> > Dim contents as string =
> >> >> > My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
> >> >> >
> >> >> > then we're never going to agree.
> >> >>
> >> >> But if I bundle the code I posted up into a Function like this
> >> >>
> >> >> Public Function ReadAllText(FileName As String) As String
> >> >>   Dim FileNum As Long
> >> >>   Dim Contents As String
> >> >>   FileNum = FreeFile
> >> >>   Open FileName For Binary As #FileNum
> >> >>     ReadAllText = Space(LOF(FileNum))
> >> >>     Get #FileNum, , ReadAllText
> >> >>   Close #FileNum
> >> >> End Function
> >> >>
> >> >> and place it in a BAS Module along with all my other file
> >> >> manipulation Functions and Subs, then all I have to do is add that
> >> >> Module to any projects needing file input and reduce the call to
> >> >> this...
> >> >>
> >> >> Content = ReadAllText("c:\temp\test.txt")
> >> >>
> >> >> That really isn't such a burdensome thing to do.
> >> >>
> >> >> Rick
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>
Author
12 Oct 2005 3:18 AM
Rick Rothstein [MVP - Visual Basic]
> Hell, you
> > have to hide behind the name of a cartoon character rather
than attaching
> a
> > real name to your persona
>
> The irony of course is that my real name is Thomas Jerry.

Please tell me your middle initial is "N". <g>

Rick
Author
12 Oct 2005 6:09 AM
Roger Rabbit
Alas no. Wouldn't that be something? :-)
Although my brother got Nigel.

TJ

Show quoteHide quote
"Rick Rothstein [MVP - Visual Basic]" <rickNOSPAMnews@NOSPAMcomcast.net>
wrote in message news:uECUiutzFHA.3180@TK2MSFTNGP10.phx.gbl...
> > Hell, you
> > > have to hide behind the name of a cartoon character rather
> than attaching
> > a
> > > real name to your persona
> >
> > The irony of course is that my real name is Thomas Jerry.
>
> Please tell me your middle initial is "N". <g>
>
> Rick
>
>
Author
11 Oct 2005 11:54 PM
Kevin Provance
>> The fact is the technological chicks really dig us dotNetters and our
>> flashy
Intergalactic ways and you dontNetters are more than just a little scornful
about being trapped raking out the muck from your earth bound trenches. <<

For what it's worth, I still drive around in a 1981 DeLorean, which by your
standards would be old and obsolete.  However, it still get's me the chicks
and way more attention that the new and improved gas guzzling SUVs that were
once considered the future of automobiles.

Again, new is not always better.  They call it "classic" for a reason.  <g>

- Kev (who can do without the Back To The Future jokes)
Author
12 Oct 2005 2:47 PM
Ken Halter
Show quote Hide quote
"Kevin Provance" <ca***@tpasoft.com> wrote in message
news:%23%23aYR8rzFHA.3256@TK2MSFTNGP09.phx.gbl...
>>> The fact is the technological chicks really dig us dotNetters and our
>>> flashy
> Intergalactic ways and you dontNetters are more than just a little
> scornful
> about being trapped raking out the muck from your earth bound trenches. <<
>
> For what it's worth, I still drive around in a 1981 DeLorean, which by
> your standards would be old and obsolete.  However, it still get's me the
> chicks and way more attention that the new and improved gas guzzling SUVs
> that were once considered the future of automobiles.
>
> Again, new is not always better.  They call it "classic" for a reason.
> <g>
>
> - Kev (who can do without the Back To The Future jokes)

Plus, that flux capacitor's a real conversation starter, eh? <g>

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
12 Oct 2005 7:17 AM
Gary Nelson
Roger,

> So in a nutshell your resistant to change and just want things to be the
> way
> they were.

Not exactly...

> That's fine. But its not realistic. I expect to turn my skillset over
> every
> 5 years.

Once you have actually written some code, and had it tosed out the window
every five years for a couple of times, you can come back and give us some
lessons.

Gary
Author
12 Oct 2005 6:35 PM
Abubakar
> If you want another analogy, consider the programs I've developed with my
> marriage to VB 6 my "children".  Now M$ has suggested I divorce from VB6
to
> enter into another marriage with .NET.  Good marriages take time and work
> and don't always work out for the better.  I don't want a new marriage, I
am
> happy with the one I am in...and I certainly don't appreciate being told
my
> "children" are obsolete, along with my "wife" because they think the new
> marriage would be better for me.  What made my marriage to VB 6 won't work
> for .NET.  Plain and simple.
>
> So, there it is.  ;-)

Hey I also believe in having one marriage for life :-) But .net is a diff
case :)

Ab.
http://joehacker.blogspot.com

Show quoteHide quote
"Kevin Provance" <ca***@tpasoft.com> wrote in message
news:%23J3KlUqzFHA.3180@TK2MSFTNGP14.phx.gbl...
> Well, the way I see it is thus:  I would rather have my handy dandy class
> files and bas files which I know work (and yes, I will give you that .NET
> can do it in one lines, once all the new syntax has been learned,
understood
> and remembered)...BUT, when I compile my project and create my setup files
> which include the VB runtimes...the download for the end user is still
much
> smaller than shipping out some .NET nightmare.  The problem is this, and
has
> been mentioned:  The .NET runtime is massive. In my 10+ years of dealing
> with end users and their fickle systems, it was always to my advantage to
> include the VB runtimes in my setup files, because when VB six was first
> introduced, DLL Hell plauged my life with "OLE files out of date"
messages.
> I could not depend on my end users to have the current VB runtimes on
their
> computer...and I certianly could not depend on them always haveing the
> latest SP's or Windows updates installed.  And when I say I've dealt with
> tens of thousands of people over the last ten years, I am not
exaggerating.
> I managed to curb the problem by always shipping the VB runtimes in my
> setups with the versions instlled with VS6 and some competent version
> checking in my setups.  Problems mostly solved.
>
> Now, taking all that into consideration with .NET, I would have to include
> the .NET runtimes in my setup packages, which would create 20+ MB files
for
> the end user to download.  Otherwise if I assumed the end users already
had
> the .NET runtimes installed, I would be spending ever waking hour with
> support tickets over an installation process that should manage itself.
>
> So, between having to learn a new lanaguage for all intents and purposes,
> and then ensuring the end users have all the proper runtimes by including
> those massive .NET runtime files...and not even mentioning how sluggish
and
> slow .NET compiled programs run in general...it just not worth it.  M$ did
> me a great disservice by throwing away VB classic along with everything
I've
> worked so hard for over the last ten years including code and protocols
and
> giving me .NET in return.  And for what reason?  Because they think it's
> better?  Again, I would rather have my BAS files with code I know works
than
> the so called convenience of only needing to type one line in .NET.  It's
> not a trade off I am willing to make, citing everything I've just
explained.
>
> If you want another analogy, consider the programs I've developed with my
> marriage to VB 6 my "children".  Now M$ has suggested I divorce from VB6
to
> enter into another marriage with .NET.  Good marriages take time and work
> and don't always work out for the better.  I don't want a new marriage, I
am
> happy with the one I am in...and I certainly don't appreciate being told
my
> "children" are obsolete, along with my "wife" because they think the new
> marriage would be better for me.  What made my marriage to VB 6 won't work
> for .NET.  Plain and simple.
>
> So, there it is.  ;-)
>
> - Kev
>
> "Abubakar" <abubak***@gmail.com> wrote in message
> news:uv5eVZjzFHA.1192@TK2MSFTNGP10.phx.gbl...
> >> and place it in a BAS Module along with all my other file
> >> manipulation Functions and Subs, then all I have to do is add that
> >> Module to any projects needing file input and reduce the call to
> >> this...
> >>
> >> Content = ReadAllText("c:\temp\test.txt")
> >>
> >> That really isn't such a burdensome thing to do.
> >
> > but how much of the functionality are you going to surround with
function
> > calls and classes? And its you who is doing that, how are you going to
> > make
> > this utility code available to all the vb6 devs? .Net that makes it
> > available for everyone.
> >
> > Ab.
> >
> >
> >
> > "Rick Rothstein [MVP - Visual Basic]" <rickNOSPAMnews@NOSPAMcomcast.net>
> > wrote in message news:ee9PbQjzFHA.2212@TK2MSFTNGP15.phx.gbl...
> >> > Well if you seriously prefer wading through this:
> >> >
> >> > Dim FileNum As Long
> >> > Dim Contents As String
> >> > FileNum = FreeFile
> >> > Open "c:\mytextfile.txt" For Binary As #FileNum
> >> >   Contents = Space(LOF(FileNum))
> >> >   Get #FileNum, , Contents
> >> > Close #FileNum
> >> >
> >> > as opposed to this:
> >> >
> >> > Dim contents as string =
> >> > My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
> >> >
> >> > then we're never going to agree.
> >>
> >> But if I bundle the code I posted up into a Function like this
> >>
> >> Public Function ReadAllText(FileName As String) As String
> >>   Dim FileNum As Long
> >>   Dim Contents As String
> >>   FileNum = FreeFile
> >>   Open FileName For Binary As #FileNum
> >>     ReadAllText = Space(LOF(FileNum))
> >>     Get #FileNum, , ReadAllText
> >>   Close #FileNum
> >> End Function
> >>
> >> and place it in a BAS Module along with all my other file
> >> manipulation Functions and Subs, then all I have to do is add that
> >> Module to any projects needing file input and reduce the call to
> >> this...
> >>
> >> Content = ReadAllText("c:\temp\test.txt")
> >>
> >> That really isn't such a burdensome thing to do.
> >>
> >> Rick
> >>
> >>
> >
> >
>
>
Author
11 Oct 2005 7:25 AM
Gary Nelson
RR,

But then again you could do it this way:

Dim contents as string
contents = ReadAllText("c:\mytextfile.txt")
....

Function ReadAllText(FileName as string) as string
Dim FileNum As Long
Dim Contents As String
FileNum = FreeFile
Open "c:\mytextfile.txt" For Binary As #FileNum
Contents = Space(LOF(FileNum))
Get #FileNum, , Contents
Close #FileNum
ReadAllText = Contents
End Function


Show quoteHide quote
"Roger Rabbit" <ro***@rabbit.com> wrote in message
news:exv%234iizFHA.3540@TK2MSFTNGP10.phx.gbl...
> Well if you seriously prefer wading through this:
>
> Dim FileNum As Long
> Dim Contents As String
> FileNum = FreeFile
> Open "c:\mytextfile.txt" For Binary As #FileNum
>  Contents = Space(LOF(FileNum))
>  Get #FileNum, , Contents
> Close #FileNum
>
> as opposed to this:
>
> Dim contents as string =
> My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
>
> then we're never going to agree.
>
> :-)
>
> RR
>
>
Author
11 Oct 2005 9:49 AM
Roger Rabbit
> But then again you could do it this way:


The point is with dotNet "I" dont have to do anything. If your suggesting
the "My" namespace is just a series of wrapper functions then your
absolutely right (but then so is the whole framework) however the point is
that the plumbings been done for me.

When i move to the next ISV/hire someone for the current ISV we're all still
talking the same language. Its a framework construct not an ISV dependant
construct. No relearning required. Not only does the VB6 developer have to
write all that gunk in the first place but then they have to wrap it, test
it, maintain and deploy it.

For the .Net developer its just there and it works. What would be a breaking
change for VB6, might not be for .NET because its been abstracted away. If i
want to drill down and reinvent the wheel i can do that too.

How many more lines would this amount too?

Dim comport As IO.Ports.SerialPort
comport = My.Computer.Ports.OpenSerialPort("COM1")
AddHandler comport.ReceivedEvent, AddressOf DataReceived

VB6 just cant compete with this kind of power "out of the box". Every fresh
line of VB6 code you write is just digging yourself a deeper and deeper
hole. For your customers sake just "stop" already.

:)

RR
Author
11 Oct 2005 10:52 AM
Gary Nelson
RR,

> VB6 just cant compete with this kind of power "out of the box". Every
> fresh
> line of VB6 code you write is just digging yourself a deeper and deeper
> hole. For your customers sake just "stop" already.

You either:

1) don't have many customers
2) don't have much code

If you have hundreds of thousands of lines of legacy code and thousands of
customers, what you say is not posible for the following reasons:

Will customers who are demanding, and in cases have already paid for,
certain funcionality, be willing to wait for a year or two while you upgrade
to VB.Net?

Do you have deep enough pockets to pay wages to the employees while the
company brings out no new products and does no repair on the old as all of
the work force is converting to .net?

Gary
Author
11 Oct 2005 11:42 AM
Roger Rabbit
You can interOp between VB.net and VB6. This argument from VB6ers about
having to convert everything before being able to take advantage of the
power of the dotNet platform is just plain idiotic. Maintain existing code
in VB6. Look for opportunities to leverage .Net for new functionality.
Instead many VB6ers respond that if they cant have it all .NET then they
wont have any of it at all. All the while complaining that Microsoft is
abandoning them.

On the one hand you guys say "we cant upgrade because we have too much
code". So some one says "hey here's how dotNet can reduce the amount of code
you have to write, maintain and deploy", and you guys respond... "we cant
use that because we've got too much code?"

> Do you have deep enough pockets to pay wages to the employees while the
> company brings out no new products and does no repair on the old as all of
> the work force is converting to .net?

Again with the conversion argument. How many times does it have to be said
"If you can't justify it then don't"? Its not mandatory.
But if your going to bring out new  products in VB6 then you're the master
of your own demise and that's hardly Microsofts' fault.

RR


Show quoteHide quote
"Gary Nelson" <gn@nospam.com> wrote in message
news:eIqdlHlzFHA.612@TK2MSFTNGP10.phx.gbl...
> RR,
>
> > VB6 just cant compete with this kind of power "out of the box". Every
> > fresh
> > line of VB6 code you write is just digging yourself a deeper and deeper
> > hole. For your customers sake just "stop" already.
>
> You either:
>
> 1) don't have many customers
> 2) don't have much code
>
> If you have hundreds of thousands of lines of legacy code and thousands of
> customers, what you say is not posible for the following reasons:
>
> Will customers who are demanding, and in cases have already paid for,
> certain funcionality, be willing to wait for a year or two while you
upgrade
> to VB.Net?
>
> Do you have deep enough pockets to pay wages to the employees while the
> company brings out no new products and does no repair on the old as all of
> the work force is converting to .net?
>
> Gary
>
>
Author
11 Oct 2005 12:26 PM
J French
On Wed, 12 Oct 2005 00:42:23 +1300, "Roger Rabbit" <ro***@rabbit.com>
wrote:


Looks like we need a 'Bunny Boiler' round here

Preferably one that specializes in 'kittens'
Author
11 Oct 2005 5:47 PM
Gary Nelson
RR,

> You can interOp between VB.net and VB6.

Sure Roger, again I repeat:

>> You either:
>>
>> 1) don't have many customers
>> 2) don't have much code
>>

Have you any idea of the amount of work that it would take to create all of
the interop DLLs for a large program?

I use control arrays on nearly every form, exactly what good can interop do
for me in those cases?

I could go on, but these arguments have been repeated many times.

> This argument from VB6ers about
> having to convert everything before being able to take advantage of the
> power of the dotNet platform is just plain idiotic. Maintain existing code
> in VB6. Look for opportunities to leverage .Net for new functionality.
> Instead many VB6ers respond that if they cant have it all .NET then they
> wont have any of it at all. All the while complaining that Microsoft is
> abandoning them.

Look Roger, May I suggest that you don't go on about things that you
obviously don't understand. I have been selling the same program since 1992
(VB2), and before that I sold the same program in PDS. The only path I have
is to make a full conversion of the program to .NET or continue as long as I
can in VB6.

>
> On the one hand you guys say "we cant upgrade because we have too much
> code". So some one says "hey here's how dotNet can reduce the amount of
> code
> you have to write, maintain and deploy", and you guys respond... "we cant
> use that because we've got too much code?"

I get the feeling that you don't read the posts you are responding to. Who
is going to pay for the down time while we do the conversion. Any offers?

Gary

Show quoteHide quote
>
>> Do you have deep enough pockets to pay wages to the employees while the
>> company brings out no new products and does no repair on the old as all
>> of
>> the work force is converting to .net?
>
> Again with the conversion argument. How many times does it have to be said
> "If you can't justify it then don't"? Its not mandatory.
> But if your going to bring out new  products in VB6 then you're the master
> of your own demise and that's hardly Microsofts' fault.
>
> RR
>
>
> "Gary Nelson" <gn@nospam.com> wrote in message
> news:eIqdlHlzFHA.612@TK2MSFTNGP10.phx.gbl...
>> RR,
>>
>> > VB6 just cant compete with this kind of power "out of the box". Every
>> > fresh
>> > line of VB6 code you write is just digging yourself a deeper and deeper
>> > hole. For your customers sake just "stop" already.
>>
>> You either:
>>
>> 1) don't have many customers
>> 2) don't have much code
>>
>> If you have hundreds of thousands of lines of legacy code and thousands
>> of
>> customers, what you say is not posible for the following reasons:
>>
>> Will customers who are demanding, and in cases have already paid for,
>> certain funcionality, be willing to wait for a year or two while you
> upgrade
>> to VB.Net?
>>
>> Do you have deep enough pockets to pay wages to the employees while the
>> company brings out no new products and does no repair on the old as all
>> of
>> the work force is converting to .net?
>>
>> Gary
>>
>>
>
>
Author
11 Oct 2005 9:47 PM
Roger Rabbit
> >> 1) don't have many customers
> >> 2) don't have much code

Or maybe (3)  we do but we just handle them better than your company did.
The world is full of options why restrict the possibilites to just those 2.

I get the feeling that you don't read the posts you are responding to. Who
> is going to pay for the down time while we do the conversion. Any offers?

Its called cost benefit Gary whereby the benefit of the upgrade outweighs
the cost of the upgrade. An "investment" if you will. Another way to look at
it is opportunity cost. Who pays for it? You do. If you cant justify the
cost then you "dont" upgrade. If there is no ROI then you dont invest. Its
quite simple.

> Have you any idea of the amount of work that it would take to create all
of
> the interop DLLs for a large program?

Again with this all or nothing argument. I assume you have some kind of
structure to your exisiting code base. You examine this for opportunities
where dotNet has some projected value. You then replace this segment of your
code base. Your overly dramatic assertion about having to close the
doors/get everyone to retrain and rebuild is childish. If thats the
predicament you find yourself in then blame your architect(s) not Microsoft.

As for the new development/these products your customers are clamouring for
/ you would use dotNet and interOp where neccessary. Your forms
issue/controls arrays wouldn't then be a problem because your not converting
anything but adding value from scratch.

If your company's on the bones of its arse and unable to reinvest in itself
then thats a difficult situation but how does that get to be Microsofts
fault? The writing has been on the wall for a very long time. If your
company didn;t read it and now find yourself stuck in a quagmire of legacy
code then thats just poor business planning.

RR

Show quoteHide quote
"Gary Nelson" <gn@nospam.com> wrote in message
news:u6%23WfvozFHA.464@TK2MSFTNGP15.phx.gbl...
> RR,
>
> > You can interOp between VB.net and VB6.
>
> Sure Roger, again I repeat:
>
> >> You either:
> >>
> >> 1) don't have many customers
> >> 2) don't have much code
> >>
>
> Have you any idea of the amount of work that it would take to create all
of
> the interop DLLs for a large program?
>
> I use control arrays on nearly every form, exactly what good can interop
do
> for me in those cases?
>
> I could go on, but these arguments have been repeated many times.
>
> > This argument from VB6ers about
> > having to convert everything before being able to take advantage of the
> > power of the dotNet platform is just plain idiotic. Maintain existing
code
> > in VB6. Look for opportunities to leverage .Net for new functionality.
> > Instead many VB6ers respond that if they cant have it all .NET then they
> > wont have any of it at all. All the while complaining that Microsoft is
> > abandoning them.
>
> Look Roger, May I suggest that you don't go on about things that you
> obviously don't understand. I have been selling the same program since
1992
> (VB2), and before that I sold the same program in PDS. The only path I
have
> is to make a full conversion of the program to .NET or continue as long as
I
> can in VB6.
>
> >
> > On the one hand you guys say "we cant upgrade because we have too much
> > code". So some one says "hey here's how dotNet can reduce the amount of
> > code
> > you have to write, maintain and deploy", and you guys respond... "we
cant
> > use that because we've got too much code?"
>
> I get the feeling that you don't read the posts you are responding to. Who
> is going to pay for the down time while we do the conversion. Any offers?
>
> Gary
>
> >
> >> Do you have deep enough pockets to pay wages to the employees while the
> >> company brings out no new products and does no repair on the old as all
> >> of
> >> the work force is converting to .net?
> >
> > Again with the conversion argument. How many times does it have to be
said
> > "If you can't justify it then don't"? Its not mandatory.
> > But if your going to bring out new  products in VB6 then you're the
master
> > of your own demise and that's hardly Microsofts' fault.
> >
> > RR
> >
> >
> > "Gary Nelson" <gn@nospam.com> wrote in message
> > news:eIqdlHlzFHA.612@TK2MSFTNGP10.phx.gbl...
> >> RR,
> >>
> >> > VB6 just cant compete with this kind of power "out of the box". Every
> >> > fresh
> >> > line of VB6 code you write is just digging yourself a deeper and
deeper
> >> > hole. For your customers sake just "stop" already.
> >>
> >> You either:
> >>
> >> 1) don't have many customers
> >> 2) don't have much code
> >>
> >> If you have hundreds of thousands of lines of legacy code and thousands
> >> of
> >> customers, what you say is not posible for the following reasons:
> >>
> >> Will customers who are demanding, and in cases have already paid for,
> >> certain funcionality, be willing to wait for a year or two while you
> > upgrade
> >> to VB.Net?
> >>
> >> Do you have deep enough pockets to pay wages to the employees while the
> >> company brings out no new products and does no repair on the old as all
> >> of
> >> the work force is converting to .net?
> >>
> >> Gary
> >>
> >>
> >
> >
>
>
Author
12 Oct 2005 6:47 AM
Gary Nelson
Roger,

> Or maybe (3)  we do but we just handle them better than your company did.
> The world is full of options why restrict the possibilites to just those
> 2.

That would be interesting to see...

>
> I get the feeling that you don't read the posts you are responding to. Who
>> is going to pay for the down time while we do the conversion. Any offers?
>
> Its called cost benefit Gary whereby the benefit of the upgrade outweighs
> the cost of the upgrade. An "investment" if you will. Another way to look
> at
> it is opportunity cost. Who pays for it? You do.

Now you're getting the idea.

> If you cant justify the
> cost then you "dont" upgrade. If there is no ROI then you dont invest. Its
> quite simple.

That is exactly the problem. We can't make the transition to .NET because of
the ROI. It has nothing to do with tecnology and everything to do with
economics.

>> Have you any idea of the amount of work that it would take to create all
> of
>> the interop DLLs for a large program?
>
> Again with this all or nothing argument. I assume you have some kind of
> structure to your exisiting code base. You examine this for opportunities
> where dotNet has some projected value. You then replace this segment of
> your
> code base. Your overly dramatic assertion about having to close the
> doors/get everyone to retrain and rebuild is childish. If thats the
> predicament you find yourself in then blame your architect(s) not
> Microsoft.

By the way, Roger, to avoid going around in circles with useless arguments:
How much code have you actually written in VB6 and in .NET? I have been
programming in VB since version 1991 (version 1) and have been programming
in .NET for the last three years. I have easily got 150,000 lines of code in
VB6 right now, and probably about 30,000 in ASP.NET (VB). The problem is not
knowinig how to do it, Roger, it's the ROI.


> As for the new development/these products your customers are clamouring
for
> / you would use dotNet and interOp where neccessary. Your forms
> issue/controls arrays wouldn't then be a problem because your not
> converting
> anything but adding value from scratch.

????

Have you ever even tried something like you are talking about? Have you
actually got a large project running on interOp?

> If your company's on the bones of its arse and unable to reinvest in
> itself
> then thats a difficult situation but how does that get to be Microsofts
> fault?

Roger, if I treated my custumers the way Microsoft has treated me, making a
mess of their data and making them reintroduce most of it I would soon be
without customers. But then I'm not an 800 lb. Gorilla.

> The writing has been on the wall for a very long time. If your
> company didn;t read it and now find yourself stuck in a quagmire of legacy
> code then thats just poor business planning.

What writing? You obviously have not been in the business very long. Just as
an example, could you show me a cite of where it was announced (long before
..NET) that control arrays would be eliminated from .NET?

Gary
Author
11 Oct 2005 1:06 PM
Ralph
Show quote Hide quote
"Gary Nelson" <gn@nospam.com> wrote in message
news:eIqdlHlzFHA.612@TK2MSFTNGP10.phx.gbl...
> RR,
>
> > VB6 just cant compete with this kind of power "out of the box". Every
> > fresh
> > line of VB6 code you write is just digging yourself a deeper and deeper
> > hole. For your customers sake just "stop" already.
>
> You either:
>
> 1) don't have many customers
> 2) don't have much code
>
> If you have hundreds of thousands of lines of legacy code and thousands of
> customers, what you say is not posible for the following reasons:
>
> Will customers who are demanding, and in cases have already paid for,
> certain funcionality, be willing to wait for a year or two while you
upgrade
> to VB.Net?
>
> Do you have deep enough pockets to pay wages to the employees while the
> company brings out no new products and does no repair on the old as all of
> the work force is converting to .net?
>
> Gary
>

Unfortunately, one who does have:
1) Many customers
2) Much code
.... will have to do something, or otherwise adjust to decreasing sales while
creating an exit plan for closing their doors. The issues are little
different from what whale oil merchants and widget manufacturers have had to
address.

While we can complain that in this case it appears less 'natural' forces at
work than the capricious whim of a corporation, the effect is the same.

I am not surprised at the clumsy bravado of the dotnet adaptors and their
inability to recognize nor appreciate the plight of those with a investment.
How can they?

I am not surprised at the vehemence expressed by those who feel shafted. I
too am annoyed. But I am surprised that there are not more newsgroups, more
discussions, more articles, and more sharing in general of what a
company/developer can do to adjust to the new world order.

All of your questions are quite legitimate. Rather than have your post
blasted as an archaic view. I would like to see some of these dotnetters,
who had/have a VBc investment, and who has made the adjustment, explain how
they did it.

So far, with my limited experience of ~10 companies - very costly, total
immersion, has been the only successful way. Is that true?

-ralph
Author
11 Oct 2005 2:02 PM
Cor Ligthert [MVP]
> ... will have to do something, or otherwise adjust to decreasing sales
> while
> creating an exit plan for closing their doors. The issues are little
> different from what whale oil merchants and widget manufacturers have had
> to
> address.
>

Your part about whale oil let me think on this company

http://www.unilever.com/ourcompany/aboutunilever/history/1910s.asp

They improve the way they create their product all the time, do you think
that soap is made now on the same machine as it was in 1884.

:-)

Cor
Author
12 Oct 2005 7:54 AM
J French
On Tue, 11 Oct 2005 16:02:29 +0200, "Cor Ligthert [MVP]"
<notmyfirstn***@planet.nl> wrote:

<snip>

>Your part about whale oil let me think on this company

>http://www.unilever.com/ourcompany/aboutunilever/history/1910s.asp

>They improve the way they create their product all the time, do you think
>that soap is made now on the same machine as it was in 1884.

Unilever's success is partly due to the dual listing that makes it
less vulnerable to predators
- that in turn allows it to take rational decisions

However, it is currently off loading its frozen food business, and it
is rumoured that its dual listing will be changed
- to me that is writing on the wall

Quite often companies get into trouble when they introduce new
technology or re-gear their business to different markets

There is also 'the Young Turk' cycle, where enthusiastic youngsters
make the same mistakes as their predecessors - because the corporate
memory has got lost.
Author
12 Oct 2005 8:28 AM
Cor Ligthert [MVP]
> Quite often companies get into trouble when they introduce new
> technology or re-gear their business to different markets
>
> There is also 'the Young Turk' cycle, where enthusiastic youngsters
> make the same mistakes as their predecessors - because the corporate
> memory has got lost.
>

Yes completely true, that is in most of the business.

AFAIK has only IBM a strategy with their mainframe OSes to keep it able to
let very old programs run.

However don't ask how much it cost to keep a mainframe up comparing to a
microprocessor computer.

However, that is AFAIK even not the fact at IBM with their development
tools.

The stronger survives, and in those cultures where that was protected in
history, did the stronger survive.

Just my thought,

Cor
Author
12 Oct 2005 9:02 AM
J French
On Wed, 12 Oct 2005 10:28:24 +0200, "Cor Ligthert [MVP]"
<notmyfirstn***@planet.nl> wrote:

Show quoteHide quote
>
>> Quite often companies get into trouble when they introduce new
>> technology or re-gear their business to different markets
>>
>> There is also 'the Young Turk' cycle, where enthusiastic youngsters
>> make the same mistakes as their predecessors - because the corporate
>> memory has got lost.
>>

>Yes completely true, that is in most of the business.

>AFAIK has only IBM a strategy with their mainframe OSes to keep it able to
>let very old programs run.

>However don't ask how much it cost to keep a mainframe up comparing to a
>microprocessor computer.

>However, that is AFAIK even not the fact at IBM with their development
>tools.

>The stronger survives, and in those cultures where that was protected in
>history, did the stronger survive.

Sometimes it is hard to work out what is the 'stronger' without the
benefit of hindsight.

At first a lot of people thought that PCs were a joke ...
Author
11 Oct 2005 12:16 PM
jameshamilton777
Um, I think Roger Rabbit should be called Roger Troll - not sure he
can be serious.

The person appears to be a "techie" computing student with no business
skills.
No-one who worked at a successfull ISV would be using .NET, especially
Beta software.
ISV implies downloading commerical type apps.
They would simply go out of business, no-one would download their
bloated grindware.
Author
11 Oct 2005 12:46 PM
Cor Ligthert [MVP]
James,

> Um, I think Roger Rabbit should be called Roger Troll - not sure he
> can be serious.
>
> The person appears to be a "techie" computing student with no business
> skills.
> No-one who worked at a successfull ISV would be using .NET, especially
> Beta software.
> ISV implies downloading commerical type apps.
> They would simply go out of business, no-one would download their
> bloated grindware.

No one can be as good as you and have your experience, however still they
are allowed to give their opinion in these newsgroups and to be threaten
seriously.

If you think that it is a troll, do us than a favour, don't feed him.

Just my opinion.

Cor
Author
11 Oct 2005 10:10 PM
Roger Rabbit
> Um, I think Roger Rabbit should be called Roger Troll - not sure he
> can be serious.

Why because i happen to disagree with you? Your assertion of trollmanship is
just plain silly and somewhat uninformed. I would suggest the op is more of
a troll than i. Placing an anti dotnet message into a dotNet forum. Or
perhaps yourself for that matter looking at the dribble that constitutes the
rest of your message.

>
> The person appears to be a "techie" computing student with no business
> skills.
> No-one who worked at a successfull ISV would be using .NET, especially
> Beta software.

First of all its only beta for another 4 weeks. Secondly i'd like you to
point out where i said we were had it in production?
We have however investigated it along with another of other things such as
generics/partial classes/etc etc.

Maybe thats the problem with many of the VB6ers posting here. They simply
didn't do their homework back in 98/99. And they still haven;t done it
since. Now they are stuck with yesterdays technology. While the rest of us
are looking at tomorrows technology today.

One part of being a successful ISV is looking at whats over the horizon and
making a game plan before that day arrives. BETA software is not only an
opportunity for Microsoft to get some market reaction to its products but
also for its customers (ISVs) included to plan how and when they intend to
use that next release.

If you dont understand this simple yet endless cycle then perhaps its you
who needs to go back to classroom.

> ISV implies downloading commerical type apps.

ISV alone does not by definition imply downloading anything nor for that
matter does it imply a commercial customer base. Try define:ISV @ Google.

If your going to play silly little games then at least get your facts
straight.

RR
Author
11 Oct 2005 10:17 PM
Rick Rothstein [MVP - Visual Basic]
> Placing an anti dotnet message into a dotNet forum.

Ohhhh! I see the problem (at least for some of us)... I never
noticed this was cross-posted to a .NET and a non-.NET newsgroup.
Most of the opposition you are getting are from those of us in the
non-.NET newsgroup; I presume the strong FOR position responses is
coming from those of you in the .NET group.

Rick
Author
11 Oct 2005 10:54 PM
Kevin Provance
Oy. I didn't catch that either.  I'll be sure to disinclude that group for
any future rantings.  <g>

- Kev



Show quoteHide quote
"Roger Rabbit" <ro***@rabbit.com> wrote in message
news:e6NflCrzFHA.1168@TK2MSFTNGP15.phx.gbl...
>
>> Um, I think Roger Rabbit should be called Roger Troll - not sure he
>> can be serious.
>
> Why because i happen to disagree with you? Your assertion of trollmanship
> is
> just plain silly and somewhat uninformed. I would suggest the op is more
> of
> a troll than i. Placing an anti dotnet message into a dotNet forum. Or
> perhaps yourself for that matter looking at the dribble that constitutes
> the
> rest of your message.
>
>>
>> The person appears to be a "techie" computing student with no business
>> skills.
>> No-one who worked at a successfull ISV would be using .NET, especially
>> Beta software.
>
> First of all its only beta for another 4 weeks. Secondly i'd like you to
> point out where i said we were had it in production?
> We have however investigated it along with another of other things such as
> generics/partial classes/etc etc.
>
> Maybe thats the problem with many of the VB6ers posting here. They simply
> didn't do their homework back in 98/99. And they still haven;t done it
> since. Now they are stuck with yesterdays technology. While the rest of us
> are looking at tomorrows technology today.
>
> One part of being a successful ISV is looking at whats over the horizon
> and
> making a game plan before that day arrives. BETA software is not only an
> opportunity for Microsoft to get some market reaction to its products but
> also for its customers (ISVs) included to plan how and when they intend to
> use that next release.
>
> If you dont understand this simple yet endless cycle then perhaps its you
> who needs to go back to classroom.
>
>> ISV implies downloading commerical type apps.
>
> ISV alone does not by definition imply downloading anything nor for that
> matter does it imply a commercial customer base. Try define:ISV @ Google.
>
> If your going to play silly little games then at least get your facts
> straight.
>
> RR
>
>
Author
11 Oct 2005 11:13 PM
Roger Rabbit
Theres alot of things you dontNetters failed to notice...  not the least of
which was the fact your dev platform was to become obsolete.

:-)

RR

Show quoteHide quote
"Kevin Provance" <ca***@tpasoft.com> wrote in message
news:%23qlJqarzFHA.736@tk2msftngp13.phx.gbl...
> Oy. I didn't catch that either.  I'll be sure to disinclude that group for
> any future rantings.  <g>
>
> - Kev
>
>
>
> "Roger Rabbit" <ro***@rabbit.com> wrote in message
> news:e6NflCrzFHA.1168@TK2MSFTNGP15.phx.gbl...
> >
> >> Um, I think Roger Rabbit should be called Roger Troll - not sure henot
the least
> >> can be serious.
> >
> > Why because i happen to disagree with you? Your assertion of
trollmanship
> > is
> > just plain silly and somewhat uninformed. I would suggest the op is more
> > of
> > a troll than i. Placing an anti dotnet message into a dotNet forum. Or
> > perhaps yourself for that matter looking at the dribble that constitutes
> > the
> > rest of your message.
> >
> >>
> >> The person appears to be a "techie" computing student with no business
> >> skills.
> >> No-one who worked at a successfull ISV would be using .NET, especially
> >> Beta software.
> >
> > First of all its only beta for another 4 weeks. Secondly i'd like you to
> > point out where i said we were had it in production?
> > We have however investigated it along with another of other things such
as
> > generics/partial classes/etc etc.
> >
> > Maybe thats the problem with many of the VB6ers posting here. They
simply
> > didn't do their homework back in 98/99. And they still haven;t done it
> > since. Now they are stuck with yesterdays technology. While the rest of
us
> > are looking at tomorrows technology today.
> >
> > One part of being a successful ISV is looking at whats over the horizon
> > and
> > making a game plan before that day arrives. BETA software is not only an
> > opportunity for Microsoft to get some market reaction to its products
but
> > also for its customers (ISVs) included to plan how and when they intend
to
> > use that next release.
> >
> > If you dont understand this simple yet endless cycle then perhaps its
you
> > who needs to go back to classroom.
> >
> >> ISV implies downloading commerical type apps.
> >
> > ISV alone does not by definition imply downloading anything nor for that
> > matter does it imply a commercial customer base. Try define:ISV @
Google.
> >
> > If your going to play silly little games then at least get your facts
> > straight.
> >
> > RR
> >
> >
>
>
Author
11 Oct 2005 11:56 PM
Kevin Provance
>> Theres alot of things you dontNetters failed to notice...  not the least
>> of
which was the fact your dev platform was to become obsolete. <<

On the contrary, I believe many of us, me included saw what was coming...and
how bad it was.  It only made us do what do do better.

:-)

- Kev (campaigning for the dontNetter presidency)
Author
12 Oct 2005 7:22 PM
Abubakar
As RR said,, its about exploring and getting ready for tomorrow's technology
today. We dont run away from new stuff.

Ab.
http://joehacker.blogspot.com

<jameshamilton***@hotmail.com> wrote in message
Show quoteHide quote
news:1129032993.833632.41320@o13g2000cwo.googlegroups.com...
> Um, I think Roger Rabbit should be called Roger Troll - not sure he
> can be serious.
>
> The person appears to be a "techie" computing student with no business
> skills.
> No-one who worked at a successfull ISV would be using .NET, especially
> Beta software.
> ISV implies downloading commerical type apps.
> They would simply go out of business, no-one would download their
> bloated grindware.
>
Author
11 Oct 2005 11:02 PM
Karl E. Peterson
Roger Rabbit wrote:
>> But then again you could do it this way:
>
> The point is with dotNet "I" dont have to do anything.

Kids today... <sheesh!>  ;-)
--
Working Without a .NET?
http://classicvb.org/petition
Author
11 Oct 2005 11:44 PM
Kevin Provance
C'mon now Karl, be fair.  Not all of us "kids" are lazy tree sloths waiting
to be handed our program code on a silver framework.  <g>

- Kev


Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:e%23kSsfrzFHA.2348@TK2MSFTNGP15.phx.gbl...
> Roger Rabbit wrote:
>>> But then again you could do it this way:
>>
>> The point is with dotNet "I" dont have to do anything.
>
> Kids today... <sheesh!>  ;-)
> --
> Working Without a .NET?
> http://classicvb.org/petition
>
>
Author
12 Oct 2005 1:11 AM
Roger Rabbit
Theres nothing lazy about avoiding redundancy. If you enjoy reinventing the
wheel then fair enough but some us prefer to build bikes.

RR

Show quoteHide quote
"Kevin Provance" <ca***@tpasoft.com> wrote in message
news:OMc0o2rzFHA.3380@TK2MSFTNGP10.phx.gbl...
> C'mon now Karl, be fair.  Not all of us "kids" are lazy tree sloths
waiting
> to be handed our program code on a silver framework.  <g>
>
> - Kev
>
>
> "Karl E. Peterson" <k***@mvps.org> wrote in message
> news:e%23kSsfrzFHA.2348@TK2MSFTNGP15.phx.gbl...
> > Roger Rabbit wrote:
> >>> But then again you could do it this way:
> >>
> >> The point is with dotNet "I" dont have to do anything.
> >
> > Kids today... <sheesh!>  ;-)
> > --
> > Working Without a .NET?
> > http://classicvb.org/petition
> >
> >
>
>
Author
12 Oct 2005 7:57 AM
J French
On Wed, 12 Oct 2005 14:11:44 +1300, "Roger Rabbit" <ro***@rabbit.com>
wrote:

>Theres nothing lazy about avoiding redundancy. If you enjoy reinventing the
>wheel then fair enough but some us prefer to build bikes.

Yeah - build bikes out of Lego
Author
12 Oct 2005 2:44 PM
Ken Halter
"Roger Rabbit" <ro***@rabbit.com> wrote in message
news:uMZIpnszFHA.3408@TK2MSFTNGP09.phx.gbl...
> Theres nothing lazy about avoiding redundancy. If you enjoy reinventing
> the
> wheel then fair enough but some us prefer to build bikes.
>
> RR

You mean 'redundancy' as in having to rewrite code just because a new toy
was released? There's no re-inventing a wheel that doesn't need to be
changed in the first place, eh?

Your "build bikes" statement directly conflicts with your "with dotNet 'I'
dont have to do anything" statement.

I do agree with you on one thing though.... the guy that started this thread
and crossposted to VB/B# groups in hopes of starting a thread like this, is
a troll.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
11 Oct 2005 8:00 AM
J French
Show quote Hide quote
On Tue, 11 Oct 2005 18:25:56 +1300, "Roger Rabbit" <ro***@rabbit.com>
wrote:

>Well if you seriously prefer wading through this:
>
>Dim FileNum As Long
>Dim Contents As String
>FileNum = FreeFile
>Open "c:\mytextfile.txt" For Binary As #FileNum
>  Contents = Space(LOF(FileNum))
>  Get #FileNum, , Contents
>Close #FileNum
>
>as opposed to this:
>
>Dim contents as string =
>My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")

>then we're never going to agree.

But nobody is going to wade through that, they write it once and
re-use it all the time

    S$ = FileStr( "c:\mytextfile.txt" )
Author
11 Oct 2005 7:11 AM
Cor Ligthert [MVP]
Kevin,


> Besides, I think the VB Classic MVP's have it right...by the time I
> tortured myself into learning all that new syntax, M$ will replace .NET
> with something else that will break my code yet a second time.  I have
> better things to do than to re-learn everything I've ever known because M$
> thinks that's what it is our best interest.

I agree this with you. (I am surely not from the classic camp). Maybe should
Microsoft have given VBNet another name? Something as V# and let VB die
after its normal supported time and had given tools to convert it to V#. As
they did now to VBNet (although they call it now upgrading).

They did this with C++ and came with C#, (although without the converting
tools).

They did this not with VB, maybe for marketing reasons maybe because of
nostalgia. (Basic is very much related to Microsoft from the first start).
However that they have kept it as VB is history and as I wrote somewhere
else in this thread, you cannot change history.

Before you tell it, that they go on with C++ . That is in my opinion
reasonable. Because there is needed a language for more to the machine side
development, so that is for me a straight reason to keep that alive.

I hope therefore that they will keep the language more cleanly and only
'add' instead of changing all the time, however I am afraid they do not.

One of the points that show this for me is that they have kept in the new
versions the 'Integer' 32bits and did not make it according to the register
size. This will mean again big changes in future when everybody is forgotten
this, while all things to do was already done when there was the step from
16bits to 32bits. Probably most will have called the fixed size needed 32Bit
value now 'Int32'.

Just my opinion.

Cor
Author
11 Oct 2005 3:39 PM
Ken Halter
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:ONYHuMjzFHA.1256@TK2MSFTNGP09.phx.gbl...
>
> I agree this with you. (I am surely not from the classic camp). Maybe
> should Microsoft have given VBNet another name? Something as V# and let VB
> die after its normal supported time and had given tools to convert it to
> V#. As they did now to VBNet (although they call it now upgrading).
>

That would've been perfect. New language, new name. Period. B# would've been
perfect. No put down, no bull. Just a new name for a new language.

.....and that snip that reads files that people are having a hard time
"wading" through works fine in >all< versions of VB and most versions of DOS
Basic. In other words, the snip may've been written in the 1980's and still
work perfectly fine now.

All this talk about "just use your VB6 code as is and interop with .Net"....
Suppose people buy into that. Now, what good is your "managed" B# code? As
soon as you hook up an external "unmanaged" library, the entire app becomes
"unmanaged".... or, is "partially secure" fine for most? Similar to your
bank placing a 3 foot thick steel door on one side of the vault and a rusty
screen door on the other. That entire vault is "unmanaged"

Bottom line: If you have an urge to write code using the latest MS
technology but you're constantly relying on VB5/6 to get you out of hot
water, what good is this new technology? It's more productive? I still
haven't seen proof of that. Every piece of .Net code I've seen that does
anything "real" takes reams of extra typing... over and beyond VB6
requirements.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
11 Oct 2005 3:50 PM
Saga
Interesting point.

Perhaps Interoping is a quick way to get into .NET, but it seems
to me that it like walking in the middle of the road. I would prefer
to either do .NET or VB6, but not a mix of the two, unless the
points that you express are irrelevant for that case. :-)

Saga

Show quoteHide quote
"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
news:%23zpi7nnzFHA.3836@TK2MSFTNGP10.phx.gbl...
> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
> news:ONYHuMjzFHA.1256@TK2MSFTNGP09.phx.gbl...
>>
>> I agree this with you. (I am surely not from the classic camp). Maybe
>> should Microsoft have given VBNet another name? Something as V# and
>> let VB die after its normal supported time and had given tools to
>> convert it to V#. As they did now to VBNet (although they call it now
>> upgrading).
>>
>
> That would've been perfect. New language, new name. Period. B#
> would've been perfect. No put down, no bull. Just a new name for a new
> language.
>
> ....and that snip that reads files that people are having a hard time
> "wading" through works fine in >all< versions of VB and most versions
> of DOS Basic. In other words, the snip may've been written in the
> 1980's and still work perfectly fine now.
>
> All this talk about "just use your VB6 code as is and interop with
> .Net".... Suppose people buy into that. Now, what good is your
> "managed" B# code? As soon as you hook up an external "unmanaged"
> library, the entire app becomes "unmanaged".... or, is "partially
> secure" fine for most? Similar to your bank placing a 3 foot thick
> steel door on one side of the vault and a rusty screen door on the
> other. That entire vault is "unmanaged"
>
> Bottom line: If you have an urge to write code using the latest MS
> technology but you're constantly relying on VB5/6 to get you out of
> hot water, what good is this new technology? It's more productive? I
> still haven't seen proof of that. Every piece of .Net code I've seen
> that does anything "real" takes reams of extra typing... over and
> beyond VB6 requirements.
>
> --
> Ken Halter - MS-MVP-VB - http://www.vbsight.com
> DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
> Please keep all discussions in the groups..
>
Author
11 Oct 2005 9:11 PM
Kevin Provance
Well, I admit to not knowing .NET as well as I know VB/COM, but let me
propose this anyway:  Why throw away COM and VB6 as we know it for .NET?
The argument seems to be that the .NET runtimes are more powerful than the
VB 6 runtimes...but all in all the runtimes are just wrapping functions to
make out lives easier.  So why then couldn't MS improve upon the VB COM
runtimes to do what .NET does now?  Why was it necessary to dump VB and
create an entirely new lanaguge and stamp the VB name on it?  I've heard the
"less DLL Hell" excuse, but I don't see that, between .NET 1.0, 1.1, 2.0,
etc.  MS didn't solve DLL Hell with .NET, it merely recreated it using a
different framework.

It seems to me (and if I am wrong, please tell mw why) that a VB 7 with an
improved MSVBVM7.DLL to add the so called niceties of .NET instead.  Those
looking for more power could have gotten it, and those of us who don't want
to throw away our legacy code would by happy (more or less?).

..NET seems to reply on a lot of faith that developers are willing to learn a
new langauge, put up with bloated outputs and runtimes and also assumes that
our average Joe end user has the system requirements to handle such a beast.
You'd be surprised how many people are still on Win 9x which is one reason
alone I have not gone completely UNICODE in my usage of APIs.  MS can say
they don't support Win 95, and soon 98, but a mass amount of people still
use them regardless and don't seem apt to change.  They are comfortable with
what they have because it works for them and their simpler needs.
Developers, especially those in my field need to cater to their end users to
stay in business, and that means continued support for older operating
system, and system that don't have the requirements needs for .NET created
programs.  So for me, it would not be to my advantage to move .NET.  I would
lose customers, I would lsoe sales, and then I would have to work for
someone else again, which is not somethig I want to do right yet.

MS put a lot of us in that boat, and I think I can safelt say that many of
us don't want to invest into .NET because if MS screw us a second
time...then Delphi may start looking a lot more appealing.  If I have to
learn a new langauge, it will be for keeps, and I don't trust MS enough to
make that kind of commitment based on the way they hosed us VB 6 developers.

So, there it is.  ;-)

- Kev


Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:ONYHuMjzFHA.1256@TK2MSFTNGP09.phx.gbl...
> Kevin,
>
>
>> Besides, I think the VB Classic MVP's have it right...by the time I
>> tortured myself into learning all that new syntax, M$ will replace .NET
>> with something else that will break my code yet a second time.  I have
>> better things to do than to re-learn everything I've ever known because
>> M$ thinks that's what it is our best interest.
>
> I agree this with you. (I am surely not from the classic camp). Maybe
> should Microsoft have given VBNet another name? Something as V# and let VB
> die after its normal supported time and had given tools to convert it to
> V#. As they did now to VBNet (although they call it now upgrading).
>
> They did this with C++ and came with C#, (although without the converting
> tools).
>
> They did this not with VB, maybe for marketing reasons maybe because of
> nostalgia. (Basic is very much related to Microsoft from the first start).
> However that they have kept it as VB is history and as I wrote somewhere
> else in this thread, you cannot change history.
>
> Before you tell it, that they go on with C++ . That is in my opinion
> reasonable. Because there is needed a language for more to the machine
> side development, so that is for me a straight reason to keep that alive.
>
> I hope therefore that they will keep the language more cleanly and only
> 'add' instead of changing all the time, however I am afraid they do not.
>
> One of the points that show this for me is that they have kept in the new
> versions the 'Integer' 32bits and did not make it according to the
> register size. This will mean again big changes in future when everybody
> is forgotten this, while all things to do was already done when there was
> the step from 16bits to 32bits. Probably most will have called the fixed
> size needed 32Bit value now 'Int32'.
>
> Just my opinion.
>
> Cor
>
Author
12 Oct 2005 8:12 AM
Cor Ligthert [MVP]
Kevin,

Most of your text (I readed it completely) is in my opinion because as you
wrote not know well .Net

> They are comfortable with what they have because it works for them and
> their simpler needs.

This text I have seen more in history, it was never true that they did not
take the step, it is a push for the lazy ones.

However, the ammount of money involved with this is for almost not any
Western (including countries as China etc) business a problem. They are
often happy that they have a reason to take the step.

Just my thought,

Cor
Author
12 Oct 2005 9:06 AM
J French
On Wed, 12 Oct 2005 10:12:25 +0200, "Cor Ligthert [MVP]"
<notmyfirstn***@planet.nl> wrote:

Show quoteHide quote
>Kevin,
>
>Most of your text (I readed it completely) is in my opinion because as you
>wrote not know well .Net

>> They are comfortable with what they have because it works for them and
>> their simpler needs.

>This text I have seen more in history, it was never true that they did not
>take the step, it is a push for the lazy ones.

>However, the ammount of money involved with this is for almost not any
>Western (including countries as China etc) business a problem. They are
>often happy that they have a reason to take the step.

Very often companies buy into the 'cutting edge' stuff without knowing
what they are letting themselves in for.
Author
11 Oct 2005 11:18 PM
Karl E. Peterson
Hi Cor --

> I hope therefore that they will keep the language more cleanly and
> only 'add' instead of changing all the time, however I am afraid they
> do not.
>
> One of the points that show this for me is that they have kept in the
> new versions the 'Integer' 32bits and did not make it according to
> the register size. This will mean again big changes in future when
> everybody is forgotten this, while all things to do was already done
> when there was the step from 16bits to 32bits. Probably most will
> have called the fixed size needed 32Bit value now 'Int32'.

That's just a critical point, here, and needs to be highlighted.  The MSBasic Integer
datatype was 16-bits from the CP/M days of 8-bit CPUs to the Win32 VB6 -- a full
quarter century covering the most explosive growth ever in the industry.  Redefining
this fundamental datatype was akin to sacrilege.  Something a langauge vendor simply
should *never* do!  Microsoft supposedly understood this with the redefinition of
String at VB4, but here they are at it again.

Yes, I fully agree with you.  I suspect it won't be that many years until Integer has
come to find itself being 64-bits long.  "Need a new type of data?  Create a new
datatype!"  What's so difficult to understand about that?  Why weren't Int16, Int32,
and Int64 sufficient for those worried about insuring the most performant code?

The trust is gone.

Thanks...   Karl
--
Working Without a .NET?
http://classicvb.org/petition
Author
12 Oct 2005 3:29 AM
Ralph
Show quote Hide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:ucXgeorzFHA.3312@TK2MSFTNGP09.phx.gbl...
> Hi Cor --
>
> > I hope therefore that they will keep the language more cleanly and
> > only 'add' instead of changing all the time, however I am afraid they
> > do not.
> >
> > One of the points that show this for me is that they have kept in the
> > new versions the 'Integer' 32bits and did not make it according to
> > the register size. This will mean again big changes in future when
> > everybody is forgotten this, while all things to do was already done
> > when there was the step from 16bits to 32bits. Probably most will
> > have called the fixed size needed 32Bit value now 'Int32'.
>
> That's just a critical point, here, and needs to be highlighted.  The
MSBasic Integer
> datatype was 16-bits from the CP/M days of 8-bit CPUs to the Win32 VB6 --
a full
> quarter century covering the most explosive growth ever in the industry.
Redefining
> this fundamental datatype was akin to sacrilege.  Something a langauge
vendor simply
> should *never* do!  Microsoft supposedly understood this with the
redefinition of
> String at VB4, but here they are at it again.
>
> Yes, I fully agree with you.  I suspect it won't be that many years until
Integer has
> come to find itself being 64-bits long.  "Need a new type of data?  Create
a new
> datatype!"  What's so difficult to understand about that?  Why weren't
Int16, Int32,
> and Int64 sufficient for those worried about insuring the most performant
code?
>
> The trust is gone.
>
> Thanks...   Karl
> --
> Working Without a .NET?
> http://classicvb.org/petition
>

The 'int' was defined in C as reflecting the natural size of integers on the
host machine. It was designed to be essentially 'sizeless' so that code
would be portable yet optimized. This was very important when working with
APIs. As almost all OSs were written with C the practice spread. (ASM has
its own 'integral' datatype, which also varies.)

When size mattered other datatypes were available - short, long, long long,
.... C programmers know you take the size of an int for granted at your
peril.

VB's 'Integer' was a specifically sized creature. In hindsight MS would have
been better off to have allowed it to 'grow' with the platform when VB4 came
along. They didn't. So I for one don't see that as a particular problem that
it has changed size in .Net. VBers should never have been dependent on the
size of the thing anyway, but VBers aren't C programmers, and were never
taught otherwise.

[As an aside: you forgot a couple, the __int36 on Honeywells, and the
__int24 on TechDatas. <g>]

-ralph
Author
12 Oct 2005 7:03 AM
Gary Nelson
Ralph,

> VB's 'Integer' was a specifically sized creature. In hindsight MS would
> have
> been better off to have allowed it to 'grow' with the platform when VB4
> came
> along. They didn't. So I for one don't see that as a particular problem
> that
> it has changed size in .Net. VBers should never have been dependent on the
> size of the thing anyway, but VBers aren't C programmers, and were never
> taught otherwise.

Suppose you want to read a 16 bit integer value from a binary file, how do
you do that without depending on the size of the integer?

Gary
Author
12 Oct 2005 9:15 AM
J French
Show quote Hide quote
On Wed, 12 Oct 2005 08:03:47 +0100, "Gary Nelson" <gn@nospam.com>
wrote:

>Ralph,
>
>> VB's 'Integer' was a specifically sized creature. In hindsight MS would
>> have
>> been better off to have allowed it to 'grow' with the platform when VB4
>> came
>> along. They didn't. So I for one don't see that as a particular problem
>> that
>> it has changed size in .Net. VBers should never have been dependent on the
>> size of the thing anyway, but VBers aren't C programmers, and were never
>> taught otherwise.

>Suppose you want to read a 16 bit integer value from a binary file, how do
>you do that without depending on the size of the integer?

Although what Ralph said about 'Integers' is true in theory, in
practice C programmers know all about the size of their 'Integers'

True portability is a myth, unless one rigorously sticks to ANSI
standards.

Redefining the Integer was no big deal for C programmers as unlike VB
thay have a whole slew of variables
Author
12 Oct 2005 2:26 PM
Ralph
Show quote Hide quote
"J French" <erew***@nowhere.uk> wrote in message
news:434cd298.351265359@news.btopenworld.com...
> On Wed, 12 Oct 2005 08:03:47 +0100, "Gary Nelson" <gn@nospam.com>
> wrote:
>
> >Ralph,
> >
> >> VB's 'Integer' was a specifically sized creature. In hindsight MS would
> >> have
> >> been better off to have allowed it to 'grow' with the platform when VB4
> >> came
> >> along. They didn't. So I for one don't see that as a particular problem
> >> that
> >> it has changed size in .Net. VBers should never have been dependent on
the
> >> size of the thing anyway, but VBers aren't C programmers, and were
never
> >> taught otherwise.
>
> >Suppose you want to read a 16 bit integer value from a binary file, how
do
> >you do that without depending on the size of the integer?
>
> Although what Ralph said about 'Integers' is true in theory, in
> practice C programmers know all about the size of their 'Integers'
>
> True portability is a myth, unless one rigorously sticks to ANSI
> standards.
>
> Redefining the Integer was no big deal for C programmers as unlike VB
> thay have a whole slew of variables
>

Just to nitpick - it isn't a matter of theory, it is a practical adaptation
to hardware variations. And the "int" is never 'redefined', but a slew of
specific types with defined sizes are created and are availble. [int is an
ANSI standard]

But Karl does have a point - the "Integer" in VBc is not an "int" it is a
16-bit signed thingy. Had they allowed the Integer to 'float' with VB4, they
would have had to add a new data type. MS chose not to, so they stuck with
keeping an Integer a 'short'. With a 64-bit 'intergral data type' on the
horizon, they would have had to do something, anyway, had VBc stayed in
existence.

To be fair to Karl, and to maintain true VBness, the "Integer" should
probably have remained 16-bit. A Long 32-bit, and they could have come up
with something new for a 64-bit thingy. Perhaps a 'Fred'. <g>

-ralph
Author
12 Oct 2005 3:53 PM
Cor Ligthert [MVP]
Ralph,

>
>To be fair to Karl, and to maintain true VBness, the "Integer" should
>probably have remained 16-bit. A Long 32-bit, and they could have come up
>with something new for a 64-bit thingy. Perhaps a 'Fred'. <g>

It is already written in this newsgroup however you missed it probably,  and
with that what you write not using the performance of the newer computer
untill you change all your 'int' in 'Fred'

Cor
Author
12 Oct 2005 5:02 PM
Ralph
Show quote Hide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:uUZZ2U0zFHA.1252@TK2MSFTNGP09.phx.gbl...
> Ralph,
>
> >
> >To be fair to Karl, and to maintain true VBness, the "Integer" should
> >probably have remained 16-bit. A Long 32-bit, and they could have come up
> >with something new for a 64-bit thingy. Perhaps a 'Fred'. <g>
>
> It is already written in this newsgroup however you missed it probably,
and
> with that what you write not using the performance of the newer computer
> untill you change all your 'int' in 'Fred'
>
> Cor
>

True, and there in lies the delima - VB never had an 'int' (A 'named'
datatype who's size could change.). But changing 'types' has always been an
issue in VB - look at all the advice to use a 'Long' and not an 'Integer'.

I didn't miss anything, I am just pointing out that this is not a dotnet
issue - it is nothing new. People get confused because they think VB's
'Integer' is an 'int'. It isn't and never was. It's size matched-up once
upon a time, but it was never an 'int'.

It was an issue that was long due.

-ralph
Author
12 Oct 2005 10:29 PM
Karl E. Peterson
Ralph wrote:
> But Karl does have a point - the "Integer" in VBc is not an "int" it
> is a 16-bit signed thingy. Had they allowed the Integer to 'float'
> with VB4, they would have had to add a new data type. MS chose not
> to, so they stuck with keeping an Integer a 'short'. With a 64-bit
> 'intergral data type' on the horizon, they would have had to do
> something, anyway, had VBc stayed in existence.
>
> To be fair to Karl, and to maintain true VBness, the "Integer" should
> probably have remained 16-bit. A Long 32-bit, and they could have
> come up with something new for a 64-bit thingy. Perhaps a 'Fred'. <g>

YES!  Someone understands!!!  :-D
--
Working Without a .NET?
http://classicvb.org/petition
Author
13 Oct 2005 7:15 AM
J French
On Wed, 12 Oct 2005 09:26:52 -0500, "Ralph"
<nt_consultin***@yahoo.com> wrote:

<snip>

Show quoteHide quote
>> Although what Ralph said about 'Integers' is true in theory, in
>> practice C programmers know all about the size of their 'Integers'
>>
>> True portability is a myth, unless one rigorously sticks to ANSI
>> standards.
>>
>> Redefining the Integer was no big deal for C programmers as unlike VB
>> thay have a whole slew of variables


>Just to nitpick - it isn't a matter of theory, it is a practical adaptation
>to hardware variations. And the "int" is never 'redefined', but a slew of
>specific types with defined sizes are created and are availble. [int is an
>ANSI standard]

I wonder whether C will move to a 64 bit definition of Integer
- somehow I rather suspect not

>But Karl does have a point - the "Integer" in VBc is not an "int" it is a
>16-bit signed thingy. Had they allowed the Integer to 'float' with VB4, they
>would have had to add a new data type. MS chose not to, so they stuck with
>keeping an Integer a 'short'. With a 64-bit 'intergral data type' on the
>horizon, they would have had to do something, anyway, had VBc stayed in
>existence.

Well the VB Long was ... long established so they did not really need
to change the VB definition of Integer

>To be fair to Karl, and to maintain true VBness, the "Integer" should
>probably have remained 16-bit. A Long 32-bit, and they could have come up
>with something new for a 64-bit thingy. Perhaps a 'Fred'. <g>

Totally agreed - a Long64 would be a useful addition to VB

Part of the reason why B# moved to a 32 bit Integer was probably
because the designer Anders Hejlsberg had already forced a similar
conversion in the move from Delphi1 to Delphi2

In that case it was no big deal as the benefits from upgrading from 16
to 32 bit were irresistable

Another reason was, I guess to keep things in line with C#

Personally I see no great problem in a variables type name differing
between languages ...
Author
13 Oct 2005 12:15 PM
Ralph
Show quote Hide quote
"J French" <erew***@nowhere.uk> wrote in message
news:434e05c2.429911243@news.btopenworld.com...
> On Wed, 12 Oct 2005 09:26:52 -0500, "Ralph"
> <nt_consultin***@yahoo.com> wrote:
>
> <snip>
>
> >> Although what Ralph said about 'Integers' is true in theory, in
> >> practice C programmers know all about the size of their 'Integers'
> >>
> >> True portability is a myth, unless one rigorously sticks to ANSI
> >> standards.
> >>
> >> Redefining the Integer was no big deal for C programmers as unlike VB
> >> thay have a whole slew of variables
>
>
> >Just to nitpick - it isn't a matter of theory, it is a practical
adaptation
> >to hardware variations. And the "int" is never 'redefined', but a slew of
> >specific types with defined sizes are created and are availble. [int is
an
> >ANSI standard]
>
> I wonder whether C will move to a 64 bit definition of Integer
> - somehow I rather suspect not
>
> >But Karl does have a point - the "Integer" in VBc is not an "int" it is a
> >16-bit signed thingy. Had they allowed the Integer to 'float' with VB4,
they
> >would have had to add a new data type. MS chose not to, so they stuck
with
> >keeping an Integer a 'short'. With a 64-bit 'intergral data type' on the
> >horizon, they would have had to do something, anyway, had VBc stayed in
> >existence.
>
> Well the VB Long was ... long established so they did not really need
> to change the VB definition of Integer
>
> >To be fair to Karl, and to maintain true VBness, the "Integer" should
> >probably have remained 16-bit. A Long 32-bit, and they could have come up
> >with something new for a 64-bit thingy. Perhaps a 'Fred'. <g>
>
> Totally agreed - a Long64 would be a useful addition to VB
>
> Part of the reason why B# moved to a 32 bit Integer was probably
> because the designer Anders Hejlsberg had already forced a similar
> conversion in the move from Delphi1 to Delphi2
>
> In that case it was no big deal as the benefits from upgrading from 16
> to 32 bit were irresistable
>
> Another reason was, I guess to keep things in line with C#
>
> Personally I see no great problem in a variables type name differing
> between languages ...
>

Delphi had no impact. Hejlsberg was only dealing with the same issue that
face all languages once the 'native interger type' changes sizes. Of course
the difference is, he dealt with it.

With any C/C++ compiler there is a header (stddef.h usually) that contains
something to the effect...
#ifdef _WIN64
    typedef  int _int64
....
So yes C will change the value of int, depending on what it is compiled
against, it always has and always will. It is built into the language so to
speak.

While if VB would have addressed the issue long ago with a "SysInt" (a la
Karl) there would be not have been a problem.

So you prefer "Long64" over a "Fred"?

-ralph
Author
13 Oct 2005 2:25 PM
J French
On Thu, 13 Oct 2005 07:15:58 -0500, "Ralph"
<nt_consultin***@yahoo.com> wrote:

<snip>

>So you prefer "Long64" over a "Fred"?

Int64 is pragmatic, QWORD is also nice
- they would have been useful in an extended VB6

Also the tit-heads could have released a mega DLL that was self
checking and acted as a 'slice'

My view is that MS have been taken over by a bunch of tossers
Author
13 Oct 2005 3:49 PM
Ralph
Show quote Hide quote
"J French" <erew***@nowhere.uk> wrote in message
news:434e6b5a.8199353@news.btopenworld.com...
> On Thu, 13 Oct 2005 07:15:58 -0500, "Ralph"
> <nt_consultin***@yahoo.com> wrote:
>
> <snip>
>
> >So you prefer "Long64" over a "Fred"?
>
> Int64 is pragmatic, QWORD is also nice
> - they would have been useful in an extended VB6
>
> Also the tit-heads could have released a mega DLL that was self
> checking and acted as a 'slice'
>
> My view is that MS have been taken over by a bunch of tossers

"Tossers" - meaning the Irish music group loaded with attitude and alcohol?
Or as "a stupid or unpleasant person"?

Both seem to fit. However, based on episodes from my own past, I can some
what forgive the former.

-ralph
Author
13 Oct 2005 4:55 PM
Gary Nelson
> Personally I see no great problem in a variables type name differing
> between languages ...


The problem comes up when you are trying to maintain similar code in both,
in particular if you read and write data in a binary file. It is very easy
to make a mess of things.

Gary
Author
13 Oct 2005 7:31 PM
Ralph
Show quote Hide quote
"Gary Nelson" <gn@nospam.com> wrote in message
news:O5m0pbB0FHA.2072@TK2MSFTNGP14.phx.gbl...
>
> > Personally I see no great problem in a variables type name differing
> > between languages ...
>
>
> The problem comes up when you are trying to maintain similar code in
> both,  in particular if you read and write data in a binary file. It is
very
> easy to make a mess of things.
>
> Gary
>

I have to agree with you there.

If the French, for example, didn't foolishly create a different word for
everything, communication would be a lot easier with them.

As it is now one has to do a lot of hand waving and speak in a loud voice.
It is very easy to make a mess things, if one isn't careful.

-ralph
Author
12 Oct 2005 2:27 PM
Ralph
Show quote Hide quote
"Gary Nelson" <gn@nospam.com> wrote in message
news:uEU0YsvzFHA.3188@TK2MSFTNGP14.phx.gbl...
> Ralph,
>
> > VB's 'Integer' was a specifically sized creature. In hindsight MS would
> > have
> > been better off to have allowed it to 'grow' with the platform when VB4
> > came
> > along. They didn't. So I for one don't see that as a particular problem
> > that
> > it has changed size in .Net. VBers should never have been dependent on
the
> > size of the thing anyway, but VBers aren't C programmers, and were never
> > taught otherwise.
>
> Suppose you want to read a 16 bit integer value from a binary file, how do
> you do that without depending on the size of the integer?
>
> Gary
>

I would probably use a WORD. Then I could extract LOBYTE and HIBYTE as
needed. <g>

"typedef unsigned short      WORD;"

Oh, you mean in VB! <g> Then you have a rather limited choice - which was my
point.

-ralph
Author
12 Oct 2005 9:14 PM
Gary Nelson
Ralph,

I was refering to what you said:

>> > VBers should never have been dependent on the
>> > size of the thing anyway, but VBers aren't C programmers, and were
>> > never
>> > taught otherwise.

How can you not be dependent on the size of the thing if you are reading
from a binary file? Even if you had been taught otherwise.

Gary
Author
13 Oct 2005 3:53 AM
Ralph
Show quote Hide quote
"Gary Nelson" <gn@nospam.com> wrote in message
news:ejZkoH3zFHA.3312@TK2MSFTNGP09.phx.gbl...
> Ralph,
>
> I was refering to what you said:
>
> >> > VBers should never have been dependent on the
> >> > size of the thing anyway, but VBers aren't C programmers, and were
> >> > never
> >> > taught otherwise.
>
> How can you not be dependent on the size of the thing if you are reading
> from a binary file? Even if you had been taught otherwise.
>
> Gary
>

You are absolutely correct. I was mentally wandering and expressed myself
poorly.  I was only trying to say - that the whole mess could have be
avoided if VB had adopted a "Int" - a creature that was the 'optimal'
integer type when size didn't matter and had specifically sized things when
it did, eg your binary file.

I don't think many VBers ever fully appreciated what that meant - they only
had very specifically size data types.

My apologies.

-ralph
Author
12 Oct 2005 10:27 PM
Karl E. Peterson
Ralph wrote:
Show quoteHide quote
> "Karl E. Peterson" <k***@mvps.org> wrote ...
>> Hi Cor --
>>
>>> I hope therefore that they will keep the language more cleanly and
>>> only 'add' instead of changing all the time, however I am afraid
>>> they do not.
>>>
>>> One of the points that show this for me is that they have kept in
>>> the new versions the 'Integer' 32bits and did not make it according
>>> to the register size. This will mean again big changes in future
>>> when everybody is forgotten this, while all things to do was
>>> already done when there was the step from 16bits to 32bits.
>>> Probably most will have called the fixed size needed 32Bit value
>>> now 'Int32'.
>>
>> That's just a critical point, here, and needs to be highlighted.
>> The MSBasic Integer datatype was 16-bits from the CP/M days of 8-bit
>> CPUs to the Win32 VB6 -- a full quarter century covering the most
>> explosive growth ever in the industry. Redefining this fundamental
>> datatype was akin to sacrilege.  Something a langauge vendor simply
>> should *never* do!  Microsoft supposedly understood this with the
>> redefinition of String at VB4, but here they are at it again.
>>
>> Yes, I fully agree with you.  I suspect it won't be that many years
>> until Integer has come to find itself being 64-bits long.  "Need a
>> new type of data?  Create a new datatype!"  What's so difficult to
>> understand about that?  Why weren't Int16, Int32, and Int64
>> sufficient for those worried about insuring the most performant
>> code?
>
> The 'int' was defined in C as reflecting the natural size of integers
> on the host machine. It was designed to be essentially 'sizeless' so
> that code would be portable yet optimized.

I am _well_ aware of that historical difference between languages.  MSBasic had a
fixed-size Integer, unlike some others.

  "If you need a different type of data, create a new datatype!"

We suggested they restore the original definition of the keywords, but they balked.
The ideal solution would've been to introduce new names for fixed sizes, and
something like SysInt for platform sized variables.  That simple concession would've
done a _lot_ to show that they understood the issue of gratuitous incompatabilities.
--
Working Without a .NET?
http://classicvb.org/petition
Author
13 Oct 2005 4:15 AM
Ralph
Show quote Hide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:Oz0pVw3zFHA.3188@TK2MSFTNGP14.phx.gbl...
> Ralph wrote:
> > "Karl E. Peterson" <k***@mvps.org> wrote ...
> >> Hi Cor --
> >>
> >>> I hope therefore that they will keep the language more cleanly and
> >>> only 'add' instead of changing all the time, however I am afraid
> >>> they do not.
> >>>
> >>> One of the points that show this for me is that they have kept in
> >>> the new versions the 'Integer' 32bits and did not make it according
> >>> to the register size. This will mean again big changes in future
> >>> when everybody is forgotten this, while all things to do was
> >>> already done when there was the step from 16bits to 32bits.
> >>> Probably most will have called the fixed size needed 32Bit value
> >>> now 'Int32'.
> >>
> >> That's just a critical point, here, and needs to be highlighted.
> >> The MSBasic Integer datatype was 16-bits from the CP/M days of 8-bit
> >> CPUs to the Win32 VB6 -- a full quarter century covering the most
> >> explosive growth ever in the industry. Redefining this fundamental
> >> datatype was akin to sacrilege.  Something a langauge vendor simply
> >> should *never* do!  Microsoft supposedly understood this with the
> >> redefinition of String at VB4, but here they are at it again.
> >>
> >> Yes, I fully agree with you.  I suspect it won't be that many years
> >> until Integer has come to find itself being 64-bits long.  "Need a
> >> new type of data?  Create a new datatype!"  What's so difficult to
> >> understand about that?  Why weren't Int16, Int32, and Int64
> >> sufficient for those worried about insuring the most performant
> >> code?
> >
> > The 'int' was defined in C as reflecting the natural size of integers
> > on the host machine. It was designed to be essentially 'sizeless' so
> > that code would be portable yet optimized.
>
> I am _well_ aware of that historical difference between languages.
MSBasic had a
> fixed-size Integer, unlike some others.
>
>   "If you need a different type of data, create a new datatype!"
>
> We suggested they restore the original definition of the keywords, but
they balked.
> The ideal solution would've been to introduce new names for fixed sizes,
and
> something like SysInt for platform sized variables.  That simple
concession would've
> done a _lot_ to show that they understood the issue of gratuitous
incompatabilities.
> --
> Working Without a .NET?
> http://classicvb.org/petition
>

Exactly. As you agree with me, you are obviously a man of fine distinctions
and high intelligence. <g>

"SysInt" would have been a great name. Simple and descriptive.

Ah what might have been.

Have you given any thought to what the 'managed' extensions to VBc would
have looked like? I was thinking that a new 'managed class-type' module
would have worked. With a separate Windows Forms designer that the managed
'classes' would have owned and served as the backend for.

Both would run in the same app. Simple property attributes similar to
'Instancing' would have allowed one or the other section to be the
'interopt' of the other. But must admit I start to confuse myself after
awhile.

Ah, again, what might have been. <g>

-ralph
Author
13 Oct 2005 9:12 PM
Karl E. Peterson
Ralph wrote:
>> We suggested they restore the original definition of the keywords,
>> but they balked. The ideal solution would've been to introduce new
>> names for fixed sizes, and something like SysInt for platform sized
>> variables.  That simple concession would've done a _lot_ to show
>> that they understood the issue of gratuitous incompatabilities.
>
> Exactly. As you agree with me, you are obviously a man of fine
> distinctions and high intelligence. <g>

<g>

> "SysInt" would have been a great name. Simple and descriptive.
>
> Ah what might have been.

Indeed.  Could've been _so_ clean.  But redefined datatypes and recycled keywords put
the kibosh on ever being able to trust the designers again.  Failure to see what's
wrong with that means the languages they produce aren't suitable for investment,
other than truly (not their interpretation) "disposable" code.

> Have you given any thought to what the 'managed' extensions to VBc
> would have looked like?

Not really.  Without *some* indication Microsoft was willing to see the fundamental
problem for what it was, it seemed like a waste of mental bandwidth.

> Ah, again, what might have been. <g>

Yes...
--
Working Without a .NET?
http://classicvb.org/petition
Author
15 Oct 2005 4:24 PM
Dragon
Excuse me?

> We suggested they restore the original definition of the keywords, but
they balked.
> The ideal solution would've been to introduce new names for fixed
sizes, and
> something like SysInt for platform sized variables.  That simple
concession would've

AFAIK, IntPtr and UIntPtr are exactly that, i.e. platform-sized
integers! Aren't them?

Roman
Author
15 Oct 2005 6:11 PM
Ralph
Show quote Hide quote
"Dragon" <no@spam.please> wrote in message
news:uqtTKwa0FHA.904@tk2msftngp13.phx.gbl...
> Excuse me?
>
> > We suggested they restore the original definition of the keywords, but
> they balked.
> > The ideal solution would've been to introduce new names for fixed
> sizes, and
> > something like SysInt for platform sized variables.  That simple
> concession would've
>
> AFAIK, IntPtr and UIntPtr are exactly that, i.e. platform-sized
> integers! Aren't them?
>
> Roman
>

Yes, in .NET.  (actually they are structures that serve as a container for a
platform-specific sized thingy specific to a pointer or handle.)

What Karl was talking about is the VB Classic's "Integer" datatype and
migrating code to VB.Net. As VBc didn't have a platform-specific 'integer'
or 'int', a lot of VBc code is written that depends on it being 16-bit. When
32-bit was needed a "Long" was used. While reworking code to a new size or
datatype is rather trivial for a couple of routines - amounting to little
more than a search and replace with a new datatype, it can be quite annoying
for projects numbering hundreds if not thousand of lines of code.

As an example, there is an often told story (perhaps apocryphal), that when
MS was converting toys and utilities from Win3.1 to Win98 that Solitaire,
when recompiled, mysteriously occasionally froze. The developer tested
several bogus theories until it was found that there was a simple
timing/test loop that counted down to zero on an integer. When the loop had
a simple range of 32,767 the expected delay was trivial - but when it became
2,147,483,647 the delay became unacceptable.

Easy fix, sure. Showstopper, of course not. But many 'easy' fixes soon
requires just that many unit/system tests and adds to the cost

Karl's point is simply if VB.Net wanted to truly be version "7", they would
have been better off to have left the traditional, "VB", sized, datatypes
alone.

-ralph
Author
15 Oct 2005 6:53 PM
Dragon
> What Karl was talking about is the VB Classic's "Integer" datatype and
> migrating code to VB.Net. As VBc didn't have a platform-specific
'integer'
> or 'int', a lot of VBc code is written that depends on it being
16-bit. When
> 32-bit was needed a "Long" was used. While reworking code to a new
size or
> datatype is rather trivial for a couple of routines - amounting to
little
> more than a search and replace with a new datatype, it can be quite
annoying
> for projects numbering hundreds if not thousand of lines of code.

Ok, ok. Misread that.

> Karl's point is simply if VB.Net wanted to truly be version "7", they
would
> have been better off to have left the traditional, "VB", sized,
datatypes
> alone.

It seems to me that it didn't want to be "VB 7" though. 8=]
However, to my mind, changing types when converting from VBC to VB .NET
is the lesser evil — too many more complicated changes have been
performed, so after you have dealt with control arrays, default
instances and other VBC-specific stuff, changing Long to Integer would
appear a piece of cake.

A problem is that a person finds a VB6 API declaration, copies it into
his VB .NET app, sees that it doesn't work, posts it here and someone
(like me 8=]) has to correct him.

Anyway, sorry and thanks,
Roman
Author
15 Oct 2005 10:09 PM
Ralph
Show quote Hide quote
"Dragon" <no@spam.please> wrote in message
news:%23Wlqdrb0FHA.2600@TK2MSFTNGP10.phx.gbl...
> > What Karl was talking about is the VB Classic's "Integer" datatype and
> > migrating code to VB.Net. As VBc didn't have a platform-specific
> 'integer'
> > or 'int', a lot of VBc code is written that depends on it being
> 16-bit. When
> > 32-bit was needed a "Long" was used. While reworking code to a new
> size or
> > datatype is rather trivial for a couple of routines - amounting to
> little
> > more than a search and replace with a new datatype, it can be quite
> annoying
> > for projects numbering hundreds if not thousand of lines of code.
>
> Ok, ok. Misread that.
>
> > Karl's point is simply if VB.Net wanted to truly be version "7", they
> would
> > have been better off to have left the traditional, "VB", sized,
> datatypes
> > alone.
>
> It seems to me that it didn't want to be "VB 7" though. 8=]
> However, to my mind, changing types when converting from VBC to VB .NET
> is the lesser evil - too many more complicated changes have been
> performed, so after you have dealt with control arrays, default
> instances and other VBC-specific stuff, changing Long to Integer would
> appear a piece of cake.
>
> A problem is that a person finds a VB6 API declaration, copies it into
> his VB .NET app, sees that it doesn't work, posts it here and someone
> (like me 8=]) has to correct him.
>
> Anyway, sorry and thanks,
> Roman
>

You are quite correct - All things considered, the mucking about with
datatypes is THE 'least' of all the challenges to be met in migrating code.

Your observation: "It seems to me that it didn't want to be "VB 7"" sums up
the both the challenges and VBer's general complaints against MS rather
well.

-ralph
Author
16 Oct 2005 2:17 AM
Bob Butler
"Dragon" <no@spam.please> wrote in message
> It seems to me that it didn't want to be "VB 7" though. 8=]

That strikes right to the core.  Although it was billed as VB 7 it was not.

> However, to my mind, changing types when converting from VBC to VB
> .NET is the lesser evil - too many more complicated changes have been
> performed, so after you have dealt with control arrays, default
> instances and other VBC-specific stuff, changing Long to Integer would
> appear a piece of cake.

The majority of things that were changed did not have to be though.  New
features could have been added without changing existing VB syntax.  Even if
I accept the premise that changing Long to Integer was a comparatively
simple change, what possible justification could there be for doing it?
Adding Int16, Int32 and Int64 made sense but at the same time leave the
legacy names intact or deprecate them.  Making seemingly gratuitous changes
like that was just one more nail on the coffin for VB.Net in my opinion.
The flimsy excuse that 'integer' in VB.Net should compare to 'int' in C# is
laughable since doing that at expense of making 'Integer' incompatible with
'Integer' is inane.

> A problem is that a person finds a VB6 API declaration, copies it into
> his VB .NET app, sees that it doesn't work, posts it here and someone
> (like me 8=]) has to correct him.

And if they had considered that it'd mean a lot less frustration for people
trying to switch and a lot fewer cries for help due to stupidity in the
VB.Net syntax.  Letting VB.Net be compatible with VB6 would have made sense
and drawn a lot more people into the language.   Then again, that would have
meant having a .Net version of VB instead of having C# and C# with a coat of
VB paint.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."
Author
16 Oct 2005 1:07 PM
Dragon
Have to agree with you. Compatibility with VBC would be nice.

However, IMO, the best choice will be to introduce 2 languages:

1. "Visual Basic .NET with managed extensions" (version 7.0, 7.1 etc.) -
totally backwards compatible with VB6, and able to make unmanaged
applications or managed ones with framework class library support.
2. Something like "Bb" (Basic flat) (version 1.0, 1.1 etc.) - the
language we have now, uncompatible with VB6, but having more features,
i.e. operator overloading, support for UShort, UInteger, ULong & SByte,
ability to make *unsafe* code, and so on.

Thus, a person could continue developing his VB6 projects, the he'd look
at Bb, say "Hey, that's a cool thing!" and gradually switch to it.

Unfortunately, MS's thoughts usually differ a bit from developer's
thoughts.
Author
16 Oct 2005 1:21 PM
Herfried K. Wagner [MVP]
"Dragon" <no@spam.please> schrieb:
> 1. "Visual Basic .NET with managed extensions" (version 7.0, 7.1 etc.) -
> totally backwards compatible with VB6, and able to make unmanaged
> applications or managed ones with framework class library support.
> 2. Something like "Bb" (Basic flat) (version 1.0, 1.1 etc.) - the
> language we have now, uncompatible with VB6, but having more features,
> i.e. operator overloading, support for UShort, UInteger, ULong & SByte,
> ability to make *unsafe* code, and so on.
>
> Thus, a person could continue developing his VB6 projects, the he'd look
> at Bb, say "Hey, that's a cool thing!" and gradually switch to it.

That's actually something the petition (see my signature) is asking for.

> Unfortunately, MS's thoughts usually differ a bit from developer's
> thoughts.

Sadly that seems to be true :-(.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
16 Oct 2005 6:54 PM
Stefan Berglund
On Sun, 16 Oct 2005 17:07:16 +0400, "Dragon" <no@spam.please> wrote:
in <#E$2OKl0FHA.***@TK2MSFTNGP12.phx.gbl>

Show quoteHide quote
>Have to agree with you. Compatibility with VBC would be nice.
>
>However, IMO, the best choice will be to introduce 2 languages:
>
>1. "Visual Basic .NET with managed extensions" (version 7.0, 7.1 etc.) -
>totally backwards compatible with VB6, and able to make unmanaged
>applications or managed ones with framework class library support.
>2. Something like "Bb" (Basic flat) (version 1.0, 1.1 etc.) - the
>language we have now, uncompatible with VB6, but having more features,
>i.e. operator overloading, support for UShort, UInteger, ULong & SByte,
>ability to make *unsafe* code, and so on.
>
>Thus, a person could continue developing his VB6 projects, the he'd look
>at Bb, say "Hey, that's a cool thing!" and gradually switch to it.


Ha ha ha.  A few years ago that would have been the right thing to do.  Too late
for that now.  Fortunately there are great alternatives out there, but I'm
especially fond of those that can deliver GUI and/or console apps to Windows,
Linux, and MAC OS X platforms (and several others) -- all from a single code
base.

Suppose they called a war and nobody came.

---
Stefan Berglund
Author
17 Oct 2005 1:35 PM
Paul Clement
On Sun, 16 Oct 2005 17:07:16 +0400, "Dragon" <no@spam.please> wrote:

¤ Have to agree with you. Compatibility with VBC would be nice.
¤
¤ However, IMO, the best choice will be to introduce 2 languages:
¤
¤ 1. "Visual Basic .NET with managed extensions" (version 7.0, 7.1 etc.) -
¤ totally backwards compatible with VB6, and able to make unmanaged
¤ applications or managed ones with framework class library support.
¤ 2. Something like "Bb" (Basic flat) (version 1.0, 1.1 etc.) - the
¤ language we have now, uncompatible with VB6, but having more features,
¤ i.e. operator overloading, support for UShort, UInteger, ULong & SByte,
¤ ability to make *unsafe* code, and so on.
¤
¤ Thus, a person could continue developing his VB6 projects, the he'd look
¤ at Bb, say "Hey, that's a cool thing!" and gradually switch to it.
¤
¤ Unfortunately, MS's thoughts usually differ a bit from developer's
¤ thoughts.
¤

No way what you suggest could have been accomplished in time for the release of .NET. They're still
adding features now that were left out in the initial version.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
17 Oct 2005 2:05 PM
alpine
On Mon, 17 Oct 2005 08:35:46 -0500, Paul Clement
<UseAdddressAtEndofMess***@swspectrum.com> wrote:

Show quoteHide quote
>On Sun, 16 Oct 2005 17:07:16 +0400, "Dragon" <no@spam.please> wrote:
>
>¤ Have to agree with you. Compatibility with VBC would be nice.

>¤ However, IMO, the best choice will be to introduce 2 languages:

>¤ 1. "Visual Basic .NET with managed extensions" (version 7.0, 7.1 etc.) -
>¤ totally backwards compatible with VB6, and able to make unmanaged
>¤ applications or managed ones with framework class library support.
>¤ 2. Something like "Bb" (Basic flat) (version 1.0, 1.1 etc.) - the
>¤ language we have now, uncompatible with VB6, but having more features,
>¤ i.e. operator overloading, support for UShort, UInteger, ULong & SByte,
>¤ ability to make *unsafe* code, and so on.

>¤ Thus, a person could continue developing his VB6 projects, the he'd look
>¤ at Bb, say "Hey, that's a cool thing!" and gradually switch to it.

>¤ Unfortunately, MS's thoughts usually differ a bit from developer's
>¤ thoughts.

>
>No way what you suggest could have been accomplished in time for the release of .NET. They're still
>adding features now that were left out in the initial version.


So?  They could easily have done an interim release of VB that didn't
target the .NET platform and then release another version that did
when it was ready.  That would have been the *correct* way to go
rather than screwing every owner of existing VB code.  Hell! they're
*still* releasing versions of FoxPro that don't target .NET so why the
hell they thought it was OK to screw VB developers is *way* beyond any
level of comprehension.

Bryan
_______________________________
Bryan Stafford
New Vision Software
newvision_don'tspam@mvps.org
Author
17 Oct 2005 4:35 PM
Ralph
Show quote Hide quote
"alpine" <alpine_don'tsendspam@mvps.org> wrote in message
news:2fb7l1himlvb2sim3rjdqvbmfels3hikus@4ax.com...
> On Mon, 17 Oct 2005 08:35:46 -0500, Paul Clement
> <UseAdddressAtEndofMess***@swspectrum.com> wrote:
>
> >On Sun, 16 Oct 2005 17:07:16 +0400, "Dragon" <no@spam.please> wrote:
> >
> >¤ Have to agree with you. Compatibility with VBC would be nice.
> >¤
> >¤ However, IMO, the best choice will be to introduce 2 languages:
> >¤
> >¤ 1. "Visual Basic .NET with managed extensions" (version 7.0, 7.1
etc.) -
> >¤ totally backwards compatible with VB6, and able to make unmanaged
> >¤ applications or managed ones with framework class library support.
> >¤ 2. Something like "Bb" (Basic flat) (version 1.0, 1.1 etc.) - the
> >¤ language we have now, uncompatible with VB6, but having more features,
> >¤ i.e. operator overloading, support for UShort, UInteger, ULong & SByte,
> >¤ ability to make *unsafe* code, and so on.
> >¤
> >¤ Thus, a person could continue developing his VB6 projects, the he'd
look
> >¤ at Bb, say "Hey, that's a cool thing!" and gradually switch to it.
> >¤
> >¤ Unfortunately, MS's thoughts usually differ a bit from developer's
> >¤ thoughts.
> >¤
> >
> >No way what you suggest could have been accomplished in time for the
release of .NET. They're still
Show quoteHide quote
> >adding features now that were left out in the initial version.
>
>
> So?  They could easily have done an interim release of VB that didn't
> target the .NET platform and then release another version that did
> when it was ready.  That would have been the *correct* way to go
> rather than screwing every owner of existing VB code.  Hell! they're
> *still* releasing versions of FoxPro that don't target .NET so why the
> hell they thought it was OK to screw VB developers is *way* beyond any
> level of comprehension.
>
> Bryan
> _______________________________
> Bryan Stafford
> New Vision Software
> newvision_don'tspam@mvps.org

While I would disagree with the "easily" attribute, I can certainly agree
with the "could have done" statement.

Perhaps, the fact that Mr. B has always been more closely associated with
the "Office" group and sided with them in their earlier failed attempts to
take over VB; the fact he took an early interest in FoxPro; and the fact
that his strongest competition for power (in the days of the "office of
three") came from the 'Development' group; might have something to do with
the current situation.

Like most corporate decisions I imagine there are multiple sub-plots running
behind the current scenario. But it is easy to comprehend that in the final
analysis .NET is a major financial and technology move designed to protect
their future investment in platform-specific software solutions. Note, that
is protecting 'their' investment, not anyone else's. Dollars talk.

[There is still an opportunity to address this issue. One hears things.
Rumor or wishful thinking? Who knows?]

-ralph
Author
18 Oct 2005 6:34 AM
Gary Nelson
Ralph,

> Like most corporate decisions I imagine there are multiple sub-plots
> running
> behind the current scenario. But it is easy to comprehend that in the
> final
> analysis .NET is a major financial and technology move designed to protect
> their future investment in platform-specific software solutions. Note,
> that
> is protecting 'their' investment, not anyone else's. Dollars talk.

Which is why some heads should be rolling at MS. Just think about it: VB6 is
now a direct competitor to the .Net platform. MS makes no money from VB6.
Thousands of developers will still be developing with VB6 in the years to
come. All of that is a drag on the .net platform. If MS had made an easy
transition it would have been a big push for the .net platform and all of
these useless discussion would not be taking place. Just think how many
man-hours have been wasted on this subject.

Gary
Author
19 Oct 2005 2:24 PM
Abubakar
> these useless discussion would not be taking place. Just think how many
> man-hours have been wasted on this subject.

Lots !
:_)

-Ab.
http://joehacker.blogspot.com


Show quoteHide quote
"Gary Nelson" <gn@nospam.com> wrote in message
news:uU85H460FHA.268@TK2MSFTNGP09.phx.gbl...
> Ralph,
>
> > Like most corporate decisions I imagine there are multiple sub-plots
> > running
> > behind the current scenario. But it is easy to comprehend that in the
> > final
> > analysis .NET is a major financial and technology move designed to
protect
> > their future investment in platform-specific software solutions. Note,
> > that
> > is protecting 'their' investment, not anyone else's. Dollars talk.
>
> Which is why some heads should be rolling at MS. Just think about it: VB6
is
> now a direct competitor to the .Net platform. MS makes no money from VB6.
> Thousands of developers will still be developing with VB6 in the years to
> come. All of that is a drag on the .net platform. If MS had made an easy
> transition it would have been a big push for the .net platform and all of
> these useless discussion would not be taking place. Just think how many
> man-hours have been wasted on this subject.
>
> Gary
>
>
Author
17 Oct 2005 6:13 PM
Paul Clement
On Mon, 17 Oct 2005 08:05:32 -0600, alpine <alpine_don'tsendspam@mvps.org> wrote:

¤ On Mon, 17 Oct 2005 08:35:46 -0500, Paul Clement
¤ <UseAdddressAtEndofMess***@swspectrum.com> wrote:
¤
¤ >On Sun, 16 Oct 2005 17:07:16 +0400, "Dragon" <no@spam.please> wrote:
¤ >
¤ >¤ Have to agree with you. Compatibility with VBC would be nice.
¤ >¤
¤ >¤ However, IMO, the best choice will be to introduce 2 languages:
¤ >¤
¤ >¤ 1. "Visual Basic .NET with managed extensions" (version 7.0, 7.1 etc.) -
¤ >¤ totally backwards compatible with VB6, and able to make unmanaged
¤ >¤ applications or managed ones with framework class library support.
¤ >¤ 2. Something like "Bb" (Basic flat) (version 1.0, 1.1 etc.) - the
¤ >¤ language we have now, uncompatible with VB6, but having more features,
¤ >¤ i.e. operator overloading, support for UShort, UInteger, ULong & SByte,
¤ >¤ ability to make *unsafe* code, and so on.
¤ >¤
¤ >¤ Thus, a person could continue developing his VB6 projects, the he'd look
¤ >¤ at Bb, say "Hey, that's a cool thing!" and gradually switch to it.
¤ >¤
¤ >¤ Unfortunately, MS's thoughts usually differ a bit from developer's
¤ >¤ thoughts.
¤ >¤
¤ >
¤ >No way what you suggest could have been accomplished in time for the release of .NET. They're still
¤ >adding features now that were left out in the initial version.
¤
¤
¤ So?  They could easily have done an interim release of VB that didn't
¤ target the .NET platform and then release another version that did
¤ when it was ready.  That would have been the *correct* way to go
¤ rather than screwing every owner of existing VB code.  Hell! they're
¤ *still* releasing versions of FoxPro that don't target .NET so why the
¤ hell they thought it was OK to screw VB developers is *way* beyond any
¤ level of comprehension.

Simple reason. Visual Basic would have continued to be criticized for not being on par with the
C-based languages and developers (not necessarily Classic Visual Basic) would have started using C#
instead. An interim release would have just prolonged the inevitable.

Who wants to wait seven to ten years to work with a new development platform when they can use it
today?

FoxPro is different. It's actually a database application development product that's a bit more
specialized than Visual Basic.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
18 Oct 2005 6:26 AM
Gary Nelson
Paul,

> Simple reason. Visual Basic would have continued to be criticized for not
> being on par with the
> C-based languages

Who cares? I certainly don't, and I am certain that all of those of us who
continue to develop in VB6 don't either.

> and developers (not necessarily Classic Visual Basic) would have started
> using C#
> instead.

Which they have anyway. Have you been to TechEd? How many demos are done in
Vb & how many in C#?

> An interim release would have just prolonged the inevitable.

And what exactly is "the inevitable"?

> Who wants to wait seven to ten years to work with a new development
> platform when they can use it
> today?

I predict that many of us here will still be developing Vb6 programs in
seven to ten years, because we are locked into it. A smooth transition in
seven to ten years would be fine for me.

> FoxPro is different. It's actually a database application development
> product that's a bit more
> specialized than Visual Basic.

With a lot less developers using it.

Gary
Author
18 Oct 2005 4:09 PM
Paul Clement
On Tue, 18 Oct 2005 07:26:57 +0100, "Gary Nelson" <gn@nospam.com> wrote:

¤ Paul,
¤
¤ > Simple reason. Visual Basic would have continued to be criticized for not
¤ > being on par with the
¤ > C-based languages
¤
¤ Who cares? I certainly don't, and I am certain that all of those of us who
¤ continue to develop in VB6 don't either.
¤

Well I did as did many others who are now using VB.NET.

¤ > and developers (not necessarily Classic Visual Basic) would have started
¤ > using C#
¤ > instead.
¤
¤ Which they have anyway. Have you been to TechEd? How many demos are done in
¤ Vb & how many in C#?
¤

That isn't the point. The *only* path to .NET would have been C# while Visual Basic would have
continued to lag behind - even further. There would have been no option for Visual Basic developers
to develop .NET apps in a Visual Basic language.

¤ > An interim release would have just prolonged the inevitable.
¤
¤ And what exactly is "the inevitable"?
¤

The inevitable is what we have now.

¤ > Who wants to wait seven to ten years to work with a new development
¤ > platform when they can use it
¤ > today?
¤
¤ I predict that many of us here will still be developing Vb6 programs in
¤ seven to ten years, because we are locked into it. A smooth transition in
¤ seven to ten years would be fine for me.
¤

Well I wish you luck, really. There is very little call for new development in/for Visual Basic 6.0
and there will be even fewer job opportunities in the future. Resources are drying up and you can't
even rely on Microsoft to maintain information about the product. All I can recommend is to hang on
to those old MSDN libraries if you have them.

¤ > FoxPro is different. It's actually a database application development
¤ > product that's a bit more
¤ > specialized than Visual Basic.
¤
¤ With a lot less developers using it.

Which is another reason why there's no valid comparison.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
18 Oct 2005 4:36 PM
Gary Nelson
Paul,

> Well I did as did many others who are now using VB.NET.

Is that why most prefer to use C#?

Show quoteHide quote
>
> ¤ > and developers (not necessarily Classic Visual Basic) would have
> started
> ¤ > using C#
> ¤ > instead.
> ¤
> ¤ Which they have anyway. Have you been to TechEd? How many demos are done
> in
> ¤ Vb & how many in C#?
> ¤
>
> That isn't the point. The *only* path to .NET would have been C# while
> Visual Basic would have
> continued to lag behind - even further. There would have been no option
> for Visual Basic developers
> to develop .NET apps in a Visual Basic language.

VB for .NET could have been much more compatible with VB6 if MS had wanted.

> ¤ > An interim release would have just prolonged the inevitable.
> ¤
> ¤ And what exactly is "the inevitable"?
> ¤
>
> The inevitable is what we have now.

I'm not in agreement there. I don't think that the present situation was
inevitable.

Show quoteHide quote
>
> ¤ > Who wants to wait seven to ten years to work with a new development
> ¤ > platform when they can use it
> ¤ > today?
> ¤
> ¤ I predict that many of us here will still be developing Vb6 programs in
> ¤ seven to ten years, because we are locked into it. A smooth transition
> in
> ¤ seven to ten years would be fine for me.
> ¤
>
> Well I wish you luck, really. There is very little call for new
> development in/for Visual Basic 6.0
> and there will be even fewer job opportunities in the future. Resources
> are drying up and you can't
> even rely on Microsoft to maintain information about the product. All I
> can recommend is to hang on
> to those old MSDN libraries if you have them.

I'm not looking for a job. The last time I looked for a job was over 20
years ago. There is a very good probability that we will be using VB6 until
it stops working.


Gary
Author
18 Oct 2005 6:53 PM
Paul Clement
On Tue, 18 Oct 2005 17:36:03 +0100, "Gary Nelson" <gn@nospam.com> wrote:

Gary,

¤ > Well I did as did many others who are now using VB.NET.
¤
¤ Is that why most prefer to use C#?
¤

What percentage of Classic Visual Basic developers prefer to use C#? Did I miss that poll?

What about those who are now using Visual Basic.NET including those who never even used Classic VB?

¤ > ¤ > and developers (not necessarily Classic Visual Basic) would have
¤ > started
¤ > ¤ > using C#
¤ > ¤ > instead.
¤ > ¤
¤ > ¤ Which they have anyway. Have you been to TechEd? How many demos are done
¤ > in
¤ > ¤ Vb & how many in C#?
¤ > ¤
¤ >
¤ > That isn't the point. The *only* path to .NET would have been C# while
¤ > Visual Basic would have
¤ > continued to lag behind - even further. There would have been no option
¤ > for Visual Basic developers
¤ > to develop .NET apps in a Visual Basic language.
¤
¤ VB for .NET could have been much more compatible with VB6 if MS had wanted.
¤

Some features yes, some no because the current implementations differed from those in .NET. But this
issue has been debated endlessly.

¤ > ¤ > An interim release would have just prolonged the inevitable.
¤ > ¤
¤ > ¤ And what exactly is "the inevitable"?
¤ > ¤
¤ >
¤ > The inevitable is what we have now.
¤
¤ I'm not in agreement there. I don't think that the present situation was
¤ inevitable.
¤

Oh, so you think that Microsoft was going to maintain a Classic and .NET version of Visual Basic
forever?

¤ >
¤ > ¤ > Who wants to wait seven to ten years to work with a new development
¤ > ¤ > platform when they can use it
¤ > ¤ > today?
¤ > ¤
¤ > ¤ I predict that many of us here will still be developing Vb6 programs in
¤ > ¤ seven to ten years, because we are locked into it. A smooth transition
¤ > in
¤ > ¤ seven to ten years would be fine for me.
¤ > ¤
¤ >
¤ > Well I wish you luck, really. There is very little call for new
¤ > development in/for Visual Basic 6.0
¤ > and there will be even fewer job opportunities in the future. Resources
¤ > are drying up and you can't
¤ > even rely on Microsoft to maintain information about the product. All I
¤ > can recommend is to hang on
¤ > to those old MSDN libraries if you have them.
¤
¤ I'm not looking for a job. The last time I looked for a job was over 20
¤ years ago. There is a very good probability that we will be using VB6 until
¤ it stops working.

Hey, as long as it serves your needs and its obsolence does not dictate a job change then you're all
set.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
19 Oct 2005 12:39 AM
Kevin Provance
>Oh, so you think that Microsoft was going to maintain a Classic and .NET
>version of Visual Basic
forever? <

Actually, no I don't.

I think at some point .NET is going to get the same shaft as VBC and leave
another group of developers holding thousands of lines of useless code for
the next self applyed "big thing."

We'll see how much sympathy the .NETheads get from those of us who knew
better *when* that moment comes.

- Kev
Author
19 Oct 2005 2:46 PM
Abubakar
> We'll see how much sympathy the .NETheads get from those of us who knew
> better *when* that moment comes.

many of the vbc ppl have written this about it happening to .net ppl when
there time comes. I've started feeling like making a time machine n going
into the future to see what really will happen!

-Ab.
http://joehacker.blogspot.com

Show quoteHide quote
"Kevin Provance" <ca***@tpasoft.com> wrote in message
news:uIpeDWE1FHA.1564@tk2msftngp13.phx.gbl...
> >Oh, so you think that Microsoft was going to maintain a Classic and .NET
> >version of Visual Basic
> forever? <
>
> Actually, no I don't.
>
> I think at some point .NET is going to get the same shaft as VBC and leave
> another group of developers holding thousands of lines of useless code for
> the next self applyed "big thing."
>
> We'll see how much sympathy the .NETheads get from those of us who knew
> better *when* that moment comes.
>
> - Kev
>
>
Author
19 Oct 2005 3:58 AM
Casey Provance
1)  ppl isn't a word.  It's Internet ghetto talk.
2) If you have the knowledge to make a time machine, then .NET should be way
to simple for you, in which case you should be doing something more
productive than defending an already doomed development tool.

<g>

- Kev


Abubakar" <abubak***@gmail.com> wrote in message
Show quoteHide quote
news:%233WSRdF1FHA.1132@TK2MSFTNGP10.phx.gbl...
>> We'll see how much sympathy the .NETheads get from those of us who knew
>> better *when* that moment comes.
>
> many of the vbc ppl have written this about it happening to .net ppl when
> there time comes. I've started feeling like making a time machine n going
> into the future to see what really will happen!
>
> -Ab.
> http://joehacker.blogspot.com
>
> "Kevin Provance" <ca***@tpasoft.com> wrote in message
> news:uIpeDWE1FHA.1564@tk2msftngp13.phx.gbl...
>> >Oh, so you think that Microsoft was going to maintain a Classic and .NET
>> >version of Visual Basic
>> forever? <
>>
>> Actually, no I don't.
>>
>> I think at some point .NET is going to get the same shaft as VBC and
>> leave
>> another group of developers holding thousands of lines of useless code
>> for
>> the next self applyed "big thing."
>>
>> We'll see how much sympathy the .NETheads get from those of us who knew
>> better *when* that moment comes.
>>
>> - Kev
>>
>>
>
>
Author
19 Oct 2005 3:38 PM
Paul Clement
On Tue, 18 Oct 2005 20:39:13 -0400, "Kevin Provance" <ca***@tpasoft.com> wrote:

¤ >Oh, so you think that Microsoft was going to maintain a Classic and .NET
¤ >version of Visual Basic
¤ forever? <
¤
¤ Actually, no I don't.
¤
¤ I think at some point .NET is going to get the same shaft as VBC and leave
¤ another group of developers holding thousands of lines of useless code for
¤ the next self applyed "big thing."
¤
¤ We'll see how much sympathy the .NETheads get from those of us who knew
¤ better *when* that moment comes.
¤
¤ - Kev
¤

Well even if it does happen, which wouldn't be for a while anyway, my attitude will be the same as
it was when moving from Classic to .NET. No sympathy (or empathy) is required.

Just keep in mind that if they hose .NET, they hose C# developers as well.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
19 Oct 2005 6:16 AM
Gary Nelson
Paul,

> ¤ > Well I did as did many others who are now using VB.NET.
> ¤
> ¤ Is that why most prefer to use C#?
> ¤
>
> What percentage of Classic Visual Basic developers prefer to use C#? Did I
> miss that poll?
>
> What about those who are now using Visual Basic.NET including those who
> never even used Classic VB?

I don't have any statistics. But I do know that C# is the 'in' language with
MS. Just try attending TechEd without a decent knowledge of C#.

> ¤ VB for .NET could have been much more compatible with VB6 if MS had
> wanted.
> ¤
>
> Some features yes, some no because the current implementations differed
> from those in .NET. But this
> issue has been debated endlessly.

The first three words in your last phrase are what have created endless
debates. 'Some features yes'. All VB6 users are programmers. Some are very
good. That means that we can take a look at what MS did and do a pretty good
calculation of what was really necessary and what was not.

Show quoteHide quote
> ¤ > ¤ > An interim release would have just prolonged the inevitable.
> ¤ > ¤
> ¤ > ¤ And what exactly is "the inevitable"?
> ¤ > ¤
> ¤ >
> ¤ > The inevitable is what we have now.
> ¤
> ¤ I'm not in agreement there. I don't think that the present situation was
> ¤ inevitable.
> ¤
>
> Oh, so you think that Microsoft was going to maintain a Classic and .NET
> version of Visual Basic
> forever?

No, but I do believe that a much smoother transition could have been
achieved.

Show quoteHide quote
> ¤ >
> ¤ > ¤ > Who wants to wait seven to ten years to work with a new
> development
> ¤ > ¤ > platform when they can use it
> ¤ > ¤ > today?
> ¤ > ¤
> ¤ > ¤ I predict that many of us here will still be developing Vb6 programs
> in
> ¤ > ¤ seven to ten years, because we are locked into it. A smooth
> transition
> ¤ > in
> ¤ > ¤ seven to ten years would be fine for me.
> ¤ > ¤
> ¤ >
> ¤ > Well I wish you luck, really. There is very little call for new
> ¤ > development in/for Visual Basic 6.0
> ¤ > and there will be even fewer job opportunities in the future.
> Resources
> ¤ > are drying up and you can't
> ¤ > even rely on Microsoft to maintain information about the product. All
> I
> ¤ > can recommend is to hang on
> ¤ > to those old MSDN libraries if you have them.
> ¤
> ¤ I'm not looking for a job. The last time I looked for a job was over 20
> ¤ years ago. There is a very good probability that we will be using VB6
> until
> ¤ it stops working.
>
> Hey, as long as it serves your needs and its obsolence does not dictate a
> job change then you're all
> set.

I wouldn't consider that having a Damocles' sword hanging over my head being
'all set'.



Gary
Author
19 Oct 2005 4:30 PM
Paul Clement
On Wed, 19 Oct 2005 07:16:10 +0100, "Gary Nelson" <gn@nospam.com> wrote:

Gary,

¤ > What about those who are now using Visual Basic.NET including those who
¤ > never even used Classic VB?
¤
¤ I don't have any statistics. But I do know that C# is the 'in' language with
¤ MS. Just try attending TechEd without a decent knowledge of C#.
¤

Well I don't attend TechEd so I guess I wouldn't know and I don't get as worked up about perceptions
as some do. ;-)

My only concern is what they're doing with Visual Basic and I don't have to attend TechEd or the PDC
for that type of information.

¤ > ¤ VB for .NET could have been much more compatible with VB6 if MS had
¤ > wanted.
¤ > ¤
¤ >
¤ > Some features yes, some no because the current implementations differed
¤ > from those in .NET. But this
¤ > issue has been debated endlessly.
¤
¤ The first three words in your last phrase are what have created endless
¤ debates. 'Some features yes'. All VB6 users are programmers. Some are very
¤ good. That means that we can take a look at what MS did and do a pretty good
¤ calculation of what was really necessary and what was not.
¤

Yes, but I still don't understand why some of the most insignificant changes are always at the
forefront of the complaints. Hey if you want to complain, complain about file i/o and not
While...Wend or GoSub.

¤ > Oh, so you think that Microsoft was going to maintain a Classic and .NET
¤ > version of Visual Basic
¤ > forever?
¤
¤ No, but I do believe that a much smoother transition could have been
¤ achieved.
¤

Could be. But alternative transitions are available, such as COM interop, which are being used
successfully to port over time as opposed to all at once.

¤ > ¤ I'm not looking for a job. The last time I looked for a job was over 20
¤ > ¤ years ago. There is a very good probability that we will be using VB6
¤ > until
¤ > ¤ it stops working.
¤ >
¤ > Hey, as long as it serves your needs and its obsolence does not dictate a
¤ > job change then you're all
¤ > set.
¤
¤ I wouldn't consider that having a Damocles' sword hanging over my head being
¤ 'all set'.
¤

We're all in the same boat. I guess it depends upon the type of investment you have but you can only
tread water for so long. No one is going to wait around forever to throw you a lifesaver.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
19 Oct 2005 5:20 PM
Stefan Berglund
On Wed, 19 Oct 2005 11:30:51 -0500, Paul Clement
<UseAdddressAtEndofMess***@swspectrum.com> wrote:
in <2rqcl1tn49gchf1hvgi1ldv8t3inalr***@4ax.com>


>We're all in the same boat. I guess it depends upon the type of investment you have but you can only
>tread water for so long. No one is going to wait around forever to throw you a lifesaver.

No we're NOT all in the same boat.  Sure, if you want to hang around and have
Microsoft figure out how next to stick it to you, then yes YOU're in the same
boat.  Go ahead and invest in their future.  They will be extremely grateful and
will gladly scoop up all the money you're willing to throw in their direction.

---
Stefan Berglund
Author
20 Oct 2005 6:57 AM
Gary Nelson
Paul,

> Well I don't attend TechEd so I guess I wouldn't know and I don't get as
> worked up about perceptions
> as some do. ;-)
>
> My only concern is what they're doing with Visual Basic and I don't have
> to attend TechEd or the PDC
> for that type of information.

Perhaps, but I do believe it is one of the best sources for 'that type of
information'.

> Yes, but I still don't understand why some of the most insignificant
> changes are always at the
> forefront of the complaints. Hey if you want to complain, complain about
> file i/o and not
> While...Wend or GoSub.

The problem is that, insignificant or not, the changes break code. As an
example I have a very large and complex DLL which we have ported to VB.NET
(successfully). Now I find myself in the very unenviable situation of trying
to maintain the code in both DLLs. I can assure you that it is a royal pain.
I don't know about you, but if there is one thing I hate it is writing the
same code twice.

> Could be. But alternative transitions are available, such as COM interop,
> which are being used
> successfully to port over time as opposed to all at once.

Have you actually used COM interop? I tried using it once in an ASP.NET
project and it makes a mess of the security settings. In the end I gave up.
I wouldn't recommend using unmanaged code in ASP.NET to anyone.

> ¤ I wouldn't consider that having a Damocles' sword hanging over my head
> being
> ¤ 'all set'.
> ¤
>
> We're all in the same boat. I guess it depends upon the type of investment
> you have but you can only
> tread water for so long. No one is going to wait around forever to throw
> you a lifesaver.

I doubt very much that anyone is going to throw a lifesaver. On the other
hand, I don't see how MS can actually break VB6. After all, QB programs from
the 80's still run on Win2003. If MS ever brings out an operating system
that breaks COM I don't think anyone would buy it. And remember, an OS that
breaks VB6 code would also break all of those using COM interop.

Gary
Author
20 Oct 2005 2:36 PM
Jonathan West
"Gary Nelson" <gn@nospam.com> wrote in message
news:O7sMVOU1FHA.560@TK2MSFTNGP12.phx.gbl...

>
>  On the other hand, I don't see how MS can actually break VB6. After all,
> QB programs from the 80's still run on Win2003. If MS ever brings out an
> operating system that breaks COM I don't think anyone would buy it. And
> remember, an OS that breaks VB6 code would also break all of those using
> COM interop.

Oh, Microsoft has *already* managed to break VB6. It doesn't require
breaking the whole of COM to achieve that. Fortunately they decided to stick
it back together again. But for how much longer will Microsoft be willing to
fix breaks like this?


The Format() Function Gives Different Results in Windows XP Than in Windows
2000
http://support.microsoft.com/?kbid=321047

To break VB6 doesn't require that programs will no longer run - all that is
required is that they won't reliably continue to produce the same results.

As things are, the evil day will come when VB6 codebases will have to be
rewritten or abandoned.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Author
21 Oct 2005 6:53 AM
Gary Nelson
Jonathan,

> To break VB6 doesn't require that programs will no longer run - all that
> is required is that they won't reliably continue to produce the same
> results.
>
> As things are, the evil day will come when VB6 codebases will have to be
> rewritten or abandoned.

I don't doubt that, but in the meantime I don't see any other solution than
to keep on developing in VB6.

Gary
Author
21 Oct 2005 5:13 PM
Stefan Berglund
On Fri, 21 Oct 2005 07:53:58 +0100, "Gary Nelson" <gn@nospam.com> wrote:
in <eaqj2wg1FHA.3***@TK2MSFTNGP14.phx.gbl>

>Jonathan,
>
>> To break VB6 doesn't require that programs will no longer run - all that
>> is required is that they won't reliably continue to produce the same
>> results.
>>
>> As things are, the evil day will come when VB6 codebases will have to be
>> rewritten or abandoned.
>
>I don't doubt that, but in the meantime I don't see any other solution than
>to keep on developing in VB6.
>
>Gary

I've felt pretty much that same feeling of helplessness and I'm sure that the
Microsoft marketeers consciously exploit said fear, but if you'd consider
dusting off your C/C++ skills you could possibly take some refuge in Qt.

---
Stefan Berglund
Author
21 Oct 2005 4:06 PM
Paul Clement
On Thu, 20 Oct 2005 07:57:47 +0100, "Gary Nelson" <gn@nospam.com> wrote:

Gary,

¤ > Yes, but I still don't understand why some of the most insignificant
¤ > changes are always at the
¤ > forefront of the complaints. Hey if you want to complain, complain about
¤ > file i/o and not
¤ > While...Wend or GoSub.
¤
¤ The problem is that, insignificant or not, the changes break code. As an
¤ example I have a very large and complex DLL which we have ported to VB.NET
¤ (successfully). Now I find myself in the very unenviable situation of trying
¤ to maintain the code in both DLLs. I can assure you that it is a royal pain.
¤ I don't know about you, but if there is one thing I hate it is writing the
¤ same code twice.
¤

Actually change from Wend to End While does not break code. It is automatically converted.

Maintaining code in a DLL for each version of the product isn't necessarily unusual. I've had to do
this with 16 and 32-bit VB 4.0 in the past. It was necessitated by the platform.

¤ > Could be. But alternative transitions are available, such as COM interop,
¤ > which are being used
¤ > successfully to port over time as opposed to all at once.
¤
¤ Have you actually used COM interop? I tried using it once in an ASP.NET
¤ project and it makes a mess of the security settings. In the end I gave up.
¤ I wouldn't recommend using unmanaged code in ASP.NET to anyone.
¤

Yes, we have production COM components (which use ActiveReports) that have yet to be converted to
..NET. We've been using them seamlessly with our ASP.NET applications. We have some other COM
components that have been used in this capacity as well. It's no big deal.

¤ > ¤ I wouldn't consider that having a Damocles' sword hanging over my head
¤ > being
¤ > ¤ 'all set'.
¤ > ¤
¤ >
¤ > We're all in the same boat. I guess it depends upon the type of investment
¤ > you have but you can only
¤ > tread water for so long. No one is going to wait around forever to throw
¤ > you a lifesaver.
¤
¤ I doubt very much that anyone is going to throw a lifesaver. On the other
¤ hand, I don't see how MS can actually break VB6. After all, QB programs from
¤ the 80's still run on Win2003. If MS ever brings out an operating system
¤ that breaks COM I don't think anyone would buy it. And remember, an OS that
¤ breaks VB6 code would also break all of those using COM interop.

COM interop isn't a permanent solution. It's a path that enables you to either migrate your
application over time or sustain it until it's obsolete.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
21 Oct 2005 5:14 PM
Stefan Berglund
On Fri, 21 Oct 2005 11:06:36 -0500, Paul Clement
<UseAdddressAtEndofMess***@swspectrum.com> wrote:
in <qo3il1p5h9qjqm8d9svd1bv8gp7km4t***@4ax.com>

>
>COM interop isn't a permanent solution. It's a path that enables you to either migrate your
>application over time or sustain it until it's obsolete.
>
>
>Paul
>~~~~
>Microsoft MVP (Visual Basic)


And you believe everything they tell you, don't you Paul?

---
Stefan Berglund
Author
21 Oct 2005 7:19 PM
Paul Clement
On Fri, 21 Oct 2005 10:14:51 -0700, Stefan Berglund <keepit@in.thegroups> wrote:

¤ >COM interop isn't a permanent solution. It's a path that enables you to either migrate your
¤ >application over time or sustain it until it's obsolete.
¤ >
¤ >
¤ >Paul
¤ >~~~~
¤ >Microsoft MVP (Visual Basic)
¤
¤
¤ And you believe everything they tell you, don't you Paul?
¤

Well those are my words Stefan and nobody had to tell me that ;-)


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
22 Oct 2005 5:48 AM
Gary Nelson
Paul,

> Yes, we have production COM components (which use ActiveReports) that have
> yet to be converted to
> .NET. We've been using them seamlessly with our ASP.NET applications. We
> have some other COM
> components that have been used in this capacity as well. It's no big deal.

How did you get around the security issues?

Gary
Author
25 Oct 2005 5:55 PM
Paul Clement
On Sat, 22 Oct 2005 06:48:55 +0100, "Gary Nelson" <gn@nospam.com> wrote:

Gary,

¤ > Yes, we have production COM components (which use ActiveReports) that have
¤ > yet to be converted to
¤ > .NET. We've been using them seamlessly with our ASP.NET applications. We
¤ > have some other COM
¤ > components that have been used in this capacity as well. It's no big deal.
¤
¤ How did you get around the security issues?

What security issues are you referring to? We run some of our components in COM+ and some in the web
application process. The only additional item you need (with a .NET client) is the interop assembly.

I haven't encountered any security issues.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
11 Oct 2005 5:10 PM
Stefan Berglund
On Tue, 11 Oct 2005 00:19:20 -0400, "Kevin Provance" <ca***@tpasoft.com> wrote:
in <OScLxrhzFHA.3***@TK2MSFTNGP12.phx.gbl>

Show quoteHide quote
>I toyed with .FRED here and there and honestly, I would prefer to write a
>few lines of solid VB classic code then to have to remember
>My.Computer.Drives.Folder.Files.This.That.TheOtherThing.etc. to acheive one
>goal.  Even with Intellisense it's still basically (no pun intended) a
>completely different syntax for which would require endless poking and
>proding in the Object Browser (if .NOT even has one) just to make sure I'm
>"doing it right".
>
>Besides, I think the VB Classic MVP's have it right...by the time I tortured
>myself into learning all that new syntax, M$ will replace .NET with
>something else that will break my code yet a second time.  I have better
>things to do than to re-learn everything I've ever known because M$ thinks
>that's what it is our best interest.  Unfortunately for myself, I'm one of
>those people who doles out second chances on a very limited basis when my
>trust has been deliberately stomped on and thrown away like an empty old
>paint can.  <g>
>
>- Kev

That's it in a nutshell, Kev.  And when the rest of the .NOT cheerleaders wake
up from their marketing Kool-Aid induced stupor, they (the smart ones at least)
will realize that what's good for MS may not really be what's best for them.

---
Stefan Berglund
Author
11 Oct 2005 7:00 PM
Abubakar
So RR's point is clear. Compare 1 line of .net to 7 lines of vb6 code.
Oh God I always hated the "open ... for binary as #" hehehehe. What kind of
a syntax is it? .Net to the rescue.

Ab.


Show quoteHide quote
"Rick Rothstein [MVP - Visual Basic]" <rickNOSPAMnews@NOSPAMcomcast.net>
wrote in message news:uSnec7fzFHA.2880@TK2MSFTNGP12.phx.gbl...
> > How many lines of VB6 code would it takes to do this? And what
> would that
> > nasty ass bit of code look like?
> >
> > contents =
> My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
>
> If I understand its purpose, this is a VB6 solution...
>
> Dim FileNum As Long
> Dim Contents As String
> FileNum = FreeFile
> Open "c:\mytextfile.txt" For Binary As #FileNum
>   Contents = Space(LOF(FileNum))
>   Get #FileNum, , Contents
> Close #FileNum
>
> Rick
>
>
Author
11 Oct 2005 7:24 AM
Rick Rothstein [MVP - Visual Basic]
> So RR's point is clear. Compare 1 line of .net to 7 lines of vb6
code.
> Oh God I always hated the "open ... for binary as #" hehehehe.
What kind of
> a syntax is it? .Net to the rescue.

The kind of syntax that it is is one in which my old project files
continued to load no matter the newer version of VB (.NET excluded
of course), could be improved and recompiled without a second's
thought. For those with legacy projects, trust me, .NET has NOT
come to the rescue.

Rick
Author
11 Oct 2005 8:56 AM
Gary Nelson
Ab,



> So RR's point is clear.



Not really.



>Compare 1 line of .net to 7 lines of vb6 code.
> Oh God I always hated the "open ... for binary as #" hehehehe. What kind
> of
> a syntax is it? .Net to the rescue.



All programmers like new functionality. The function RR is flouting could
have easily been added to VB without breaking compatibility with VB6.



Gary
Author
11 Oct 2005 11:20 PM
Karl E. Peterson
Gary Nelson wrote:
> All programmers like new functionality. The function RR is flouting
> could have easily been added to VB without breaking compatibility
> with VB6.

It was, actually.

But then, *most* Classic VB devs reject FSO for the abomination it is.
--
Working Without a .NET?
http://classicvb.org/petition
Author
12 Oct 2005 6:54 AM
Gary Nelson
Karl,

>> All programmers like new functionality. The function RR is flouting
>> could have easily been added to VB without breaking compatibility
>> with VB6.
>
> It was, actually.
>
> But then, *most* Classic VB devs reject FSO for the abomination it is.

True. As a fact I've never used FSO. I looked at it once and that was about
it.

Gary
Author
12 Oct 2005 12:04 PM
Herfried K. Wagner [MVP]
"Abubakar" <abubak***@gmail.com> schrieb:
> So RR's point is clear. Compare 1 line of .net to 7 lines of vb6 code.
> Oh God I always hated the "open ... for binary as #" hehehehe. What kind
> of
> a syntax is it? .Net to the rescue.

With appropriate IntelliSense support (which has not been present in VB6)
'Open' et al. would have been very easy to use.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
11 Oct 2005 8:41 AM
Gary Nelson
RR,

> contents = My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")

I see you are using VB 2005 which is still in Beta at this time...

Just an anecdote from my personal experience:

I've been working for over two years on a project in Asp.net (a Spanish
accounting program, you can visit it at www.conta.net - if you understand
Spanish). Anyway, in July I was attending TechEd 2005 in Amsterdam and they
were going on about all these wild and worderful new things that VS2005
does. So, I thought, why not give it a go. Now I must say that I am not at
all ignorant of the dangers of installing a Beta product. I got very badly
burned by the VB5CCE Beta, and I remember that at the time MS wouldn't even
say they were sorry after blowing up many developers VB4 production
machines. They said that it was understood that you don't install Beta
software on a production machine. But, to continue on with my story, I was
in Amstertam, I had my trusty production machine with me, and I had made
backups of everything before leaving, and I was feeling like living
dangerously. I figured that in a worst case scenario, I could always just
format the HD and reinstall everything. So I pulled out the fresh new VS2005
Beta DVD, and let it roll on my HD. Then I loaded my project into VS2005 and
it asked if I wanted to upgrade, and of course I answered YES! By the way,
my project is not just an ordinary little project, it contains several
controls, DLLs and a web service. After grinding away for awhile it finally
came to a halt. Now, what were the results? Was I going to be able to do new
wild and wonderful things to my project? Unfortunately, but not
unexpectedly, no. The VS2005 Beta had blown my project to smitherines. It
would not load, it would not do anything. Not only that, but there was very
little recognizable about it. MS has not lost their touch! What I found
especially "cute" about their conversion mechanism, is that instead of
leaving the originaly project intact and creating a new project, they
overwrite the original source code, so that, if you haven't made a backup
copy they efectively exterminate your code. Since I was still in Amsterdam,
I took my production machine in the next day and visited the "Ask the
Experts" booth, to talk to the guy who had given the talk on upgrading to
VS2005. He spent about half an hour looking at it and finally admitted that
He didn't have any idea of what had happened.
    So then I had to start manually copying each project back to the
original directories. I had to manually clean up the mess of files that
VS2005 had scattered around the HD. Then I spent several hours trying to get
my project to run again, to no avail. Finally I went into IIS and found that
the upgrader had messed up the IIS configuration settings. After that, my
ASP.NET 2003 project was finally back in working order.
    What have I learned? Foremost and above all, MS has not learned any of
the lessons (as if I had expected them to). They will continue to break code
at willl. They are the 800lb. gorilla and they sit where they want and do
what they want and if you don't like it don't work with them.

    Gary
Author
11 Oct 2005 9:05 AM
Cor Ligthert [MVP]
Gary,

Despite that it was not in VB2003 starts VB2005 after that you have started
the project (which tells that you cannot use the official project anymore
after upgrading) for me with the question if I want to create an copy of
your VB2003 project and if I check the radio button for yes puts that in the
project map you choice as a backup.

I don't know if this was in the first Beta, which had very much warnings
around it not to use this on a production computer. This is with the RC1

I hope that it clears your message better and showed that in my opinion
Microsoft has learned something.

I hope this helps,

Cor

Show quoteHide quote
"Gary Nelson" <gn@nospam.com> schreef in bericht
news:O0OAm%23jzFHA.2424@TK2MSFTNGP12.phx.gbl...
> RR,
>
>> contents = My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
>
> I see you are using VB 2005 which is still in Beta at this time...
>
> Just an anecdote from my personal experience:
>
> I've been working for over two years on a project in Asp.net (a Spanish
> accounting program, you can visit it at www.conta.net - if you understand
> Spanish). Anyway, in July I was attending TechEd 2005 in Amsterdam and
> they were going on about all these wild and worderful new things that
> VS2005 does. So, I thought, why not give it a go. Now I must say that I am
> not at all ignorant of the dangers of installing a Beta product. I got
> very badly burned by the VB5CCE Beta, and I remember that at the time MS
> wouldn't even say they were sorry after blowing up many developers VB4
> production machines. They said that it was understood that you don't
> install Beta software on a production machine. But, to continue on with my
> story, I was in Amstertam, I had my trusty production machine with me, and
> I had made backups of everything before leaving, and I was feeling like
> living dangerously. I figured that in a worst case scenario, I could
> always just format the HD and reinstall everything. So I pulled out the
> fresh new VS2005 Beta DVD, and let it roll on my HD. Then I loaded my
> project into VS2005 and it asked if I wanted to upgrade, and of course I
> answered YES! By the way, my project is not just an ordinary little
> project, it contains several controls, DLLs and a web service. After
> grinding away for awhile it finally came to a halt. Now, what were the
> results? Was I going to be able to do new wild and wonderful things to my
> project? Unfortunately, but not unexpectedly, no. The VS2005 Beta had
> blown my project to smitherines. It would not load, it would not do
> anything. Not only that, but there was very little recognizable about it.
> MS has not lost their touch! What I found especially "cute" about their
> conversion mechanism, is that instead of leaving the originaly project
> intact and creating a new project, they overwrite the original source
> code, so that, if you haven't made a backup copy they efectively
> exterminate your code. Since I was still in Amsterdam, I took my
> production machine in the next day and visited the "Ask the Experts"
> booth, to talk to the guy who had given the talk on upgrading to VS2005.
> He spent about half an hour looking at it and finally admitted that He
> didn't have any idea of what had happened.
>    So then I had to start manually copying each project back to the
> original directories. I had to manually clean up the mess of files that
> VS2005 had scattered around the HD. Then I spent several hours trying to
> get my project to run again, to no avail. Finally I went into IIS and
> found that the upgrader had messed up the IIS configuration settings.
> After that, my ASP.NET 2003 project was finally back in working order.
>    What have I learned? Foremost and above all, MS has not learned any of
> the lessons (as if I had expected them to). They will continue to break
> code at willl. They are the 800lb. gorilla and they sit where they want
> and do what they want and if you don't like it don't work with them.
>
>    Gary
>
Author
11 Oct 2005 9:21 AM
Gary Nelson
Cor,

> Despite that it was not in VB2003 starts VB2005 after that you have
> started the project (which tells that you cannot use the official project
> anymore after upgrading) for me with the question if I want to create an
> copy of your VB2003 project and if I check the radio button for yes puts
> that in the project map you choice as a backup.

I've been programming for over twenty years, and one of the first things I
learned, many many years ago, is that you don't break peoples data. Sure,
they give me a radio button to make a backup copy, but I could care less
about that, I had already made a backup copy of everything before starting.

Is it really that hard to create a new project space and a new project and
leave my original project alone? I think not.

> I don't know if this was in the first Beta, which had very much warnings
> around it not to use this on a production computer. This is with the RC1

I don't know if you really read what I wrote. I was absolutely conscious of
the warnings and knew exactly what I was doing. By the way, it was not the
first Beta, it was the second Beta.

> I hope that it clears your message better and showed that in my opinion
> Microsoft has learned something.

In your opinion, what has Microsoft learned?

>
> I hope this helps,

I don't think so.

Gary
Author
11 Oct 2005 9:54 AM
Roger Rabbit
>>I see you are using VB 2005 which is still in Beta at this time...

Only for the next month or so.

:-)

RR


Show quoteHide quote
"Gary Nelson" <gn@nospam.com> wrote in message
news:O0OAm%23jzFHA.2424@TK2MSFTNGP12.phx.gbl...
> RR,
>
> > contents = My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
>
> I see you are using VB 2005 which is still in Beta at this time...
>
> Just an anecdote from my personal experience:
>
> I've been working for over two years on a project in Asp.net (a Spanish
> accounting program, you can visit it at www.conta.net - if you understand
> Spanish). Anyway, in July I was attending TechEd 2005 in Amsterdam and
they
> were going on about all these wild and worderful new things that VS2005
> does. So, I thought, why not give it a go. Now I must say that I am not at
> all ignorant of the dangers of installing a Beta product. I got very badly
> burned by the VB5CCE Beta, and I remember that at the time MS wouldn't
even
> say they were sorry after blowing up many developers VB4 production
> machines. They said that it was understood that you don't install Beta
> software on a production machine. But, to continue on with my story, I was
> in Amstertam, I had my trusty production machine with me, and I had made
> backups of everything before leaving, and I was feeling like living
> dangerously. I figured that in a worst case scenario, I could always just
> format the HD and reinstall everything. So I pulled out the fresh new
VS2005
> Beta DVD, and let it roll on my HD. Then I loaded my project into VS2005
and
> it asked if I wanted to upgrade, and of course I answered YES! By the way,
> my project is not just an ordinary little project, it contains several
> controls, DLLs and a web service. After grinding away for awhile it
finally
> came to a halt. Now, what were the results? Was I going to be able to do
new
> wild and wonderful things to my project? Unfortunately, but not
> unexpectedly, no. The VS2005 Beta had blown my project to smitherines. It
> would not load, it would not do anything. Not only that, but there was
very
> little recognizable about it. MS has not lost their touch! What I found
> especially "cute" about their conversion mechanism, is that instead of
> leaving the originaly project intact and creating a new project, they
> overwrite the original source code, so that, if you haven't made a backup
> copy they efectively exterminate your code. Since I was still in
Amsterdam,
> I took my production machine in the next day and visited the "Ask the
> Experts" booth, to talk to the guy who had given the talk on upgrading to
> VS2005. He spent about half an hour looking at it and finally admitted
that
> He didn't have any idea of what had happened.
>     So then I had to start manually copying each project back to the
> original directories. I had to manually clean up the mess of files that
> VS2005 had scattered around the HD. Then I spent several hours trying to
get
> my project to run again, to no avail. Finally I went into IIS and found
that
> the upgrader had messed up the IIS configuration settings. After that, my
> ASP.NET 2003 project was finally back in working order.
>     What have I learned? Foremost and above all, MS has not learned any of
> the lessons (as if I had expected them to). They will continue to break
code
> at willl. They are the 800lb. gorilla and they sit where they want and do
> what they want and if you don't like it don't work with them.
>
>     Gary
>
>
Author
11 Oct 2005 10:55 AM
Gary Nelson
RR,

>>>I see you are using VB 2005 which is still in Beta at this time...
>
> Only for the next month or so.
>
> :-)

Any idea if the upgrade from VS2003 to VS2005 is any easier than VB6 to
VB.Net?

My code sure didn't make the grade, and this time they don't even give you
the nifty 'ToDo


Gary
Author
11 Oct 2005 11:40 AM
Cor Ligthert [MVP]
Gary,

> Any idea if the upgrade from VS2003 to VS2005 is any easier than VB6 to
> VB.Net?
>

If you don't want direct use all the new parts, than my expirience now is
that you will almost not notice it and is the same as from 2002 to 2003
(except for a lot of warnings which sometimes probably will be discussed in
future that they are overdone if they stay).

By instance this will give you in the last version a warning that a is not
assigned. (It is not actually how I do it, however I have seen this many
times done in this way).

\\\
private function bla(byval b as integer) as string
dim a as string
if b =1 then
    a = 2
    return a
    else
    return ""
end if
end function
///

I hope that this gives an idea.

Cor
Author
11 Oct 2005 2:32 PM
Herfried K. Wagner [MVP]
"Gary Nelson" <gn@nospam.com> schrieb:
>>>>I see you are using VB 2005 which is still in Beta at this time...
>>
>> Only for the next month or so.
>>
>> :-)
>
> Any idea if the upgrade from VS2003 to VS2005 is any easier than VB6 to
> VB.Net?

Yes.  Simply open the project in VB 2005 and compile.  Unfortunately some of
the APIs like 'System.Web.Mail' have been deprecated, but the code should
still compile and work.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
11 Oct 2005 3:43 PM
Ken Halter
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:%23bBGoCnzFHA.3780@TK2MSFTNGP12.phx.gbl...
>
>> Any idea if the upgrade from VS2003 to VS2005 is any easier than VB6 to
>> VB.Net?
>
> Yes.  Simply open the project in VB 2005 and compile.  Unfortunately some
> of the APIs like 'System.Web.Mail' have been deprecated, but the code
> should still compile and work.

WOW... exactly the way the VB5 to VB6 conversion worked. What a concept! <g>
Except there were zero deprecated APIs

Show quoteHide quote
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://classicvb.org/petition/>



--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
11 Oct 2005 4:45 PM
Herfried K. Wagner [MVP]
"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> schrieb:
>>> Any idea if the upgrade from VS2003 to VS2005 is any easier than VB6 to
>>> VB.Net?
>>
>> Yes.  Simply open the project in VB 2005 and compile.  Unfortunately some
>> of the APIs like 'System.Web.Mail' have been deprecated, but the code
>> should still compile and work.
>
> WOW... exactly the way the VB5 to VB6 conversion worked. What a concept!
> <g> Except there were zero deprecated APIs

Yeah, that's how it actually should work if any new version is introduced.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
12 Oct 2005 6:53 AM
Gary Nelson
Herfried?

>> Any idea if the upgrade from VS2003 to VS2005 is any easier than VB6 to
>> VB.Net?
>
> Yes.  Simply open the project in VB 2005 and compile.  Unfortunately some
> of the APIs like 'System.Web.Mail' have been deprecated, but the code
> should still compile and work.

Have you actually done that?

In my case I converted a ASP.NET 2003 project to ASP.NET 2005 and it just
went to pieces. Hundreds of errors appeared. It wouldn't even let me hit F8.
After messing with it for a couple of hours I decided that BETA2 just didn't
make the grade and went back to ASP.NET 2003. I'll try again when the final
version comes out, but I'm not very convinced that Microsoft has got the
idea ...

Gary
Author
12 Oct 2005 12:02 PM
Herfried K. Wagner [MVP]
"Gary Nelson" <gn@nospam.com> schrieb:
>>> Any idea if the upgrade from VS2003 to VS2005 is any easier than VB6 to
>>> VB.Net?
>>
>> Yes.  Simply open the project in VB 2005 and compile.  Unfortunately some
>> of the APIs like 'System.Web.Mail' have been deprecated, but the code
>> should still compile and work.
>
> Have you actually done that?
>
> In my case I converted a ASP.NET 2003

Mhm...  I have rarely touched ASP.NET, so I am not able to confirm that.  I
assume that the language remained stable but technologies changed.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
12 Oct 2005 9:16 PM
Gary Nelson
Herfried,


> Mhm...  I have rarely touched ASP.NET, so I am not able to confirm that.
> I assume that the language remained stable but technologies changed.

The whole structure of the code behind modules for ASP.NET pages has
changed, amongst other things.

Gary
Author
12 Oct 2005 6:13 PM
Abubakar
> Yes.  Simply open the project in VB 2005 and compile.  Unfortunately some
of
> the APIs like 'System.Web.Mail' have been deprecated, but the code should
> still compile and work.

yes and proper warnings are given that what alternate api you can use. I
have upgraded a lot of my projects to 2k5 beta 2.

Ab.
http://joehacker.blogspot.com


Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:%23bBGoCnzFHA.3780@TK2MSFTNGP12.phx.gbl...
> "Gary Nelson" <gn@nospam.com> schrieb:
> >>>>I see you are using VB 2005 which is still in Beta at this time...
> >>
> >> Only for the next month or so.
> >>
> >> :-)
> >
> > Any idea if the upgrade from VS2003 to VS2005 is any easier than VB6 to
> > VB.Net?
>
> Yes.  Simply open the project in VB 2005 and compile.  Unfortunately some
of
> the APIs like 'System.Web.Mail' have been deprecated, but the code should
> still compile and work.
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://classicvb.org/petition/>
>
Author
11 Oct 2005 10:17 AM
Herfried K. Wagner [MVP]
"Roger Rabbit" <ro***@rabbit.com> schrieb:
> How many lines of VB6 code would it takes to do this? And what would that
> nasty ass bit of code look like?
>
> contents = My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")

A single line in VB6 too, assuming that one has alread implemented this
functionality /years/ ago in Microsoft Basic ;-).

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
12 Oct 2005 8:22 AM
Frank Rizzo
Roger Rabbit wrote:
> How many lines of VB6 code would it takes to do this? And what would that
> nasty ass bit of code look like?
>
> contents = My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")

Roger,

You are being dishonest.  Why don't you post the code to do the
equivalent in the currently shipping version of VS.NET (which is v.2003)
and then will see if your solution is still straightforward and simple.

Ah, I'll tell you what, let me do it for you:

Dim oFile As FileStream = New FileStream(sFileName, FileMode.Open,
FileAccess.Read, FileShare.Read)
Dim oReader As StreamReader = New StreamReader(oFile)

Dim s As String = oReader.ReadToEnd

oReader.Close()
oFile.Close()


Still simple?  I didn't think so.
Author
12 Oct 2005 8:44 AM
Cor Ligthert [MVP]
Frank,

>
> Dim oFile As FileStream = New FileStream(sFileName, FileMode.Open,
> FileAccess.Read, FileShare.Read)
> Dim oReader As StreamReader = New StreamReader(oFile)
>
> Dim s As String = oReader.ReadToEnd
>
> oReader.Close()
> oFile.Close()
>
>
What you want to fullfil extra with this code beside the simple

\\\
Dim sr As New StreamReader(Path)
dim myText = sr.ReadToEnd
sr.Close
///

I am just curious about the purpose of all that code

Cor
Author
12 Oct 2005 12:00 PM
Herfried K. Wagner [MVP]
"Frank Rizzo" <nospam@nospam.com> schrieb:
> Dim oFile As FileStream = New FileStream(sFileName, FileMode.Open,
> FileAccess.Read, FileShare.Read)
> Dim oReader As StreamReader = New StreamReader(oFile)
>
> Dim s As String = oReader.ReadToEnd
>
> oReader.Close()
> oFile.Close()

In addition to the other replies:  You don't need to close the stream
explicitly, it gets closed automatically if the stream reader is closed.
However, taking into account that the VB.NET solution requires an 'Imports'
statement too, the VB6 solution using FSO is not significantly longer:

\\\
Dim fso As FileSystemObject
Set fso = New FileSystemObject
Dim t As TextStream
Set t = fso.OpenTextFile("C:\WINDOWS\WIN.INI", ForReading)
Call MsgBox(t.ReadAll())
Call t.Close
///

When working with a fixed file number, the VB6 solution is even shorter:

\\\
Open "C:\WINDOWS\WIN.INI" For Input As #1
Call MsgBox(Input(LOF(1), #1))
Close #1
///

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
12 Oct 2005 8:35 PM
Abubakar
> You are being dishonest.  Why don't you post the code to do the
> equivalent in the currently shipping version of VS.NET (which is v.2003)

the software company I work for got a smart devices project based on the
prototype I made in vs.net 2k5 beta 2. We have convinced our customer that
if they agree on the 2k5 solution we can do the project sooner and it'll
better than 2k3 (for us n for them). Plus u also have a go-live license for
it.

> Dim oFile As FileStream = New FileStream(sFileName, FileMode.Open,
> FileAccess.Read, FileShare.Read)
> Dim oReader As StreamReader = New StreamReader(oFile)
>
> Dim s As String = oReader.ReadToEnd
>
> oReader.Close()
> oFile.Close()

nope:

Dim sr as StreamReader(filename);
Dim contents = sr.ReadToEnd();
sr.Close()

pretty simple n small imo.

Ab.
http://joehacker.blogspot.com

Show quoteHide quote
"Frank Rizzo" <nospam@nospam.com> wrote in message
news:%23dhpDYwzFHA.3780@TK2MSFTNGP12.phx.gbl...
> Roger Rabbit wrote:
> > How many lines of VB6 code would it takes to do this? And what would
that
> > nasty ass bit of code look like?
> >
> > contents = My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")
>
> Roger,
>
> You are being dishonest.  Why don't you post the code to do the
> equivalent in the currently shipping version of VS.NET (which is v.2003)
> and then will see if your solution is still straightforward and simple.
>
> Ah, I'll tell you what, let me do it for you:
>
> Dim oFile As FileStream = New FileStream(sFileName, FileMode.Open,
> FileAccess.Read, FileShare.Read)
> Dim oReader As StreamReader = New StreamReader(oFile)
>
> Dim s As String = oReader.ReadToEnd
>
> oReader.Close()
> oFile.Close()
>
>
> Still simple?  I didn't think so.
Author
12 Oct 2005 9:42 PM
VB6 User
see this

MSDN Webcast Security Best Practices Protecting Your Intellectual Property
(Level 200)
http://msevents.microsoft.com/cui/eventdetail.aspx?eventID=1032280205&Culture=en-US

..NUT ha ha ha
Author
13 Oct 2005 2:58 AM
mayayana
Maybe you could explain your point
for those of us who don't have a
broadband connection. Is there a point?

> see this
>
> MSDN Webcast Security Best Practices Protecting Your Intellectual Property
> (Level 200)
>
http://msevents.microsoft.com/cui/eventdetail.aspx?eventID=1032280205&Cultur
e=en-US
Show quoteHide quote
>
> .NUT ha ha ha
>
>
Author
13 Oct 2005 11:11 PM
DanS
<SNIP-O>

>
>

OK, so I've read through ALL of this thread.

My 2¢......

Why does anyone argue about VBc vs VB.NET ? Johnny .Net is always going
to think that it is better and tell you to come out of the dark ages, and
Mr. VBc has loads of VB6 apps to maintain.

EVERYTHING has it's good points and it's bad points.

Truthfully, a programming language is nothing more than a tool to get to
the end result. As a programmer, or a motorhead, or a communications
tech, or a construction worker, you use the tool that gives the best
result for the task at hand.

Only those that have an equal amount of knowledge and experience in VBc
and VB.NET can have a valid opinion of which is 'better', but to which I
will always ask, 'better to do exactly what ?'. A big wrench will drive
in a nail, but a hammer was made to do that.

Noone that strictly does .NET, and only has a small knowledge (or none at
all) of VBc has the right to say .NET is way better than VBc. (Which is
what I perceive when these threads pop up will people bashing VBc, as
indicated by 'well how do you do this in VB6?')

I myself have not gone to .NET yet because programming is only a hobby
that I am fortunate enough to sometimes get paid to do for a few local
small companies, either of which if I asked what language they want it
in, I know the answer would be 'whatever gets the job done'.

In closing, and this is not a .NET bash, just a personal peeve, if RR was
correct in his 'one-line text file read', I CAN'T BELIEVE M$ MADE A
NAMESPACE CALLED 'MY.(anything here)'. That is _totally_ gay, which I
thought they realized when they decided to drop the 'My' moniker for the
user folders in Vista.

(And whoever said 'Basic is mainly a M$ thing' is either naive, never
paid attention in CS classes, or just blinded by the .net.)

Regards,

DanS
Author
14 Oct 2005 2:56 PM
Ken Halter
"DanS" <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t> wrote in message
news:Xns96EEC41DFBDCidispcom@216.196.97.142...
>
> In closing, and this is not a .NET bash, just a personal peeve, if RR was
> correct in his 'one-line text file read', I CAN'T BELIEVE M$ MADE A
> NAMESPACE CALLED 'MY.(anything here)'. That is _totally_ gay, which I
> thought they realized when they decided to drop the 'My' moniker for the
> user folders in Vista.

LOL! I agree.... seems like a bunch of selfish cry-babies adding "My" to
everything eh? <g> My pictures, My documents, etc. The one that really ticks
me off is "My Network Places". I'd like to rip that one off of every PC
known to man. Free clue to who ever's in charge of the next OS.... My
Network Places should either be gone for good, show only valid connections
or have the ability to detect invalid connections without hanging for 10
minutes.

I also agree with the folder names. The "My" prefix ruins a users ability to
open a folder in windows explorer,  click in the files pane and have files
selected as they type. It also make sorted names less obvious.

> (And whoever said 'Basic is mainly a M$ thing' is either naive, never
> paid attention in CS classes, or just blinded by the .net.)
>
> Regards,
>
> DanS

Finally, I couldn't care less if a specific "chore" takes 1 line, 10 lines
or 1000 lines, as long as it works and I don't have to write it again every
6 months.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..