Re: Advice Needed...



I use API all the time for enhanced functionality in vb6 (eg userdrawn
items in a listbox). What about access controls is better?

I don't need userdraw functionality in a listbox, so it's never been a
concern for me. As for what's better about them, I suppose it depends on
what you're trying to do. Certainly data binding's much easier in Access,
though that's to be expected. I think the biggest single thing that I find
useful in Access listboxes (though there are probably others if I go
looking) is that they can handle multi-column data, where a VB6 listbox
can't, AFAIK.

What instability?
The only real issue is the problems when an app shuts down unexpectedly.
I'll admit, they could've done a bit better of a job with that in Access.

We get between 2 and 5 corrupt databases sent to us a week out of 500
users. Some can be recovered, some can't. Access basically doesn't work
over wireless (most of our users are not on

Ah, yes, that would be a problem. They're almost certainly dropping the
connection, even if only momentarily, and Access' biggest single flaw is
coming into play (the previously-mentioned issue of an app terminating
unexpectedly, or in this case, the connection to it terminating
unexpectedly). In this sort of scenario, yeah, you'd want to avoid Access
at all costs! :-)

It will ask to upgrade etc. If they upgrade then they can't go back. I
know you can get around it but you need to do that.

It does? I've never had a database prompt me to upgrade, unless it was v2.0
or before...which is more than a little old at this point.

With access the end result feels a lot less professional to me than a vb6
exe.

I suspect that comes back to what you're doing with it, and how you're doing
it. I've yet to see a VB6 app that I thought felt more professional than an
Access app (in fact, most that I've seen come across as dinky little flunky
apps...though I blame that entirely on their designers, not VB6 itself).
That said, I've seen a few that have come across as equal, and only rarely
one or two that I thought felt more professional, and those few were because
they were using snazzy outside controls and the like, that one normally
wouldn't think of in Access because their predecessors are available and
will get the job done...they just don't look/feel quite as nice.

That's not the way many of us see it.

Your analogy would hold more water if vb6 didn't work on vista but it
does.

With a few problems, as I understand it. Certainly since the release of
Vista, I've seen a lot of posts here talking about problems getting either
VB6 itself or a VB6 app running on Vista.

Ah, but in VB.NET, they didn't keep the old one also, did they? They
simply trashed the old one and told you to re-write with the new
structure.

The old one is still available in vb6.

Which was sort of the point...migrate your apps to our new structure, or
continue to use the old one and just ignore the new one...but you can't use
your old stuff in our new stuff. (Or get bogged down in COM interop, but
that's a whole 'nother set of problems.)

I've never heard of database tables supporting that
functionality...though admittedly, most of my experience is with the MS
products. That sounds like something that should be the work of an OO
language, not a database itself.

It could have huge potential in a database.

It could, yes, but I'm not entirely sure if that would be a good thing or
not. I suspect that would be a very inefficient design at the low level,
and would cause a lot of slowdowns. Besides, when you get right down to it,
that's essentially what Views are for anyway. Your table is the "base
class", and the views allow you to inherit from it and expand it into
multiple different types of objects, each looking and behaving much the same
as the original, with the option to add new fields, override existing ones,
or hide them at will.

Thanks for that. I at least understand the thought behind it now, though
given that C# and VB.NET go through so much else, being managed
languages, I wouldn't have thought the performance hit (or size hit, if
they'd followed Karl's suggestion in the commentary) of a non-zero array
would really be that big of an issue.

I wouldn't think it would be that big a hit but I guess it has to subtract
that number for every single array access.

Yeah, I can see it adding up in some cases, but I'm surprised that that
would really be that big of an issue.

We should ask Rick Rothstein to do it. He'll manage it in just one line!
;-)

Would have to be 1 big line of code.

Wouldn't it, though!



Rob


.



Relevant Pages

  • Re: Validating "Orders" form
    ... IMO it would be a PITA to write an app in VB6 because of this 'limitation' ... I have a similar app and simply check for Order details when I close the Orders form. ... You should, however, be able to do a little more validation ...
    (comp.databases.ms-access)
  • RE: GetWindowsDirectory retrieves wrong directory under Terminal S
    ... We use the same api in VB6, I created a simple VB6 DLL and referenced it ... from my C# test app and also a VB6 test app. ... applications and needs to read the legacy application's INI file from the ... mapped to a Windows folder within their profile. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: General question about upgrade path
    ... While the app does just about everything I want it to, ... > wasn't worth the hassle of upgrading. ... Do I need to move to VB6? ... There is a close analogy between the Coke snafu 20 years ago and MS's ...
    (microsoft.public.vb.general.discussion)
  • Re: Advice Needed...
    ... I've yet to see a VB6 app that I thought felt more professional ... The controls and forms don't look like a standard windows app. ... C developers are used to being able to do stuff like modify video streams ...
    (microsoft.public.vb.general.discussion)
  • Re: Hows dot.net doing nowadays?
    ... There are things that VB6 will forever be better suited for than a .NET app. ... why is it that 8 of 10 .Notters will quote something out of context so they can twist its meaning? ... If some one is moving to .NET, or if the reason some one changing ANY platform is simply because it's the fashionable thing to do for the week, then it's a bad decision. ...
    (microsoft.public.vb.general.discussion)