Visual Basic

2 posts / 0 new
Last post
boby_dg's picture
Offline
Last seen: 17 years 6 months ago
Joined: Jun 8 2004 - 15:14
Posts: 102
Visual Basic

Hi, I'm making a project on Visual Basic. It's biology self-teacher, and it has integrated quiz. The questions for the different quizes are grouped in different tables in a database. It works, however, but there is a tiny problem. Which drivers to include in the setup package to make the program run on all computers? I am making the setup package on Inno Setup, because I can't make a bulgarian language installation on the Package and Deployment Wizard. So here is my Inno Setup script files part :

[Files]
Source: "BioSoft.exe"; DestDir: "{app}"
Source: "test1.mdb"; DestDir: "{app}"
Source: "BioWeb\*"; DestDir: "{app}\BioWeb"
Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
Source: "vb6stkit.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: restartreplace sharedfile
Source: "comcat.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver restartreplace sharedfile
Source: "msvcrt40.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: restartreplace sharedfile
Source: "stdole2.tlb"; DestDir: "{sys}"; MinVersion: 0,0; Flags: uninsneveruninstall restartreplace sharedfile regtypelib
Source: "asycfilt.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: restartreplace sharedfile
Source: "olepro32.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver restartreplace sharedfile
Source: "comdlg32.ocx"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver restartreplace sharedfile
Source: "oleaut32.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver restartreplace sharedfile
Source: "msvbvm60.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver restartreplace sharedfile
Source: "mscomctl.ocx"; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regserver
Source: "MDAC_TYP.EXE"; DestDir: "{app}"
Source: "rdocurs.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: sharedfile
Source: "msrdo20.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver sharedfile
Source: "msadodc.ocx"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver sharedfile
Source: "msbind.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver sharedfile
Source: "vb5db.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: sharedfile
Source: "msrepl35.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: restartreplace sharedfile
Source: "msrd2x35.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver restartreplace sharedfile
Source: "dblist32.ocx"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver restartreplace sharedfile
Source: "tabctl32.ocx"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver restartreplace sharedfile
Source: "expsrv.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: restartreplace sharedfile
Source: "vbajet32.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: restartreplace sharedfile
Source: "msjint35.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: restartreplace sharedfile
Source: "msjter35.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: restartreplace sharedfile
Source: "msjet35.dll"; DestDir: "{sys}"; MinVersion: 0,0; Flags: regserver restartreplace sharedfile
Source: "dao350.dll"; DestDir: "{dao}"; MinVersion: 0,0; Flags: regserver sharedfile
Source: "msderun.dll"; DestDir: "{cf}\Designer"; MinVersion: 0,0; Flags: regserver sharedfile
Source: "msado20.tlb"; DestDir: "{sys}"; MinVersion: 0,0; Flags: uninsneveruninstall sharedfile regtypelib

The problem is that it doesn't work fine on my Win98SE laptop, well actually it works but the quiz doesn't start or starts with empty Question and Answers labels. I also tried it on the computers in my school, and it works fine, but they all have VB installed and it is not a surprise.

I included MDAC_TYP.exe (as you can see it's included in the package and starts automaticaly thanks to the [RUN] section, which you don't see) and even tried with DCOM98, but - nothing! I am using the ADODC with Jet 3.51 provider. What to do? Is there a ready package with the needed driver which I can include (ike the VB Runtime packs, or something).

boby_dg's picture
Offline
Last seen: 17 years 6 months ago
Joined: Jun 8 2004 - 15:14
Posts: 102
I fixed it

Hey I fixed it anyway.

Log in or register to post comments