Redistributing the English Query Run-time DLLs

English Query

English Query

Redistributing the English Query Run-time DLLs

When including English Query capability in an application, the English Query run-time DLLs accompany the application. The exception to redistributing the English Query DLLs occurs when the English Query application is deployed on a Web server. In this case, the English Query run-time DLLs only need to be installed on the Web server.

Mseqgrqb.ocx and Mseqgrqb.cab are Microsoft® ActiveX® controls used to enhance the use of English Query models. For applications deployed to a Web site, end users can download these files from the site. It is neither necessary nor permissible to allow end users to download the English Query system DLLs from the Web.

Redistributing the English Query run-time DLLs involves copying all of the English Query DLLs and registering the necessary DLLs when the application is installed. If you need to redistribute the English Query DLLs, all users of English Query must be licensed Microsoft SQL Server™ users. Because the application usually accesses SQL Server data, each English Query user must have a SQL Server client access license.

You can redistribute the files shown in this table with an English Query application.

File name Description
Mseqole.dll English Query Server object model
Mseqbase.dll English Query supplemental file
Mseqsql.dll English Query supplemental file
Mseqmsg.dll English Query supplemental file
Mseqconn.dll English Query supplemental file
Mseqcore.eqd English Query supplemental file
Mseqgrqb.ocx English Query Question Builder ActiveX control
Mseqgrqb.cab English Query cabinet file containing Mseqgrqb.ocx, the Help file (.chm); and the .inf file that tells Microsoft Internet Explorer where to copy the files, how to register the .ocx file, and how to uninstall the control.

When English Query is installed, these files are installed by default in the \Program Files\Common Files\System\EQ80 directory. Before registering the files, the English Query application or Setup installs them in this common directory or creates the directory if it does not exist. The compiled English Query application (.eqd) (for example, Northwind.eqd) is copied to the end user's computer. By default, the .eqd file is located in the same directory that is used by the rest of the application.

Registering the Necessary Files

Both Mseqole.dll and Mseqgrqb.ocx must be registered using the Regsvr32.exe utility:

  • To register Mseqole.dll, use "\path to the dll\Mseqole.dll". For example:
    Regsvr32 "\Program Files\Common Files\System\EQ80\Mseqole.dll"
    
  • To register Mseqgrqb.ocx, use "\path to the location of the ActiveX controls\Mseqgrqb.ocx". For example:
    Regsvr32 "\Program Files\Common Files\System\EQ80\Mseqgrqb.ocx"
    

If you do not want the end users to see the dialog box that confirms successful registration, use the /s (silent) switch:

Regsvr32 "\Program Files\Common Files\System\EQ80\Mseqole.dll" /s

If you want to clean up the end users' registries when English Query is uninstalled, use the /u (uninstall) switch:

Regsvr32 "\Program Files\Common Files\System\EQ80\Mseqole.dll" /u

See Also

Run-Time Environment for English Query Applications