Home > Software engineering >  VB 6 applications in win10 setup factory9.5 packaging problems, urgent urgent!!!!!!
VB 6 applications in win10 setup factory9.5 packaging problems, urgent urgent!!!!!!

Time:09-17

Everybody is good, the small is a amateur, recently had written in VB6 before a program (the program is to call the function of excel in VB input and save) after the perfect setup in win10 factory packaging, 9.1 on some win10 installation will go wrong, some control can not be installed to the specified location, is no problem in some win10, after installing Windows 7 to run after an unknown error prompt, what's the problem? How to correctly packaged? How to package in order to adapt to most of the Windows operating system? Please elder grant instruction?
The following is a project file contents:
Type=Exe
Reference=* \ G {00020430-0000-0000 - C000-000000000046} # 2.0 # 0 # C: \ Windows \ \ SysWOW64 \ stdole2 tlb# OLE Automation
Object=Excel. Sheet. 8; EXCEL. EXE
Reference=* \ G {00020813-0000-0000 - C000-000000000046} # 1.8 # 0 # D: \ \ Program Files \ Microsoft Office \ Office15 (x86) \ EXCEL EXE# Microsoft EXCEL 15.0 Object Library
Reference=* \ G {E8540E22 - D20E - 483 - f - 9 fd5 - A5A3553A7556} # 1.0 # 0 # C: \ Program Files \ (x86) Common Files \ Autodesk Shared \ Aec32BitAppServer57 tlb# 32 - bit Aec32BitAppServer Library
Reference=* \ G {9 b92eb61 - CBC1-11 d3-8 c2d - 00 a0cc37b591} # 1.2 # 0 # C: \ Program Files \ (x86) Common Files \ Microsoft Shared \ Smart Tag \ MSTAG TLB# Microsoft Smart Tags 2.0 Type Library
Reference=* \ G {05589 fa0 - C356-11 ce - BF01-00 aa0055595a} # 2.0 # 0 # C: \ Windows \ System32 \ amcompat tlb# Microsoft ActiveMovie Control
Reference=* \ G {22813728-8 bd3-11 d0 B4EF - 00 a0c9138ca4} # 2.8 # 0 # C: \ Program Files \ (x86) Common Files \ System \ ado \ msadomd28 tlb# Microsoft ActiveX Data Objects (Multi - dimensional) 2.8 Library
Reference=* {00000300-0000-0010-8000-00 aa006d2ea4} \ G # 6.0 # 0 # C: \ Program Files \ (x86) Common Files \ System \ ado \ msador15 dll# Microsoft ActiveX Data Objects you 6.0 Library
Reference=* \ G {e01 00025-0000-0000 - C000-000000000046} # 5.0 # 0 # C: \ Program Files \ (x86) Common Files \ Microsoft Shared \ DAO \ dao360 dll# Microsoft DAO 3.6 Object Library
{B691E011 Reference=* \ G - 1797-432 - e - 907 - a - 4 d8c69339129} # 6.1 # 0 # C: \ Program Files \ (x86) Common Files \ System \ ado \ msado15 dll# Microsoft ActiveX Data Objects Library 6.1
Object={831 fdd16 d2 - A9FC - 0000-0 c5c - 11 f8754da1} # 2.2 # 0; MSCOMCTL. OCX
Object={0 d452ee1 - E08F c4d0bb4} - 101 - a - 852 - e - 02608 # 2.0 # 0; FM20. DLL
Object={F9043C88 - F6F2 b2f49fb} - 101 - a - A3C9-08002 # 1.2 # 0; ComDlg32. OCX
Form=FUFIS. FRM
Form=Email. FRM
Form=Guide. FRM
Form=frmAbout. FRM
Form=welcome. FRM
Form=Process. FRM
The Object={BDC217C8 - ED16 CD - 956 - c - 0000-11 c04e4c0a} # 1.1 # 0; TABCTL32. OCX
IconForm="FUFIS"
Startup="FUFIS"
HelpFile=""
Title="Florens New Box Datasheet Input System", "
ExeName32="Florens New Box Datasheet Input System. Exe"
Command32=""
Name="engineering 1
"For HelpContextID="0"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=8
AutoIncrementVer=0
ServerSupportFiles=0
VersionCompanyName="TRSL"
VersionProductName="Florens New Box Datasheet Input System", "
CompilationType=0
OptimizationType=0
FavorPentiumPro (tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
DebugStartupOption=0

CodePudding user response:

Search the latest support all of the Windows operating system installation package to generate software,

CodePudding user response:

Or
Use such as WinRAR self-extracting format and write their own bat VBS or js script installation

CodePudding user response:

Thank you for your advice, but I don't have such experience, also don't know, the installation position of these files in the system, such as win10, Windows 7, etc

CodePudding user response:

Remove the Office related references,

CodePudding user response:

Using innosetup, front is recommended

CodePudding user response:

Office related references to remove no good, not compiled exe

CodePudding user response:

refer to 6th floor weixin_41873780 response:
Office related references to remove no good, not compiled exe.

Don't know if it is packaged is depend on the component information from VBP,
If so, compiled exe, and then modify project VBP use notepad file, delete the Office related references, packaging,

If not, the program debugging good, no problem, remove the related components in Office, to dynamically create,

Anyway, I always feel that "direct release, and registered Office related components" there is a problem for certain,
First, it "reference" those DLLS, surely just COM interface section, it can't be fully functional products (even if "the most basic operating conditions" don't have!) ,
Secondly, different people, the installation of Office version is not the same, you use your version that several files to "a strong side," perhaps return someone else's Office component damage,

CodePudding user response:

Still don't understand
Have the elder can help make a bag? Urgent need!

CodePudding user response:

Under version win10 family setup with factory9.1 play package, installed in some win10 can normal run, in which a colleague's win10 home edition, the installation is normal, but run load excel file always prompt error code: 2147021892

CodePudding user response:

Open the excel file is to use: Set ExlWorkBook=Exlapp. Workbooks. Open (App) Path & amp; "\ Spec_Upld_Template. XLS")

CodePudding user response:

Open the excel file is to use: Set ExlWorkBook=Exlapp. Workbooks. Open (App) Path & amp; "\ Spec_Upld_Template. XLS")

CodePudding user response:

https://bbs.csdn.net/topics/392438209

CodePudding user response:

Before I used a tool, vb6 project can be packaged into a single EXE file, namely green program,
But I don't remember the name,

CodePudding user response:

This is not the packing problem, is the code for handling excel, so operation excel compatibility will be poor
  • Related