From: GS on
Marc Sances laid this down on his screen :
> But then, why I can't run my VB6 apps on Windows 7?
>
> "Jason Keats" <jkeats(a)melbpcDeleteThis.org.au> ha escrit al
> missatge:Fwh0o.1027$Yv.238(a)viwinnwfe01.internal.bigpond.com...
>> Marc Sances wrote:
>>> Does Windows 7 have VB6 Runtime? Or I have to include it with my apps? I
>>> think I listened somewhere Windows 7 doesn't have it.
>>>
>>> Thanks,
>>> Marc.
>>> http://mss.esp.st/
>>
>> Windows 7 does come with the VB6 runtime installed. Google tells me so.

While the VB runtime lib is installed with Win7, many of the controls
are not. Specifically, the common dialog and common controls that most
VB apps use. These must be distributed with your app, along with any
other controls that are no longer supported as of Win7, which are
listed here:

http://msdn.microsoft.com/en-us/vbasic/ms788708.aspx

HTH

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


From: Marc Sances on
I see "MSCAL.OCX" not found or something like that.

"Kevin Provance" <k(a)p.c> ha escrit al
missatge:i1ssfg$jk6$1(a)news.eternal-september.org...
>
> "Marc Sances" <marcsances(a)gmail.com> wrote in message
> news:A12C8EC0-D607-45DF-9DDB-95008F94B2CD(a)microsoft.com...
> : But then, why I can't run my VB6 apps on Windows 7?
>
> You made no mention of that in your OP. More information is needed, and
> please...BE SPECIFIC! If you don't know how to be specific, read this:
> How
> to report bugs effectively.
>
From: DickGrier on
It is part of the Windows 7 distribution and does not have to be included
with your Setup program.

--
Richard Grier, Consultant, Hard & Software 12962 West Louisiana Avenue
Lakewood, CO 80228 303-986-2179 (voice) Homepage: www.hardandsoftware.net
Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004, Revised July
2006.

From: MikeD on


"Marc Sances" <marcsances(a)gmail.com> wrote in message
news:1A0EB381-8ABF-4D3D-B399-FA1B4623219F(a)microsoft.com...
> I see "MSCAL.OCX" not found or something like that.

When dealing with errors and most problems, stating the problem is
"something like that" usually isn't going to get you very much help. Did
not not understand when other people said to *be specific*?

You should really avoid using that control. It's distributed with MS Office,
and except for an old version downloadable from MS (assuming it can still be
downloaded), it is NOT redistributable, with one other exception. And
that's if you have the Access Developers Toolkit OR the developer edition of
MS Office (which I think ended with Office XP), the license for which allows
for redistribution of mscal.ocx. So, from a legal standpoint, users of your
app would most likely need to have Office installed in order for your app to
be able to use this control.

You might want to take a look at this:

OFFXPDEV: Cannot Redistribute Calendar Control Unless You Have a Microsoft
Office Developer License
http://support.microsoft.com/kb/329573

Besides this, there are several other known issues with mscal.ocx that make
it, shall we say questionable, to use in a VB app.

For a date/time control, you should consider using either the DateTimePicker
or the MonthView control, both part of Windows Common Controls-2. If for any
reason you don't want to use either of these, there's a calendar control,
including VB source code, on the VB6 CD. I can't recall exactly which CD or
the path, but I do know it varies depending on whether you have Visual Basic
or Visual Studio and which edition. So even if if I provided you the disc #
and path, it'd only be "correct" if you had Visual Studio Enterprise since
that's what I have. There are probably also freeware controls you can
download if you search the internet for them.

--
Mike


From: Marc Sances on
OK. Thanks.

--
------------------
Marc Sances

"MikeD" <nobody(a)nowhere.edu> ha escrit al
missatge:i202re$dv5$1(a)news.eternal-september.org...
>
>
> "Marc Sances" <marcsances(a)gmail.com> wrote in message
> news:1A0EB381-8ABF-4D3D-B399-FA1B4623219F(a)microsoft.com...
>> I see "MSCAL.OCX" not found or something like that.
>
> When dealing with errors and most problems, stating the problem is
> "something like that" usually isn't going to get you very much help. Did
> not not understand when other people said to *be specific*?
>
> You should really avoid using that control. It's distributed with MS
> Office, and except for an old version downloadable from MS (assuming it
> can still be downloaded), it is NOT redistributable, with one other
> exception. And that's if you have the Access Developers Toolkit OR the
> developer edition of MS Office (which I think ended with Office XP), the
> license for which allows for redistribution of mscal.ocx. So, from a
> legal standpoint, users of your app would most likely need to have Office
> installed in order for your app to be able to use this control.
>
> You might want to take a look at this:
>
> OFFXPDEV: Cannot Redistribute Calendar Control Unless You Have a Microsoft
> Office Developer License
> http://support.microsoft.com/kb/329573
>
> Besides this, there are several other known issues with mscal.ocx that
> make it, shall we say questionable, to use in a VB app.
>
> For a date/time control, you should consider using either the
> DateTimePicker or the MonthView control, both part of Windows Common
> Controls-2. If for any reason you don't want to use either of these,
> there's a calendar control, including VB source code, on the VB6 CD. I
> can't recall exactly which CD or the path, but I do know it varies
> depending on whether you have Visual Basic or Visual Studio and which
> edition. So even if if I provided you the disc # and path, it'd only be
> "correct" if you had Visual Studio Enterprise since that's what I have.
> There are probably also freeware controls you can download if you search
> the internet for them.
>
> --
> Mike
>
>