Home All Groups Group Topic Archive Search About

Visual Basic 6.0 on 64-Bit system

Author
21 Feb 2009 5:20 AM
Ted Mercer
I would like to purchase a Dell XPS 430 computer. It comes only with Windows
Vista 64-Bit OS. Can anyone tell me if I will be able to run VB 6.0 ?  This
is a must requirement for me. Thanks for help.

Author
21 Feb 2009 9:44 AM
Ralph
"Ted Mercer" <tedmercerE***@OUTrogers.com> wrote in message
news:EBF40C4F-F319-4BAE-8560-BDB146CF50DB@microsoft.com...
> I would like to purchase a Dell XPS 430 computer. It comes only with
Windows
> Vista 64-Bit OS. Can anyone tell me if I will be able to run VB 6.0 ?
This
> is a must requirement for me. Thanks for help.
>

yes
Author
21 Feb 2009 3:53 PM
MikeD
"Ted Mercer" <tedmercerE***@OUTrogers.com> wrote in message
news:EBF40C4F-F319-4BAE-8560-BDB146CF50DB@microsoft.com...
>I would like to purchase a Dell XPS 430 computer. It comes only with
>Windows Vista 64-Bit OS. Can anyone tell me if I will be able to run VB 6.0
>?  This is a must requirement for me. Thanks for help.

I can definitively say "yes".  I am running VB6 on Vista Ultimate 64 bit
right now. However, you'll need to run VB as an administrator, or turn UAC
off. IOW, to start VB. you need to right-click the shortcut and select Run
As Administrator. Alternatively, right-click the shortcut and select
Properties.  Click the Compatibility tab and check the box to run as
administrator. The advantage this has is that VB will always run as
administrator regardless of how it's started.  This is the same regardless
of whether Vista is 32 bit or 64 bit.

--
Mike
Author
23 Feb 2009 12:11 AM
Bill McCarthy
Hi Mike,

Show quoteHide quote
"MikeD" <nob***@nowhere.edu> wrote in message
news:ubKuNyDlJHA.4760@TK2MSFTNGP04.phx.gbl...
>
> "Ted Mercer" <tedmercerE***@OUTrogers.com> wrote in message
> news:EBF40C4F-F319-4BAE-8560-BDB146CF50DB@microsoft.com...
>>I would like to purchase a Dell XPS 430 computer. It comes only with
>>Windows Vista 64-Bit OS. Can anyone tell me if I will be able to run VB
>>6.0 ?  This is a must requirement for me. Thanks for help.
>
> I can definitively say "yes".  I am running VB6 on Vista Ultimate 64 bit
> right now. However, you'll need to run VB as an administrator, or turn UAC
> off. IOW, to start VB. you need to right-click the shortcut and select Run
> As Administrator. Alternatively, right-click the shortcut and select
> Properties.  Click the Compatibility tab and check the box to run as
> administrator. The advantage this has is that VB will always run as
> administrator regardless of how it's started.  This is the same regardless
> of whether Vista is 32 bit or 64 bit.
>

I don't run it as admin. I only need to do that when registering activex
controls or using them for the first time .
Author
23 Feb 2009 7:29 PM
Karl E. Peterson
Bill McCarthy wrote:
> I don't run it as admin. I only need to do that when registering activex
> controls

Like, whenever you compile an OCX or DLL?
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
23 Feb 2009 10:21 PM
C Kevin Provance
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:OdPV50elJHA.1288@TK2MSFTNGP02.phx.gbl...
| Bill McCarthy wrote:
| > I don't run it as admin. I only need to do that when registering activex
| > controls
|
| Like, whenever you compile an OCX or DLL?

It's more of his quest to confuse VB Classic users.  If he tricks VB6/Vista
users into not starting VB as admin, then it causes more problems then not,
to which the .NOT sales pitch starts.

So I'll say what no one else wants to:  Pay no attention to Bill McCarthy
when it comes to VB6 and Vista, or VB6 period.  He has an agenda that is not
in VB Classic's (or its users) best interest.  It's highly recommended and
encouraged to start VB6 as admin under Vista and Win7.  As long as least
priviledged programming guidelines are followed, everything will work fine.
If one attempts to use VB6 without admin privs, you'll be working in a a
seriously restricted environment...which is bad.

- Kev
Author
23 Feb 2009 10:25 PM
Karl E. Peterson
C Kevin Provance wrote:
Show quoteHide quote
> "Karl E. Peterson" <k***@mvps.org> wrote ...
>| Bill McCarthy wrote:
>| > I don't run it as admin. I only need to do that when registering activex
>| > controls
>|
>| Like, whenever you compile an OCX or DLL?
>
> It's more of his quest to confuse VB Classic users.  If he tricks VB6/Vista
> users into not starting VB as admin, then it causes more problems then not,
> to which the .NOT sales pitch starts.
>
> So I'll say what no one else wants to:  Pay no attention to Bill McCarthy
> when it comes to VB6 and Vista, or VB6 period.  He has an agenda that is not
> in VB Classic's (or its users) best interest.  It's highly recommended and
> encouraged to start VB6 as admin under Vista and Win7.  As long as least
> priviledged programming guidelines are followed, everything will work fine.
> If one attempts to use VB6 without admin privs, you'll be working in a a
> seriously restricted environment...which is bad.

Yep...
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
23 Feb 2009 12:10 AM
Bill McCarthy
Hi Ted,

"Ted Mercer" <tedmercerE***@OUTrogers.com> wrote in message
news:EBF40C4F-F319-4BAE-8560-BDB146CF50DB@microsoft.com...
>I would like to purchase a Dell XPS 430 computer. It comes only with
>Windows Vista 64-Bit OS. Can anyone tell me if I will be able to run VB 6.0
>?  This is a must requirement for me. Thanks for help.
>

Runs fine here.
Author
10 Mar 2009 10:40 PM
Ted Mercer
Thanks to all who replied informing me that VB6 works on a Vista 64-bit
computer.I now have my new machine and that is true up to a point, BUT
BEWARE OF VBA applications.

Here is my experience to date. Stand alone VB6 application was  OK. Existing
Word files are OK. Existing Excel files (.xls) are OK, unless they contain
VBA macros. In the latter case, attempting to open the file triggers an
error message to the effect that "the VBA project in this file requires a
component that is not currently installed. The file will be opened without
the VBA project. For more information search Microsoft Office Online for
"VBA Converters"". Stripping out the macros makes the file useless.
Furthermore I can find no applicable information online. Why did Microsoft
not provide the component as an add-in or say how it can be obtained.?

My VB6 application  calls an Excel spreadsheet (.xls, with VBA macros) to do
calculations on data exported to it and to return the results. Should some
know of a solution, I would very much appreciate hearing.

Ted Mercer

Show quoteHide quote
"Ted Mercer" <tedmercerE***@OUTrogers.com> wrote in message
news:EBF40C4F-F319-4BAE-8560-BDB146CF50DB@microsoft.com...
>I would like to purchase a Dell XPS 430 computer. It comes only with
>Windows Vista 64-Bit OS. Can anyone tell me if I will be able to run VB 6.0
>?  This is a must requirement for me. Thanks for help.
>
>
>
Author
10 Mar 2009 11:28 PM
Bill McCarthy
Hi Ted,

Sounds more like an office macro security setting or a failed office install
than a VB issue.  The folks in the office developer newsgroups might be able
to help.  Office is still a 32 bit app, so your 32 bit app calling it should
all work fine.  The only other thing that springs to mind is did you run
your app as administrator, as it might also be a permissions thing. ?



Show quoteHide quote
"Ted Mercer" <tedmercerE***@OUTrogers.com> wrote in message
news:3EF351E6-742C-42A2-978E-FD4FB6A9D37C@microsoft.com...
> Thanks to all who replied informing me that VB6 works on a Vista 64-bit
> computer.I now have my new machine and that is true up to a point, BUT
> BEWARE OF VBA applications.
>
> Here is my experience to date. Stand alone VB6 application was  OK.
> Existing Word files are OK. Existing Excel files (.xls) are OK, unless
> they contain VBA macros. In the latter case, attempting to open the file
> triggers an error message to the effect that "the VBA project in this file
> requires a component that is not currently installed. The file will be
> opened without the VBA project. For more information search Microsoft
> Office Online for "VBA Converters"". Stripping out the macros makes the
> file useless. Furthermore I can find no applicable information online. Why
> did Microsoft not provide the component as an add-in or say how it can be
> obtained.?
>
> My VB6 application  calls an Excel spreadsheet (.xls, with VBA macros) to
> do calculations on data exported to it and to return the results. Should
> some know of a solution, I would very much appreciate hearing.
>
> Ted Mercer
>
> "Ted Mercer" <tedmercerE***@OUTrogers.com> wrote in message
> news:EBF40C4F-F319-4BAE-8560-BDB146CF50DB@microsoft.com...
>>I would like to purchase a Dell XPS 430 computer. It comes only with
>>Windows Vista 64-Bit OS. Can anyone tell me if I will be able to run VB
>>6.0 ?  This is a must requirement for me. Thanks for help.
>>
>>
>>
>
Author
11 Mar 2009 12:42 AM
Ted Mercer
Bill:

I was not sure that my post would be seen since it was so late after the
original. Thank you for responding again. I did take your original advice
and ran as administrator. My problem is not really with VB6 itself but VBA
macros within Excel. My VB6 app works until it tries to call the
spreadsheet. I will follow up on your suggestion to try the office developer
news groups.

Ted


Show quoteHide quote
"Bill McCarthy" <TPASoft.com Are Identity Thieves> wrote in message
news:%23ciWaidoJHA.3840@TK2MSFTNGP03.phx.gbl...
> Hi Ted,
>
> Sounds more like an office macro security setting or a failed office
> install than a VB issue.  The folks in the office developer newsgroups
> might be able to help.  Office is still a 32 bit app, so your 32 bit app
> calling it should all work fine.  The only other thing that springs to
> mind is did you run your app as administrator, as it might also be a
> permissions thing. ?
>
>
>
> "Ted Mercer" <tedmercerE***@OUTrogers.com> wrote in message
> news:3EF351E6-742C-42A2-978E-FD4FB6A9D37C@microsoft.com...
>> Thanks to all who replied informing me that VB6 works on a Vista 64-bit
>> computer.I now have my new machine and that is true up to a point, BUT
>> BEWARE OF VBA applications.
>>
>> Here is my experience to date. Stand alone VB6 application was  OK.
>> Existing Word files are OK. Existing Excel files (.xls) are OK, unless
>> they contain VBA macros. In the latter case, attempting to open the file
>> triggers an error message to the effect that "the VBA project in this
>> file requires a component that is not currently installed. The file will
>> be opened without the VBA project. For more information search Microsoft
>> Office Online for "VBA Converters"". Stripping out the macros makes the
>> file useless. Furthermore I can find no applicable information online.
>> Why did Microsoft not provide the component as an add-in or say how it
>> can be obtained.?
>>
>> My VB6 application  calls an Excel spreadsheet (.xls, with VBA macros) to
>> do calculations on data exported to it and to return the results. Should
>> some know of a solution, I would very much appreciate hearing.
>>
>> Ted Mercer
>>
>> "Ted Mercer" <tedmercerE***@OUTrogers.com> wrote in message
>> news:EBF40C4F-F319-4BAE-8560-BDB146CF50DB@microsoft.com...
>>>I would like to purchase a Dell XPS 430 computer. It comes only with
>>>Windows Vista 64-Bit OS. Can anyone tell me if I will be able to run VB
>>>6.0 ?  This is a must requirement for me. Thanks for help.
>>>
>>>
>>>
>>
>