Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29283 Discussions

Can't Load Avisgrid ActiveX - Array Visualizer - Compaq Fortran

davenport-nswcpc
Beginner
4,977 Views

I was hoping to have Intel Fortran, but that has to wait 'til next fiscal year, so for now I need to get Compaq Visual Fortran, Ver6.6 with Array Visualizer 1.6going on a newer computer.....

When I try to run Array Visualizer, I get an error that says:

"Fatal Error! Can't load AvisGrid ActiveX control!"

I've tried finding this 'AvisGrid ActiveX control', but I haven't found much about it online. What do I need to get to get rid of this error and get Array Visualizer running? Get this AvisGrid ActiveX? Find a driver?

I had no problem installing and running CVF with Array Visualizer on a Windows 2000 computer, but the newer one computer is Windows XP.

The CVF runs fine on the Windows XP computer. It's just the Array Visualizer that fails.

Any help or suggestions would be much appreciated. My local tech support does not any any solutions.

0 Kudos
26 Replies
Steven_L_Intel1
Employee
3,952 Views
You need to install at least the ArrayVisualizer Viewer on the new computer. The Viewer is provided with CVF Standard Edition, the full ArrayVisualizer product (for developers) is in the Professional Edition.
0 Kudos
g_f_thomas
Beginner
3,952 Views

Is the AX registered? Check via VS or more quickly

regsvr32/u AX.ocx(dll)

regsvr32/s AX.ocx(dll)

Gerry

0 Kudos
davenport-nswcpc
Beginner
3,952 Views

Thank-you foryour quick reply. But I'm a little confused.

I have CVF 6.6 Professionaledition installed (an upgrade from Ver 6.1, which was an upgrade from 5.0). When I installed CVF 6.6, I also installed Array Visualizer 1.6, which came with the Professional edition, though they are on separate CDs. Did I miss a step in the installation? Is there a step I might have missed in the installation? Is there an installation file I should look for on the CDs for the ArrayVisualizer Viewer?

0 Kudos
davenport-nswcpc
Beginner
3,952 Views

When you ask 'Is the AX registered?', what is 'AX'? Iskipped the registration process when I installed CVF because I wasn't sure it could be registered since Compaq has sold Visual Fortran to Intel. When I ran:

regsvr32/u AX.ocx(dll)

regsvr32/s AX.ocx(dll)

from the Start Menu, I got:

Windows cannot find 'regsvr32/u'.

Windows cannot find 'regsvr32/s'.

Has the Compaq registration been forwarded to Intel? I'm just trying to move the CVF from the old computer to the new one. Would they still have original registration?

Thanks for your help.

0 Kudos
Steven_L_Intel1
Employee
3,952 Views
No - if you installed Array Visualizer 1.6, you do not need to install anything else. The Array Viewer is used when you want to run AV applications on a system that does not have Array Visualizer installed.

You may want to try uninstalling and reinstalling Array Visualizer. It has been long enough that I have forgotten many details of CAV, but you should be able to look on your system for the appropriate DLL/OCX files and try registering them (regsvr32 xxx.dll) to see if that fixes the problem.
0 Kudos
Steven_L_Intel1
Employee
3,952 Views
Intel has no license or registration info for CVF users.

You need to open a command prompt window ("cmd" from the Start > Run), then change directory (cd) to the folder with the files you want to register. I don't have CAV installed on my system so I can't advise you on the names, but I doubt that "AX" is one of the names.
0 Kudos
g_f_thomas
Beginner
3,952 Views

Jeezzzz, AX = A(ctive)X, a generic AX like AvisGrid.ocx, etc.

regsvr32 resides in windowssystem32 (its a protected system file so you have it) so run from there or fiddle with your environment settings (via Control Panel/System) to make it globally accessible.

AX's won't load until thery're registered.

Gerry

0 Kudos
davenport-nswcpc
Beginner
3,952 Views

Gerry, Steve,

Thanks very much for your help. I was confusing the registry with ordinary product registration. Ugh.

Aaaaaah, the registry - my favorite kind on not-fun.

Down in C:/Program Files/ArrayVisualizer/Bin there are:

AGLTOHDF.EXE

AVIEWER.CNT

AVIEWER.EXE

AVIEWER.HLP

AVIS2D.OCX

AVISGRID.OCX

STROM.AGL

Presumably, AVIS2D.OCX and AVISGRID.OCX are the culprits on on the regisry where they should be. I'll have to check with my not-so-local tech support again before I destroy anything since I only know enough to be dangerous. This should be enough for them to be really dangerous, but hopefully productive. Thanks again.

0 Kudos
g_f_thomas
Beginner
3,952 Views

Don't copy the OCX's to windowssystem32, that's now viewed asbad form. You can copy regsvr32.dll to the ocx folder, register them and see what happens.

Gerry

0 Kudos
Steven_L_Intel1
Employee
3,952 Views
regsvr32.dll? I don't think you meant that, Gerry.

regsvr32.exe is in the Windows System32 folder. Usually, this is in PATH, so all you have to do is open a command prompt, CD to the folder with the .dll or .ocx files you want to register, and type:

regsvr32 name-of-dll-or-ocx

If it tells you the command is not found, then use WindowsSystem32 egsvr32 or WINNTSystem32 egsvr32.exe or whatever is correct on your system.
0 Kudos
g_f_thomas
Beginner
3,952 Views

Yes, regsvr32 whatever. Piff...

Gerry

0 Kudos
davenport-nswcpc
Beginner
3,952 Views

Aaaaah, nothing is ever simple....

I tried:

regsvr32 avisgrid.ocx

and that produced a dialog box (with header RegSvr32, so it looks like that's on the PATH) with an error message:

LoadLibrary("avisgrid.ocx"") failed - The specified module could not be found.

Giving it the full path of 'regscr32' produced the same dialog box and error message. I didn't think it would produce anything different, but it never hurts to check. A similar error box pops up for:

regsvr32 avis2d.ocx

putting in the full path for avisgrid.ocx produced:

LoadLibrary("c:programfilesarrayvisualizerinavisgrid.ocx"") failed - The specified module could not be found.

There is actually a space in 'program files' but the error message with that in the full pathlooks like:

LoadLibrary("c:program "") failed - The specified module could not be found.

So, I'm hoping that getting ArrayVisualizer into the registry will get it working - my ultimate goal - but so far it's not getting there. Mynon-so-local tech support referred me to my local tech support, but they haven't answered yet.

0 Kudos
g_f_thomas
Beginner
3,952 Views

It seems like you didn't copy regsvr32 to the ../bin folder, the first place it looks at to find the AX's aka COM's aka ocx's and so on..

OK, then do this: In VS, Tools/Choose Toolbox items...COM Tab, check avis2d andd avisgrid, slap one of each on a windowsform, and press f5. Now the two AX's are registered.

Gerry

0 Kudos
davenport-nswcpc
Beginner
3,952 Views

Thanks for the help, but I have to ask....

'In VS'

What is VS?

0 Kudos
g_f_thomas
Beginner
3,952 Views

That's Visual Studio, the IDE (Integrated Development Environment) that IVF (Intel Visual Forttran) uses.

It's a lot easier to place regsvr32 right up close to the arrayvisualizer ocx's and then just regsvr32/s them.

Gerry

0 Kudos
davenport-nswcpc
Beginner
3,952 Views

Visual Studio. . . . . . do you mean Developer's Studio? That's the platform I use with the CVF I have. Unfortunately I did not find the Tools options you suggested:

---- In VS, Tools/Choose Toolbox items...COM Tab, check avis2d andd avisgrid, slap one of each on a windowsform, and press f5. Now the two AX's are registered. ----

I tried copying regsvr32.exe to the ..../bin subdirectory where avisgrid.ocx and avis2d.ocx are located, but I got the same error message I was getting before when regsvr32.exe was just in C:WINDOWSsystem32, "the specified module could not be found".

With regsvr32.exe in the ....in directory withavisgrid.ocx,I tried (from the START menu):

regsvr32 c:Program Filesarrayvisualizerinavisgrid.ocx

but it doesn't seem to understand the full path name with the space in "Program Files". The error message says it can't find module "cprogram ".

Any suggestions you might have would be much appreciated.

0 Kudos
davenport-nswcpc
Beginner
3,952 Views

I've managed to get a new error message from regsvr32.

From Start->Run I use:

regsvr32.exe "c:Program Filesarrayvisualizerinavisgrid.ocx"

I get:

DllRegisterServer in c:Program Filesarrayvisualizer]binavisgrid.ocx failed. Return code was: 0x80040154.

I don't suppose that looks familiar to anyone?

But when I run:

regsvr32.exe "c:Program Filesarrayvisualizerinavis2d.ocx"

I get:

DllRegisterServer in c:Program Filesarrayvisualizerinavis2d.ocx succeeded.

(I optimistically tried running avisgrid after this, butjust got the same error messge and aviewer.exe (in the same directory as avisgrid.ocs) still won't run)

The "quotes" fixed the problem about finding the file, but there seems to be a different problem -perhaps what caused ArrayVisualizer to not be registered when I installe it in the first place?

0 Kudos
davenport-nswcpc
Beginner
3,952 Views

I looked up error code 0x80040154 at:

http://support.microsoft.com/kb/277964

and it looks like I'm I got the error because I need to run avisgrid.ocx with regsvr32. Which is what I'm trying to do. It's more infomration, but I'm not sure it's getting me closer to my goal - getting ArrayVisualizer to run.

0 Kudos
Steven_L_Intel1
Employee
3,952 Views
I suggest this.

Unregister all the Avis DLLs and OCXs (regsvr32 /u). Uninstall Array Visualizer. Reinstall it.
0 Kudos
g_f_thomas
Beginner
3,853 Views

I switched to XP, followed the instructions (regsvr32/u avis.ocx, regsvr32 avis.ocx) I previously gave and both succeeded without having to copy regsvr32 to ..bin. The viwer works fine, then it always did for me.

Gerry

0 Kudos
Reply