run-time error 7 on application if ms-office is not installed

etron_neo
06-13-2002, 10:14 PM
hi....

i think everyone is wonder why i post a run-time error on installation section of the forum.... this is why....

i have developed a vb application using visual basic 6 and using a setup program called little setup builder v2 to create the setup file for my application.....

if i install the program into XP Home, XP Pro, Win 2000 Server or Win 2000 Pro without the ms-office installed into it.... it will give me the run-time error 7, which deals with memory stuff..... when i run the application.....

after i installed ms-office into it.... everything runs.... this is where i dont understand..... do i have to include something else into the setup file in order to run without ms-office installed.....

this is i have included in my setup file for the dll and ocx part:
Stdole2.tlb
Richtx32.dll
Riched32.dll
Olepro32.dll
Oleaut32.dll
Msvbvm60.dll
Msinet.ocx
Msflxgrd.ocx
Mschrt20.ocx
Fm20.dll
Comdlg32.ocx
Comdlg32.dll
Comctl32.ocx
Comcat.dll
Asycfilt.dll
EasyScroll.ocx
DigitBox.ocx
AniGIF.ocx

please help..... any comments and recommendation are welcomed.... thanks...... i really apprepriate it.....

Robby
06-13-2002, 10:26 PM
For one thing, Fm20.dll will not run without Access installed.

You could redesign your form to use regular VB controls or create your own.

etron_neo
06-13-2002, 10:39 PM
so..... the solution is to take out the fm20.dll from the project and replace it with something else....

i think i can do that.... any recommendation on that...

thanks for ur reply.... u have just saved me quite a lot of time searching for the solution....

thanks again...

Robby
06-14-2002, 12:27 AM
The Fm20.dll is there because you placed Controls which belong to Access Forms. You should replace them with VB controls.

They may be Combo, listbox, textbox etc...

etron_neo
06-14-2002, 02:34 AM
thanks..... i have changed all the controls, that involved with the Fm20.dll into normal vb component and it works fine now.....

thanks for ur help..... Robby.....

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum