Home All Groups Group Topic Archive Search About

Windows 7 and VB6 Runtime

Author
17 Jul 2010 11:33 AM
Marc Sances
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/

Author
17 Jul 2010 12:40 PM
Jason Keats
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.
Author
17 Jul 2010 6:08 PM
Marc Sances
But then, why I can't run my VB6 apps on Windows 7?

"Jason Keats" <jke***@melbpcDeleteThis.org.au> ha escrit al
missatge:Fwh0o.1027$Yv.***@viwinnwfe01.internal.bigpond.com...
Show quoteHide quote
> 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.
Author
17 Jul 2010 6:23 PM
Kevin Provance
"Marc Sances" <marcsan***@gmail.com> wrote in message
news:A12C8EC0-D607-45DF-9DDB-95008F94B2CD@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.
Author
17 Jul 2010 7:25 PM
Marc Sances
I see "MSCAL.OCX" not found or something like that.

"Kevin Provance" <k@p.c> ha escrit al
missatge:i1ssfg$jk***@news.eternal-september.org...
Show quoteHide quote
>
> "Marc Sances" <marcsan***@gmail.com> wrote in message
> news:A12C8EC0-D607-45DF-9DDB-95008F94B2CD@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.
>
Author
18 Jul 2010 11:30 PM
MikeD
"Marc Sances" <marcsan***@gmail.com> wrote in message
news:1A0EB381-8ABF-4D3D-B399-FA1B4623219F@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
Author
19 Jul 2010 11:24 AM
Marc Sances
OK. Thanks.

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

"MikeD" <nob***@nowhere.edu> ha escrit al
missatge:i202re$dv***@news.eternal-september.org...
Show quoteHide quote
>
>
> "Marc Sances" <marcsan***@gmail.com> wrote in message
> news:1A0EB381-8ABF-4D3D-B399-FA1B4623219F@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
>
>
Author
21 Jul 2010 5:42 AM
Tony Toews
On Sun, 18 Jul 2010 19:30:52 -0400, "MikeD" <nob***@nowhere.edu>
wrote:

>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. 

The A2003 version was called the VSTO or Visual Studio Tools for
Office.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
  updated see http://www.autofeupdater.com/
Author
22 Jul 2010 3:55 AM
MikeD
Show quote Hide quote
"Tony Toews" <tto***@telusplanet.net> wrote in message
news:ii4c46dp7vl39bsi4vp09evt6hr1iimbij@4ax.com...
> On Sun, 18 Jul 2010 19:30:52 -0400, "MikeD" <nob***@nowhere.edu>
> wrote:
>
>>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.
>
> The A2003 version was called the VSTO or Visual Studio Tools for
> Office.

But I was right about everything else? Son of a b**ch.  I really wasn't too
sure if that information was still current and so was expecting rebuttals
<g>

--
Mike
Author
23 Jul 2010 9:19 PM
Tony Toews
On Wed, 21 Jul 2010 23:55:40 -0400, "MikeD" <nob***@nowhere.edu>
wrote:

>But I was right about everything else?

Pretty much.  In the Access world we suggest going with an imported
form which resembles a calendar.  Then you can customize it and so
forth.   Not that you care but  ee the Calendar Tips page at my
website http://www.granite.ab.ca/access/calendars.htm

>Son of a b**ch.  I really wasn't too
>sure if that information was still current and so was expecting rebuttals
><g>

So sorry to disappoint you.  <smile>

Tony

--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
  updated see http://www.autofeupdater.com/
Author
17 Jul 2010 6:25 PM
Stan Weiss
It would help if you posted what error message you got.

Stan

Marc Sances wrote:
Show quoteHide quote
>
> But then, why I can't run my VB6 apps on Windows 7?
>
> "Jason Keats" <jke***@melbpcDeleteThis.org.au> ha escrit al
> missatge:Fwh0o.1027$Yv.***@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.
Author
17 Jul 2010 6:47 PM
GS
Marc Sances laid this down on his screen :
> But then, why I can't run my VB6 apps on Windows 7?
>
> "Jason Keats" <jke***@melbpcDeleteThis.org.au> ha escrit al
> missatge:Fwh0o.1027$Yv.***@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
Author
17 Jul 2010 8:03 PM
DickGrier
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.