Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > VB6 and VBA on Vista 64-bit Computer

Reply
Thread Tools Display Modes

VB6 and VBA on Vista 64-bit Computer

 
 
Ted Mercer
Guest
Posts: n/a

 
      03-11-2009
I have just bought a Vista 64-bit computer after hearing that VB6
applications would run on it. This I have found to be true but it is not
true for VBA macros running within Excel

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. I have
run all examples as administrator.

Should someone know of a solution, I would very much appreciate hearing

Ted Mercer
 
Reply With Quote
 
 
 
 
Spamcop User
Guest
Posts: n/a

 
      03-12-2009
So, what is the control you are accessing in the macro? Is it something like
the common dialog for an old file open dialog box?

Controls like the common dialog used to be packaged together with Visual
Studio 6 & the service packs for that product. One of these controls is what
you're missing I guess because VB6 doesn't use the Framework therefore
you're getting this error

Need more info or the VBA source to be able to help you further

--
SPAMCOP User



"Ted Mercer" <> wrote in message
news:574C4BFD-5C0B-44BF-8FB9-...
>I have just bought a Vista 64-bit computer after hearing that VB6
>applications would run on it. This I have found to be true but it is not
>true for VBA macros running within Excel
>
> 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. I have
> run all examples as administrator.
>
> Should someone know of a solution, I would very much appreciate hearing
>
> Ted Mercer



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I transfer my quickbooks 2007 data from my xp computer to a new vista computer misttrail Windows Vista Installation 5 02-25-2009 01:37 AM
How do I transfer data from Outlook on old computer to Vista Mail on new computer? Chell Atchley Windows Vista Mail 1 10-24-2008 02:49 PM
Can't view shared files on XP computer from Vista Home Premium computer Lenny Jacobs Windows Vista Networking 18 08-26-2008 07:07 PM
How to setup Username/Password for a drive in a Windows XP computer to backup files from a Vista computer? Athena Windows Vista General Discussion 1 08-31-2007 01:11 AM
Placed an Order for a New Gateway Computer, a Windows Vista Ready Computer. Windows Vista General Discussion 17 03-08-2007 07:48 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59