06-03-2014 05:49 PM
I have an excel visual basic program working good using XP.
After I changed to a new computer with window 7, it.s not working properly.
I used stardard library for VBA from NI, NIGLOBAL and VBIB32.
Are there any new libraries files I should update?
regards
Mindy_Gortling
06-04-2014 11:14 AM
Greetings Mindy,
Are you using Visual Studio with Measurement Studio? Which versions?
Also, what isn't working after you migrated to Windows 7?
Regards,
Brandon V.
Applications Engineer
National Instruments
06-04-2014 12:11 PM
HI, Brandon
In XP computer, I used excel visual basic, I followed the instruction on http://www.ni.com/example/29217/en/, down loaded example900218.zip, added VBIB-32.BAS and NIGLOBAL.BAS to my program as basic subs.
Readme file as this:
Win32 Microsoft Visual Basic Language Interface
Version 1.1.
Copyright 1998 National Instruments Corporation.
All Rights Reserved.
The \VBASIC\VER4 subdirectory contains the following:
-----------------------------------------------------
README.TXT - This readme file
VBIB-32.BAS - Visual Basic source file with NI-488.2 routine
and NI-488 function prototypes
NIGLOBAL.BAS - Visual Basic global module containing certain
predefined constant declarations
DEVSAMP.MAK - Visual Basic device-level sample project file
DEVSAMP.FRM - Visual Basic device-level sample form file
SAMP4882.MAK - Visual Basic NI-488.2 sample project file
SAMP4882.FRM - Visual Basic NI-488.2 sample form file
\OCX - Subdirectory containing the Visual Basic GPIB OLE
control code and device-level sample project file.
Now I changed a new computer using Window 7, do you have similar 64 Version program?
Mindy_Gortling
06-04-2014 12:59 PM
@Mindy_Gortling wrote:
Now I changed a new computer using Window 7, do you have similar 64 Version program?
Mindy_Gortling
There are not going to be example programs for VB6 for Windows 7 64-bit.
Take a look at this thread http://forums.ni.com/t5/Measurement-Studio-for-VB6/VB6-application-using-GPIB-fails-in-Windows-7/td-...